boilerforge 1.0.2 → 1.1.3
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/.github/workflows/release-pipeline.yml +79 -0
- package/.husky/pre-push +0 -0
- package/.release/latest/config.json +16 -0
- package/.release/latest/manifest.json +3 -0
- package/.release/rc/config.json +19 -0
- package/CHANGELOG.md +31 -0
- package/README.md +1 -1
- package/dist/cli.js +1 -1
- package/package.json +65 -54
- package/.github/workflows/auto-pr-gen.yml +0 -25
- package/.github/workflows/enforce-pr-rules.yml +0 -28
- package/.github/workflows/npm-publish.yml +0 -17
- package/.github/workflows/release-changelog.yml +0 -28
- package/release-please-config.json +0 -15
- /package/{.release-please-manifest.json → .release/rc/manifest.json} +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
name: release-pipeline
|
|
2
|
+
|
|
3
|
+
on:
|
|
4
|
+
workflow_dispatch:
|
|
5
|
+
inputs:
|
|
6
|
+
release-type:
|
|
7
|
+
description: "Release type"
|
|
8
|
+
type: choice
|
|
9
|
+
options:
|
|
10
|
+
- rc
|
|
11
|
+
- latest
|
|
12
|
+
default: latest
|
|
13
|
+
push:
|
|
14
|
+
branches:
|
|
15
|
+
- main
|
|
16
|
+
|
|
17
|
+
concurrency:
|
|
18
|
+
group: ${{ github.workflow }}-${{ github.ref }}
|
|
19
|
+
cancel-in-progress: true
|
|
20
|
+
|
|
21
|
+
jobs:
|
|
22
|
+
setup-release:
|
|
23
|
+
runs-on: ubuntu-latest
|
|
24
|
+
outputs:
|
|
25
|
+
release-type: ${{ steps.determine.outputs.release-type }}
|
|
26
|
+
steps:
|
|
27
|
+
- name: Checkout Code
|
|
28
|
+
uses: actions/checkout@v5
|
|
29
|
+
with:
|
|
30
|
+
fetch-depth: 0 # Ensures history is available for git log
|
|
31
|
+
|
|
32
|
+
- id: determine
|
|
33
|
+
run: |
|
|
34
|
+
release_type_input="${{ github.event.inputs.release-type }}"
|
|
35
|
+
|
|
36
|
+
if [ -n "$release_type_input" ]; then
|
|
37
|
+
type="$release_type_input"
|
|
38
|
+
else
|
|
39
|
+
echo "No manual input found. Proceeding to parse commit message..."
|
|
40
|
+
|
|
41
|
+
COMMIT_MSG=$(git log --format=%s -n 1)
|
|
42
|
+
echo "Last Commit Message: $COMMIT_MSG"
|
|
43
|
+
|
|
44
|
+
parsed_release_type=$(echo "$COMMIT_MSG" | sed -n 's/^release(\(.*\)):.*$/\1/p')
|
|
45
|
+
|
|
46
|
+
if [ -n "$parsed_release_type" ]; then
|
|
47
|
+
echo "Pattern matched! Parsed type: $parsed_release_type"
|
|
48
|
+
type=$([ "$parsed_release_type" = "prod" ] && echo "latest" || echo "$release_type")
|
|
49
|
+
else
|
|
50
|
+
echo "WARN: No release type provided via input AND commit message does not match 'release(type):'"
|
|
51
|
+
fi
|
|
52
|
+
fi
|
|
53
|
+
|
|
54
|
+
echo "release-type=$type" >> $GITHUB_OUTPUT
|
|
55
|
+
echo "Successfully resolved release-type to: $type"
|
|
56
|
+
|
|
57
|
+
release:
|
|
58
|
+
needs: setup-release
|
|
59
|
+
permissions:
|
|
60
|
+
id-token: write
|
|
61
|
+
contents: write
|
|
62
|
+
pull-requests: write
|
|
63
|
+
actions: write
|
|
64
|
+
uses: tspyder7/github-actions-lib/.github/workflows/release-pipeline.yml@main
|
|
65
|
+
with:
|
|
66
|
+
environment: production
|
|
67
|
+
release-type: ${{ needs.setup-release.outputs.release-type }}
|
|
68
|
+
publish: |
|
|
69
|
+
{
|
|
70
|
+
"uses": "tspyder7/github-actions-lib/actions/npm-publish@main",
|
|
71
|
+
"with": {
|
|
72
|
+
"package-manager": "pnpm",
|
|
73
|
+
"node-version": "24",
|
|
74
|
+
"registry-url": "https://registry.npmjs.org/",
|
|
75
|
+
"publish-tag": "${{ needs.setup-release.outputs.release-type }}"
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
secrets:
|
|
79
|
+
GH_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
|
package/.husky/pre-push
CHANGED
|
File without changes
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
3
|
+
"packages": {
|
|
4
|
+
".": {
|
|
5
|
+
"package-name": "boilerforge",
|
|
6
|
+
"release-type": "node",
|
|
7
|
+
"changelog-path": "CHANGELOG.md"
|
|
8
|
+
}
|
|
9
|
+
},
|
|
10
|
+
"include-v-in-tag": true,
|
|
11
|
+
"bump-minor-pre-major": false,
|
|
12
|
+
"pull-request-title-pattern": "release(prod): v${version}",
|
|
13
|
+
"pull-request-header": "Release Notes",
|
|
14
|
+
"separate-pull-requests": true,
|
|
15
|
+
"bump-patch-for-minor-pre-major": true
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
3
|
+
"packages": {
|
|
4
|
+
".": {
|
|
5
|
+
"package-name": "boilerforge",
|
|
6
|
+
"release-type": "node",
|
|
7
|
+
"changelog-path": "CHANGELOG.md",
|
|
8
|
+
"prerelease-type": "rc",
|
|
9
|
+
"prerelease": true
|
|
10
|
+
}
|
|
11
|
+
},
|
|
12
|
+
"include-v-in-tag": true,
|
|
13
|
+
"bump-minor-pre-major": false,
|
|
14
|
+
"pull-request-title-pattern": "release(rc): v${version}",
|
|
15
|
+
"pull-request-header": "Release Notes",
|
|
16
|
+
"separate-pull-requests": true,
|
|
17
|
+
"bump-patch-for-minor-pre-major": true,
|
|
18
|
+
"versioning": "prerelease"
|
|
19
|
+
}
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,36 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [1.1.3](https://github.com/tspyder7/boilerforge/compare/boilerforge-v1.1.2...boilerforge-v1.1.3) (2026-05-04)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Bug Fixes
|
|
7
|
+
|
|
8
|
+
* **ci:** cancelled in progress release-pipeline workflows ([#83](https://github.com/tspyder7/boilerforge/issues/83)) ([210daae](https://github.com/tspyder7/boilerforge/commit/210daae626de6758a01c57d8b45adca6f52c670f))
|
|
9
|
+
* **ci:** fixed typo in workflow ([#82](https://github.com/tspyder7/boilerforge/issues/82)) ([8ea21cb](https://github.com/tspyder7/boilerforge/commit/8ea21cbae37b4ee17f08e100d59edd7ce4913754))
|
|
10
|
+
* **ci:** updated release-pipeline to use node 24 & fixed release configuration prod -> latest ([#81](https://github.com/tspyder7/boilerforge/issues/81)) ([a36e469](https://github.com/tspyder7/boilerforge/commit/a36e469390d8187414474b0a7754b67209865842))
|
|
11
|
+
|
|
12
|
+
## [1.1.2](https://github.com/tspyder7/boilerforge/compare/boilerforge-v1.1.1...boilerforge-v1.1.2) (2026-05-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### Bug Fixes
|
|
16
|
+
|
|
17
|
+
* updated node engine >= 24 and added keyword, repository configuation ([#79](https://github.com/tspyder7/boilerforge/issues/79)) ([8022e7a](https://github.com/tspyder7/boilerforge/commit/8022e7afb5cd7685c7650816a181d4131b0f8d8d))
|
|
18
|
+
|
|
19
|
+
## [1.1.1](https://github.com/tspyder7/boilerforge/compare/boilerforge-v1.1.0...boilerforge-v1.1.1) (2026-04-26)
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
### Bug Fixes
|
|
23
|
+
|
|
24
|
+
* **ci:** added setup-release job ([#76](https://github.com/tspyder7/boilerforge/issues/76)) ([08afa65](https://github.com/tspyder7/boilerforge/commit/08afa65ed19d705ec684d3bcbd4c3bc2e41afbba))
|
|
25
|
+
* **ci:** giving warning message when there is no release-type ([#77](https://github.com/tspyder7/boilerforge/issues/77)) ([d821871](https://github.com/tspyder7/boilerforge/commit/d821871eb63b1ebcaf6d8a2ff5a042e6e725bfe6))
|
|
26
|
+
|
|
27
|
+
## [1.1.0](https://github.com/tspyder7/boilerforge/compare/boilerforge-v1.0.2...boilerforge-v1.1.0) (2026-04-26)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
### Features
|
|
31
|
+
|
|
32
|
+
* updated readme description ([#74](https://github.com/tspyder7/boilerforge/issues/74)) ([4c44e35](https://github.com/tspyder7/boilerforge/commit/4c44e357eceada7e4a82326e4fd5a88757cf87ed))
|
|
33
|
+
|
|
3
34
|
## [1.0.2](https://github.com/tspyder7/boilerforge/compare/boilerforge-v1.0.1...boilerforge-v1.0.2) (2025-08-19)
|
|
4
35
|
|
|
5
36
|
|
package/README.md
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
# boilerforge
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
A blazing-fast CLI utility that scaffolds clean, ready-to-use project structures so you can skip the setup and start building instantly.
|
package/dist/cli.js
CHANGED
|
@@ -10332,7 +10332,7 @@ var {
|
|
|
10332
10332
|
} = import_index.default;
|
|
10333
10333
|
|
|
10334
10334
|
// src/config/cli-config.ts
|
|
10335
|
-
var runtimeVersion = true ? "1.
|
|
10335
|
+
var runtimeVersion = true ? "1.1.3" : "0.0.0-dev";
|
|
10336
10336
|
var cliConfig = {
|
|
10337
10337
|
name: "boilerforge",
|
|
10338
10338
|
description: "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/package.json
CHANGED
|
@@ -1,55 +1,66 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
"
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
"
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
2
|
+
"name": "boilerforge",
|
|
3
|
+
"version": "1.1.3",
|
|
4
|
+
"description": "A blazing-fast CLI utility that scaffolds clean, ready-to-use project structures so you can skip the setup and start building instantly.",
|
|
5
|
+
"main": "dist/",
|
|
6
|
+
"bin": {
|
|
7
|
+
"boilerforge": "dist/cli.js"
|
|
8
|
+
},
|
|
9
|
+
"engines": {
|
|
10
|
+
"node": ">= 24"
|
|
11
|
+
},
|
|
12
|
+
"scripts": {
|
|
13
|
+
"clean": "rimraf dist",
|
|
14
|
+
"ci": "pnpm install --frozen-lockfile",
|
|
15
|
+
"build": "ts-node esbuild.config.ts",
|
|
16
|
+
"prebuild": "pnpm run clean && pnpm run lint && pnpm run format",
|
|
17
|
+
"start": "node dist/cli.js",
|
|
18
|
+
"lint": "eslint --ext .js,.ts .",
|
|
19
|
+
"format": "prettier --write \"**/*.+(js|ts)\"",
|
|
20
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
21
|
+
"dev": "ts-node bin/cli.ts",
|
|
22
|
+
"prepare": "husky"
|
|
23
|
+
},
|
|
24
|
+
"keywords": [
|
|
25
|
+
"cli",
|
|
26
|
+
"boilerplate",
|
|
27
|
+
"scaffolding-tool",
|
|
28
|
+
"automation"
|
|
29
|
+
],
|
|
30
|
+
"repository": {
|
|
31
|
+
"type": "git",
|
|
32
|
+
"url": "https://github.com/tspyder7/boilerforge.git"
|
|
33
|
+
},
|
|
34
|
+
"author": "tspyder7",
|
|
35
|
+
"license": "MIT",
|
|
36
|
+
"packageManager": "pnpm@10.9.0",
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@commitlint/cli": "^19.8.1",
|
|
39
|
+
"@commitlint/config-conventional": "^19.8.1",
|
|
40
|
+
"@eslint/js": "^9.25.1",
|
|
41
|
+
"@types/node": "^22.15.2",
|
|
42
|
+
"@typescript-eslint/eslint-plugin": "^8.31.0",
|
|
43
|
+
"@typescript-eslint/parser": "^8.31.0",
|
|
44
|
+
"esbuild": "^0.25.3",
|
|
45
|
+
"eslint": "^9.25.1",
|
|
46
|
+
"globals": "^16.0.0",
|
|
47
|
+
"husky": "^9.1.7",
|
|
48
|
+
"prettier": "^3.5.3",
|
|
49
|
+
"rimraf": "^6.0.1",
|
|
50
|
+
"ts-node": "^10.9.2",
|
|
51
|
+
"tslint-config-prettier": "^1.18.0",
|
|
52
|
+
"typescript": "^5.8.3",
|
|
53
|
+
"typescript-eslint": "^8.31.0"
|
|
54
|
+
},
|
|
55
|
+
"dependencies": {
|
|
56
|
+
"chalk": "^5.4.1",
|
|
57
|
+
"commander": "^13.1.0",
|
|
58
|
+
"enquirer": "^2.4.1",
|
|
59
|
+
"execa": "^9.5.2",
|
|
60
|
+
"inquirer": "^12.6.1",
|
|
61
|
+
"listr2": "^8.3.2",
|
|
62
|
+
"remark-stringify": "^11.0.0",
|
|
63
|
+
"unified": "^11.0.5",
|
|
64
|
+
"unist-builder": "^4.0.0"
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
name: Generate Auto PR
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- development
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
automatic-pr-generate:
|
|
11
|
-
name: Use Generate Auto PR Workflow
|
|
12
|
-
permissions:
|
|
13
|
-
contents: write
|
|
14
|
-
pull-requests: write
|
|
15
|
-
|
|
16
|
-
uses: tspyder7/github-actions-lib/.github/workflows/auto-pr.yml@main
|
|
17
|
-
with:
|
|
18
|
-
pr-branch-hierarchy-json: |
|
|
19
|
-
{
|
|
20
|
-
"main": [
|
|
21
|
-
"development"
|
|
22
|
-
]
|
|
23
|
-
}
|
|
24
|
-
secrets:
|
|
25
|
-
GH_TOKEN: ${{ secrets.GH_REPO_TOKEN }}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: Enforce PR Rules
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
pull_request:
|
|
5
|
-
types:
|
|
6
|
-
- opened
|
|
7
|
-
- reopened
|
|
8
|
-
- synchronize
|
|
9
|
-
- edited
|
|
10
|
-
|
|
11
|
-
jobs:
|
|
12
|
-
enforce-pr-hierarchy:
|
|
13
|
-
name: Use Enforce PR Hierarchy Workflow
|
|
14
|
-
permissions:
|
|
15
|
-
contents: write
|
|
16
|
-
pull-requests: write
|
|
17
|
-
uses: tspyder7/github-actions-lib/.github/workflows/enforce-pr-hierarchy.yml@main
|
|
18
|
-
with:
|
|
19
|
-
allowed-branches-hierarchy-json: |
|
|
20
|
-
{
|
|
21
|
-
"main": [
|
|
22
|
-
"development",
|
|
23
|
-
"release-please-.*",
|
|
24
|
-
"hotfix/.*"
|
|
25
|
-
]
|
|
26
|
-
}
|
|
27
|
-
secrets:
|
|
28
|
-
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
name: Release NPM Package
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
push:
|
|
5
|
-
tags:
|
|
6
|
-
- '*'
|
|
7
|
-
|
|
8
|
-
jobs:
|
|
9
|
-
publish-package:
|
|
10
|
-
name: Use NPM Publish Workflow
|
|
11
|
-
uses: tspyder7/github-actions-lib/.github/workflows/npm-publish.yml@main
|
|
12
|
-
with:
|
|
13
|
-
node-version: "22"
|
|
14
|
-
registry-url: "https://registry.npmjs.org/"
|
|
15
|
-
package-manager: "pnpm"
|
|
16
|
-
secrets:
|
|
17
|
-
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
name: Release Changelog
|
|
2
|
-
|
|
3
|
-
on:
|
|
4
|
-
workflow_dispatch:
|
|
5
|
-
push:
|
|
6
|
-
branches:
|
|
7
|
-
- main
|
|
8
|
-
|
|
9
|
-
jobs:
|
|
10
|
-
release-changelog:
|
|
11
|
-
name: Use Release Please Workflow
|
|
12
|
-
permissions:
|
|
13
|
-
contents: write
|
|
14
|
-
pull-requests: write
|
|
15
|
-
|
|
16
|
-
runs-on: ubuntu-latest
|
|
17
|
-
timeout-minutes: 10
|
|
18
|
-
steps:
|
|
19
|
-
- name: Checkout Code
|
|
20
|
-
uses: actions/checkout@v4
|
|
21
|
-
|
|
22
|
-
- name: Generate ChangeLog
|
|
23
|
-
id: release-changelog
|
|
24
|
-
uses: googleapis/release-please-action@v4
|
|
25
|
-
with:
|
|
26
|
-
token: ${{ secrets.GH_REPO_TOKEN }}
|
|
27
|
-
config-file: release-please-config.json
|
|
28
|
-
manifest-file: .release-please-manifest.json
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json",
|
|
3
|
-
"release-type": "node",
|
|
4
|
-
"packages": {
|
|
5
|
-
".": {
|
|
6
|
-
"package-name": "boilerforge",
|
|
7
|
-
"changelog-path": "CHANGELOG.md"
|
|
8
|
-
}
|
|
9
|
-
},
|
|
10
|
-
"bump-minor-pre-major": true,
|
|
11
|
-
"include-v-in-tag": true,
|
|
12
|
-
"pull-request-title-pattern": "chore: release v${version}",
|
|
13
|
-
"pull-request-header": "Release Notes",
|
|
14
|
-
"separate-pull-requests": true
|
|
15
|
-
}
|
|
File without changes
|