boilerforge 1.0.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/.editorconfig ADDED
@@ -0,0 +1,13 @@
1
+ root = true
2
+
3
+ [*]
4
+ indent_style = space
5
+ indent_size = 4
6
+ end_of_line = lf
7
+ charset = utf-8
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [*.yml]
12
+ indent_style = space
13
+ indent_size = 2
@@ -0,0 +1,34 @@
1
+ name: Publish to NPM
2
+
3
+ on:
4
+ push:
5
+ branches:
6
+ - main # Trigger publish on push to main
7
+
8
+ jobs:
9
+ publish:
10
+ runs-on: ubuntu-latest
11
+
12
+ steps:
13
+ - name: Checkout code
14
+ uses: actions/checkout@v4
15
+
16
+ - name: Setup Node.js
17
+ uses: actions/setup-node@v4
18
+ with:
19
+ node-version: "22"
20
+ registry-url: "https://registry.npmjs.org/"
21
+
22
+ - name: Install pnpm
23
+ run: npm install -g pnpm
24
+
25
+ - name: Install dependencies
26
+ run: pnpm install
27
+
28
+ - name: Build
29
+ run: pnpm run build
30
+
31
+ - name: Publish to NPM
32
+ run: npm publish --access public
33
+ env:
34
+ NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
@@ -0,0 +1,11 @@
1
+ .gitignore
2
+ .editorconfig
3
+ *.json
4
+
5
+ node_modules/
6
+
7
+ # build or bundles
8
+ build/
9
+
10
+ # Ignore built js files
11
+ dist/
@@ -0,0 +1,15 @@
1
+ {
2
+ "printWidth": 80,
3
+ "tabWidth": 4,
4
+ "useTabs": false,
5
+ "semi": true,
6
+ "singleQuote": true,
7
+ "quoteProps": "as-needed",
8
+ "trailingComma": "all",
9
+ "arrowParens": "always",
10
+ "parser": "typescript",
11
+ "proseWrap": "always",
12
+ "endOfLine": "auto",
13
+ "embeddedLanguageFormatting": "auto",
14
+ "singleAttributePerLine": true
15
+ }
package/README.md ADDED
@@ -0,0 +1,3 @@
1
+ # boilerforge
2
+
3
+ ✨ boilerforge is a blazing-fast CLI utility that scaffolds clean, ready-to-use project structures so you can skip the setup and start building instantly.
package/bin/cli.ts ADDED
@@ -0,0 +1,21 @@
1
+ #!/usr/bin/env node
2
+
3
+ import { Command } from 'commander';
4
+ import cliConfig from '../src/config/cli-config';
5
+ import { CreateNodeApp } from '../src/templates';
6
+
7
+ (async function () {
8
+ const program = new Command();
9
+ program
10
+ .name(cliConfig.name)
11
+ .description(cliConfig.description)
12
+ .version(
13
+ cliConfig.version,
14
+ '-v, --version',
15
+ 'output the version number',
16
+ );
17
+
18
+ new CreateNodeApp({ program });
19
+
20
+ program.parse();
21
+ })();