create-warlock 1.0.2 → 1.0.4
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/cjs/index.d.ts.map +1 -1
- package/cjs/index.js +1 -4
- package/cjs/index.js.map +1 -1
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +1 -4
- package/esm/index.js.map +1 -1
- package/package.json +2 -7
package/cjs/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,SAAS,SAEhC"}
|
package/cjs/index.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
'use strict';var
|
|
2
|
-
const __dirname$1 = path__namespace.dirname(__filename$1);
|
|
1
|
+
'use strict';var url=require('url'),index=require('./commands/create-new-app/index.js');var_documentCurrentScript=typeofdocument!=='undefined'?document.currentScript:null;url.fileURLToPath((typeof document === 'undefined' ? require('u' + 'rl').pathToFileURL(__filename).href : (_documentCurrentScript && _documentCurrentScript.src || new URL('index.js', document.baseURI).href)));
|
|
3
2
|
function createApp() {
|
|
4
|
-
const packageJson = fs.getJsonFile(path__namespace.resolve(__dirname$1, "../", "package.json"));
|
|
5
|
-
commander.program.version(packageJson["version"]);
|
|
6
3
|
index();
|
|
7
4
|
}module.exports=createApp;//# sourceMappingURL=index.js.map
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":[null],"names":["
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":[null],"names":["fileURLToPath","createNewApp"],"mappings":"2KAGmBA,iBAAa,CAAC,6LAAe,EAAE;AAEpC,SAAU,SAAS,GAAA;AAC/B,IAAAC,KAAY,EAAE,CAAC;AACjB"}
|
package/esm/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAKA,MAAM,CAAC,OAAO,UAAU,SAAS,SAEhC"}
|
package/esm/index.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
const __dirname = path.dirname(__filename);
|
|
1
|
+
import {fileURLToPath}from'url';import createNewApp from'./commands/create-new-app/index.js';fileURLToPath(import.meta.url);
|
|
3
2
|
function createApp() {
|
|
4
|
-
const packageJson = getJsonFile(path.resolve(__dirname, "../", "package.json"));
|
|
5
|
-
program.version(packageJson["version"]);
|
|
6
3
|
createNewApp();
|
|
7
4
|
}export{createApp as default};//# sourceMappingURL=index.js.map
|
package/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":[null],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":["../src/index.ts"],"sourcesContent":[null],"names":[],"mappings":"6FAGmB,aAAa,CAAC,MAAM,CAAC,IAAI,CAAC,GAAG,EAAE;AAEpC,SAAU,SAAS,GAAA;AAC/B,IAAA,YAAY,EAAE,CAAC;AACjB"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-warlock",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.4",
|
|
4
4
|
"main": "./esm/index.js",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -19,12 +19,10 @@
|
|
|
19
19
|
"@mongez/copper": "^1.0.1",
|
|
20
20
|
"@mongez/fs": "^3.0.5",
|
|
21
21
|
"@mongez/reinforcements": "^2.3.10",
|
|
22
|
-
"
|
|
23
|
-
"inquirer": "^9",
|
|
22
|
+
"cross-spawn": "^7.0.3",
|
|
24
23
|
"which-pm-runs": "^1.1.0"
|
|
25
24
|
},
|
|
26
25
|
"devDependencies": {
|
|
27
|
-
"@types/inquirer": "^9.0.7",
|
|
28
26
|
"@types/node": "^20.12.7",
|
|
29
27
|
"@typescript-eslint/eslint-plugin": "^7.7.0",
|
|
30
28
|
"@typescript-eslint/parser": "^7.7.0",
|
|
@@ -32,11 +30,8 @@
|
|
|
32
30
|
"eslint-config-prettier": "^9.1.0",
|
|
33
31
|
"eslint-plugin-prettier": "^5.1.3",
|
|
34
32
|
"eslint-plugin-unused-imports": "^3.1.0",
|
|
35
|
-
"npm-check-updates": "^16.14.18",
|
|
36
33
|
"prettier": "^3.2.5",
|
|
37
34
|
"prettier-plugin-organize-imports": "^3.2.4",
|
|
38
|
-
"ts-node": "^10.9.2",
|
|
39
|
-
"tsconfig-paths": "^4.2.0",
|
|
40
35
|
"typescript": "^5.4.5"
|
|
41
36
|
},
|
|
42
37
|
"module": "./esm/index.js",
|