@adbayb/create 1.0.1 → 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));
File without changes
package/package.json CHANGED
@@ -1,16 +1,17 @@
1
1
  {
2
2
  "name": "@adbayb/create",
3
- "version": "1.0.1",
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
- "bin"
9
+ "bin",
10
+ "dist"
10
11
  ],
11
- "bin": "bin/index.js",
12
+ "bin": "bin/index.cjs",
12
13
  "source": "src/index.ts",
13
- "main": "bin/index.js",
14
+ "main": "dist/index.js",
14
15
  "platform": "node",
15
16
  "keywords": [
16
17
  "setup",
@@ -29,13 +30,13 @@
29
30
  },
30
31
  "license": "MIT",
31
32
  "dependencies": {
32
- "@adbayb/stack": "^1.1.0",
33
+ "@adbayb/stack": "^1.2.0",
33
34
  "termost": "^0.9.0"
34
35
  },
35
36
  "scripts": {
36
37
  "prestart": "pnpm build",
37
38
  "start": "bin/index.js",
38
- "build": "quickbundle build && chmod +x bin/index.js",
39
+ "build": "quickbundle build",
39
40
  "watch": "quickbundle watch"
40
41
  }
41
42
  }
File without changes