@unmagic/vms 0.0.3-beta.0 → 0.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/index.js +1 -9
- package/dist/{transformer-DjOYWuap.js → cli-R8YB9UUi.js} +853 -277
- package/dist/index.js +2 -6
- package/dist/macro.d.ts +2 -2
- package/package.json +7 -5
- package/dist/build-package-B3ztw0_M.js +0 -86
- package/dist/cli-vfgVOW0G.js +0 -818
package/bin/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
2
|
import { program } from 'commander'
|
|
3
3
|
import { createRequire } from 'module'
|
|
4
|
-
import {
|
|
4
|
+
import { runVMS } from '../dist/index.js'
|
|
5
5
|
const require = createRequire(import.meta.url)
|
|
6
6
|
const pkg = require('../package.json')
|
|
7
7
|
|
|
@@ -24,12 +24,4 @@ program
|
|
|
24
24
|
runVMS({ mode: 'development', upload: false })
|
|
25
25
|
})
|
|
26
26
|
|
|
27
|
-
// 组件包构建命令
|
|
28
|
-
program
|
|
29
|
-
.command('package')
|
|
30
|
-
.description('构建组件包(在组件包根目录下执行,输出到 dist/)')
|
|
31
|
-
.action(() => {
|
|
32
|
-
runBuildPackage()
|
|
33
|
-
})
|
|
34
|
-
|
|
35
27
|
program.parse()
|