create-esmx 3.0.0-rc.34 → 3.0.0-rc.35
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.d.ts +2 -0
- package/dist/cli.mjs +6 -0
- package/dist/index.mjs +0 -6
- package/package.json +4 -4
- package/src/cli.ts +8 -0
- package/src/index.ts +0 -7
package/dist/cli.d.ts
ADDED
package/dist/cli.mjs
ADDED
package/dist/index.mjs
CHANGED
|
@@ -274,9 +274,3 @@ function copyTemplateFiles(templatePath, targetPath, variables) {
|
|
|
274
274
|
}
|
|
275
275
|
}
|
|
276
276
|
export default createProject;
|
|
277
|
-
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
278
|
-
createProject().catch((error) => {
|
|
279
|
-
console.error("Error creating project:", error);
|
|
280
|
-
process.exit(1);
|
|
281
|
-
});
|
|
282
|
-
}
|
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-esmx",
|
|
3
|
-
"version": "3.0.0-rc.
|
|
3
|
+
"version": "3.0.0-rc.35",
|
|
4
4
|
"description": "A scaffold tool for creating Esmx projects",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"private": false,
|
|
7
7
|
"bin": {
|
|
8
|
-
"create-esmx": "./dist/
|
|
8
|
+
"create-esmx": "./dist/cli.mjs"
|
|
9
9
|
},
|
|
10
10
|
"template": "library-node",
|
|
11
11
|
"scripts": {
|
|
@@ -23,7 +23,7 @@
|
|
|
23
23
|
},
|
|
24
24
|
"devDependencies": {
|
|
25
25
|
"@biomejs/biome": "1.9.4",
|
|
26
|
-
"@esmx/lint": "3.0.0-rc.
|
|
26
|
+
"@esmx/lint": "3.0.0-rc.35",
|
|
27
27
|
"@types/minimist": "^1.2.5",
|
|
28
28
|
"@types/node": "^24.0.0",
|
|
29
29
|
"@vitest/coverage-v8": "3.2.4",
|
|
@@ -68,5 +68,5 @@
|
|
|
68
68
|
"url": "https://github.com/esmnext/esmx/issues"
|
|
69
69
|
},
|
|
70
70
|
"homepage": "https://github.com/esmnext/esmx#readme",
|
|
71
|
-
"gitHead": "
|
|
71
|
+
"gitHead": "88f710dfd3a54943e0c893af7daf2f42f83e08e6"
|
|
72
72
|
}
|
package/src/cli.ts
ADDED
package/src/index.ts
CHANGED
|
@@ -382,10 +382,3 @@ function copyTemplateFiles(
|
|
|
382
382
|
}
|
|
383
383
|
|
|
384
384
|
export default createProject;
|
|
385
|
-
|
|
386
|
-
if (import.meta.url === `file://${process.argv[1]}`) {
|
|
387
|
-
createProject().catch((error) => {
|
|
388
|
-
console.error('Error creating project:', error);
|
|
389
|
-
process.exit(1);
|
|
390
|
-
});
|
|
391
|
-
}
|