initx 0.0.4 → 0.0.5
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/dist/cli.mjs +4 -2
- package/package.json +4 -4
package/dist/cli.mjs
CHANGED
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import cac from 'cac';
|
|
2
2
|
import { GitHandler } from '@initx-plugin/git';
|
|
3
|
+
import { CpHandler } from '@initx-plugin/cp';
|
|
3
4
|
|
|
4
|
-
const pkgJson = {name:"initx",type:"module",version:"0.0.
|
|
5
|
+
const pkgJson = {name:"initx",type:"module",version:"0.0.5",packageManager:"pnpm@9.12.2",description:"More convenient initialization tool",author:"imba97",license:"MIT",homepage:"https://github.com/imba97/initx#readme",repository:{type:"git",url:"git+ssh://git@github.com/imba97/initx"},bugs:{url:"https://github.com/imba97/initx/issues"},keywords:["initx"],main:"dist/index.mjs",module:"dist/index.mjs",types:"dist/index.d.ts",bin:"bin/initx.mjs",files:["dist"],scripts:{stub:"unbuild --stub",build:"unbuild"},dependencies:{"@initx-plugin/cp":"workspace:*","@initx-plugin/git":"workspace:*",cac:"^6.7.14"},devDependencies:{"@initx-plugin/types":"workspace:*"}};
|
|
5
6
|
|
|
6
7
|
function getDefaultExportFromCjs (x) {
|
|
7
8
|
return x && x.__esModule && Object.prototype.hasOwnProperty.call(x, 'default') ? x['default'] : x;
|
|
@@ -96,7 +97,8 @@ const log = {
|
|
|
96
97
|
};
|
|
97
98
|
|
|
98
99
|
const handlers = [
|
|
99
|
-
new GitHandler()
|
|
100
|
+
new GitHandler(),
|
|
101
|
+
new CpHandler()
|
|
100
102
|
];
|
|
101
103
|
|
|
102
104
|
const cli = cac("initx");
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "initx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.5",
|
|
5
5
|
"description": "More convenient initialization tool",
|
|
6
6
|
"author": "imba97",
|
|
7
7
|
"license": "MIT",
|
|
@@ -25,11 +25,11 @@
|
|
|
25
25
|
],
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"cac": "^6.7.14",
|
|
28
|
-
"
|
|
29
|
-
"@initx-plugin/git": "0.0.
|
|
28
|
+
"@initx-plugin/cp": "0.0.5",
|
|
29
|
+
"@initx-plugin/git": "0.0.5"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@initx-plugin/types": "0.0.
|
|
32
|
+
"@initx-plugin/types": "0.0.5"
|
|
33
33
|
},
|
|
34
34
|
"scripts": {
|
|
35
35
|
"stub": "unbuild --stub",
|