MCPcopy Create free account
hub / github.com/formkit/formkit / deploy

Function deploy

scripts/deploy.mjs:43–59  ·  view source on GitHub ↗
(version, options)

Source from the content-addressed store, hash-verified

41}
42
43async function deploy(version, options) {
44 if (!version) {
45 version = await askForVersion()
46 }
47 if (!vueVersion) {
48 msg.error('Unable to determine VueJS version.')
49 process.exit()
50 } else {
51 if (options.iife) {
52 await deployIIFE(version)
53 } else {
54 msg.info(`Bundling with vue@${vueVersion}`)
55 msg.info(`» deploying ${version}`)
56 await deployESM(version)
57 }
58 }
59}
60
61/**
62 * Deploy full packages to the FormKit Cloudfront CDN.

Callers

nothing calls this directly

Calls 3

askForVersionFunction · 0.85
deployIIFEFunction · 0.85
deployESMFunction · 0.85

Tested by

no test coverage detected