@cbnventures/nova 0.26.0 → 0.27.1
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/build/package.json +8 -7
- package/build/src/cli/generate/github/workflows-blueprint.d.ts.map +1 -1
- package/build/src/cli/generate/github/workflows-blueprint.js +3 -2
- package/build/src/cli/generate/github/workflows-blueprint.js.map +1 -1
- package/build/src/cli/index.js +27 -1
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/recipe/index.d.ts.map +1 -1
- package/build/src/cli/recipe/index.js +5 -0
- package/build/src/cli/recipe/index.js.map +1 -1
- package/build/src/cli/recipe/miscellaneous/fix-markdown-tables.d.ts +10 -0
- package/build/src/cli/recipe/miscellaneous/fix-markdown-tables.d.ts.map +1 -0
- package/build/src/cli/recipe/miscellaneous/fix-markdown-tables.js +252 -0
- package/build/src/cli/recipe/miscellaneous/fix-markdown-tables.js.map +1 -0
- package/build/src/cli/recipe/package-json/normalize-tooling.d.ts.map +1 -1
- package/build/src/cli/recipe/package-json/normalize-tooling.js +40 -0
- package/build/src/cli/recipe/package-json/normalize-tooling.js.map +1 -1
- package/build/src/cli/scaffold/starter/base.d.ts.map +1 -1
- package/build/src/cli/scaffold/starter/base.js +1 -0
- package/build/src/cli/scaffold/starter/base.js.map +1 -1
- package/build/src/cli/utility/changelog.d.ts.map +1 -1
- package/build/src/cli/utility/changelog.js +84 -26
- package/build/src/cli/utility/changelog.js.map +1 -1
- package/build/src/lib/scaffold.d.ts.map +1 -1
- package/build/src/lib/scaffold.js +92 -1
- package/build/src/lib/scaffold.js.map +1 -1
- package/build/src/lib/type-check.js +1 -1
- package/build/src/lib/type-check.js.map +1 -1
- package/build/src/types/cli/index.d.ts +6 -0
- package/build/src/types/cli/recipe/index.d.ts +2 -1
- package/build/src/types/cli/recipe/miscellaneous/fix-markdown-tables.d.ts +188 -0
- package/build/src/types/cli/recipe/package-json/normalize-tooling.d.ts +28 -2
- package/build/src/types/cli/utility/changelog.d.ts +28 -4
- package/build/src/types/lib/scaffold.d.ts +6 -0
- package/build/src/types/tests/cli/index.test.d.ts +25 -0
- package/build/src/types/tests/cli/recipe/miscellaneous/fix-markdown-tables.test.d.ts +106 -0
- package/build/src/types/tests/cli/recipe/package-json/normalize-tooling.test.d.ts +29 -0
- package/build/src/types/tests/cli/utility/changelog.test.d.ts +31 -0
- package/build/src/types/tests/cli/utility/type-check.test.d.ts +13 -0
- package/build/src/types/tests/scaffold-output-contract.test.d.ts +51 -0
- package/build/templates/generators/github/workflows/publish/targets/docker-hub.yml +2 -1
- package/build/templates/generators/github/workflows/publish/targets/ghcr.yml +2 -1
- package/build/templates/generators/github/workflows/publish/targets/github-action.yml +1 -1
- package/build/templates/scaffold/app/express/package.json +11 -3
- package/build/templates/scaffold/app/nextjs/package.json +12 -3
- package/build/templates/scaffold/app/vite/package.json +12 -3
- package/build/templates/scaffold/app/workers/package.json +13 -5
- package/build/templates/scaffold/docs/docusaurus/package.json +18 -8
- package/package.json +8 -7
|
@@ -6,6 +6,7 @@ publish-ghcr-[__TARGET_ID__]:
|
|
|
6
6
|
contents: "read"
|
|
7
7
|
packages: "write"
|
|
8
8
|
attestations: "write"
|
|
9
|
+
artifact-metadata: "write"
|
|
9
10
|
id-token: "write"
|
|
10
11
|
[__JOBS_CONDITION__]
|
|
11
12
|
steps:
|
|
@@ -40,7 +41,7 @@ publish-ghcr-[__TARGET_ID__]:
|
|
|
40
41
|
|
|
41
42
|
- name: "Generate build provenance"
|
|
42
43
|
if: "${{ env.PUBLISH == 'true' }}"
|
|
43
|
-
uses: "actions/attest
|
|
44
|
+
uses: "actions/attest@v4"
|
|
44
45
|
with:
|
|
45
46
|
subject-name: "ghcr.io/${{ github.repository }}"
|
|
46
47
|
subject-digest: "${{ steps.build-push.outputs.digest }}"
|
|
@@ -116,6 +116,6 @@ publish-github-action-[__TARGET_ID__]:
|
|
|
116
116
|
|
|
117
117
|
- name: "Attest build provenance"
|
|
118
118
|
if: "${{ env.PUBLISH == 'true' }}"
|
|
119
|
-
uses: "actions/attest
|
|
119
|
+
uses: "actions/attest@v4"
|
|
120
120
|
with:
|
|
121
121
|
subject-path: "${{ vars.ACTION_OUTPUT_PATH }}/${{ vars.ACTION_ENTRY_POINT }}"
|
|
@@ -4,9 +4,16 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dev": "
|
|
8
|
-
"
|
|
9
|
-
"
|
|
7
|
+
"dev": "nova utility run-scripts --parallel 'dev:*'",
|
|
8
|
+
"dev:start": "tsx watch src/index.ts",
|
|
9
|
+
"prod": "nova utility run-scripts --sequential 'prod:*'",
|
|
10
|
+
"prod:start": "node build/index.js",
|
|
11
|
+
"check": "nova utility run-scripts --sequential 'check:*'",
|
|
12
|
+
"check:types": "nova utility type-check --project tsconfig.json",
|
|
13
|
+
"build": "nova utility run-scripts --sequential 'build:*'",
|
|
14
|
+
"build:types": "tsc",
|
|
15
|
+
"clean": "nova utility run-scripts --parallel 'clean:*'",
|
|
16
|
+
"clean:build": "shx rm -rf ./build"
|
|
10
17
|
},
|
|
11
18
|
"dependencies": {
|
|
12
19
|
"express": "5.1.0"
|
|
@@ -14,6 +21,7 @@
|
|
|
14
21
|
"devDependencies": {
|
|
15
22
|
"@types/express": "5.0.2",
|
|
16
23
|
"@types/node": "22.15.17",
|
|
24
|
+
"shx": "0.4.0",
|
|
17
25
|
"tsx": "4.19.4",
|
|
18
26
|
"typescript": "6.0.3"
|
|
19
27
|
}
|
|
@@ -3,9 +3,17 @@
|
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
|
-
"dev": "
|
|
7
|
-
"
|
|
8
|
-
"
|
|
6
|
+
"dev": "nova utility run-scripts --parallel 'dev:*'",
|
|
7
|
+
"dev:start": "next dev",
|
|
8
|
+
"prod": "nova utility run-scripts --sequential 'prod:*'",
|
|
9
|
+
"prod:start": "next start",
|
|
10
|
+
"check": "nova utility run-scripts --sequential 'check:*'",
|
|
11
|
+
"check:typegen": "next typegen",
|
|
12
|
+
"check:types": "nova utility type-check --project tsconfig.json",
|
|
13
|
+
"build": "nova utility run-scripts --sequential 'build:*'",
|
|
14
|
+
"build:app": "next build",
|
|
15
|
+
"clean": "nova utility run-scripts --parallel 'clean:*'",
|
|
16
|
+
"clean:build": "shx rm -rf ./build"
|
|
9
17
|
},
|
|
10
18
|
"dependencies": {
|
|
11
19
|
"next": "16.3.4",
|
|
@@ -16,6 +24,7 @@
|
|
|
16
24
|
"@types/node": "24.9.1",
|
|
17
25
|
"@types/react": "19.2.18",
|
|
18
26
|
"@types/react-dom": "19.2.7",
|
|
27
|
+
"shx": "0.4.0",
|
|
19
28
|
"typescript": "6.0.3"
|
|
20
29
|
}
|
|
21
30
|
}
|
|
@@ -4,13 +4,22 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dev": "
|
|
8
|
-
"
|
|
9
|
-
"
|
|
7
|
+
"dev": "nova utility run-scripts --parallel 'dev:*'",
|
|
8
|
+
"dev:start": "vite",
|
|
9
|
+
"prod": "nova utility run-scripts --sequential 'prod:*'",
|
|
10
|
+
"prod:preview": "vite preview",
|
|
11
|
+
"check": "nova utility run-scripts --sequential 'check:*'",
|
|
12
|
+
"check:types": "nova utility type-check --project tsconfig.json",
|
|
13
|
+
"build": "nova utility run-scripts --sequential 'build:*'",
|
|
14
|
+
"build:types": "tsc",
|
|
15
|
+
"build:app": "vite build",
|
|
16
|
+
"clean": "nova utility run-scripts --parallel 'clean:*'",
|
|
17
|
+
"clean:build": "shx rm -rf ./dist"
|
|
10
18
|
},
|
|
11
19
|
"dependencies": {},
|
|
12
20
|
"devDependencies": {
|
|
13
21
|
"@types/node": "22.15.17",
|
|
22
|
+
"shx": "0.4.0",
|
|
14
23
|
"typescript": "6.0.3",
|
|
15
24
|
"vite": "6.4.3"
|
|
16
25
|
}
|
|
@@ -4,13 +4,21 @@
|
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"scripts": {
|
|
7
|
-
"dev": "
|
|
8
|
-
"
|
|
9
|
-
"
|
|
7
|
+
"dev": "nova utility run-scripts --parallel 'dev:*'",
|
|
8
|
+
"dev:worker": "wrangler dev",
|
|
9
|
+
"check": "nova utility run-scripts --sequential 'check:*'",
|
|
10
|
+
"check:types": "nova utility type-check --project tsconfig.json",
|
|
11
|
+
"build": "nova utility run-scripts --sequential 'build:*'",
|
|
12
|
+
"build:types": "tsc",
|
|
13
|
+
"deploy": "nova utility run-scripts --sequential 'deploy:*'",
|
|
14
|
+
"deploy:worker": "wrangler deploy",
|
|
15
|
+
"clean": "nova utility run-scripts --parallel 'clean:*'",
|
|
16
|
+
"clean:wrangler": "shx rm -rf ./.wrangler"
|
|
10
17
|
},
|
|
11
18
|
"devDependencies": {
|
|
12
|
-
"@cloudflare/workers-types": "5.
|
|
19
|
+
"@cloudflare/workers-types": "5.20260911.1",
|
|
20
|
+
"shx": "0.4.0",
|
|
13
21
|
"typescript": "6.0.3",
|
|
14
|
-
"wrangler": "4.
|
|
22
|
+
"wrangler": "4.131.1"
|
|
15
23
|
}
|
|
16
24
|
}
|
|
@@ -3,28 +3,38 @@
|
|
|
3
3
|
"version": "0.0.0",
|
|
4
4
|
"private": true,
|
|
5
5
|
"scripts": {
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
"
|
|
9
|
-
"
|
|
6
|
+
"dev": "nova utility run-scripts --parallel 'dev:*'",
|
|
7
|
+
"dev:start": "docusaurus start --port 3000",
|
|
8
|
+
"prod": "nova utility run-scripts --sequential 'prod:*'",
|
|
9
|
+
"prod:serve": "docusaurus serve --port 3000",
|
|
10
|
+
"check": "nova utility run-scripts --sequential 'check:*'",
|
|
11
|
+
"check:types": "nova utility type-check --project tsconfig.json",
|
|
12
|
+
"check:test": "vitest run",
|
|
13
|
+
"build": "nova utility run-scripts --sequential 'build:*'",
|
|
14
|
+
"build:site": "docusaurus build",
|
|
15
|
+
"clean": "nova utility run-scripts --parallel 'clean:*'",
|
|
16
|
+
"clean:build": "shx rm -rf ./build",
|
|
17
|
+
"clean:clear": "docusaurus clear",
|
|
18
|
+
"i18n": "nova utility run-scripts --sequential 'i18n:*'",
|
|
19
|
+
"i18n:sync": "theme-nova i18n sync",
|
|
10
20
|
"i18n:check": "theme-nova i18n check",
|
|
11
|
-
"i18n:coverage": "theme-nova i18n coverage"
|
|
12
|
-
"test": "vitest run"
|
|
21
|
+
"i18n:coverage": "theme-nova i18n coverage"
|
|
13
22
|
},
|
|
14
23
|
"dependencies": {
|
|
15
|
-
"@cbnventures/docusaurus-preset-nova": "0.
|
|
24
|
+
"@cbnventures/docusaurus-preset-nova": "0.27.1",
|
|
16
25
|
"@docusaurus/core": "3.10.2",
|
|
17
26
|
"react": "19.2.8",
|
|
18
27
|
"react-dom": "19.2.8"
|
|
19
28
|
},
|
|
20
29
|
"devDependencies": {
|
|
21
|
-
"@cbnventures/nova": "0.
|
|
30
|
+
"@cbnventures/nova": "0.27.1",
|
|
22
31
|
"@docusaurus/module-type-aliases": "3.10.2",
|
|
23
32
|
"@docusaurus/types": "3.10.2",
|
|
24
33
|
"@types/node": "24.9.1",
|
|
25
34
|
"@types/react": "19.2.18",
|
|
26
35
|
"@types/react-dom": "19.2.4",
|
|
27
36
|
"glob": "13.0.6",
|
|
37
|
+
"shx": "0.4.0",
|
|
28
38
|
"typescript": "6.0.3",
|
|
29
39
|
"vitest": "4.1.11"
|
|
30
40
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cbnventures/nova",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.27.1",
|
|
4
4
|
"description": "Scripts, templates, and project configuration for the common JavaScript and TypeScript developer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -83,18 +83,18 @@
|
|
|
83
83
|
"scripts": {
|
|
84
84
|
"dev": "node ../../scripts/nova-run-scripts.mjs --parallel 'dev:*'",
|
|
85
85
|
"dev:watch": "tsc --project tsconfig.source.json --watch",
|
|
86
|
-
"build": "node ../../scripts/nova-run-scripts.mjs --sequential 'build:*'",
|
|
87
|
-
"build:transpile-source": "tsc --project tsconfig.source.json --outDir ./build --skipLibCheck",
|
|
88
|
-
"build:copy-types": "shx rm -rf \"./build/src/types\" && shx cp -r \"./src/types\" \"./build/src/types\"",
|
|
89
|
-
"build:copy-tsconfig-presets": "shx rm -rf \"./build/src/presets/tsconfig\" && shx cp -r \"./src/presets/tsconfig\" \"./build/src/presets/tsconfig\"",
|
|
90
|
-
"build:fix-perms": "shx chmod +x ./build/src/cli/index.js",
|
|
91
|
-
"build:copy-templates": "shx rm -rf \"./build/templates\" && shx cp -r \"./templates\" \"./build/templates\"",
|
|
92
86
|
"check": "node ../../scripts/nova-run-scripts.mjs --sequential 'check:*'",
|
|
93
87
|
"check:lint": "eslint ./ --max-warnings=0",
|
|
94
88
|
"check:types-source": "node ../../scripts/nova-type-check.mjs --project tsconfig.source.json",
|
|
95
89
|
"check:types-config": "node ../../scripts/nova-type-check.mjs --project tsconfig.config.json",
|
|
96
90
|
"check:types-tests": "node ../../scripts/nova-type-check.mjs --project tsconfig.tests.json",
|
|
97
91
|
"check:test": "vitest run",
|
|
92
|
+
"build": "node ../../scripts/nova-run-scripts.mjs --sequential 'build:*'",
|
|
93
|
+
"build:transpile-source": "tsc --project tsconfig.source.json --outDir ./build --skipLibCheck",
|
|
94
|
+
"build:copy-types": "shx rm -rf \"./build/src/types\" && shx cp -r \"./src/types\" \"./build/src/types\"",
|
|
95
|
+
"build:copy-tsconfig-presets": "shx rm -rf \"./build/src/presets/tsconfig\" && shx cp -r \"./src/presets/tsconfig\" \"./build/src/presets/tsconfig\"",
|
|
96
|
+
"build:fix-perms": "shx chmod +x ./build/src/cli/index.js",
|
|
97
|
+
"build:copy-templates": "shx rm -rf \"./build/templates\" && shx cp -r \"./templates\" \"./build/templates\"",
|
|
98
98
|
"clean": "node ../../scripts/nova-run-scripts.mjs --parallel 'clean:*'",
|
|
99
99
|
"clean:build": "shx rm -rf ./build"
|
|
100
100
|
},
|
|
@@ -132,6 +132,7 @@
|
|
|
132
132
|
"eslint": "9.39.5",
|
|
133
133
|
"eslint-import-resolver-typescript": "4.4.4",
|
|
134
134
|
"shx": "0.4.0",
|
|
135
|
+
"turbo": "2.10.11",
|
|
135
136
|
"typescript": "6.0.3",
|
|
136
137
|
"vitest": "4.1.11"
|
|
137
138
|
},
|