@cbnventures/nova 0.25.2 → 0.26.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 +10 -8
- package/build/src/cli/generate/github/workflows-blueprint-validate.js +1 -1
- package/build/src/cli/generate/github/workflows-blueprint-validate.js.map +1 -1
- package/build/src/cli/generate/github/workflows-blueprint.d.ts +6 -3
- package/build/src/cli/generate/github/workflows-blueprint.d.ts.map +1 -1
- package/build/src/cli/generate/github/workflows-blueprint.js +101 -22
- package/build/src/cli/generate/github/workflows-blueprint.js.map +1 -1
- package/build/src/cli/index.js +79 -28
- package/build/src/cli/index.js.map +1 -1
- package/build/src/cli/recipe/github/gh-commands.d.ts +3 -0
- package/build/src/cli/recipe/github/gh-commands.d.ts.map +1 -0
- package/build/src/cli/recipe/github/gh-commands.js +28 -0
- package/build/src/cli/recipe/github/gh-commands.js.map +1 -0
- package/build/src/cli/recipe/github/sync-actions.d.ts +5 -0
- package/build/src/cli/recipe/github/sync-actions.d.ts.map +1 -0
- package/build/src/cli/recipe/github/sync-actions.js +103 -0
- package/build/src/cli/recipe/github/sync-actions.js.map +1 -0
- package/build/src/cli/recipe/github/sync-features.d.ts.map +1 -1
- package/build/src/cli/recipe/github/sync-features.js +46 -11
- package/build/src/cli/recipe/github/sync-features.js.map +1 -1
- package/build/src/cli/recipe/github/sync-labels.d.ts +5 -0
- package/build/src/cli/recipe/github/sync-labels.d.ts.map +1 -0
- package/build/src/cli/recipe/github/sync-labels.js +40 -0
- package/build/src/cli/recipe/github/sync-labels.js.map +1 -0
- package/build/src/cli/recipe/github/sync-policies.d.ts.map +1 -1
- package/build/src/cli/recipe/github/sync-policies.js +89 -10
- package/build/src/cli/recipe/github/sync-policies.js.map +1 -1
- package/build/src/cli/recipe/github/sync-rulesets.d.ts +5 -0
- package/build/src/cli/recipe/github/sync-rulesets.d.ts.map +1 -0
- package/build/src/cli/recipe/github/sync-rulesets.js +137 -0
- package/build/src/cli/recipe/github/sync-rulesets.js.map +1 -0
- package/build/src/cli/recipe/github/sync-security.d.ts +5 -0
- package/build/src/cli/recipe/github/sync-security.d.ts.map +1 -0
- package/build/src/cli/recipe/github/sync-security.js +69 -0
- package/build/src/cli/recipe/github/sync-security.js.map +1 -0
- package/build/src/cli/recipe/index.d.ts.map +1 -1
- package/build/src/cli/recipe/index.js +20 -0
- package/build/src/cli/recipe/index.js.map +1 -1
- package/build/src/cli/recipe/package-json/sync-environment.d.ts.map +1 -1
- package/build/src/cli/recipe/package-json/sync-environment.js +16 -15
- package/build/src/cli/recipe/package-json/sync-environment.js.map +1 -1
- package/build/src/cli/scaffold/docs/docusaurus.d.ts +2 -1
- package/build/src/cli/scaffold/docs/docusaurus.d.ts.map +1 -1
- package/build/src/cli/scaffold/docs/docusaurus.js +41 -1
- package/build/src/cli/scaffold/docs/docusaurus.js.map +1 -1
- package/build/src/cli/scaffold/starter/base.d.ts.map +1 -1
- package/build/src/cli/scaffold/starter/base.js +57 -6
- package/build/src/cli/scaffold/starter/base.js.map +1 -1
- package/build/src/cli/utility/changelog.d.ts +1 -0
- package/build/src/cli/utility/changelog.d.ts.map +1 -1
- package/build/src/cli/utility/changelog.js +183 -67
- package/build/src/cli/utility/changelog.js.map +1 -1
- package/build/src/cli/utility/initialize.d.ts.map +1 -1
- package/build/src/cli/utility/initialize.js +133 -45
- package/build/src/cli/utility/initialize.js.map +1 -1
- package/build/src/cli/utility/run-scripts.d.ts +5 -5
- package/build/src/cli/utility/run-scripts.d.ts.map +1 -1
- package/build/src/cli/utility/run-scripts.js +28 -252
- package/build/src/cli/utility/run-scripts.js.map +1 -1
- package/build/src/cli/utility/transpile.d.ts.map +1 -1
- package/build/src/cli/utility/transpile.js +23 -5
- package/build/src/cli/utility/transpile.js.map +1 -1
- package/build/src/cli/utility/type-check.d.ts +2 -4
- package/build/src/cli/utility/type-check.d.ts.map +1 -1
- package/build/src/cli/utility/type-check.js +13 -54
- package/build/src/cli/utility/type-check.js.map +1 -1
- package/build/src/cli/utility/version.d.ts.map +1 -1
- package/build/src/cli/utility/version.js +0 -12
- package/build/src/cli/utility/version.js.map +1 -1
- package/build/src/lib/corepack.d.ts +5 -0
- package/build/src/lib/corepack.d.ts.map +1 -0
- package/build/src/lib/corepack.js +26 -0
- package/build/src/lib/corepack.js.map +1 -0
- package/build/src/lib/item.d.ts.map +1 -1
- package/build/src/lib/item.js +4 -1
- package/build/src/lib/item.js.map +1 -1
- package/build/src/lib/nova-config.d.ts +8 -0
- package/build/src/lib/nova-config.d.ts.map +1 -1
- package/build/src/lib/nova-config.js +329 -7
- package/build/src/lib/nova-config.js.map +1 -1
- package/build/src/lib/regex.d.ts +7 -0
- package/build/src/lib/regex.d.ts.map +1 -1
- package/build/src/lib/regex.js +8 -1
- package/build/src/lib/regex.js.map +1 -1
- package/build/src/lib/release-history.d.ts +5 -0
- package/build/src/lib/release-history.d.ts.map +1 -0
- package/build/src/lib/release-history.js +86 -0
- package/build/src/lib/release-history.js.map +1 -0
- package/build/src/lib/run-scripts.d.ts +10 -0
- package/build/src/lib/run-scripts.d.ts.map +1 -0
- package/build/src/lib/run-scripts.js +310 -0
- package/build/src/lib/run-scripts.js.map +1 -0
- package/build/src/lib/scaffold.d.ts +7 -2
- package/build/src/lib/scaffold.d.ts.map +1 -1
- package/build/src/lib/scaffold.js +398 -53
- package/build/src/lib/scaffold.js.map +1 -1
- package/build/src/lib/type-check.d.ts +3 -0
- package/build/src/lib/type-check.d.ts.map +1 -0
- package/build/src/lib/type-check.js +69 -0
- package/build/src/lib/type-check.js.map +1 -0
- package/build/src/presets/tsconfig/dx-strict.json +0 -1
- package/build/src/presets/tsconfig/fw-homebridge.json +11 -0
- package/build/src/rules/eslint/regex/no-regex-literals.d.ts +1 -0
- package/build/src/rules/eslint/regex/no-regex-literals.d.ts.map +1 -1
- package/build/src/rules/eslint/regex/no-regex-literals.js +20 -1
- package/build/src/rules/eslint/regex/no-regex-literals.js.map +1 -1
- package/build/src/rules/eslint/typescript/no-shared-type-import.d.ts +1 -0
- package/build/src/rules/eslint/typescript/no-shared-type-import.d.ts.map +1 -1
- package/build/src/rules/eslint/typescript/no-shared-type-import.js +19 -1
- package/build/src/rules/eslint/typescript/no-shared-type-import.js.map +1 -1
- package/build/src/toolkit/index.d.ts +1 -0
- package/build/src/toolkit/index.d.ts.map +1 -1
- package/build/src/toolkit/index.js +1 -0
- package/build/src/toolkit/index.js.map +1 -1
- package/build/src/toolkit/vitest-setup.d.ts +6 -0
- package/build/src/toolkit/vitest-setup.d.ts.map +1 -0
- package/build/src/toolkit/vitest-setup.js +21 -0
- package/build/src/toolkit/vitest-setup.js.map +1 -0
- package/build/src/types/cli/generate/github/workflows-blueprint-validate.d.ts +4 -4
- package/build/src/types/cli/generate/github/workflows-blueprint.d.ts +67 -3
- package/build/src/types/cli/recipe/github/gh-commands.d.ts +34 -0
- package/build/src/types/cli/recipe/github/sync-actions.d.ts +43 -0
- package/build/src/types/cli/recipe/github/sync-features.d.ts +16 -2
- package/build/src/types/cli/recipe/github/sync-labels.d.ts +36 -0
- package/build/src/types/cli/recipe/github/sync-policies.d.ts +14 -2
- package/build/src/types/cli/recipe/github/sync-rulesets.d.ts +71 -0
- package/build/src/types/cli/recipe/github/sync-security.d.ts +34 -0
- package/build/src/types/cli/recipe/package-json/sync-environment.d.ts +3 -0
- package/build/src/types/cli/scaffold/app/expressjs.d.ts +3 -0
- package/build/src/types/cli/scaffold/app/nextjs.d.ts +3 -0
- package/build/src/types/cli/scaffold/app/vite.d.ts +3 -0
- package/build/src/types/cli/scaffold/app/workers.d.ts +3 -0
- package/build/src/types/cli/scaffold/docs/docusaurus.d.ts +15 -0
- package/build/src/types/cli/scaffold/starter/base.d.ts +11 -0
- package/build/src/types/cli/utility/changelog.d.ts +87 -26
- package/build/src/types/cli/utility/initialize.d.ts +39 -29
- package/build/src/types/cli/utility/run-scripts.d.ts +22 -174
- package/build/src/types/cli/utility/transpile.d.ts +9 -1
- package/build/src/types/cli/utility/type-check.d.ts +9 -71
- package/build/src/types/cli/utility/version.d.ts +1 -7
- package/build/src/types/lib/corepack.d.ts +19 -0
- package/build/src/types/lib/nova-config.d.ts +256 -23
- package/build/src/types/lib/regex.d.ts +42 -0
- package/build/src/types/lib/release-history.d.ts +57 -0
- package/build/src/types/lib/run-scripts.d.ts +264 -0
- package/build/src/types/lib/scaffold.d.ts +187 -10
- package/build/src/types/lib/type-check.d.ts +102 -0
- package/build/src/types/rules/eslint/regex/no-regex-literals.d.ts +21 -0
- package/build/src/types/rules/eslint/typescript/no-shared-type-import.d.ts +21 -0
- package/build/src/types/shared.d.ts +264 -22
- package/build/src/types/tests/cli/generate/github/workflows-blueprint.test.d.ts +4 -0
- package/build/src/types/tests/cli/index.test.d.ts +258 -0
- package/build/src/types/tests/cli/recipe/package-json/normalize-tooling.test.d.ts +27 -0
- package/build/src/types/tests/cli/scaffold/app/expressjs.test.d.ts +4 -0
- package/build/src/types/tests/cli/scaffold/app/nextjs.test.d.ts +4 -0
- package/build/src/types/tests/cli/scaffold/app/vite.test.d.ts +48 -0
- package/build/src/types/tests/cli/scaffold/app/workers.test.d.ts +4 -0
- package/build/src/types/tests/cli/scaffold/docs/docusaurus.test.d.ts +10 -2
- package/build/src/types/tests/cli/utility/changelog.test.d.ts +99 -0
- package/build/src/types/tests/cli/utility/initialize.test.d.ts +43 -0
- package/build/src/types/tests/cli/utility/run-scripts.test.d.ts +29 -0
- package/build/src/types/tests/cli/utility/transpile.test.d.ts +28 -0
- package/build/src/types/tests/cli/utility/type-check.test.d.ts +33 -0
- package/build/src/types/tests/lib/nova-config.test.d.ts +19 -19
- package/build/src/types/tests/lib/regex.test.d.ts +7 -0
- package/build/src/types/tests/lib/release-history.test.d.ts +94 -0
- package/build/src/types/tests/lib/scaffold.test.d.ts +88 -0
- package/build/src/types/tests/rules/eslint/regex/no-regex-literals.test.d.ts +46 -0
- package/build/src/types/tests/rules/eslint/typescript/no-shared-type-import.test.d.ts +46 -0
- package/build/src/types/tests/scaffold-output-contract.test.d.ts +104 -0
- package/build/src/types/tests/scaffold-template-source.test.d.ts +42 -0
- package/build/src/types/tests/toolkit/vitest-setup.test.d.ts +36 -0
- package/build/src/types/tests/tsconfig-presets.test.d.ts +81 -0
- package/build/src/types/toolkit/vitest-setup.d.ts +24 -0
- package/build/templates/generators/github/workflows/publish/base.yml +1 -1
- package/build/templates/generators/github/workflows/publish/targets/cloudflare-workers.yml +1 -1
- package/build/templates/generators/must-haves/agent-conventions/PROJECT_RULES.md +11 -11
- package/build/templates/generators/must-haves/agent-conventions/conventions/documentation.md +4 -4
- package/build/templates/scaffold/app/express/package.json +2 -2
- package/build/templates/scaffold/app/express/tsconfig.json +1 -0
- package/build/templates/scaffold/app/nextjs/package.json +9 -10
- package/build/templates/scaffold/app/nextjs/tsconfig.json +3 -2
- package/build/templates/scaffold/app/vite/package.json +3 -3
- package/build/templates/scaffold/app/workers/package.json +4 -4
- package/build/templates/scaffold/app/workers/wrangler.toml +1 -1
- package/build/templates/scaffold/docs/docusaurus/docusaurus.config.ts +14 -12
- package/build/templates/scaffold/docs/docusaurus/package.json +13 -9
- package/build/templates/scaffold/docs/docusaurus/src/pages/index.mdx +8 -0
- package/build/templates/scaffold/docs/docusaurus/tsconfig.json +11 -5
- package/build/templates/scaffold/docs/docusaurus/{vitest.config.ts → vitest.config.mts} +11 -0
- package/build/templates/scaffold/docs/docusaurus/vitest.setup.ts +5 -14
- package/package.json +10 -8
- /package/build/templates/scaffold/docs/docusaurus/docs/{intro.md → intro.mdx} +0 -0
|
@@ -1,3 +1,5 @@
|
|
|
1
|
+
import type { Stats } from 'node:fs';
|
|
2
|
+
|
|
1
3
|
import type { TSESTree } from '@typescript-eslint/utils';
|
|
2
4
|
import type { RuleContext } from '@typescript-eslint/utils/ts-eslint';
|
|
3
5
|
|
|
@@ -45,6 +47,8 @@ export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_Create_Options = R
|
|
|
45
47
|
sharedFiles: Rules_Eslint_Typescript_NoSharedTypeImport_Runner_Create_Options_SharedFiles;
|
|
46
48
|
}>;
|
|
47
49
|
|
|
50
|
+
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_Create_SharedFiles = string[];
|
|
51
|
+
|
|
48
52
|
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_Create_NormalizedFilename = string;
|
|
49
53
|
|
|
50
54
|
/**
|
|
@@ -55,3 +59,20 @@ export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_Create_NormalizedF
|
|
|
55
59
|
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_Create_ImportDeclaration_Node = TSESTree.ImportDeclaration;
|
|
56
60
|
|
|
57
61
|
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_Create_ImportDeclaration_Returns = void;
|
|
62
|
+
|
|
63
|
+
/**
|
|
64
|
+
* Rules - ESLint - TypeScript - No Shared Type Import - Resolve Shared Files.
|
|
65
|
+
*
|
|
66
|
+
* @since 0.26.0
|
|
67
|
+
*/
|
|
68
|
+
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_ResolveSharedFiles_Context = Readonly<RuleContext<string, readonly unknown[]>>;
|
|
69
|
+
|
|
70
|
+
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_ResolveSharedFiles_SharedFiles = string[];
|
|
71
|
+
|
|
72
|
+
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_ResolveSharedFiles_Returns = string[];
|
|
73
|
+
|
|
74
|
+
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_ResolveSharedFiles_SharedFilePath = string;
|
|
75
|
+
|
|
76
|
+
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_ResolveSharedFiles_SharedFileStats = Stats;
|
|
77
|
+
|
|
78
|
+
export type Rules_Eslint_Typescript_NoSharedTypeImport_Runner_ResolveSharedFiles_IsSharedFile = boolean;
|
|
@@ -99,6 +99,25 @@ export type Shared_ChangelogOptions = {
|
|
|
99
99
|
dryRun?: Shared_ChangelogOptions_DryRun;
|
|
100
100
|
};
|
|
101
101
|
|
|
102
|
+
/**
|
|
103
|
+
* Shared - Corepack Package Manager.
|
|
104
|
+
*
|
|
105
|
+
* @since 0.26.0
|
|
106
|
+
*/
|
|
107
|
+
export type Shared_CorepackPackageManager = 'npm' | 'pnpm' | 'yarn';
|
|
108
|
+
|
|
109
|
+
export type Shared_CorepackPackageManagerDescriptor_Name = Shared_CorepackPackageManager;
|
|
110
|
+
|
|
111
|
+
export type Shared_CorepackPackageManagerDescriptor_Version = string;
|
|
112
|
+
|
|
113
|
+
export type Shared_CorepackPackageManagerDescriptor_Value = string;
|
|
114
|
+
|
|
115
|
+
export type Shared_CorepackPackageManagerDescriptor = {
|
|
116
|
+
name: Shared_CorepackPackageManagerDescriptor_Name;
|
|
117
|
+
version: Shared_CorepackPackageManagerDescriptor_Version;
|
|
118
|
+
value: Shared_CorepackPackageManagerDescriptor_Value;
|
|
119
|
+
};
|
|
120
|
+
|
|
102
121
|
/**
|
|
103
122
|
* Shared - Dialog Action.
|
|
104
123
|
*
|
|
@@ -681,11 +700,21 @@ export type Shared_MonorepoContextNested = {
|
|
|
681
700
|
context: Shared_MonorepoContextNested_Context;
|
|
682
701
|
};
|
|
683
702
|
|
|
703
|
+
export type Shared_MonorepoContextInvalid_Context = 'invalid';
|
|
704
|
+
|
|
705
|
+
export type Shared_MonorepoContextInvalid_Reason = string;
|
|
706
|
+
|
|
707
|
+
export type Shared_MonorepoContextInvalid = {
|
|
708
|
+
context: Shared_MonorepoContextInvalid_Context;
|
|
709
|
+
reason: Shared_MonorepoContextInvalid_Reason;
|
|
710
|
+
};
|
|
711
|
+
|
|
684
712
|
export type Shared_MonorepoContext =
|
|
685
713
|
Shared_MonorepoContextMonorepo
|
|
686
714
|
| Shared_MonorepoContextWorkspace
|
|
687
715
|
| Shared_MonorepoContextStandalone
|
|
688
|
-
| Shared_MonorepoContextNested
|
|
716
|
+
| Shared_MonorepoContextNested
|
|
717
|
+
| Shared_MonorepoContextInvalid;
|
|
689
718
|
|
|
690
719
|
/**
|
|
691
720
|
* Shared - Normalized Result.
|
|
@@ -806,9 +835,13 @@ export type Shared_NovaConfig_Github_Owner = string;
|
|
|
806
835
|
export type Shared_NovaConfig_Github_Repo = string;
|
|
807
836
|
|
|
808
837
|
export type Shared_NovaConfigGithubRecipeName =
|
|
809
|
-
'sync-
|
|
838
|
+
'sync-actions'
|
|
839
|
+
| 'sync-features'
|
|
810
840
|
| 'sync-identity'
|
|
811
|
-
| 'sync-
|
|
841
|
+
| 'sync-labels'
|
|
842
|
+
| 'sync-policies'
|
|
843
|
+
| 'sync-rulesets'
|
|
844
|
+
| 'sync-security';
|
|
812
845
|
|
|
813
846
|
export type Shared_NovaConfig_Github_Topics = string[];
|
|
814
847
|
|
|
@@ -817,19 +850,119 @@ export type Shared_NovaConfig_Github_Features = {
|
|
|
817
850
|
wiki?: boolean;
|
|
818
851
|
projects?: boolean;
|
|
819
852
|
discussions?: boolean;
|
|
853
|
+
sponsorships?: boolean;
|
|
820
854
|
};
|
|
821
855
|
|
|
856
|
+
export type Shared_NovaConfigGithubActionsAllowedActions = 'all' | 'local-only' | 'selected';
|
|
857
|
+
|
|
858
|
+
export type Shared_NovaConfigGithubActionsDefaultWorkflowPermissions = 'read' | 'write';
|
|
859
|
+
|
|
860
|
+
export type Shared_NovaConfig_Github_Actions_SelectedActions_Pattern = string;
|
|
861
|
+
|
|
862
|
+
export type Shared_NovaConfig_Github_Actions_SelectedActions_Patterns = Shared_NovaConfig_Github_Actions_SelectedActions_Pattern[];
|
|
863
|
+
|
|
864
|
+
export type Shared_NovaConfig_Github_Actions_SelectedActions = {
|
|
865
|
+
githubOwned?: boolean;
|
|
866
|
+
verified?: boolean;
|
|
867
|
+
patterns?: Shared_NovaConfig_Github_Actions_SelectedActions_Patterns;
|
|
868
|
+
};
|
|
869
|
+
|
|
870
|
+
export type Shared_NovaConfig_Github_Actions = {
|
|
871
|
+
enabled?: boolean;
|
|
872
|
+
allowedActions?: Shared_NovaConfigGithubActionsAllowedActions;
|
|
873
|
+
shaPinningRequired?: boolean;
|
|
874
|
+
selectedActions?: Shared_NovaConfig_Github_Actions_SelectedActions;
|
|
875
|
+
defaultWorkflowPermissions?: Shared_NovaConfigGithubActionsDefaultWorkflowPermissions;
|
|
876
|
+
canApprovePullRequestReviews?: boolean;
|
|
877
|
+
artifactRetentionDays?: number;
|
|
878
|
+
};
|
|
879
|
+
|
|
880
|
+
export type Shared_NovaConfig_Github_Label_Name = string;
|
|
881
|
+
|
|
882
|
+
export type Shared_NovaConfig_Github_Label_Color = string;
|
|
883
|
+
|
|
884
|
+
export type Shared_NovaConfig_Github_Label_Description = string;
|
|
885
|
+
|
|
886
|
+
export type Shared_NovaConfig_Github_Label = {
|
|
887
|
+
name: Shared_NovaConfig_Github_Label_Name;
|
|
888
|
+
color: Shared_NovaConfig_Github_Label_Color;
|
|
889
|
+
description?: Shared_NovaConfig_Github_Label_Description;
|
|
890
|
+
};
|
|
891
|
+
|
|
892
|
+
export type Shared_NovaConfig_Github_Labels = Shared_NovaConfig_Github_Label[];
|
|
893
|
+
|
|
822
894
|
export type Shared_NovaConfig_Github_Policies_MergeMethods = {
|
|
823
895
|
merge?: boolean;
|
|
824
896
|
squash?: boolean;
|
|
825
897
|
rebase?: boolean;
|
|
826
898
|
};
|
|
827
899
|
|
|
900
|
+
export type Shared_NovaConfigGithubPoliciesMergeCommitTitle = 'pull-request-title' | 'merge-message';
|
|
901
|
+
|
|
902
|
+
export type Shared_NovaConfigGithubPoliciesMergeCommitMessage = 'pull-request-body' | 'pull-request-title' | 'blank';
|
|
903
|
+
|
|
904
|
+
export type Shared_NovaConfig_Github_Policies_MergeCommit = {
|
|
905
|
+
title?: Shared_NovaConfigGithubPoliciesMergeCommitTitle;
|
|
906
|
+
message?: Shared_NovaConfigGithubPoliciesMergeCommitMessage;
|
|
907
|
+
};
|
|
908
|
+
|
|
909
|
+
export type Shared_NovaConfigGithubPoliciesSquashMergeTitle = 'pull-request-title' | 'commit-or-pull-request-title';
|
|
910
|
+
|
|
911
|
+
export type Shared_NovaConfigGithubPoliciesSquashMergeMessage = 'pull-request-body' | 'commit-messages' | 'blank';
|
|
912
|
+
|
|
913
|
+
export type Shared_NovaConfig_Github_Policies_SquashMerge = {
|
|
914
|
+
title?: Shared_NovaConfigGithubPoliciesSquashMergeTitle;
|
|
915
|
+
message?: Shared_NovaConfigGithubPoliciesSquashMergeMessage;
|
|
916
|
+
};
|
|
917
|
+
|
|
828
918
|
export type Shared_NovaConfig_Github_Policies = {
|
|
829
919
|
visibility?: 'public' | 'private' | 'internal';
|
|
830
920
|
defaultBranch?: string;
|
|
831
921
|
mergeMethods?: Shared_NovaConfig_Github_Policies_MergeMethods;
|
|
922
|
+
mergeCommit?: Shared_NovaConfig_Github_Policies_MergeCommit;
|
|
923
|
+
squashMerge?: Shared_NovaConfig_Github_Policies_SquashMerge;
|
|
832
924
|
autoDeleteHeadBranch?: boolean;
|
|
925
|
+
autoMerge?: boolean;
|
|
926
|
+
allowUpdateBranch?: boolean;
|
|
927
|
+
webCommitSignoffRequired?: boolean;
|
|
928
|
+
};
|
|
929
|
+
|
|
930
|
+
export type Shared_NovaConfigGithubRulesetEnforcement = 'active' | 'disabled' | 'evaluate';
|
|
931
|
+
|
|
932
|
+
export type Shared_NovaConfigGithubRulesetAllowedMergeMethod = 'merge' | 'squash' | 'rebase';
|
|
933
|
+
|
|
934
|
+
export type Shared_NovaConfig_Github_Rulesets_DefaultBranch_AllowedMergeMethods = Shared_NovaConfigGithubRulesetAllowedMergeMethod[];
|
|
935
|
+
|
|
936
|
+
export type Shared_NovaConfig_Github_Rulesets_DefaultBranch_RequiredStatusCheck = string;
|
|
937
|
+
|
|
938
|
+
export type Shared_NovaConfig_Github_Rulesets_DefaultBranch_RequiredStatusChecks = Shared_NovaConfig_Github_Rulesets_DefaultBranch_RequiredStatusCheck[];
|
|
939
|
+
|
|
940
|
+
export type Shared_NovaConfig_Github_Rulesets_DefaultBranch = {
|
|
941
|
+
enforcement?: Shared_NovaConfigGithubRulesetEnforcement;
|
|
942
|
+
blockDeletions?: boolean;
|
|
943
|
+
blockForcePushes?: boolean;
|
|
944
|
+
requireLinearHistory?: boolean;
|
|
945
|
+
requireSignedCommits?: boolean;
|
|
946
|
+
requirePullRequest?: boolean;
|
|
947
|
+
allowedMergeMethods?: Shared_NovaConfig_Github_Rulesets_DefaultBranch_AllowedMergeMethods;
|
|
948
|
+
dismissStaleReviews?: boolean;
|
|
949
|
+
requireCodeOwnerReview?: boolean;
|
|
950
|
+
requireLastPushApproval?: boolean;
|
|
951
|
+
requiredApprovals?: number;
|
|
952
|
+
requireConversationResolution?: boolean;
|
|
953
|
+
requiredStatusChecks?: Shared_NovaConfig_Github_Rulesets_DefaultBranch_RequiredStatusChecks;
|
|
954
|
+
requireBranchesToBeUpToDate?: boolean;
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
export type Shared_NovaConfig_Github_Rulesets = {
|
|
958
|
+
defaultBranch?: Shared_NovaConfig_Github_Rulesets_DefaultBranch;
|
|
959
|
+
};
|
|
960
|
+
|
|
961
|
+
export type Shared_NovaConfig_Github_Security = {
|
|
962
|
+
vulnerabilityAlerts?: boolean;
|
|
963
|
+
dependabotSecurityUpdates?: boolean;
|
|
964
|
+
secretScanning?: boolean;
|
|
965
|
+
pushProtection?: boolean;
|
|
833
966
|
};
|
|
834
967
|
|
|
835
968
|
export type Shared_NovaConfig_Github_IssueTemplate_BugReportField = string;
|
|
@@ -846,6 +979,10 @@ export type Shared_NovaConfig_Github = {
|
|
|
846
979
|
topics?: Shared_NovaConfig_Github_Topics;
|
|
847
980
|
features?: Shared_NovaConfig_Github_Features;
|
|
848
981
|
policies?: Shared_NovaConfig_Github_Policies;
|
|
982
|
+
security?: Shared_NovaConfig_Github_Security;
|
|
983
|
+
rulesets?: Shared_NovaConfig_Github_Rulesets;
|
|
984
|
+
actions?: Shared_NovaConfig_Github_Actions;
|
|
985
|
+
labels?: Shared_NovaConfig_Github_Labels;
|
|
849
986
|
issueTemplate?: Shared_NovaConfig_Github_IssueTemplate;
|
|
850
987
|
};
|
|
851
988
|
|
|
@@ -922,8 +1059,6 @@ export type Shared_NovaConfigWorkflow_Template = string;
|
|
|
922
1059
|
|
|
923
1060
|
export type Shared_NovaConfigWorkflowTrigger = string;
|
|
924
1061
|
|
|
925
|
-
export type Shared_NovaConfigWorkflow_Triggers = Shared_NovaConfigWorkflowTrigger[];
|
|
926
|
-
|
|
927
1062
|
export type Shared_NovaConfigWorkflowTriggerObject_Name = string;
|
|
928
1063
|
|
|
929
1064
|
export type Shared_NovaConfigWorkflowTriggerObjectBranch = string;
|
|
@@ -938,18 +1073,23 @@ export type Shared_NovaConfigWorkflowTriggerObjectTag = string;
|
|
|
938
1073
|
|
|
939
1074
|
export type Shared_NovaConfigWorkflowTriggerObject_Tags = Shared_NovaConfigWorkflowTriggerObjectTag[];
|
|
940
1075
|
|
|
1076
|
+
export type Shared_NovaConfigWorkflowTriggerObjectWorkflow = string;
|
|
1077
|
+
|
|
1078
|
+
export type Shared_NovaConfigWorkflowTriggerObject_Workflows = Shared_NovaConfigWorkflowTriggerObjectWorkflow[];
|
|
1079
|
+
|
|
941
1080
|
export type Shared_NovaConfigWorkflowTriggerObject = {
|
|
942
1081
|
name: Shared_NovaConfigWorkflowTriggerObject_Name;
|
|
943
1082
|
branches?: Shared_NovaConfigWorkflowTriggerObject_Branches;
|
|
944
1083
|
paths?: Shared_NovaConfigWorkflowTriggerObject_Paths;
|
|
945
1084
|
tags?: Shared_NovaConfigWorkflowTriggerObject_Tags;
|
|
1085
|
+
workflows?: Shared_NovaConfigWorkflowTriggerObject_Workflows;
|
|
946
1086
|
};
|
|
947
1087
|
|
|
948
1088
|
export type Shared_NovaConfigWorkflowTriggerWideEntry = Shared_NovaConfigWorkflowTrigger | Shared_NovaConfigWorkflowTriggerObject;
|
|
949
1089
|
|
|
950
|
-
export type
|
|
1090
|
+
export type Shared_NovaConfigWorkflow_Triggers = Shared_NovaConfigWorkflowTriggerWideEntry[];
|
|
951
1091
|
|
|
952
|
-
export type
|
|
1092
|
+
export type Shared_NovaConfigWorkflowTriggersWide = Shared_NovaConfigWorkflow_Triggers;
|
|
953
1093
|
|
|
954
1094
|
export type Shared_NovaConfigWorkflowBuildEntry = string;
|
|
955
1095
|
|
|
@@ -988,7 +1128,6 @@ export type Shared_NovaConfigWorkflow = {
|
|
|
988
1128
|
'template': Shared_NovaConfigWorkflow_Template;
|
|
989
1129
|
'name': Shared_NovaConfigWorkflow_Name;
|
|
990
1130
|
'triggers': Shared_NovaConfigWorkflow_Triggers;
|
|
991
|
-
'depends-on'?: Shared_NovaConfigWorkflow_DependsOn;
|
|
992
1131
|
'build'?: Shared_NovaConfigWorkflow_Build;
|
|
993
1132
|
'deploy'?: Shared_NovaConfigWorkflow_Deploy;
|
|
994
1133
|
'with'?: Shared_NovaConfigWorkflow_With;
|
|
@@ -1020,9 +1159,9 @@ export type Shared_BlueprintConfigWorkflow_Template = Shared_NovaConfigWorkflow_
|
|
|
1020
1159
|
|
|
1021
1160
|
export type Shared_BlueprintConfigWorkflow_Name = Shared_NovaConfigWorkflow_Name;
|
|
1022
1161
|
|
|
1023
|
-
export type Shared_BlueprintConfigTriggerObjectWorkflow =
|
|
1162
|
+
export type Shared_BlueprintConfigTriggerObjectWorkflow = Shared_NovaConfigWorkflowTriggerObjectWorkflow;
|
|
1024
1163
|
|
|
1025
|
-
export type Shared_BlueprintConfigTriggerObject_Workflows =
|
|
1164
|
+
export type Shared_BlueprintConfigTriggerObject_Workflows = Shared_NovaConfigWorkflowTriggerObject_Workflows;
|
|
1026
1165
|
|
|
1027
1166
|
export type Shared_BlueprintConfigTriggerObject_Name = Shared_NovaConfigWorkflowTriggerObject_Name;
|
|
1028
1167
|
|
|
@@ -1032,17 +1171,11 @@ export type Shared_BlueprintConfigTriggerObject_Paths = Shared_NovaConfigWorkflo
|
|
|
1032
1171
|
|
|
1033
1172
|
export type Shared_BlueprintConfigTriggerObject_Tags = Shared_NovaConfigWorkflowTriggerObject_Tags;
|
|
1034
1173
|
|
|
1035
|
-
export type Shared_BlueprintConfigTriggerObject =
|
|
1036
|
-
name: Shared_BlueprintConfigTriggerObject_Name;
|
|
1037
|
-
branches?: Shared_BlueprintConfigTriggerObject_Branches;
|
|
1038
|
-
paths?: Shared_BlueprintConfigTriggerObject_Paths;
|
|
1039
|
-
tags?: Shared_BlueprintConfigTriggerObject_Tags;
|
|
1040
|
-
workflows?: Shared_BlueprintConfigTriggerObject_Workflows;
|
|
1041
|
-
};
|
|
1174
|
+
export type Shared_BlueprintConfigTriggerObject = Shared_NovaConfigWorkflowTriggerObject;
|
|
1042
1175
|
|
|
1043
|
-
export type Shared_BlueprintConfigTriggerWideEntry =
|
|
1176
|
+
export type Shared_BlueprintConfigTriggerWideEntry = Shared_NovaConfigWorkflowTriggerWideEntry;
|
|
1044
1177
|
|
|
1045
|
-
export type Shared_BlueprintConfigWorkflow_Triggers =
|
|
1178
|
+
export type Shared_BlueprintConfigWorkflow_Triggers = Shared_NovaConfigWorkflow_Triggers;
|
|
1046
1179
|
|
|
1047
1180
|
export type Shared_BlueprintConfigWorkflow_Build = Shared_NovaConfigWorkflow_Build;
|
|
1048
1181
|
|
|
@@ -1113,6 +1246,8 @@ export type Shared_BlueprintPublishTargetContext_Workspace = Shared_NovaConfigWo
|
|
|
1113
1246
|
|
|
1114
1247
|
export type Shared_BlueprintPublishTargetContext_Environment = Shared_NovaConfigEnvironment | undefined;
|
|
1115
1248
|
|
|
1249
|
+
export type Shared_BlueprintPublishTargetContext_PackageManager = Shared_CorepackPackageManager;
|
|
1250
|
+
|
|
1116
1251
|
export type Shared_BlueprintPublishTargetContext = {
|
|
1117
1252
|
workingDir: Shared_BlueprintPublishTargetContext_WorkingDir;
|
|
1118
1253
|
artifactName: Shared_BlueprintPublishTargetContext_ArtifactName;
|
|
@@ -1121,6 +1256,7 @@ export type Shared_BlueprintPublishTargetContext = {
|
|
|
1121
1256
|
workflowSettings?: Shared_BlueprintPublishTargetContext_WorkflowSettings;
|
|
1122
1257
|
workspace?: Shared_BlueprintPublishTargetContext_Workspace;
|
|
1123
1258
|
environment?: Shared_BlueprintPublishTargetContext_Environment;
|
|
1259
|
+
packageManager: Shared_BlueprintPublishTargetContext_PackageManager;
|
|
1124
1260
|
};
|
|
1125
1261
|
|
|
1126
1262
|
export type Shared_NovaConfigGitignoreProjectExclude = string;
|
|
@@ -1220,10 +1356,11 @@ export type Shared_NovaConfigEnvironmentValueLocal = {
|
|
|
1220
1356
|
/**
|
|
1221
1357
|
* Shared - Nova Config Environment Value Managed.
|
|
1222
1358
|
*
|
|
1223
|
-
* A key provisioned as a GitHub Variable or Secret but delivered
|
|
1224
|
-
*
|
|
1359
|
+
* A key provisioned as a GitHub Variable or Secret but never delivered to a
|
|
1360
|
+
* build or server by CI. Workspace-scoped values also appear blank in local
|
|
1361
|
+
* ".env" files; project-scoped values do not. Neither kind accepts a default.
|
|
1225
1362
|
*
|
|
1226
|
-
* @since 0.
|
|
1363
|
+
* @since 0.26.0
|
|
1227
1364
|
*/
|
|
1228
1365
|
export type Shared_NovaConfigEnvironmentValueManaged_Key = Shared_NovaConfigEnvironmentValue_Key;
|
|
1229
1366
|
|
|
@@ -1476,6 +1613,111 @@ export type Shared_ScaffoldConfig = {
|
|
|
1476
1613
|
workspaceName: Shared_ScaffoldConfig_WorkspaceName;
|
|
1477
1614
|
};
|
|
1478
1615
|
|
|
1616
|
+
/**
|
|
1617
|
+
* Shared - Scaffold Existing Root.
|
|
1618
|
+
*
|
|
1619
|
+
* @since 0.26.0
|
|
1620
|
+
*/
|
|
1621
|
+
export type Shared_ScaffoldExistingRoot_Config = Record<string, unknown>;
|
|
1622
|
+
|
|
1623
|
+
export type Shared_ScaffoldExistingRoot_PackageJson = Record<string, unknown>;
|
|
1624
|
+
|
|
1625
|
+
export type Shared_ScaffoldExistingRoot_ProjectSlug = string;
|
|
1626
|
+
|
|
1627
|
+
export type Shared_ScaffoldExistingRoot_WorkspacePatterns = string[];
|
|
1628
|
+
|
|
1629
|
+
export type Shared_ScaffoldExistingRoot_Workspaces = Record<string, unknown>;
|
|
1630
|
+
|
|
1631
|
+
export type Shared_ScaffoldExistingRoot = {
|
|
1632
|
+
config: Shared_ScaffoldExistingRoot_Config;
|
|
1633
|
+
packageJson: Shared_ScaffoldExistingRoot_PackageJson;
|
|
1634
|
+
projectSlug: Shared_ScaffoldExistingRoot_ProjectSlug;
|
|
1635
|
+
workspacePatterns: Shared_ScaffoldExistingRoot_WorkspacePatterns;
|
|
1636
|
+
workspaces: Shared_ScaffoldExistingRoot_Workspaces;
|
|
1637
|
+
};
|
|
1638
|
+
|
|
1639
|
+
/**
|
|
1640
|
+
* Shared - Scaffold Non Interactive Workspace Options.
|
|
1641
|
+
*
|
|
1642
|
+
* @since 0.26.0
|
|
1643
|
+
*/
|
|
1644
|
+
export type Shared_ScaffoldNonInteractiveWorkspaceOptions_Name = string;
|
|
1645
|
+
|
|
1646
|
+
export type Shared_ScaffoldNonInteractiveWorkspaceOptions_NonInteractive = true;
|
|
1647
|
+
|
|
1648
|
+
export type Shared_ScaffoldNonInteractiveWorkspaceOptions_Output = string;
|
|
1649
|
+
|
|
1650
|
+
export type Shared_ScaffoldNonInteractiveWorkspaceOptions_WorkspaceName = string;
|
|
1651
|
+
|
|
1652
|
+
export type Shared_ScaffoldNonInteractiveWorkspaceOptions = {
|
|
1653
|
+
name: Shared_ScaffoldNonInteractiveWorkspaceOptions_Name;
|
|
1654
|
+
nonInteractive: Shared_ScaffoldNonInteractiveWorkspaceOptions_NonInteractive;
|
|
1655
|
+
output: Shared_ScaffoldNonInteractiveWorkspaceOptions_Output;
|
|
1656
|
+
workspaceName: Shared_ScaffoldNonInteractiveWorkspaceOptions_WorkspaceName;
|
|
1657
|
+
};
|
|
1658
|
+
|
|
1659
|
+
/**
|
|
1660
|
+
* Shared - Scaffold Output Contract.
|
|
1661
|
+
*
|
|
1662
|
+
* @since 0.26.0
|
|
1663
|
+
*/
|
|
1664
|
+
export type Shared_ScaffoldOutputContract_Name = string;
|
|
1665
|
+
|
|
1666
|
+
export type Shared_ScaffoldOutputContract_TemplateSubpath = string;
|
|
1667
|
+
|
|
1668
|
+
export type Shared_ScaffoldOutputContract_ExpectedFile = string;
|
|
1669
|
+
|
|
1670
|
+
export type Shared_ScaffoldOutputContract_ExpectedFiles = Shared_ScaffoldOutputContract_ExpectedFile[];
|
|
1671
|
+
|
|
1672
|
+
export type Shared_ScaffoldOutputContract_Replacements = Map<RegExp, string>;
|
|
1673
|
+
|
|
1674
|
+
export type Shared_ScaffoldOutputContract = {
|
|
1675
|
+
name: Shared_ScaffoldOutputContract_Name;
|
|
1676
|
+
templateSubpath: Shared_ScaffoldOutputContract_TemplateSubpath;
|
|
1677
|
+
expectedFiles: Shared_ScaffoldOutputContract_ExpectedFiles;
|
|
1678
|
+
replacements: Shared_ScaffoldOutputContract_Replacements;
|
|
1679
|
+
};
|
|
1680
|
+
|
|
1681
|
+
/**
|
|
1682
|
+
* Shared - Scaffold Template Question.
|
|
1683
|
+
*
|
|
1684
|
+
* @since 0.26.0
|
|
1685
|
+
*/
|
|
1686
|
+
export type Shared_ScaffoldTemplateQuestionChoice_Title = string;
|
|
1687
|
+
|
|
1688
|
+
export type Shared_ScaffoldTemplateQuestionChoice_Description = string;
|
|
1689
|
+
|
|
1690
|
+
export type Shared_ScaffoldTemplateQuestionChoice_Value = string;
|
|
1691
|
+
|
|
1692
|
+
export type Shared_ScaffoldTemplateQuestionChoice = {
|
|
1693
|
+
description: Shared_ScaffoldTemplateQuestionChoice_Description;
|
|
1694
|
+
title: Shared_ScaffoldTemplateQuestionChoice_Title;
|
|
1695
|
+
value: Shared_ScaffoldTemplateQuestionChoice_Value;
|
|
1696
|
+
};
|
|
1697
|
+
|
|
1698
|
+
export type Shared_ScaffoldTemplateQuestion_Choices = Shared_ScaffoldTemplateQuestionChoice[];
|
|
1699
|
+
|
|
1700
|
+
export type Shared_ScaffoldTemplateQuestion_Flag = string;
|
|
1701
|
+
|
|
1702
|
+
export type Shared_ScaffoldTemplateQuestion_Initial = number;
|
|
1703
|
+
|
|
1704
|
+
export type Shared_ScaffoldTemplateQuestion_Message = string;
|
|
1705
|
+
|
|
1706
|
+
export type Shared_ScaffoldTemplateQuestion_Name = string;
|
|
1707
|
+
|
|
1708
|
+
export type Shared_ScaffoldTemplateQuestion_Placeholder = RegExp;
|
|
1709
|
+
|
|
1710
|
+
export type Shared_ScaffoldTemplateQuestion = {
|
|
1711
|
+
choices: Shared_ScaffoldTemplateQuestion_Choices;
|
|
1712
|
+
flag: Shared_ScaffoldTemplateQuestion_Flag;
|
|
1713
|
+
initial: Shared_ScaffoldTemplateQuestion_Initial;
|
|
1714
|
+
message: Shared_ScaffoldTemplateQuestion_Message;
|
|
1715
|
+
name: Shared_ScaffoldTemplateQuestion_Name;
|
|
1716
|
+
placeholder: Shared_ScaffoldTemplateQuestion_Placeholder;
|
|
1717
|
+
};
|
|
1718
|
+
|
|
1719
|
+
export type Shared_ScaffoldTemplateQuestions = Shared_ScaffoldTemplateQuestion[];
|
|
1720
|
+
|
|
1479
1721
|
/**
|
|
1480
1722
|
* Shared - Shell Output.
|
|
1481
1723
|
*
|
|
@@ -227,6 +227,10 @@ export type Tests_Cli_Generate_Github_WorkflowsBlueprint_WorkflowsBlueprintBuild
|
|
|
227
227
|
|
|
228
228
|
export type Tests_Cli_Generate_Github_WorkflowsBlueprint_WorkflowsBlueprintBuildPublish_MergesTheWorkflowRunPublishConditionAndRunName_PublishEntry = Shared_BlueprintEnvMapEntry | undefined;
|
|
229
229
|
|
|
230
|
+
export type Tests_Cli_Generate_Github_WorkflowsBlueprint_WorkflowsBlueprintBuildPublish_UsesPnpmForCorepackInstallsAndTurboCommands_Result = string;
|
|
231
|
+
|
|
232
|
+
export type Tests_Cli_Generate_Github_WorkflowsBlueprint_WorkflowsBlueprintBuildPublish_UsesYarnForCorepackInstallsAndNonTurboWorkspaceCommands_Result = string;
|
|
233
|
+
|
|
230
234
|
/**
|
|
231
235
|
* Tests - CLI - Generate - GitHub - Workflows Blueprint.
|
|
232
236
|
*
|