@adbayb/create 2.39.0 → 2.40.0-next-f8ad939
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 +2 -2
- package/dist/index.js +1 -1
- package/package.json +17 -17
package/bin/index.js
CHANGED
|
@@ -2,6 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
import { createRequire } from "node:module";
|
|
4
4
|
|
|
5
|
-
const
|
|
5
|
+
const pkg = createRequire(import.meta.url)("../package.json");
|
|
6
6
|
|
|
7
|
-
import(new URL(`../${
|
|
7
|
+
void import(new URL(`../${pkg.exports["."].default}`, import.meta.url));
|
package/dist/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { helpers } from "termost";
|
|
|
6
6
|
* @see {@link https://docs.npmjs.com/cli/v9/commands/npm-init}
|
|
7
7
|
*/
|
|
8
8
|
try {
|
|
9
|
-
await helpers.exec("
|
|
9
|
+
await helpers.exec("pnx @adbayb/stack create", { hasLiveOutput: true });
|
|
10
10
|
} catch (error) {
|
|
11
11
|
helpers.message(`An error occurred while executing the npm initializer \`@adbayb/create\` (error: ${String(error)})`, { type: "error" });
|
|
12
12
|
}
|
package/package.json
CHANGED
|
@@ -1,23 +1,27 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/create",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.40.0-next-f8ad939",
|
|
4
4
|
"description": "My opinionated scaffolding tool",
|
|
5
5
|
"keywords": [
|
|
6
|
-
"
|
|
6
|
+
"development",
|
|
7
7
|
"scaffolding",
|
|
8
|
-
"
|
|
8
|
+
"setup"
|
|
9
9
|
],
|
|
10
|
-
"repository": {
|
|
11
|
-
"type": "git",
|
|
12
|
-
"url": "https://github.com/adbayb/stack.git",
|
|
13
|
-
"directory": "applications/create"
|
|
14
|
-
},
|
|
15
10
|
"license": "MIT",
|
|
16
11
|
"author": {
|
|
17
12
|
"name": "Ayoub Adib",
|
|
18
13
|
"email": "adbayb@gmail.com",
|
|
19
14
|
"url": "https://twitter.com/adbayb"
|
|
20
15
|
},
|
|
16
|
+
"repository": {
|
|
17
|
+
"type": "git",
|
|
18
|
+
"url": "https://github.com/adbayb/stack.git",
|
|
19
|
+
"directory": "applications/create"
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"bin",
|
|
23
|
+
"dist"
|
|
24
|
+
],
|
|
21
25
|
"type": "module",
|
|
22
26
|
"exports": {
|
|
23
27
|
".": {
|
|
@@ -25,21 +29,17 @@
|
|
|
25
29
|
"default": "./dist/index.js"
|
|
26
30
|
}
|
|
27
31
|
},
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
+
"publishConfig": {
|
|
33
|
+
"access": "public",
|
|
34
|
+
"registry": "https://registry.npmjs.org"
|
|
35
|
+
},
|
|
32
36
|
"dependencies": {
|
|
33
37
|
"termost": "^1.9.1",
|
|
34
|
-
"@adbayb/stack": "^2.
|
|
38
|
+
"@adbayb/stack": "^2.40.0-next-f8ad939"
|
|
35
39
|
},
|
|
36
40
|
"devDependencies": {
|
|
37
41
|
"quickbundle": "3.0.0"
|
|
38
42
|
},
|
|
39
|
-
"publishConfig": {
|
|
40
|
-
"access": "public",
|
|
41
|
-
"registry": "https://registry.npmjs.org"
|
|
42
|
-
},
|
|
43
43
|
"scripts": {
|
|
44
44
|
"build": "quickbundle build",
|
|
45
45
|
"prestart": "pnpm build",
|