@adbayb/create 1.0.0 → 1.2.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.cjs ADDED
@@ -0,0 +1,7 @@
1
+ #!/usr/bin/env node
2
+
3
+ const { join } = require("node:path");
4
+
5
+ const pkg = require("../package.json");
6
+
7
+ require(join("../", pkg.main));
package/dist/index.js ADDED
@@ -0,0 +1,3 @@
1
+ #!/usr/bin/env node
2
+ "use strict";var e=require("termost");e.helpers.exec("pnpm dlx @adbayb/stack create",{hasLiveOutput:!0});
3
+ //# sourceMappingURL=index.js.map
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "version": 3,
3
3
  "sources": ["../src/index.ts"],
4
- "sourcesContent": ["#!/usr/bin/env node\n\n/**\n * Package proxy using `@adbayb/stack` to benefit from NPM initializer `npm init @adbayb`\n * @see https://docs.npmjs.com/cli/v9/commands/npm-init\n */\nimport { helpers } from \"termost\";\n\nhelpers.exec(\"stack create\", { hasLiveOutput: true });\n"],
5
- "mappings": ";aAMA,IAAAA,EAAwB,mBAExB,UAAQ,KAAK,eAAgB,CAAE,cAAe,EAAK,CAAC",
4
+ "sourcesContent": ["#!/usr/bin/env node\n\n/**\n * Package proxy using `@adbayb/stack` to benefit from NPM initializer `npm init @adbayb`\n * @see https://docs.npmjs.com/cli/v9/commands/npm-init\n */\nimport { helpers } from \"termost\";\n\nhelpers.exec(\"pnpm dlx @adbayb/stack create\", { hasLiveOutput: true });\n"],
5
+ "mappings": ";aAMA,IAAAA,EAAwB,mBAExB,UAAQ,KAAK,gCAAiC,CAAE,cAAe,EAAK,CAAC",
6
6
  "names": ["import_termost"]
7
7
  }
package/package.json CHANGED
@@ -1,17 +1,17 @@
1
1
  {
2
2
  "name": "@adbayb/create",
3
- "version": "1.0.0",
3
+ "version": "1.2.0",
4
4
  "description": "My opinionated scaffolding tool",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
8
8
  "files": [
9
9
  "bin",
10
- "templates"
10
+ "dist"
11
11
  ],
12
- "bin": "bin/index.js",
12
+ "bin": "bin/index.cjs",
13
13
  "source": "src/index.ts",
14
- "main": "bin/index.js",
14
+ "main": "dist/index.js",
15
15
  "platform": "node",
16
16
  "keywords": [
17
17
  "setup",
@@ -30,13 +30,13 @@
30
30
  },
31
31
  "license": "MIT",
32
32
  "dependencies": {
33
- "@adbayb/stack": "^1.0.0",
33
+ "@adbayb/stack": "^1.2.0",
34
34
  "termost": "^0.9.0"
35
35
  },
36
36
  "scripts": {
37
37
  "prestart": "pnpm build",
38
38
  "start": "bin/index.js",
39
- "build": "quickbundle build && chmod +x bin/index.js",
39
+ "build": "quickbundle build",
40
40
  "watch": "quickbundle watch"
41
41
  }
42
42
  }
package/bin/index.js DELETED
@@ -1,3 +0,0 @@
1
- #!/usr/bin/env node
2
- "use strict";var e=require("termost");e.helpers.exec("stack create",{hasLiveOutput:!0});
3
- //# sourceMappingURL=index.js.map