@cbnventures/nova 0.26.0 → 0.27.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/build/package.json +8 -7
- 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/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/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/type-check.test.d.ts +13 -0
- package/build/src/types/tests/scaffold-output-contract.test.d.ts +51 -0
- 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
|
@@ -10,6 +10,20 @@ import type {
|
|
|
10
10
|
Shared_WorkspaceManifest,
|
|
11
11
|
} from '../../../shared.d.ts';
|
|
12
12
|
|
|
13
|
+
/**
|
|
14
|
+
* CLI - Recipe - package.json - Normalize Tooling.
|
|
15
|
+
*
|
|
16
|
+
* @since 0.27.0
|
|
17
|
+
*/
|
|
18
|
+
export type Cli_Recipe_PackageJson_NormalizeTooling_ScriptGroupOrder = readonly [
|
|
19
|
+
'dev',
|
|
20
|
+
'prod',
|
|
21
|
+
'check',
|
|
22
|
+
'build',
|
|
23
|
+
'deploy',
|
|
24
|
+
'clean',
|
|
25
|
+
];
|
|
26
|
+
|
|
13
27
|
/**
|
|
14
28
|
* CLI - Recipe - package.json - Normalize Tooling - Handle.
|
|
15
29
|
*
|
|
@@ -35,12 +49,24 @@ export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_PackageConfig
|
|
|
35
49
|
|
|
36
50
|
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_PackageWorkspaces = unknown;
|
|
37
51
|
|
|
52
|
+
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_HasBindingGyp = boolean;
|
|
53
|
+
|
|
54
|
+
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_ScriptNames = string[];
|
|
55
|
+
|
|
56
|
+
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_OrderedScripts = Record<string, unknown>;
|
|
57
|
+
|
|
58
|
+
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_HandledScripts = Set<string>;
|
|
59
|
+
|
|
60
|
+
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_CurrentScriptNames = string[];
|
|
61
|
+
|
|
62
|
+
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_OrderedScriptNames = string[];
|
|
63
|
+
|
|
64
|
+
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_ScriptOrderChanged = boolean;
|
|
65
|
+
|
|
38
66
|
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_WorkspaceDirectory = string;
|
|
39
67
|
|
|
40
68
|
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_BindingGypPath = string;
|
|
41
69
|
|
|
42
|
-
export type Cli_Recipe_PackageJson_NormalizeTooling_Runner_Handle_HasBindingGyp = boolean;
|
|
43
|
-
|
|
44
70
|
/**
|
|
45
71
|
* CLI - Recipe - package.json - Normalize Tooling - Run.
|
|
46
72
|
*
|
|
@@ -76,6 +76,12 @@ export type Lib_Scaffold_CreateMonorepoRoot_PackageJsonPath = string;
|
|
|
76
76
|
|
|
77
77
|
export type Lib_Scaffold_CreateMonorepoRoot_PackageJsonRelativePath = string;
|
|
78
78
|
|
|
79
|
+
export type Lib_Scaffold_CreateMonorepoRoot_TurboJsonContent = Record<string, unknown>;
|
|
80
|
+
|
|
81
|
+
export type Lib_Scaffold_CreateMonorepoRoot_TurboJsonPath = string;
|
|
82
|
+
|
|
83
|
+
export type Lib_Scaffold_CreateMonorepoRoot_TurboJsonRelativePath = string;
|
|
84
|
+
|
|
79
85
|
export type Lib_Scaffold_CreateMonorepoRoot_ProjectTitle = string;
|
|
80
86
|
|
|
81
87
|
export type Lib_Scaffold_CreateMonorepoRoot_NovaConfigContent = Record<string, unknown>;
|
|
@@ -11,6 +11,8 @@ export type Tests_Cli_Index_RunnerMocks_GithubSyncPoliciesRun = ReturnType<typeo
|
|
|
11
11
|
|
|
12
12
|
export type Tests_Cli_Index_RunnerMocks_LicenseUpdateCopyrightRun = ReturnType<typeof vi['fn']>;
|
|
13
13
|
|
|
14
|
+
export type Tests_Cli_Index_RunnerMocks_MiscellaneousFixMarkdownTablesRun = ReturnType<typeof vi['fn']>;
|
|
15
|
+
|
|
14
16
|
export type Tests_Cli_Index_RunnerMocks_ReadMeUpdateHeaderRun = ReturnType<typeof vi['fn']>;
|
|
15
17
|
|
|
16
18
|
export type Tests_Cli_Index_RunnerMocks_ScaffoldAppExpressjsRun = ReturnType<typeof vi['fn']>;
|
|
@@ -28,6 +30,7 @@ export type Tests_Cli_Index_RunnerMocks_ScaffoldStarterBaseRun = ReturnType<type
|
|
|
28
30
|
export type Tests_Cli_Index_RunnerMocks = {
|
|
29
31
|
githubSyncPoliciesRun: Tests_Cli_Index_RunnerMocks_GithubSyncPoliciesRun;
|
|
30
32
|
licenseUpdateCopyrightRun: Tests_Cli_Index_RunnerMocks_LicenseUpdateCopyrightRun;
|
|
33
|
+
miscellaneousFixMarkdownTablesRun: Tests_Cli_Index_RunnerMocks_MiscellaneousFixMarkdownTablesRun;
|
|
31
34
|
readMeUpdateHeaderRun: Tests_Cli_Index_RunnerMocks_ReadMeUpdateHeaderRun;
|
|
32
35
|
scaffoldAppExpressjsRun: Tests_Cli_Index_RunnerMocks_ScaffoldAppExpressjsRun;
|
|
33
36
|
scaffoldAppNextjsRun: Tests_Cli_Index_RunnerMocks_ScaffoldAppNextjsRun;
|
|
@@ -59,6 +62,17 @@ export type Tests_Cli_Index_CliRecipeLicenseUpdateCopyrightJs_MockedRunner = {
|
|
|
59
62
|
run: Tests_Cli_Index_CliRecipeLicenseUpdateCopyrightJs_MockedRunner_Run;
|
|
60
63
|
};
|
|
61
64
|
|
|
65
|
+
/**
|
|
66
|
+
* Tests - CLI - Index - CLI Recipe Miscellaneous Fix Markdown Tables JS.
|
|
67
|
+
*
|
|
68
|
+
* @since 0.27.0
|
|
69
|
+
*/
|
|
70
|
+
export type Tests_Cli_Index_CliRecipeMiscellaneousFixMarkdownTablesJs_MockedRunner_Run = ReturnType<typeof vi['fn']>;
|
|
71
|
+
|
|
72
|
+
export type Tests_Cli_Index_CliRecipeMiscellaneousFixMarkdownTablesJs_MockedRunner = {
|
|
73
|
+
run: Tests_Cli_Index_CliRecipeMiscellaneousFixMarkdownTablesJs_MockedRunner_Run;
|
|
74
|
+
};
|
|
75
|
+
|
|
62
76
|
/**
|
|
63
77
|
* Tests - CLI - Index - CLI Recipe Read Me Update Header JS.
|
|
64
78
|
*
|
|
@@ -171,6 +185,17 @@ export type Tests_Cli_Index_NestedRecipeOptions_PassesDryRunAndReplaceFileToADir
|
|
|
171
185
|
replaceFile: Tests_Cli_Index_NestedRecipeOptions_PassesDryRunAndReplaceFileToADirectREADMERecipe_ExpectedOptions_ReplaceFile;
|
|
172
186
|
};
|
|
173
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Tests - CLI - Index - Nested Recipe Options - Passes Dry Run Through Aliases To A Miscellaneous Recipe.
|
|
190
|
+
*
|
|
191
|
+
* @since 0.27.0
|
|
192
|
+
*/
|
|
193
|
+
export type Tests_Cli_Index_NestedRecipeOptions_PassesDryRunThroughAliasesToAMiscellaneousRecipe_ExpectedOptions_DryRun = true;
|
|
194
|
+
|
|
195
|
+
export type Tests_Cli_Index_NestedRecipeOptions_PassesDryRunThroughAliasesToAMiscellaneousRecipe_ExpectedOptions = {
|
|
196
|
+
dryRun: Tests_Cli_Index_NestedRecipeOptions_PassesDryRunThroughAliasesToAMiscellaneousRecipe_ExpectedOptions_DryRun;
|
|
197
|
+
};
|
|
198
|
+
|
|
174
199
|
/**
|
|
175
200
|
* Tests - CLI - Index - Nested Recipe Options - Passes Dry Run To A Direct GitHub Recipe.
|
|
176
201
|
*
|
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tests - CLI - Recipe - Miscellaneous - Fix Markdown Tables - CliRecipeMiscellaneousFixMarkdownTables Run.
|
|
3
|
+
*
|
|
4
|
+
* @since 0.27.0
|
|
5
|
+
*/
|
|
6
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_OriginalCwd = string;
|
|
7
|
+
|
|
8
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_TemporaryDirectory = string;
|
|
9
|
+
|
|
10
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_TemporaryPrefix = string;
|
|
11
|
+
|
|
12
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_SandboxDirectory = string;
|
|
13
|
+
|
|
14
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_SandboxRoot = string;
|
|
15
|
+
|
|
16
|
+
/**
|
|
17
|
+
* Tests - CLI - Recipe - Miscellaneous - Fix Markdown Tables - CliRecipeMiscellaneousFixMarkdownTables Run - Formats Project Root Tables From A Nested Workspace.
|
|
18
|
+
*
|
|
19
|
+
* @since 0.27.0
|
|
20
|
+
*/
|
|
21
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_FormatsProjectRootTablesFromANestedWorkspace_ProjectDirectory = string;
|
|
22
|
+
|
|
23
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_FormatsProjectRootTablesFromANestedWorkspace_NestedDirectory = string;
|
|
24
|
+
|
|
25
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_FormatsProjectRootTablesFromANestedWorkspace_PackageJsonPath = string;
|
|
26
|
+
|
|
27
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_FormatsProjectRootTablesFromANestedWorkspace_PackageJsonContents = string;
|
|
28
|
+
|
|
29
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_FormatsProjectRootTablesFromANestedWorkspace_MarkdownPath = string;
|
|
30
|
+
|
|
31
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_FormatsProjectRootTablesFromANestedWorkspace_MarkdownContents = string;
|
|
32
|
+
|
|
33
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_FormatsProjectRootTablesFromANestedWorkspace_FormattedContents = string;
|
|
34
|
+
|
|
35
|
+
/**
|
|
36
|
+
* Tests - CLI - Recipe - Miscellaneous - Fix Markdown Tables - CliRecipeMiscellaneousFixMarkdownTables Run - Preserves Fences Aligned Tables And Generated Output.
|
|
37
|
+
*
|
|
38
|
+
* @since 0.27.0
|
|
39
|
+
*/
|
|
40
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_ProjectDirectory = string;
|
|
41
|
+
|
|
42
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_BuildDirectory = string;
|
|
43
|
+
|
|
44
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_PackageJsonPath = string;
|
|
45
|
+
|
|
46
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_PackageJsonContents = string;
|
|
47
|
+
|
|
48
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_MarkdownPath = string;
|
|
49
|
+
|
|
50
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_MarkdownContents = string;
|
|
51
|
+
|
|
52
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_GeneratedPath = string;
|
|
53
|
+
|
|
54
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_GeneratedContents = string;
|
|
55
|
+
|
|
56
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_ReadMarkdownContents = string;
|
|
57
|
+
|
|
58
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreservesFencesAlignedTablesAndGeneratedOutput_ReadGeneratedContents = string;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* Tests - CLI - Recipe - Miscellaneous - Fix Markdown Tables - CliRecipeMiscellaneousFixMarkdownTables Run - Previews Changes Without Writing Files.
|
|
62
|
+
*
|
|
63
|
+
* @since 0.27.0
|
|
64
|
+
*/
|
|
65
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreviewsChangesWithoutWritingFiles_ProjectDirectory = string;
|
|
66
|
+
|
|
67
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreviewsChangesWithoutWritingFiles_PackageJsonPath = string;
|
|
68
|
+
|
|
69
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreviewsChangesWithoutWritingFiles_PackageJsonContents = string;
|
|
70
|
+
|
|
71
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreviewsChangesWithoutWritingFiles_MarkdownPath = string;
|
|
72
|
+
|
|
73
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreviewsChangesWithoutWritingFiles_MarkdownContents = string;
|
|
74
|
+
|
|
75
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_PreviewsChangesWithoutWritingFiles_ReadMarkdownContents = string;
|
|
76
|
+
|
|
77
|
+
/**
|
|
78
|
+
* Tests - CLI - Recipe - Miscellaneous - Fix Markdown Tables - CliRecipeMiscellaneousFixMarkdownTables Run - Rejects Conflicting Read Only Modes.
|
|
79
|
+
*
|
|
80
|
+
* @since 0.27.0
|
|
81
|
+
*/
|
|
82
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_RejectsConflictingReadOnlyModes_Options_Check = boolean;
|
|
83
|
+
|
|
84
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_RejectsConflictingReadOnlyModes_Options_DryRun = boolean;
|
|
85
|
+
|
|
86
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_RejectsConflictingReadOnlyModes_Options = {
|
|
87
|
+
check: Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_RejectsConflictingReadOnlyModes_Options_Check;
|
|
88
|
+
dryRun: Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_RejectsConflictingReadOnlyModes_Options_DryRun;
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Tests - CLI - Recipe - Miscellaneous - Fix Markdown Tables - CliRecipeMiscellaneousFixMarkdownTables Run - Reports Formatting Drift Without Writing Files.
|
|
93
|
+
*
|
|
94
|
+
* @since 0.27.0
|
|
95
|
+
*/
|
|
96
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_ReportsFormattingDriftWithoutWritingFiles_ProjectDirectory = string;
|
|
97
|
+
|
|
98
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_ReportsFormattingDriftWithoutWritingFiles_PackageJsonPath = string;
|
|
99
|
+
|
|
100
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_ReportsFormattingDriftWithoutWritingFiles_PackageJsonContents = string;
|
|
101
|
+
|
|
102
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_ReportsFormattingDriftWithoutWritingFiles_MarkdownPath = string;
|
|
103
|
+
|
|
104
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_ReportsFormattingDriftWithoutWritingFiles_MarkdownContents = string;
|
|
105
|
+
|
|
106
|
+
export type Tests_Cli_Recipe_Miscellaneous_FixMarkdownTables_CliRecipeMiscellaneousFixMarkdownTablesRun_ReportsFormattingDriftWithoutWritingFiles_ReadMarkdownContents = string;
|
|
@@ -163,6 +163,35 @@ export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNo
|
|
|
163
163
|
|
|
164
164
|
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_RemovesWorkspacesFromNonProjectRole_Parsed = Record<string, unknown>;
|
|
165
165
|
|
|
166
|
+
/**
|
|
167
|
+
* Tests - CLI - Recipe - package.json - Normalize Tooling - Run - Reorders Lifecycle Script Groups.
|
|
168
|
+
*
|
|
169
|
+
* @since 0.27.0
|
|
170
|
+
*/
|
|
171
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_ProjectDirectory = string;
|
|
172
|
+
|
|
173
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_WorkspaceDirectory = string;
|
|
174
|
+
|
|
175
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_PackageJsonPath = string;
|
|
176
|
+
|
|
177
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_PackageJsonContents = string;
|
|
178
|
+
|
|
179
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_NovaConfigPath = string;
|
|
180
|
+
|
|
181
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_NovaConfigContents = string;
|
|
182
|
+
|
|
183
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_WorkspacePackageJsonPath = string;
|
|
184
|
+
|
|
185
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_WorkspacePackageJsonContents = string;
|
|
186
|
+
|
|
187
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_Output = string;
|
|
188
|
+
|
|
189
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_Parsed = Record<string, unknown>;
|
|
190
|
+
|
|
191
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_Scripts = Record<string, unknown>;
|
|
192
|
+
|
|
193
|
+
export type Tests_Cli_Recipe_PackageJson_NormalizeTooling_CliRecipePackageJsonNormalizeToolingRun_ReordersLifecycleScriptGroups_ScriptNames = string[];
|
|
194
|
+
|
|
166
195
|
/**
|
|
167
196
|
* Tests - CLI - Recipe - package.json - Normalize Tooling - Run - Sets Exit Code When Not At Project Root.
|
|
168
197
|
*
|
|
@@ -78,3 +78,16 @@ export type Tests_Cli_Utility_TypeCheck_CliUtilityTypeCheckRun_SetsExitCodeForIn
|
|
|
78
78
|
export type Tests_Cli_Utility_TypeCheck_CliUtilityTypeCheckRun_SetsExitCodeForInvalidTypeScript_TsconfigContents = string;
|
|
79
79
|
|
|
80
80
|
export type Tests_Cli_Utility_TypeCheck_CliUtilityTypeCheckRun_SetsExitCodeForInvalidTypeScript_IndexPath = string;
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Tests - CLI - Utility - Type Check - Run - Supports Incremental Project Configurations.
|
|
84
|
+
*
|
|
85
|
+
* @since 0.27.0
|
|
86
|
+
*/
|
|
87
|
+
export type Tests_Cli_Utility_TypeCheck_CliUtilityTypeCheckRun_SupportsIncrementalProjectConfigurations_ProjectDirectory = string;
|
|
88
|
+
|
|
89
|
+
export type Tests_Cli_Utility_TypeCheck_CliUtilityTypeCheckRun_SupportsIncrementalProjectConfigurations_TsconfigPath = string;
|
|
90
|
+
|
|
91
|
+
export type Tests_Cli_Utility_TypeCheck_CliUtilityTypeCheckRun_SupportsIncrementalProjectConfigurations_TsconfigContents = string;
|
|
92
|
+
|
|
93
|
+
export type Tests_Cli_Utility_TypeCheck_CliUtilityTypeCheckRun_SupportsIncrementalProjectConfigurations_IndexPath = string;
|
|
@@ -67,6 +67,49 @@ export type Tests_ScaffoldOutputContract_VerifyGeneratedOutput_UnresolvedFiles =
|
|
|
67
67
|
|
|
68
68
|
export type Tests_ScaffoldOutputContract_VerifyGeneratedOutput_PlaceholderMessage = string;
|
|
69
69
|
|
|
70
|
+
/**
|
|
71
|
+
* Tests - Scaffold Output Contract - Verify Script Contract.
|
|
72
|
+
*
|
|
73
|
+
* @since 0.27.0
|
|
74
|
+
*/
|
|
75
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_PackageJsonPath = string;
|
|
76
|
+
|
|
77
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_Returns = Promise<void>;
|
|
78
|
+
|
|
79
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_PackageJsonRaw = string;
|
|
80
|
+
|
|
81
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_PackageJson = Record<string, unknown>;
|
|
82
|
+
|
|
83
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_Scripts = Record<string, unknown>;
|
|
84
|
+
|
|
85
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_ScriptNames = string[];
|
|
86
|
+
|
|
87
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_ScriptGroupOrder = readonly [
|
|
88
|
+
'dev',
|
|
89
|
+
'prod',
|
|
90
|
+
'check',
|
|
91
|
+
'build',
|
|
92
|
+
'deploy',
|
|
93
|
+
'clean',
|
|
94
|
+
'i18n',
|
|
95
|
+
];
|
|
96
|
+
|
|
97
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_ScriptGroup = Tests_ScaffoldOutputContract_VerifyScriptContract_ScriptGroupOrder[number];
|
|
98
|
+
|
|
99
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_ScriptGroupModes = Record<Tests_ScaffoldOutputContract_VerifyScriptContract_ScriptGroup, 'parallel' | 'sequential'>;
|
|
100
|
+
|
|
101
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_PreviousParentIndex = number;
|
|
102
|
+
|
|
103
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_ChildScriptNames = string[];
|
|
104
|
+
|
|
105
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_HasParent = boolean;
|
|
106
|
+
|
|
107
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_ParentIndex = number;
|
|
108
|
+
|
|
109
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_ExpectedParentCommand = string;
|
|
110
|
+
|
|
111
|
+
export type Tests_ScaffoldOutputContract_VerifyScriptContract_ExpectedGroupNames = string[];
|
|
112
|
+
|
|
70
113
|
/**
|
|
71
114
|
* Tests - Scaffold Output Contract - Verify Starter Contract.
|
|
72
115
|
*
|
|
@@ -86,6 +129,14 @@ export type Tests_ScaffoldOutputContract_VerifyStarterContract_GeneratedPackageJ
|
|
|
86
129
|
|
|
87
130
|
export type Tests_ScaffoldOutputContract_VerifyStarterContract_GeneratedDevDependencies = Record<string, unknown>;
|
|
88
131
|
|
|
132
|
+
export type Tests_ScaffoldOutputContract_VerifyStarterContract_GeneratedTurboJsonPath = string;
|
|
133
|
+
|
|
134
|
+
export type Tests_ScaffoldOutputContract_VerifyStarterContract_GeneratedTurboJsonRaw = string;
|
|
135
|
+
|
|
136
|
+
export type Tests_ScaffoldOutputContract_VerifyStarterContract_GeneratedTurboJson = Record<string, unknown>;
|
|
137
|
+
|
|
138
|
+
export type Tests_ScaffoldOutputContract_VerifyStarterContract_GeneratedTurboTasks = Record<string, unknown>;
|
|
139
|
+
|
|
89
140
|
/**
|
|
90
141
|
* Tests - Scaffold Output Contract - Verify Template Contract.
|
|
91
142
|
*
|
|
@@ -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.0",
|
|
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.0",
|
|
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.0",
|
|
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
|
},
|