@adbayb/create 1.16.1 → 2.1.0
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 +8 -0
- package/dist/index.js +9 -0
- package/package.json +16 -9
- package/bin/index.cjs +0 -7
- package/dist/index.cjs +0 -3
- package/dist/index.cjs.map +0 -7
package/bin/index.js
ADDED
package/dist/index.js
ADDED
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { helpers } from 'termost';
|
|
2
|
+
|
|
3
|
+
helpers.exec("pnpm dlx @adbayb/stack create", {
|
|
4
|
+
hasLiveOutput: true
|
|
5
|
+
}).catch((error)=>{
|
|
6
|
+
helpers.message(`An error occurred while executing the npm initializer \`@adbayb/create\` (error: ${String(error)})`, {
|
|
7
|
+
type: "error"
|
|
8
|
+
});
|
|
9
|
+
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@adbayb/create",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "2.1.0",
|
|
4
4
|
"description": "My opinionated scaffolding tool",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -9,10 +9,14 @@
|
|
|
9
9
|
"bin",
|
|
10
10
|
"dist"
|
|
11
11
|
],
|
|
12
|
-
"bin": "bin/index.
|
|
13
|
-
"
|
|
14
|
-
"
|
|
15
|
-
|
|
12
|
+
"bin": "./bin/index.js",
|
|
13
|
+
"type": "module",
|
|
14
|
+
"exports": {
|
|
15
|
+
".": {
|
|
16
|
+
"source": "./src/index.ts",
|
|
17
|
+
"default": "./dist/index.js"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
16
20
|
"keywords": [
|
|
17
21
|
"setup",
|
|
18
22
|
"scaffolding",
|
|
@@ -26,16 +30,19 @@
|
|
|
26
30
|
"repository": {
|
|
27
31
|
"type": "git",
|
|
28
32
|
"url": "https://github.com/adbayb/stack.git",
|
|
29
|
-
"directory": "
|
|
33
|
+
"directory": "applications/create"
|
|
30
34
|
},
|
|
31
35
|
"license": "MIT",
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"quickbundle": "2.6.0"
|
|
38
|
+
},
|
|
32
39
|
"dependencies": {
|
|
33
|
-
"termost": "^0.
|
|
34
|
-
"@adbayb/stack": "^1.
|
|
40
|
+
"termost": "^0.18.0",
|
|
41
|
+
"@adbayb/stack": "^2.1.0"
|
|
35
42
|
},
|
|
36
43
|
"scripts": {
|
|
37
44
|
"prestart": "pnpm build",
|
|
38
|
-
"start": "bin/index.js",
|
|
45
|
+
"start": "./bin/index.js",
|
|
39
46
|
"build": "quickbundle build",
|
|
40
47
|
"watch": "quickbundle watch"
|
|
41
48
|
}
|
package/bin/index.cjs
DELETED
package/dist/index.cjs
DELETED
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
#!/usr/bin/env node
|
|
2
|
-
"use strict";var e=require("termost");e.helpers.exec("pnpm dlx @adbayb/stack create",{hasLiveOutput:!0}).catch(r=>{e.helpers.message(`An error occurred while executing the npm initializer \`@adbayb/create\` (error: ${r})`,{type:"error"})});
|
|
3
|
-
//# sourceMappingURL=index.cjs.map
|
package/dist/index.cjs.map
DELETED
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"version": 3,
|
|
3
|
-
"sources": ["../src/index.ts"],
|
|
4
|
-
"sourcesContent": ["#!/usr/bin/env node\n\n/**\n * @file Package proxy using `@adbayb/stack` to benefit from NPM initializer `npm init @adbayb`.\n * @see {@link https://docs.npmjs.com/cli/v9/commands/npm-init}\n */\nimport { helpers } from \"termost\";\n\nhelpers\n\t.exec(\"pnpm dlx @adbayb/stack create\", {\n\t\thasLiveOutput: true,\n\t})\n\t.catch((error) => {\n\t\thelpers.message(\n\t\t\t`An error occurred while executing the npm initializer \\`@adbayb/create\\` (error: ${error})`,\n\t\t\t{ type: \"error\" },\n\t\t);\n\t});\n"],
|
|
5
|
-
"mappings": ";aAMA,IAAAA,EAAwB,mBAExB,UACE,KAAK,gCAAiC,CACtC,cAAe,EAChB,CAAC,EACA,MAAOC,GAAU,CACjB,UAAQ,QACP,oFAAoFA,KACpF,CAAE,KAAM,OAAQ,CACjB,CACD,CAAC",
|
|
6
|
-
"names": ["import_termost", "error"]
|
|
7
|
-
}
|