@adbayb/create 1.0.1 → 1.3.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/README.md CHANGED
@@ -1,10 +1,15 @@
1
1
  <div align="center">
2
2
  <h1>🦦 Create</h1>
3
- <strong>My opinionated scaffolding tool</strong>
3
+ <strong>My opinionated node package manager initializer</strong>
4
4
  </div>
5
- <p></p>
5
+ <br>
6
+ <br>
6
7
 
7
8
  ## 🚀 Usage
8
9
 
9
- - `cd my-project-root-folder`
10
- - `npm init @adbayb`
10
+ ```bash
11
+ # Npm
12
+ npm init @adbayb
13
+ # Pnpm
14
+ pnpm create @adbayb
15
+ ```
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.3.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.3.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