create-typescript-app 2.0.0 → 2.3.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/lib/base.d.ts +1 -0
- package/lib/base.js +4 -1
- package/lib/blocks/blockAllContributors.d.ts +1 -0
- package/lib/blocks/blockAllContributors.js +0 -1
- package/lib/blocks/blockAreTheTypesWrong.d.ts +1 -0
- package/lib/blocks/blockAreTheTypesWrong.js +0 -1
- package/lib/blocks/blockCSpell.d.ts +1 -0
- package/lib/blocks/blockCSpell.js +0 -1
- package/lib/blocks/blockCodecov.d.ts +1 -0
- package/lib/blocks/blockCodecov.js +0 -1
- package/lib/blocks/blockContributingDocs.d.ts +1 -0
- package/lib/blocks/blockContributingDocs.js +0 -1
- package/lib/blocks/blockContributorCovenant.d.ts +1 -0
- package/lib/blocks/blockContributorCovenant.js +0 -1
- package/lib/blocks/blockDevelopmentDocs.d.ts +1 -0
- package/lib/blocks/blockDevelopmentDocs.js +0 -1
- package/lib/blocks/blockESLint.d.ts +1 -0
- package/lib/blocks/blockESLint.js +2 -2
- package/lib/blocks/blockESLintComments.d.ts +1 -0
- package/lib/blocks/blockESLintComments.js +0 -1
- package/lib/blocks/blockESLintJSDoc.d.ts +1 -0
- package/lib/blocks/blockESLintJSDoc.js +0 -1
- package/lib/blocks/blockESLintJSONC.d.ts +1 -0
- package/lib/blocks/blockESLintJSONC.js +0 -1
- package/lib/blocks/blockESLintMarkdown.d.ts +1 -0
- package/lib/blocks/blockESLintMarkdown.js +0 -1
- package/lib/blocks/blockESLintMoreStyling.d.ts +1 -0
- package/lib/blocks/blockESLintMoreStyling.js +0 -1
- package/lib/blocks/blockESLintNode.d.ts +1 -0
- package/lib/blocks/blockESLintNode.js +0 -1
- package/lib/blocks/blockESLintPackageJson.d.ts +1 -0
- package/lib/blocks/blockESLintPackageJson.js +0 -1
- package/lib/blocks/blockESLintPerfectionist.d.ts +1 -0
- package/lib/blocks/blockESLintPerfectionist.js +0 -1
- package/lib/blocks/blockESLintRegexp.d.ts +1 -0
- package/lib/blocks/blockESLintRegexp.js +0 -1
- package/lib/blocks/blockESLintYML.d.ts +1 -0
- package/lib/blocks/blockESLintYML.js +0 -1
- package/lib/blocks/blockExampleFiles.d.ts +1 -0
- package/lib/blocks/blockExampleFiles.js +0 -1
- package/lib/blocks/blockFunding.d.ts +1 -0
- package/lib/blocks/blockFunding.js +0 -1
- package/lib/blocks/blockGitHubActionsCI.d.ts +1 -0
- package/lib/blocks/blockGitHubActionsCI.js +1 -3
- package/lib/blocks/blockGitHubApps.d.ts +1 -0
- package/lib/blocks/blockGitHubApps.js +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.d.ts +1 -0
- package/lib/blocks/blockGitHubIssueTemplates.js +0 -1
- package/lib/blocks/blockGitHubPRTemplate.d.ts +1 -0
- package/lib/blocks/blockGitHubPRTemplate.js +0 -1
- package/lib/blocks/blockGitignore.d.ts +1 -0
- package/lib/blocks/blockGitignore.js +0 -1
- package/lib/blocks/blockKnip.d.ts +1 -0
- package/lib/blocks/blockKnip.js +0 -1
- package/lib/blocks/blockMITLicense.d.ts +1 -0
- package/lib/blocks/blockMITLicense.js +0 -1
- package/lib/blocks/blockMarkdownlint.d.ts +1 -0
- package/lib/blocks/blockMarkdownlint.js +0 -1
- package/lib/blocks/blockNvmrc.d.ts +1 -0
- package/lib/blocks/blockNvmrc.js +0 -1
- package/lib/blocks/blockPRCompliance.d.ts +1 -0
- package/lib/blocks/blockPRCompliance.js +0 -1
- package/lib/blocks/blockPackageJson.d.ts +1 -0
- package/lib/blocks/blockPackageJson.js +3 -1
- package/lib/blocks/blockPnpmDedupe.d.ts +1 -0
- package/lib/blocks/blockPnpmDedupe.js +0 -1
- package/lib/blocks/blockPrettier.d.ts +1 -0
- package/lib/blocks/blockPrettier.js +0 -1
- package/lib/blocks/blockPrettierPluginCurly.d.ts +1 -0
- package/lib/blocks/blockPrettierPluginCurly.js +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.d.ts +1 -0
- package/lib/blocks/blockPrettierPluginPackageJson.js +0 -1
- package/lib/blocks/blockPrettierPluginSh.d.ts +1 -0
- package/lib/blocks/blockPrettierPluginSh.js +0 -1
- package/lib/blocks/blockREADME.d.ts +1 -0
- package/lib/blocks/blockREADME.js +0 -1
- package/lib/blocks/blockReleaseIt.d.ts +1 -0
- package/lib/blocks/blockReleaseIt.js +0 -1
- package/lib/blocks/blockRenovate.d.ts +1 -0
- package/lib/blocks/blockRenovate.js +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.d.ts +1 -0
- package/lib/blocks/blockRepositoryBranchRuleset.js +0 -1
- package/lib/blocks/blockRepositoryLabels.d.ts +1 -0
- package/lib/blocks/blockRepositoryLabels.js +0 -1
- package/lib/blocks/blockRepositorySecrets.d.ts +1 -0
- package/lib/blocks/blockRepositorySecrets.js +0 -1
- package/lib/blocks/blockRepositorySettings.d.ts +1 -0
- package/lib/blocks/blockRepositorySettings.js +0 -1
- package/lib/blocks/blockSecurityDocs.d.ts +1 -0
- package/lib/blocks/blockSecurityDocs.js +0 -1
- package/lib/blocks/blockTSup.d.ts +1 -0
- package/lib/blocks/blockTSup.js +0 -2
- package/lib/blocks/blockTemplatedWith.d.ts +1 -0
- package/lib/blocks/blockTemplatedWith.js +0 -1
- package/lib/blocks/blockTypeScript.d.ts +1 -0
- package/lib/blocks/blockTypeScript.js +0 -2
- package/lib/blocks/blockVSCode.d.ts +1 -0
- package/lib/blocks/blockVSCode.js +0 -1
- package/lib/blocks/blockVitest.d.ts +1 -0
- package/lib/blocks/blockVitest.js +5 -3
- package/lib/blocks/files/createJobName.js +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.js +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.js +0 -1
- package/lib/blocks/files/formatIgnoreFile.js +0 -1
- package/lib/blocks/files/formatWorkflowYaml.js +0 -1
- package/lib/blocks/files/formatYaml.js +0 -1
- package/lib/blocks/index.d.ts +43 -0
- package/lib/blocks/index.js +0 -1
- package/lib/blocks/options.fakes.js +0 -1
- package/lib/blocks/outcomeLabels.js +0 -1
- package/lib/blocks/phases.js +0 -1
- package/lib/data/contributions.js +0 -1
- package/lib/data/packageData.d.ts +11 -3
- package/lib/data/packageData.js +0 -1
- package/lib/index.d.ts +2 -0
- package/lib/index.js +0 -1
- package/lib/inputs/inputFromOctokit.js +0 -1
- package/lib/options/getUsageFromReadme.js +0 -1
- package/lib/options/parsePackageAuthor.js +0 -1
- package/lib/options/readAllContributors.js +0 -1
- package/lib/options/readDefaultsFromReadme.js +0 -1
- package/lib/options/readDescription.js +0 -1
- package/lib/options/readDescriptionFromReadme.js +0 -1
- package/lib/options/readDocumentation.js +0 -1
- package/lib/options/readEmails.js +0 -1
- package/lib/options/readFileAsJson.js +0 -1
- package/lib/options/readFileSafe.js +0 -1
- package/lib/options/readFunding.js +0 -1
- package/lib/options/readGitHubEmail.js +0 -1
- package/lib/options/readGuide.js +0 -1
- package/lib/options/readLogoSizing.js +0 -1
- package/lib/options/readPackageData.js +0 -1
- package/lib/options/readPnpm.d.ts +5 -0
- package/lib/options/readPnpm.js +7 -0
- package/lib/presets/common.d.ts +1 -0
- package/lib/presets/common.js +0 -1
- package/lib/presets/everything.d.ts +1 -0
- package/lib/presets/everything.js +0 -1
- package/lib/presets/index.d.ts +3 -0
- package/lib/presets/index.js +0 -1
- package/lib/presets/minimal.d.ts +1 -0
- package/lib/presets/minimal.js +0 -1
- package/lib/template.d.ts +1 -0
- package/lib/template.js +0 -1
- package/lib/types.d.ts +1 -0
- package/lib/types.js +0 -1
- package/lib/utils/resolveBin.js +0 -1
- package/lib/utils/sortObject.js +0 -1
- package/lib/utils/swallowError.js +0 -1
- package/lib/utils/tryCatchAsync.js +0 -1
- package/lib/utils/tryCatchLazyValueAsync.js +0 -1
- package/package.json +5 -1
- package/lib/base.js.map +0 -1
- package/lib/blocks/blockAllContributors.js.map +0 -1
- package/lib/blocks/blockAreTheTypesWrong.js.map +0 -1
- package/lib/blocks/blockCSpell.js.map +0 -1
- package/lib/blocks/blockCodecov.js.map +0 -1
- package/lib/blocks/blockContributingDocs.js.map +0 -1
- package/lib/blocks/blockContributorCovenant.js.map +0 -1
- package/lib/blocks/blockDevelopmentDocs.js.map +0 -1
- package/lib/blocks/blockESLint.js.map +0 -1
- package/lib/blocks/blockESLintComments.js.map +0 -1
- package/lib/blocks/blockESLintJSDoc.js.map +0 -1
- package/lib/blocks/blockESLintJSONC.js.map +0 -1
- package/lib/blocks/blockESLintMarkdown.js.map +0 -1
- package/lib/blocks/blockESLintMoreStyling.js.map +0 -1
- package/lib/blocks/blockESLintNode.js.map +0 -1
- package/lib/blocks/blockESLintPackageJson.js.map +0 -1
- package/lib/blocks/blockESLintPerfectionist.js.map +0 -1
- package/lib/blocks/blockESLintRegexp.js.map +0 -1
- package/lib/blocks/blockESLintYML.js.map +0 -1
- package/lib/blocks/blockExampleFiles.js.map +0 -1
- package/lib/blocks/blockFunding.js.map +0 -1
- package/lib/blocks/blockGitHubActionsCI.js.map +0 -1
- package/lib/blocks/blockGitHubApps.js.map +0 -1
- package/lib/blocks/blockGitHubIssueTemplates.js.map +0 -1
- package/lib/blocks/blockGitHubPRTemplate.js.map +0 -1
- package/lib/blocks/blockGitignore.js.map +0 -1
- package/lib/blocks/blockKnip.js.map +0 -1
- package/lib/blocks/blockMITLicense.js.map +0 -1
- package/lib/blocks/blockMarkdownlint.js.map +0 -1
- package/lib/blocks/blockNvmrc.js.map +0 -1
- package/lib/blocks/blockPRCompliance.js.map +0 -1
- package/lib/blocks/blockPackageJson.js.map +0 -1
- package/lib/blocks/blockPnpmDedupe.js.map +0 -1
- package/lib/blocks/blockPrettier.js.map +0 -1
- package/lib/blocks/blockPrettierPluginCurly.js.map +0 -1
- package/lib/blocks/blockPrettierPluginPackageJson.js.map +0 -1
- package/lib/blocks/blockPrettierPluginSh.js.map +0 -1
- package/lib/blocks/blockREADME.js.map +0 -1
- package/lib/blocks/blockReleaseIt.js.map +0 -1
- package/lib/blocks/blockRenovate.js.map +0 -1
- package/lib/blocks/blockRepositoryBranchRuleset.js.map +0 -1
- package/lib/blocks/blockRepositoryLabels.js.map +0 -1
- package/lib/blocks/blockRepositorySecrets.js.map +0 -1
- package/lib/blocks/blockRepositorySettings.js.map +0 -1
- package/lib/blocks/blockSecurityDocs.js.map +0 -1
- package/lib/blocks/blockTSup.js.map +0 -1
- package/lib/blocks/blockTemplatedWith.js.map +0 -1
- package/lib/blocks/blockTypeScript.js.map +0 -1
- package/lib/blocks/blockVSCode.js.map +0 -1
- package/lib/blocks/blockVitest.js.map +0 -1
- package/lib/blocks/files/createJobName.js.map +0 -1
- package/lib/blocks/files/createMultiWorkflowFile.js.map +0 -1
- package/lib/blocks/files/createSoloWorkflowFile.js.map +0 -1
- package/lib/blocks/files/formatIgnoreFile.js.map +0 -1
- package/lib/blocks/files/formatWorkflowYaml.js.map +0 -1
- package/lib/blocks/files/formatYaml.js.map +0 -1
- package/lib/blocks/index.js.map +0 -1
- package/lib/blocks/options.fakes.js.map +0 -1
- package/lib/blocks/outcomeLabels.js.map +0 -1
- package/lib/blocks/phases.js.map +0 -1
- package/lib/data/contributions.js.map +0 -1
- package/lib/data/packageData.js.map +0 -1
- package/lib/index.js.map +0 -1
- package/lib/inputs/inputFromOctokit.js.map +0 -1
- package/lib/options/getUsageFromReadme.js.map +0 -1
- package/lib/options/parsePackageAuthor.js.map +0 -1
- package/lib/options/readAllContributors.js.map +0 -1
- package/lib/options/readDefaultsFromReadme.js.map +0 -1
- package/lib/options/readDescription.js.map +0 -1
- package/lib/options/readDescriptionFromReadme.js.map +0 -1
- package/lib/options/readDocumentation.js.map +0 -1
- package/lib/options/readEmails.js.map +0 -1
- package/lib/options/readFileAsJson.js.map +0 -1
- package/lib/options/readFileSafe.js.map +0 -1
- package/lib/options/readFunding.js.map +0 -1
- package/lib/options/readGitHubEmail.js.map +0 -1
- package/lib/options/readGuide.js.map +0 -1
- package/lib/options/readLogoSizing.js.map +0 -1
- package/lib/options/readPackageData.js.map +0 -1
- package/lib/presets/common.js.map +0 -1
- package/lib/presets/everything.js.map +0 -1
- package/lib/presets/index.js.map +0 -1
- package/lib/presets/minimal.js.map +0 -1
- package/lib/template.js.map +0 -1
- package/lib/types.js.map +0 -1
- package/lib/utils/resolveBin.js.map +0 -1
- package/lib/utils/sortObject.js.map +0 -1
- package/lib/utils/swallowError.js.map +0 -1
- package/lib/utils/tryCatchAsync.js.map +0 -1
- package/lib/utils/tryCatchLazyValueAsync.js.map +0 -1
|
@@ -43,6 +43,7 @@ declare const blockPrettierPluginSh: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
43
|
devDependencies?: Record<string, string> | undefined;
|
|
44
44
|
scripts?: Record<string, string> | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
+
pnpm?: string | undefined;
|
|
46
47
|
rulesetId?: string | undefined;
|
|
47
48
|
usage?: string | undefined;
|
|
48
49
|
version?: string | undefined;
|
|
@@ -47,6 +47,7 @@ declare const blockREADME: bingo_stratum.BlockWithAddons<{
|
|
|
47
47
|
devDependencies?: Record<string, string> | undefined;
|
|
48
48
|
scripts?: Record<string, string> | undefined;
|
|
49
49
|
} | undefined;
|
|
50
|
+
pnpm?: string | undefined;
|
|
50
51
|
rulesetId?: string | undefined;
|
|
51
52
|
usage?: string | undefined;
|
|
52
53
|
version?: string | undefined;
|
|
@@ -43,6 +43,7 @@ declare const blockReleaseIt: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
43
|
devDependencies?: Record<string, string> | undefined;
|
|
44
44
|
scripts?: Record<string, string> | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
+
pnpm?: string | undefined;
|
|
46
47
|
rulesetId?: string | undefined;
|
|
47
48
|
usage?: string | undefined;
|
|
48
49
|
version?: string | undefined;
|
|
@@ -43,6 +43,7 @@ declare const blockRenovate: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
43
|
devDependencies?: Record<string, string> | undefined;
|
|
44
44
|
scripts?: Record<string, string> | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
+
pnpm?: string | undefined;
|
|
46
47
|
rulesetId?: string | undefined;
|
|
47
48
|
usage?: string | undefined;
|
|
48
49
|
version?: string | undefined;
|
|
@@ -45,6 +45,7 @@ declare const blockRepositoryBranchRuleset: bingo_stratum.BlockWithAddons<{
|
|
|
45
45
|
devDependencies?: Record<string, string> | undefined;
|
|
46
46
|
scripts?: Record<string, string> | undefined;
|
|
47
47
|
} | undefined;
|
|
48
|
+
pnpm?: string | undefined;
|
|
48
49
|
rulesetId?: string | undefined;
|
|
49
50
|
usage?: string | undefined;
|
|
50
51
|
version?: string | undefined;
|
|
@@ -43,6 +43,7 @@ declare const blockRepositoryLabels: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
43
|
devDependencies?: Record<string, string> | undefined;
|
|
44
44
|
scripts?: Record<string, string> | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
+
pnpm?: string | undefined;
|
|
46
47
|
rulesetId?: string | undefined;
|
|
47
48
|
usage?: string | undefined;
|
|
48
49
|
version?: string | undefined;
|
|
@@ -48,6 +48,7 @@ declare const blockRepositorySecrets: bingo_stratum.BlockWithAddons<{
|
|
|
48
48
|
devDependencies?: Record<string, string> | undefined;
|
|
49
49
|
scripts?: Record<string, string> | undefined;
|
|
50
50
|
} | undefined;
|
|
51
|
+
pnpm?: string | undefined;
|
|
51
52
|
rulesetId?: string | undefined;
|
|
52
53
|
usage?: string | undefined;
|
|
53
54
|
version?: string | undefined;
|
|
@@ -43,6 +43,7 @@ declare const blockRepositorySettings: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
43
|
devDependencies?: Record<string, string> | undefined;
|
|
44
44
|
scripts?: Record<string, string> | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
+
pnpm?: string | undefined;
|
|
46
47
|
rulesetId?: string | undefined;
|
|
47
48
|
usage?: string | undefined;
|
|
48
49
|
version?: string | undefined;
|
|
@@ -43,6 +43,7 @@ declare const blockSecurityDocs: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
43
|
devDependencies?: Record<string, string> | undefined;
|
|
44
44
|
scripts?: Record<string, string> | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
+
pnpm?: string | undefined;
|
|
46
47
|
rulesetId?: string | undefined;
|
|
47
48
|
usage?: string | undefined;
|
|
48
49
|
version?: string | undefined;
|
|
@@ -46,6 +46,7 @@ declare const blockTSup: bingo_stratum.BlockWithAddons<{
|
|
|
46
46
|
devDependencies?: Record<string, string> | undefined;
|
|
47
47
|
scripts?: Record<string, string> | undefined;
|
|
48
48
|
} | undefined;
|
|
49
|
+
pnpm?: string | undefined;
|
|
49
50
|
rulesetId?: string | undefined;
|
|
50
51
|
usage?: string | undefined;
|
|
51
52
|
version?: string | undefined;
|
package/lib/blocks/blockTSup.js
CHANGED
|
@@ -73,7 +73,6 @@ export default defineConfig({
|
|
|
73
73
|
entry: ${JSON.stringify(["src/**/*.ts", ...entry])},
|
|
74
74
|
format: "esm",
|
|
75
75
|
outDir: "lib",
|
|
76
|
-
sourcemap: true,
|
|
77
76
|
});
|
|
78
77
|
`
|
|
79
78
|
},
|
|
@@ -106,4 +105,3 @@ export default defineConfig({
|
|
|
106
105
|
export {
|
|
107
106
|
blockTSup
|
|
108
107
|
};
|
|
109
|
-
//# sourceMappingURL=blockTSup.js.map
|
|
@@ -43,6 +43,7 @@ declare const blockTemplatedWith: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
43
|
devDependencies?: Record<string, string> | undefined;
|
|
44
44
|
scripts?: Record<string, string> | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
+
pnpm?: string | undefined;
|
|
46
47
|
rulesetId?: string | undefined;
|
|
47
48
|
usage?: string | undefined;
|
|
48
49
|
version?: string | undefined;
|
|
@@ -43,6 +43,7 @@ declare const blockTypeScript: bingo_stratum.BlockWithoutAddons<{
|
|
|
43
43
|
devDependencies?: Record<string, string> | undefined;
|
|
44
44
|
scripts?: Record<string, string> | undefined;
|
|
45
45
|
} | undefined;
|
|
46
|
+
pnpm?: string | undefined;
|
|
46
47
|
rulesetId?: string | undefined;
|
|
47
48
|
usage?: string | undefined;
|
|
48
49
|
version?: string | undefined;
|
|
@@ -118,7 +118,6 @@ export * from "./types.js";
|
|
|
118
118
|
noEmit: true,
|
|
119
119
|
resolveJsonModule: true,
|
|
120
120
|
skipLibCheck: true,
|
|
121
|
-
sourceMap: true,
|
|
122
121
|
strict: true,
|
|
123
122
|
target: "ES2022"
|
|
124
123
|
},
|
|
@@ -131,4 +130,3 @@ export * from "./types.js";
|
|
|
131
130
|
export {
|
|
132
131
|
blockTypeScript
|
|
133
132
|
};
|
|
134
|
-
//# sourceMappingURL=blockTypeScript.js.map
|
|
@@ -52,6 +52,7 @@ declare const blockVSCode: bingo_stratum.BlockWithAddons<{
|
|
|
52
52
|
devDependencies?: Record<string, string> | undefined;
|
|
53
53
|
scripts?: Record<string, string> | undefined;
|
|
54
54
|
} | undefined;
|
|
55
|
+
pnpm?: string | undefined;
|
|
55
56
|
rulesetId?: string | undefined;
|
|
56
57
|
usage?: string | undefined;
|
|
57
58
|
version?: string | undefined;
|
|
@@ -58,6 +58,7 @@ declare const blockVitest: bingo_stratum.BlockWithAddons<{
|
|
|
58
58
|
devDependencies?: Record<string, string> | undefined;
|
|
59
59
|
scripts?: Record<string, string> | undefined;
|
|
60
60
|
} | undefined;
|
|
61
|
+
pnpm?: string | undefined;
|
|
61
62
|
rulesetId?: string | undefined;
|
|
62
63
|
usage?: string | undefined;
|
|
63
64
|
version?: string | undefined;
|
|
@@ -73,7 +73,10 @@ Calls to \`console.log\`, \`console.warn\`, and other console methods will cause
|
|
|
73
73
|
}
|
|
74
74
|
],
|
|
75
75
|
ignores: ["coverage", "**/*.snap"],
|
|
76
|
-
imports: [{ source: "@vitest/eslint-plugin", specifier: "vitest" }]
|
|
76
|
+
imports: [{ source: "@vitest/eslint-plugin", specifier: "vitest" }],
|
|
77
|
+
settings: {
|
|
78
|
+
vitest: { typecheck: true }
|
|
79
|
+
}
|
|
77
80
|
}),
|
|
78
81
|
blockExampleFiles({
|
|
79
82
|
files: {
|
|
@@ -83,7 +86,7 @@ import { greet } from "./greet.js";
|
|
|
83
86
|
|
|
84
87
|
const message = "Yay, testing!";
|
|
85
88
|
|
|
86
|
-
describe(
|
|
89
|
+
describe(greet, () => {
|
|
87
90
|
it("logs to the console once when message is provided as a string", () => {
|
|
88
91
|
const logger = vi.spyOn(console, "log").mockImplementation(() => undefined);
|
|
89
92
|
|
|
@@ -212,4 +215,3 @@ export default defineConfig({
|
|
|
212
215
|
export {
|
|
213
216
|
blockVitest
|
|
214
217
|
};
|
|
215
|
-
//# sourceMappingURL=blockVitest.js.map
|
package/lib/blocks/index.d.ts
CHANGED
|
@@ -88,6 +88,7 @@ declare const blocks: {
|
|
|
88
88
|
devDependencies?: Record<string, string> | undefined;
|
|
89
89
|
scripts?: Record<string, string> | undefined;
|
|
90
90
|
} | undefined;
|
|
91
|
+
pnpm?: string | undefined;
|
|
91
92
|
rulesetId?: string | undefined;
|
|
92
93
|
usage?: string | undefined;
|
|
93
94
|
version?: string | undefined;
|
|
@@ -135,6 +136,7 @@ declare const blocks: {
|
|
|
135
136
|
devDependencies?: Record<string, string> | undefined;
|
|
136
137
|
scripts?: Record<string, string> | undefined;
|
|
137
138
|
} | undefined;
|
|
139
|
+
pnpm?: string | undefined;
|
|
138
140
|
rulesetId?: string | undefined;
|
|
139
141
|
usage?: string | undefined;
|
|
140
142
|
version?: string | undefined;
|
|
@@ -184,6 +186,7 @@ declare const blocks: {
|
|
|
184
186
|
devDependencies?: Record<string, string> | undefined;
|
|
185
187
|
scripts?: Record<string, string> | undefined;
|
|
186
188
|
} | undefined;
|
|
189
|
+
pnpm?: string | undefined;
|
|
187
190
|
rulesetId?: string | undefined;
|
|
188
191
|
usage?: string | undefined;
|
|
189
192
|
version?: string | undefined;
|
|
@@ -231,6 +234,7 @@ declare const blocks: {
|
|
|
231
234
|
devDependencies?: Record<string, string> | undefined;
|
|
232
235
|
scripts?: Record<string, string> | undefined;
|
|
233
236
|
} | undefined;
|
|
237
|
+
pnpm?: string | undefined;
|
|
234
238
|
rulesetId?: string | undefined;
|
|
235
239
|
usage?: string | undefined;
|
|
236
240
|
version?: string | undefined;
|
|
@@ -278,6 +282,7 @@ declare const blocks: {
|
|
|
278
282
|
devDependencies?: Record<string, string> | undefined;
|
|
279
283
|
scripts?: Record<string, string> | undefined;
|
|
280
284
|
} | undefined;
|
|
285
|
+
pnpm?: string | undefined;
|
|
281
286
|
rulesetId?: string | undefined;
|
|
282
287
|
usage?: string | undefined;
|
|
283
288
|
version?: string | undefined;
|
|
@@ -328,6 +333,7 @@ declare const blocks: {
|
|
|
328
333
|
devDependencies?: Record<string, string> | undefined;
|
|
329
334
|
scripts?: Record<string, string> | undefined;
|
|
330
335
|
} | undefined;
|
|
336
|
+
pnpm?: string | undefined;
|
|
331
337
|
rulesetId?: string | undefined;
|
|
332
338
|
usage?: string | undefined;
|
|
333
339
|
version?: string | undefined;
|
|
@@ -389,6 +395,7 @@ declare const blocks: {
|
|
|
389
395
|
devDependencies?: Record<string, string> | undefined;
|
|
390
396
|
scripts?: Record<string, string> | undefined;
|
|
391
397
|
} | undefined;
|
|
398
|
+
pnpm?: string | undefined;
|
|
392
399
|
rulesetId?: string | undefined;
|
|
393
400
|
usage?: string | undefined;
|
|
394
401
|
version?: string | undefined;
|
|
@@ -462,6 +469,7 @@ declare const blocks: {
|
|
|
462
469
|
devDependencies?: Record<string, string> | undefined;
|
|
463
470
|
scripts?: Record<string, string> | undefined;
|
|
464
471
|
} | undefined;
|
|
472
|
+
pnpm?: string | undefined;
|
|
465
473
|
rulesetId?: string | undefined;
|
|
466
474
|
usage?: string | undefined;
|
|
467
475
|
version?: string | undefined;
|
|
@@ -509,6 +517,7 @@ declare const blocks: {
|
|
|
509
517
|
devDependencies?: Record<string, string> | undefined;
|
|
510
518
|
scripts?: Record<string, string> | undefined;
|
|
511
519
|
} | undefined;
|
|
520
|
+
pnpm?: string | undefined;
|
|
512
521
|
rulesetId?: string | undefined;
|
|
513
522
|
usage?: string | undefined;
|
|
514
523
|
version?: string | undefined;
|
|
@@ -556,6 +565,7 @@ declare const blocks: {
|
|
|
556
565
|
devDependencies?: Record<string, string> | undefined;
|
|
557
566
|
scripts?: Record<string, string> | undefined;
|
|
558
567
|
} | undefined;
|
|
568
|
+
pnpm?: string | undefined;
|
|
559
569
|
rulesetId?: string | undefined;
|
|
560
570
|
usage?: string | undefined;
|
|
561
571
|
version?: string | undefined;
|
|
@@ -603,6 +613,7 @@ declare const blocks: {
|
|
|
603
613
|
devDependencies?: Record<string, string> | undefined;
|
|
604
614
|
scripts?: Record<string, string> | undefined;
|
|
605
615
|
} | undefined;
|
|
616
|
+
pnpm?: string | undefined;
|
|
606
617
|
rulesetId?: string | undefined;
|
|
607
618
|
usage?: string | undefined;
|
|
608
619
|
version?: string | undefined;
|
|
@@ -650,6 +661,7 @@ declare const blocks: {
|
|
|
650
661
|
devDependencies?: Record<string, string> | undefined;
|
|
651
662
|
scripts?: Record<string, string> | undefined;
|
|
652
663
|
} | undefined;
|
|
664
|
+
pnpm?: string | undefined;
|
|
653
665
|
rulesetId?: string | undefined;
|
|
654
666
|
usage?: string | undefined;
|
|
655
667
|
version?: string | undefined;
|
|
@@ -697,6 +709,7 @@ declare const blocks: {
|
|
|
697
709
|
devDependencies?: Record<string, string> | undefined;
|
|
698
710
|
scripts?: Record<string, string> | undefined;
|
|
699
711
|
} | undefined;
|
|
712
|
+
pnpm?: string | undefined;
|
|
700
713
|
rulesetId?: string | undefined;
|
|
701
714
|
usage?: string | undefined;
|
|
702
715
|
version?: string | undefined;
|
|
@@ -744,6 +757,7 @@ declare const blocks: {
|
|
|
744
757
|
devDependencies?: Record<string, string> | undefined;
|
|
745
758
|
scripts?: Record<string, string> | undefined;
|
|
746
759
|
} | undefined;
|
|
760
|
+
pnpm?: string | undefined;
|
|
747
761
|
rulesetId?: string | undefined;
|
|
748
762
|
usage?: string | undefined;
|
|
749
763
|
version?: string | undefined;
|
|
@@ -791,6 +805,7 @@ declare const blocks: {
|
|
|
791
805
|
devDependencies?: Record<string, string> | undefined;
|
|
792
806
|
scripts?: Record<string, string> | undefined;
|
|
793
807
|
} | undefined;
|
|
808
|
+
pnpm?: string | undefined;
|
|
794
809
|
rulesetId?: string | undefined;
|
|
795
810
|
usage?: string | undefined;
|
|
796
811
|
version?: string | undefined;
|
|
@@ -838,6 +853,7 @@ declare const blocks: {
|
|
|
838
853
|
devDependencies?: Record<string, string> | undefined;
|
|
839
854
|
scripts?: Record<string, string> | undefined;
|
|
840
855
|
} | undefined;
|
|
856
|
+
pnpm?: string | undefined;
|
|
841
857
|
rulesetId?: string | undefined;
|
|
842
858
|
usage?: string | undefined;
|
|
843
859
|
version?: string | undefined;
|
|
@@ -885,6 +901,7 @@ declare const blocks: {
|
|
|
885
901
|
devDependencies?: Record<string, string> | undefined;
|
|
886
902
|
scripts?: Record<string, string> | undefined;
|
|
887
903
|
} | undefined;
|
|
904
|
+
pnpm?: string | undefined;
|
|
888
905
|
rulesetId?: string | undefined;
|
|
889
906
|
usage?: string | undefined;
|
|
890
907
|
version?: string | undefined;
|
|
@@ -932,6 +949,7 @@ declare const blocks: {
|
|
|
932
949
|
devDependencies?: Record<string, string> | undefined;
|
|
933
950
|
scripts?: Record<string, string> | undefined;
|
|
934
951
|
} | undefined;
|
|
952
|
+
pnpm?: string | undefined;
|
|
935
953
|
rulesetId?: string | undefined;
|
|
936
954
|
usage?: string | undefined;
|
|
937
955
|
version?: string | undefined;
|
|
@@ -979,6 +997,7 @@ declare const blocks: {
|
|
|
979
997
|
devDependencies?: Record<string, string> | undefined;
|
|
980
998
|
scripts?: Record<string, string> | undefined;
|
|
981
999
|
} | undefined;
|
|
1000
|
+
pnpm?: string | undefined;
|
|
982
1001
|
rulesetId?: string | undefined;
|
|
983
1002
|
usage?: string | undefined;
|
|
984
1003
|
version?: string | undefined;
|
|
@@ -1039,6 +1058,7 @@ declare const blocks: {
|
|
|
1039
1058
|
devDependencies?: Record<string, string> | undefined;
|
|
1040
1059
|
scripts?: Record<string, string> | undefined;
|
|
1041
1060
|
} | undefined;
|
|
1061
|
+
pnpm?: string | undefined;
|
|
1042
1062
|
rulesetId?: string | undefined;
|
|
1043
1063
|
usage?: string | undefined;
|
|
1044
1064
|
version?: string | undefined;
|
|
@@ -1086,6 +1106,7 @@ declare const blocks: {
|
|
|
1086
1106
|
devDependencies?: Record<string, string> | undefined;
|
|
1087
1107
|
scripts?: Record<string, string> | undefined;
|
|
1088
1108
|
} | undefined;
|
|
1109
|
+
pnpm?: string | undefined;
|
|
1089
1110
|
rulesetId?: string | undefined;
|
|
1090
1111
|
usage?: string | undefined;
|
|
1091
1112
|
version?: string | undefined;
|
|
@@ -1133,6 +1154,7 @@ declare const blocks: {
|
|
|
1133
1154
|
devDependencies?: Record<string, string> | undefined;
|
|
1134
1155
|
scripts?: Record<string, string> | undefined;
|
|
1135
1156
|
} | undefined;
|
|
1157
|
+
pnpm?: string | undefined;
|
|
1136
1158
|
rulesetId?: string | undefined;
|
|
1137
1159
|
usage?: string | undefined;
|
|
1138
1160
|
version?: string | undefined;
|
|
@@ -1182,6 +1204,7 @@ declare const blocks: {
|
|
|
1182
1204
|
devDependencies?: Record<string, string> | undefined;
|
|
1183
1205
|
scripts?: Record<string, string> | undefined;
|
|
1184
1206
|
} | undefined;
|
|
1207
|
+
pnpm?: string | undefined;
|
|
1185
1208
|
rulesetId?: string | undefined;
|
|
1186
1209
|
usage?: string | undefined;
|
|
1187
1210
|
version?: string | undefined;
|
|
@@ -1231,6 +1254,7 @@ declare const blocks: {
|
|
|
1231
1254
|
devDependencies?: Record<string, string> | undefined;
|
|
1232
1255
|
scripts?: Record<string, string> | undefined;
|
|
1233
1256
|
} | undefined;
|
|
1257
|
+
pnpm?: string | undefined;
|
|
1234
1258
|
rulesetId?: string | undefined;
|
|
1235
1259
|
usage?: string | undefined;
|
|
1236
1260
|
version?: string | undefined;
|
|
@@ -1280,6 +1304,7 @@ declare const blocks: {
|
|
|
1280
1304
|
devDependencies?: Record<string, string> | undefined;
|
|
1281
1305
|
scripts?: Record<string, string> | undefined;
|
|
1282
1306
|
} | undefined;
|
|
1307
|
+
pnpm?: string | undefined;
|
|
1283
1308
|
rulesetId?: string | undefined;
|
|
1284
1309
|
usage?: string | undefined;
|
|
1285
1310
|
version?: string | undefined;
|
|
@@ -1327,6 +1352,7 @@ declare const blocks: {
|
|
|
1327
1352
|
devDependencies?: Record<string, string> | undefined;
|
|
1328
1353
|
scripts?: Record<string, string> | undefined;
|
|
1329
1354
|
} | undefined;
|
|
1355
|
+
pnpm?: string | undefined;
|
|
1330
1356
|
rulesetId?: string | undefined;
|
|
1331
1357
|
usage?: string | undefined;
|
|
1332
1358
|
version?: string | undefined;
|
|
@@ -1374,6 +1400,7 @@ declare const blocks: {
|
|
|
1374
1400
|
devDependencies?: Record<string, string> | undefined;
|
|
1375
1401
|
scripts?: Record<string, string> | undefined;
|
|
1376
1402
|
} | undefined;
|
|
1403
|
+
pnpm?: string | undefined;
|
|
1377
1404
|
rulesetId?: string | undefined;
|
|
1378
1405
|
usage?: string | undefined;
|
|
1379
1406
|
version?: string | undefined;
|
|
@@ -1430,6 +1457,7 @@ declare const blocks: {
|
|
|
1430
1457
|
devDependencies?: Record<string, string> | undefined;
|
|
1431
1458
|
scripts?: Record<string, string> | undefined;
|
|
1432
1459
|
} | undefined;
|
|
1460
|
+
pnpm?: string | undefined;
|
|
1433
1461
|
rulesetId?: string | undefined;
|
|
1434
1462
|
usage?: string | undefined;
|
|
1435
1463
|
version?: string | undefined;
|
|
@@ -1477,6 +1505,7 @@ declare const blocks: {
|
|
|
1477
1505
|
devDependencies?: Record<string, string> | undefined;
|
|
1478
1506
|
scripts?: Record<string, string> | undefined;
|
|
1479
1507
|
} | undefined;
|
|
1508
|
+
pnpm?: string | undefined;
|
|
1480
1509
|
rulesetId?: string | undefined;
|
|
1481
1510
|
usage?: string | undefined;
|
|
1482
1511
|
version?: string | undefined;
|
|
@@ -1524,6 +1553,7 @@ declare const blocks: {
|
|
|
1524
1553
|
devDependencies?: Record<string, string> | undefined;
|
|
1525
1554
|
scripts?: Record<string, string> | undefined;
|
|
1526
1555
|
} | undefined;
|
|
1556
|
+
pnpm?: string | undefined;
|
|
1527
1557
|
rulesetId?: string | undefined;
|
|
1528
1558
|
usage?: string | undefined;
|
|
1529
1559
|
version?: string | undefined;
|
|
@@ -1580,6 +1610,7 @@ declare const blocks: {
|
|
|
1580
1610
|
devDependencies?: Record<string, string> | undefined;
|
|
1581
1611
|
scripts?: Record<string, string> | undefined;
|
|
1582
1612
|
} | undefined;
|
|
1613
|
+
pnpm?: string | undefined;
|
|
1583
1614
|
rulesetId?: string | undefined;
|
|
1584
1615
|
usage?: string | undefined;
|
|
1585
1616
|
version?: string | undefined;
|
|
@@ -1627,6 +1658,7 @@ declare const blocks: {
|
|
|
1627
1658
|
devDependencies?: Record<string, string> | undefined;
|
|
1628
1659
|
scripts?: Record<string, string> | undefined;
|
|
1629
1660
|
} | undefined;
|
|
1661
|
+
pnpm?: string | undefined;
|
|
1630
1662
|
rulesetId?: string | undefined;
|
|
1631
1663
|
usage?: string | undefined;
|
|
1632
1664
|
version?: string | undefined;
|
|
@@ -1674,6 +1706,7 @@ declare const blocks: {
|
|
|
1674
1706
|
devDependencies?: Record<string, string> | undefined;
|
|
1675
1707
|
scripts?: Record<string, string> | undefined;
|
|
1676
1708
|
} | undefined;
|
|
1709
|
+
pnpm?: string | undefined;
|
|
1677
1710
|
rulesetId?: string | undefined;
|
|
1678
1711
|
usage?: string | undefined;
|
|
1679
1712
|
version?: string | undefined;
|
|
@@ -1721,6 +1754,7 @@ declare const blocks: {
|
|
|
1721
1754
|
devDependencies?: Record<string, string> | undefined;
|
|
1722
1755
|
scripts?: Record<string, string> | undefined;
|
|
1723
1756
|
} | undefined;
|
|
1757
|
+
pnpm?: string | undefined;
|
|
1724
1758
|
rulesetId?: string | undefined;
|
|
1725
1759
|
usage?: string | undefined;
|
|
1726
1760
|
version?: string | undefined;
|
|
@@ -1772,6 +1806,7 @@ declare const blocks: {
|
|
|
1772
1806
|
devDependencies?: Record<string, string> | undefined;
|
|
1773
1807
|
scripts?: Record<string, string> | undefined;
|
|
1774
1808
|
} | undefined;
|
|
1809
|
+
pnpm?: string | undefined;
|
|
1775
1810
|
rulesetId?: string | undefined;
|
|
1776
1811
|
usage?: string | undefined;
|
|
1777
1812
|
version?: string | undefined;
|
|
@@ -1819,6 +1854,7 @@ declare const blocks: {
|
|
|
1819
1854
|
devDependencies?: Record<string, string> | undefined;
|
|
1820
1855
|
scripts?: Record<string, string> | undefined;
|
|
1821
1856
|
} | undefined;
|
|
1857
|
+
pnpm?: string | undefined;
|
|
1822
1858
|
rulesetId?: string | undefined;
|
|
1823
1859
|
usage?: string | undefined;
|
|
1824
1860
|
version?: string | undefined;
|
|
@@ -1866,6 +1902,7 @@ declare const blocks: {
|
|
|
1866
1902
|
devDependencies?: Record<string, string> | undefined;
|
|
1867
1903
|
scripts?: Record<string, string> | undefined;
|
|
1868
1904
|
} | undefined;
|
|
1905
|
+
pnpm?: string | undefined;
|
|
1869
1906
|
rulesetId?: string | undefined;
|
|
1870
1907
|
usage?: string | undefined;
|
|
1871
1908
|
version?: string | undefined;
|
|
@@ -1913,6 +1950,7 @@ declare const blocks: {
|
|
|
1913
1950
|
devDependencies?: Record<string, string> | undefined;
|
|
1914
1951
|
scripts?: Record<string, string> | undefined;
|
|
1915
1952
|
} | undefined;
|
|
1953
|
+
pnpm?: string | undefined;
|
|
1916
1954
|
rulesetId?: string | undefined;
|
|
1917
1955
|
usage?: string | undefined;
|
|
1918
1956
|
version?: string | undefined;
|
|
@@ -1960,6 +1998,7 @@ declare const blocks: {
|
|
|
1960
1998
|
devDependencies?: Record<string, string> | undefined;
|
|
1961
1999
|
scripts?: Record<string, string> | undefined;
|
|
1962
2000
|
} | undefined;
|
|
2001
|
+
pnpm?: string | undefined;
|
|
1963
2002
|
rulesetId?: string | undefined;
|
|
1964
2003
|
usage?: string | undefined;
|
|
1965
2004
|
version?: string | undefined;
|
|
@@ -2010,6 +2049,7 @@ declare const blocks: {
|
|
|
2010
2049
|
devDependencies?: Record<string, string> | undefined;
|
|
2011
2050
|
scripts?: Record<string, string> | undefined;
|
|
2012
2051
|
} | undefined;
|
|
2052
|
+
pnpm?: string | undefined;
|
|
2013
2053
|
rulesetId?: string | undefined;
|
|
2014
2054
|
usage?: string | undefined;
|
|
2015
2055
|
version?: string | undefined;
|
|
@@ -2057,6 +2097,7 @@ declare const blocks: {
|
|
|
2057
2097
|
devDependencies?: Record<string, string> | undefined;
|
|
2058
2098
|
scripts?: Record<string, string> | undefined;
|
|
2059
2099
|
} | undefined;
|
|
2100
|
+
pnpm?: string | undefined;
|
|
2060
2101
|
rulesetId?: string | undefined;
|
|
2061
2102
|
usage?: string | undefined;
|
|
2062
2103
|
version?: string | undefined;
|
|
@@ -2119,6 +2160,7 @@ declare const blocks: {
|
|
|
2119
2160
|
devDependencies?: Record<string, string> | undefined;
|
|
2120
2161
|
scripts?: Record<string, string> | undefined;
|
|
2121
2162
|
} | undefined;
|
|
2163
|
+
pnpm?: string | undefined;
|
|
2122
2164
|
rulesetId?: string | undefined;
|
|
2123
2165
|
usage?: string | undefined;
|
|
2124
2166
|
version?: string | undefined;
|
|
@@ -2175,6 +2217,7 @@ declare const blocks: {
|
|
|
2175
2217
|
devDependencies?: Record<string, string> | undefined;
|
|
2176
2218
|
scripts?: Record<string, string> | undefined;
|
|
2177
2219
|
} | undefined;
|
|
2220
|
+
pnpm?: string | undefined;
|
|
2178
2221
|
rulesetId?: string | undefined;
|
|
2179
2222
|
usage?: string | undefined;
|
|
2180
2223
|
version?: string | undefined;
|
package/lib/blocks/index.js
CHANGED
package/lib/blocks/phases.js
CHANGED