@cbnventures/nova 0.29.0 → 0.30.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 -3
- package/build/src/cli/generate/github/issue-template.d.ts +1 -0
- package/build/src/cli/generate/github/issue-template.d.ts.map +1 -1
- package/build/src/cli/generate/github/issue-template.js +26 -4
- package/build/src/cli/generate/github/issue-template.js.map +1 -1
- package/build/src/cli/generate/github/workflows-blueprint.d.ts.map +1 -1
- package/build/src/cli/generate/github/workflows-blueprint.js +11 -2
- package/build/src/cli/generate/github/workflows-blueprint.js.map +1 -1
- package/build/src/cli/index.js +6 -5
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/utility/{initialize.d.ts → configure.d.ts} +4 -4
- package/build/src/cli/utility/configure.d.ts.map +1 -0
- package/build/src/cli/utility/{initialize.js → configure.js} +1 -1
- package/build/src/cli/utility/configure.js.map +1 -0
- package/build/src/cli/utility/transpile.d.ts +2 -4
- package/build/src/cli/utility/transpile.d.ts.map +1 -1
- package/build/src/cli/utility/transpile.js +14 -72
- package/build/src/cli/utility/transpile.js.map +1 -1
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +3 -3
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/scaffold.js +1 -1
- package/build/src/lib/scaffold.js.map +1 -1
- package/build/src/lib/transpile.d.ts +3 -0
- package/build/src/lib/transpile.d.ts.map +1 -0
- package/build/src/lib/transpile.js +117 -0
- package/build/src/lib/transpile.js.map +1 -0
- package/build/src/presets/tsconfig/dx-essentials.json +0 -2
- package/build/src/presets/tsconfig/fw-astro.json +1 -2
- package/build/src/presets/tsconfig/fw-docusaurus.json +1 -2
- package/build/src/presets/tsconfig/fw-nextjs.json +0 -1
- package/build/src/presets/tsconfig/fw-react.json +1 -2
- package/build/src/presets/tsconfig/fw-svelte.json +1 -2
- package/build/src/presets/tsconfig/fw-vue.json +1 -2
- package/build/src/presets/tsconfig/role-app.json +9 -0
- package/build/src/presets/tsconfig/role-config.json +9 -0
- package/build/src/presets/tsconfig/role-scripts.json +11 -0
- package/build/src/presets/tsconfig/role-source.json +9 -0
- package/build/src/presets/tsconfig/role-tests.json +9 -0
- package/build/src/presets/tsconfig/runtime-cloudflare-workers.json +1 -2
- package/build/src/presets/tsconfig/tool-vite.json +1 -2
- package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.js +1 -1
- package/build/src/rules/eslint/jsdoc/require-jsdoc-hierarchy.js.map +1 -1
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.d.ts.map +1 -1
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.js +12 -1
- package/build/src/rules/eslint/jsdoc/require-jsdoc-param-name.js.map +1 -1
- package/build/src/types/cli/generate/github/issue-template.d.ts +34 -0
- package/build/src/types/cli/utility/configure.d.ts +2631 -0
- package/build/src/types/cli/utility/transpile.d.ts +13 -79
- package/build/src/types/lib/transpile.d.ts +167 -0
- package/build/src/types/rules/eslint/jsdoc/require-jsdoc-hierarchy.d.ts +3 -3
- package/build/src/types/rules/eslint/jsdoc/require-jsdoc-param-name.d.ts +2 -0
- package/build/src/types/shared.d.ts +29 -0
- package/build/src/types/tests/cli/generate/github/issue-template.test.d.ts +7 -0
- package/build/src/types/tests/cli/generate/github/workflows-blueprint-publish-parity.test.d.ts +22 -0
- package/build/src/types/tests/cli/utility/configure.test.d.ts +346 -0
- package/build/src/types/tests/cli/utility/transpile.test.d.ts +23 -0
- package/build/templates/generators/github/workflows/publish/targets/cloudflare-pages-docusaurus.yml +5 -2
- package/build/templates/generators/github/workflows/publish/targets/github-action.yml +2 -1
- package/build/templates/generators/must-haves/agent-conventions/conventions/typescript.md +1 -1
- package/build/templates/scaffold/app/android/package.json +1 -1
- package/build/templates/scaffold/app/android/tsconfig.scripts.json +1 -3
- package/build/templates/scaffold/app/android/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/app/apple/package.json +1 -1
- package/build/templates/scaffold/app/astro/package.json +1 -1
- package/build/templates/scaffold/app/astro/tsconfig.astro.json +1 -3
- package/build/templates/scaffold/app/astro/tsconfig.config.json +1 -3
- package/build/templates/scaffold/app/astro/tsconfig.tests.json +1 -3
- package/build/templates/scaffold/app/cloudflare-workers/package.json +1 -1
- package/build/templates/scaffold/app/cloudflare-workers/tsconfig.config.json +1 -3
- package/build/templates/scaffold/app/cloudflare-workers/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/app/cloudflare-workers/tsconfig.worker.json +1 -1
- package/build/templates/scaffold/app/discord-bot/package.json +1 -1
- package/build/templates/scaffold/app/discord-bot/tsconfig.config.json +1 -3
- package/build/templates/scaffold/app/discord-bot/tsconfig.source.json +1 -1
- package/build/templates/scaffold/app/discord-bot/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/app/docker-image/package.json +1 -1
- package/build/templates/scaffold/app/docker-image/tsconfig.config.json +1 -3
- package/build/templates/scaffold/app/docker-image/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/app/express/package.json +1 -1
- package/build/templates/scaffold/app/express/tsconfig.config.json +1 -3
- package/build/templates/scaffold/app/express/tsconfig.source.json +1 -1
- package/build/templates/scaffold/app/express/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/app/nextjs/package.json +1 -1
- package/build/templates/scaffold/app/nextjs/tsconfig.config.json +1 -3
- package/build/templates/scaffold/app/nextjs/tsconfig.json +1 -3
- package/build/templates/scaffold/app/nextjs/tsconfig.tests.json +1 -3
- package/build/templates/scaffold/app/vite/package.json +1 -1
- package/build/templates/scaffold/docs/docusaurus/package.json +2 -2
- package/build/templates/scaffold/docs/docusaurus/sidebars.ts +1 -1
- package/build/templates/scaffold/docs/docusaurus/tsconfig.json +1 -3
- package/build/templates/scaffold/package/github-action/package.json +1 -1
- package/build/templates/scaffold/package/github-action/src/run.ts +1 -1
- package/build/templates/scaffold/package/github-action/tsconfig.config.json +1 -3
- package/build/templates/scaffold/package/github-action/tsconfig.json +1 -1
- package/build/templates/scaffold/package/github-action/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/package/homebridge/package.json +2 -2
- package/build/templates/scaffold/package/homebridge/src/platform.ts +1 -1
- package/build/templates/scaffold/package/homebridge/tsconfig.config.json +1 -3
- package/build/templates/scaffold/package/homebridge/tsconfig.source.json +1 -1
- package/build/templates/scaffold/package/homebridge/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/package/node-cli/package.json +1 -1
- package/build/templates/scaffold/package/node-cli/tsconfig.config.json +1 -3
- package/build/templates/scaffold/package/node-cli/tsconfig.source.json +1 -1
- package/build/templates/scaffold/package/node-cli/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/package/pfsense/package.json +1 -1
- package/build/templates/scaffold/package/pfsense/tsconfig.scripts.json +1 -3
- package/build/templates/scaffold/package/pfsense/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/starter/base/tests/dotenv.test.ts +12 -0
- package/build/templates/scaffold/starter/base/tests/project.test.ts +1 -1
- package/build/templates/scaffold/starter/base/tests/setup.ts +16 -0
- package/build/templates/scaffold/starter/base/tsconfig.config.json +1 -3
- package/build/templates/scaffold/starter/base/tsconfig.tests.json +1 -1
- package/build/templates/scaffold/starter/base/vitest.config.mts +2 -0
- package/build/templates/scaffold-options/app/vite/framework/react/src/app.tsx +1 -1
- package/build/templates/scaffold-options/app/vite/framework/react/tsconfig.json +1 -3
- package/build/templates/scaffold-options/app/vite/framework/svelte/tsconfig.json +1 -3
- package/build/templates/scaffold-options/app/vite/framework/vanilla/tsconfig.json +1 -3
- package/build/templates/scaffold-options/app/vite/framework/vue/tsconfig.json +1 -3
- package/package.json +8 -3
- package/build/src/cli/utility/initialize.d.ts.map +0 -1
- package/build/src/cli/utility/initialize.js.map +0 -1
- package/build/src/types/cli/utility/initialize.d.ts +0 -2631
- package/build/src/types/tests/cli/utility/initialize.test.d.ts +0 -346
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-config.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"declaration": false,
|
|
9
|
-
"declarationMap": false,
|
|
10
|
-
"noEmit": true,
|
|
11
9
|
"types": [
|
|
12
10
|
"node"
|
|
13
11
|
]
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": true,
|
|
9
9
|
"types": [
|
|
10
10
|
"node",
|
|
11
11
|
"vitest/globals"
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-config.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"declaration": false,
|
|
9
|
-
"declarationMap": false,
|
|
10
|
-
"noEmit": true,
|
|
11
9
|
"types": [
|
|
12
10
|
"node"
|
|
13
11
|
]
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-source.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json",
|
|
6
7
|
"@cbnventures/nova/presets/tsconfig/fw-expressjs.json"
|
|
7
8
|
],
|
|
8
9
|
"compilerOptions": {
|
|
9
|
-
"noEmit": false,
|
|
10
10
|
"rootDir": "./src",
|
|
11
11
|
"types": [
|
|
12
12
|
"node"
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": true,
|
|
9
9
|
"types": [
|
|
10
10
|
"node",
|
|
11
11
|
"vitest/globals"
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-config.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
9
|
"allowJs": true,
|
|
9
10
|
"checkJs": true,
|
|
10
|
-
"declaration": false,
|
|
11
|
-
"declarationMap": false,
|
|
12
|
-
"noEmit": true,
|
|
13
11
|
"types": [
|
|
14
12
|
"node"
|
|
15
13
|
]
|
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-app.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-browser.json",
|
|
6
7
|
"@cbnventures/nova/presets/tsconfig/fw-nextjs.json"
|
|
7
8
|
],
|
|
8
9
|
"compilerOptions": {
|
|
9
|
-
"declaration": false,
|
|
10
|
-
"declarationMap": false,
|
|
11
|
-
"noEmit": true,
|
|
12
10
|
"paths": {
|
|
13
11
|
"@/*": [
|
|
14
12
|
"./src/*"
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"declaration": false,
|
|
9
|
-
"declarationMap": false,
|
|
10
|
-
"noEmit": true,
|
|
11
9
|
"types": [
|
|
12
10
|
"node",
|
|
13
11
|
"vitest/globals"
|
|
@@ -22,8 +22,8 @@
|
|
|
22
22
|
"i18n:coverage": "theme-nova i18n coverage"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@cbnventures/docusaurus-preset-nova": "0.
|
|
26
|
-
"@cbnventures/nova": "0.
|
|
25
|
+
"@cbnventures/docusaurus-preset-nova": "0.30.1",
|
|
26
|
+
"@cbnventures/nova": "0.30.1",
|
|
27
27
|
"@docusaurus/core": "3.10.2",
|
|
28
28
|
"react": "19.2.8",
|
|
29
29
|
"react-dom": "19.2.8"
|
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-app.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-browser.json",
|
|
6
7
|
"@cbnventures/nova/presets/tsconfig/fw-docusaurus.json"
|
|
7
8
|
],
|
|
8
9
|
"compilerOptions": {
|
|
9
|
-
"declaration": false,
|
|
10
|
-
"declarationMap": false,
|
|
11
|
-
"noEmit": true,
|
|
12
10
|
"paths": {
|
|
13
11
|
"@site/*": [
|
|
14
12
|
"./*"
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-config.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"declaration": false,
|
|
9
|
-
"declarationMap": false,
|
|
10
|
-
"noEmit": true,
|
|
11
9
|
"types": [
|
|
12
10
|
"node"
|
|
13
11
|
]
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-source.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": false,
|
|
9
9
|
"rootDir": "./src",
|
|
10
10
|
"types": [
|
|
11
11
|
"node"
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": true,
|
|
9
9
|
"types": [
|
|
10
10
|
"node",
|
|
11
11
|
"vitest/globals"
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"dev": "nova utility run-scripts --parallel --node-env development 'dev:*'",
|
|
12
|
-
"dev:watch": "
|
|
12
|
+
"dev:watch": "nova utility transpile --project tsconfig.source.json --watch",
|
|
13
13
|
"check": "nova utility run-scripts --sequential 'check:*'",
|
|
14
14
|
"check:lint": "eslint ./ --max-warnings=0",
|
|
15
15
|
"check:types-source": "nova utility type-check --project tsconfig.source.json",
|
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
"start": "homebridge --debug --keep-orphans --plugin-path $(pwd)"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {
|
|
27
|
-
"@cbnventures/nova": "0.
|
|
27
|
+
"@cbnventures/nova": "0.30.1"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
30
|
"@types/node": "24.9.1",
|
|
@@ -49,7 +49,7 @@ export class [__WORKSPACE_IDENTIFIER__]Platform implements Platform_[__WORKSPACE
|
|
|
49
49
|
* The generated platform is then ready for consumer device discovery.
|
|
50
50
|
*
|
|
51
51
|
* @param {Platform_[__WORKSPACE_IDENTIFIER__]Platform_Constructor_Log} log - Log.
|
|
52
|
-
* @param {Platform_[__WORKSPACE_IDENTIFIER__]Platform_Constructor_Config} _config -
|
|
52
|
+
* @param {Platform_[__WORKSPACE_IDENTIFIER__]Platform_Constructor_Config} _config - Config.
|
|
53
53
|
* @param {Platform_[__WORKSPACE_IDENTIFIER__]Platform_Constructor_Api} api - Api.
|
|
54
54
|
*
|
|
55
55
|
* @since 0.0.0
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-config.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"declaration": false,
|
|
9
|
-
"declarationMap": false,
|
|
10
|
-
"noEmit": true,
|
|
11
9
|
"types": [
|
|
12
10
|
"node"
|
|
13
11
|
]
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-source.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json",
|
|
6
7
|
"@cbnventures/nova/presets/tsconfig/fw-homebridge.json"
|
|
7
8
|
],
|
|
8
9
|
"compilerOptions": {
|
|
9
|
-
"noEmit": false,
|
|
10
10
|
"rootDir": "./src",
|
|
11
11
|
"types": [
|
|
12
12
|
"node"
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": true,
|
|
9
9
|
"types": [
|
|
10
10
|
"node",
|
|
11
11
|
"vitest/globals"
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-config.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"declaration": false,
|
|
9
|
-
"declarationMap": false,
|
|
10
|
-
"noEmit": true,
|
|
11
9
|
"types": [
|
|
12
10
|
"node"
|
|
13
11
|
]
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-source.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": false,
|
|
9
9
|
"rootDir": "./src",
|
|
10
10
|
"types": [
|
|
11
11
|
"node"
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": true,
|
|
9
9
|
"types": [
|
|
10
10
|
"node",
|
|
11
11
|
"vitest/globals"
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-scripts.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"allowJs": true,
|
|
9
|
-
"checkJs": true,
|
|
10
|
-
"noEmit": true,
|
|
11
9
|
"types": [
|
|
12
10
|
"node"
|
|
13
11
|
]
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": true,
|
|
9
9
|
"types": [
|
|
10
10
|
"node",
|
|
11
11
|
"vitest/globals"
|
|
@@ -9,7 +9,7 @@ import packageJson from '../package.json' with { type: 'json' };
|
|
|
9
9
|
/**
|
|
10
10
|
* Project - Project Root.
|
|
11
11
|
*
|
|
12
|
-
* Confirms the
|
|
12
|
+
* Confirms the repository root remains a private monorepo coordinator.
|
|
13
13
|
*
|
|
14
14
|
* @since 0.0.0
|
|
15
15
|
*/
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { VitestSetup } from '@cbnventures/nova/toolkit';
|
|
2
|
+
import { afterEach, beforeEach, vi } from 'vitest';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Setup.
|
|
6
|
+
*
|
|
7
|
+
* Global test hooks suppressing Logger output via stdout/stderr spies
|
|
8
|
+
* and resetting the process exit code so each test starts clean.
|
|
9
|
+
*
|
|
10
|
+
* @since 0.0.0
|
|
11
|
+
*/
|
|
12
|
+
VitestSetup.register({
|
|
13
|
+
afterEach,
|
|
14
|
+
beforeEach,
|
|
15
|
+
vi,
|
|
16
|
+
});
|
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-config.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"declaration": false,
|
|
9
|
-
"declarationMap": false,
|
|
10
|
-
"noEmit": true,
|
|
11
9
|
"types": [
|
|
12
10
|
"@types/node"
|
|
13
11
|
]
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-tests.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-node.json"
|
|
6
7
|
],
|
|
7
8
|
"compilerOptions": {
|
|
8
|
-
"noEmit": true,
|
|
9
9
|
"types": [
|
|
10
10
|
"@types/node",
|
|
11
11
|
"vitest/globals"
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-app.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-browser.json",
|
|
6
7
|
"@cbnventures/nova/presets/tsconfig/fw-react.json",
|
|
7
8
|
"@cbnventures/nova/presets/tsconfig/tool-vite.json"
|
|
8
9
|
],
|
|
9
10
|
"compilerOptions": {
|
|
10
|
-
"declaration": false,
|
|
11
|
-
"declarationMap": false,
|
|
12
|
-
"noEmit": true,
|
|
13
11
|
"types": [
|
|
14
12
|
"node",
|
|
15
13
|
"vitest/globals"
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-app.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-browser.json",
|
|
6
7
|
"@cbnventures/nova/presets/tsconfig/fw-svelte.json",
|
|
7
8
|
"@cbnventures/nova/presets/tsconfig/tool-vite.json"
|
|
8
9
|
],
|
|
9
10
|
"compilerOptions": {
|
|
10
|
-
"declaration": false,
|
|
11
|
-
"declarationMap": false,
|
|
12
|
-
"noEmit": true,
|
|
13
11
|
"types": [
|
|
14
12
|
"node",
|
|
15
13
|
"vitest/globals"
|
|
@@ -2,13 +2,11 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-app.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-browser.json",
|
|
6
7
|
"@cbnventures/nova/presets/tsconfig/tool-vite.json"
|
|
7
8
|
],
|
|
8
9
|
"compilerOptions": {
|
|
9
|
-
"declaration": false,
|
|
10
|
-
"declarationMap": false,
|
|
11
|
-
"noEmit": true,
|
|
12
10
|
"types": [
|
|
13
11
|
"node",
|
|
14
12
|
"vitest/globals"
|
|
@@ -2,14 +2,12 @@
|
|
|
2
2
|
"extends": [
|
|
3
3
|
"@cbnventures/nova/presets/tsconfig/dx-essentials.json",
|
|
4
4
|
"@cbnventures/nova/presets/tsconfig/dx-strict.json",
|
|
5
|
+
"@cbnventures/nova/presets/tsconfig/role-app.json",
|
|
5
6
|
"@cbnventures/nova/presets/tsconfig/runtime-browser.json",
|
|
6
7
|
"@cbnventures/nova/presets/tsconfig/fw-vue.json",
|
|
7
8
|
"@cbnventures/nova/presets/tsconfig/tool-vite.json"
|
|
8
9
|
],
|
|
9
10
|
"compilerOptions": {
|
|
10
|
-
"declaration": false,
|
|
11
|
-
"declarationMap": false,
|
|
12
|
-
"noEmit": true,
|
|
13
11
|
"types": [
|
|
14
12
|
"node",
|
|
15
13
|
"vitest/globals"
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cbnventures/nova",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.30.1",
|
|
4
4
|
"description": "Scripts, templates, and project configuration for the common JavaScript and TypeScript developer",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eslint",
|
|
@@ -69,6 +69,11 @@
|
|
|
69
69
|
"./presets/tsconfig/runtime-node.json": "./build/src/presets/tsconfig/runtime-node.json",
|
|
70
70
|
"./presets/tsconfig/runtime-service-worker.json": "./build/src/presets/tsconfig/runtime-service-worker.json",
|
|
71
71
|
"./presets/tsconfig/runtime-web-worker.json": "./build/src/presets/tsconfig/runtime-web-worker.json",
|
|
72
|
+
"./presets/tsconfig/role-app.json": "./build/src/presets/tsconfig/role-app.json",
|
|
73
|
+
"./presets/tsconfig/role-config.json": "./build/src/presets/tsconfig/role-config.json",
|
|
74
|
+
"./presets/tsconfig/role-scripts.json": "./build/src/presets/tsconfig/role-scripts.json",
|
|
75
|
+
"./presets/tsconfig/role-source.json": "./build/src/presets/tsconfig/role-source.json",
|
|
76
|
+
"./presets/tsconfig/role-tests.json": "./build/src/presets/tsconfig/role-tests.json",
|
|
72
77
|
"./presets/tsconfig/tool-vite.json": "./build/src/presets/tsconfig/tool-vite.json",
|
|
73
78
|
"./toolkit": "./build/src/toolkit/index.js",
|
|
74
79
|
"./toolkit/*": "./build/src/toolkit/*.js",
|
|
@@ -85,7 +90,7 @@
|
|
|
85
90
|
"private": false,
|
|
86
91
|
"scripts": {
|
|
87
92
|
"dev": "node ../../scripts/nova-run-scripts.mjs --parallel --node-env development 'dev:*'",
|
|
88
|
-
"dev:watch": "
|
|
93
|
+
"dev:watch": "node ../../scripts/nova-transpile.mjs --project tsconfig.source.json --watch",
|
|
89
94
|
"check": "node ../../scripts/nova-run-scripts.mjs --sequential 'check:*'",
|
|
90
95
|
"check:lint": "eslint ./ --max-warnings=0",
|
|
91
96
|
"check:types-source": "node ../../scripts/nova-type-check.mjs --project tsconfig.source.json",
|
|
@@ -93,7 +98,7 @@
|
|
|
93
98
|
"check:types-tests": "node ../../scripts/nova-type-check.mjs --project tsconfig.tests.json",
|
|
94
99
|
"check:test": "vitest run",
|
|
95
100
|
"build": "node ../../scripts/nova-run-scripts.mjs --sequential --node-env production 'build:*'",
|
|
96
|
-
"build:transpile-source": "
|
|
101
|
+
"build:transpile-source": "node ../../scripts/nova-transpile.mjs --project tsconfig.source.json",
|
|
97
102
|
"build:copy-types": "shx rm -rf \"./build/src/types\" && shx cp -r \"./src/types\" \"./build/src/types\"",
|
|
98
103
|
"build:copy-tsconfig-presets": "shx rm -rf \"./build/src/presets/tsconfig\" && shx cp -r \"./src/presets/tsconfig\" \"./build/src/presets/tsconfig\"",
|
|
99
104
|
"build:fix-perms": "shx chmod +x ./build/src/cli/index.js",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"initialize.d.ts","sourceRoot":"","sources":["../../../../src/cli/utility/initialize.ts"],"names":[],"mappings":"AAgCA,OAAO,KAAK,EAeV,4DAA4D,EAC5D,0DAA0D,EAyyB1D,yCAAyC,EAGzC,yCAAyC,EAE1C,MAAM,yCAAyC,CAAC;AAUjD,qBAAa,MAAM;WAaG,GAAG,CAAC,OAAO,EAAE,yCAAyC,GAAG,yCAAyC;WA6FxG,sBAAsB,CAAC,KAAK,EAAE,0DAA0D,GAAG,4DAA4D;mBAsBhJ,UAAU;mBAiIV,aAAa;mBAoiBb,cAAc;mBAkSd,kBAAkB;mBAwJlB,wBAAwB;mBA+BxB,YAAY;mBAyEZ,YAAY;mBAwzBZ,YAAY;mBAgIZ,UAAU;mBA8WV,eAAe;mBAiSf,mBAAmB;mBAynBnB,yBAAyB;mBAgCzB,eAAe;mBAmQf,YAAY;mBAiDZ,uBAAuB;mBA4CvB,iBAAiB;mBAyIjB,mBAAmB;mBAmEnB,0BAA0B;mBA2G1B,iCAAiC;mBAgCjC,sBAAsB;mBAoUtB,0BAA0B;mBAiK1B,cAAc;mBAqFd,gBAAgB;mBAkIhB,oBAAoB;mBAidpB,gBAAgB;mBAsChB,SAAS;IAsE9B,OAAO,CAAC,MAAM,CAAC,cAAc;IA8C7B,OAAO,CAAC,MAAM,CAAC,oBAAoB;IAkDnC,OAAO,CAAC,MAAM,CAAC,aAAa;IA8C5B,OAAO,CAAC,MAAM,CAAC,kBAAkB;IA6DjC,OAAO,CAAC,MAAM,CAAC,YAAY;IA4E3B,OAAO,CAAC,MAAM,CAAC,iBAAiB;IAqEhC,OAAO,CAAC,MAAM,CAAC,sBAAsB;CAsEtC"}
|