chore: correct createDotGitHubFiles.test.ts snapshot #1122
ci.yml
on: push
Are The Types Wrong?
54s
Build
56s
Lint
51s
Lint Knip
12s
Lint Markdown
11s
Lint Packages
18s
Lint Spelling
13s
Prettier
14s
Test
33s
Test Creation Script
50s
Test Initialization Script
1m 9s
Test Migration Script
50s
Type Check
15s
Annotations
20 errors and 13 warnings
Lint Knip
Process completed with exit code 1.
|
|
Are The Types Wrong?
Process completed with exit code 1.
|
Build:
src/next/blocks/blockRepositoryBranchRuleset.ts#L42
Unused '@ts-expect-error' directive.
|
Build
Process completed with exit code 1.
|
Lint Packages
Process completed with exit code 1.
|
Type Check:
src/next/blocks/blockRepositoryBranchRuleset.ts#L42
Unused '@ts-expect-error' directive.
|
|
Type Check
Process completed with exit code 2.
|
src/steps/writing/creation/index.test.ts > createStructure > base minimal > matches current and next:
src/steps/writing/creation/index.test.ts#L284
AssertionError: expected { …(3) } to deeply equal { …(3) }
- Expected
+ Received
Object {
"eslint.config.js": "import comments from \"@eslint-community/eslint-plugin-eslint-comments/configs\";
import eslint from \"@eslint/js\";
import vitest from \"@vitest/eslint-plugin\";
import jsdoc from \"eslint-plugin-jsdoc\";
import jsonc from \"eslint-plugin-jsonc\";
import markdown from \"eslint-plugin-markdown\";
import n from \"eslint-plugin-n\";
import packageJson from \"eslint-plugin-package-json/configs/recommended\";
import perfectionist from \"eslint-plugin-perfectionist\";
import * as regexp from \"eslint-plugin-regexp\";
import yml from \"eslint-plugin-yml\";
import tseslint from \"typescript-eslint\";
export default tseslint.config(
{
ignores: [\"**/*.snap\", \"coverage\", \"lib\", \"node_modules\", \"pnpm-lock.yaml\"],
},
{ linterOptions: { reportUnusedDisableDirectives: \"error\" } },
eslint.configs.recommended,
comments.recommended,
jsdoc.configs[\"flat/contents-typescript-error\"],
jsdoc.configs[\"flat/logical-typescript-error\"],
jsdoc.configs[\"flat/stylistic-typescript-error\"],
jsonc.configs[\"flat/recommended-with-json\"],
markdown.configs.recommended,
n.configs[\"flat/recommended\"],
packageJson,
perfectionist.configs[\"recommended-natural\"],
regexp.configs[\"flat/recommended\"],
{
extends: [
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,
],
files: [\"**/*.js\", \"**/*.ts\"],
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: [\"*.config.*s\", \"bin/index.js\"],
},
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
// Stylistic concerns that don't interfere with Prettier
\"logical-assignment-operators\": [
\"error\",
\"always\",
{ enforceForIfStatements: true },
],
\"no-useless-rename\": \"error\",
\"object-shorthand\": \"error\",
\"operator-assignment\": \"error\",
},
settings: { perfectionist: { partitionByComment: true, type: \"natural\" } },
},
- {
- extends: [tseslint.configs.disableTypeChecked],
- files: [\"**/*.md/*.ts\"],
- rules: {
- \"n/no-missing-import\": [\"error\", { allowModules: [\"test-repo\"] }],
- },
- },
+ { extends: [tseslint.configs.disableTypeChecked], files: [\"**/*.md/*.ts\"] },
{
extends: [vitest.configs.recommended],
files: [\"**/*.test.*\"],
rules: { \"@typescript-eslint/no-unsafe-assignment\": \"off\" },
},
{
extends: [yml.configs[\"flat/recommended\"], yml.configs[\"flat/prettier\"]],
files: [\"**/*.{yml,yaml}\"],
rules: {
\"yml/file-extension\": [\"error\", { extension: \"yml\" }],
\"yml/sort-keys\": [
\"error\",
{ order: { type: \"asc\" }, pathPattern: \"^.*$\" },
],
\"yml/sort-sequence-values\": [
\"error\",
{ order: { type: \"asc\" }, pathPattern: \"^.*$\" },
],
},
},
);
",
"knip.json": "{
\"$schema\": \"https://unpkg.com/knip@5.41.1/schema.json\",
- \"entry\": [\"src/index.ts\"],
+ \"entry\": [\"src/index.ts\", \"src/**/*.test.*\"],
\"ignoreExportsUsedInFile\": { \"interface\": true, \"type\": true },
\"project\": [\"src/**/*.ts\"]
}
",
"package.json": "{
\"name\": \"test-repo\",
\"version\": \"2.0.0-beta.6\",
\"description\": \"Test Description\",
\"keywords\": [
\"test\",
\"keywords\"
],
\"repository\": {
\"type\": \"git\",
\"url\": \"git+https://github.com/Test Owner/test-repo.git\"
},
\"license\": \"MIT\",
\"author\": {
\"name\": \"Test Author\",
\"email\": \"npm@example.com\"
},
\"type\": \"module\",
\"main\": \"lib/index.js\",
\"bin\": \"bin/index.js\",
\"files\": [
\"LICENSE.md\",
\"README.md\",
\"bin/index.js\",
\"lib/\",
\"package.json\"
],
\"scripts\": {
\"build\": \"tsup\",
\"format\": \"prettier .\",
\"initialize\": \"pnpm build --no-dts && tsx bin/index.js --mode initialize
|
src/steps/writing/creation/index.test.ts > createStructure > base common > matches current and next:
src/steps/writing/creation/index.test.ts#L284
AssertionError: expected { …(3) } to deeply equal { …(3) }
- Expected
+ Received
Object {
"eslint.config.js": "import comments from \"@eslint-community/eslint-plugin-eslint-comments/configs\";
import eslint from \"@eslint/js\";
import vitest from \"@vitest/eslint-plugin\";
import jsdoc from \"eslint-plugin-jsdoc\";
import jsonc from \"eslint-plugin-jsonc\";
import markdown from \"eslint-plugin-markdown\";
import n from \"eslint-plugin-n\";
import packageJson from \"eslint-plugin-package-json/configs/recommended\";
import perfectionist from \"eslint-plugin-perfectionist\";
import * as regexp from \"eslint-plugin-regexp\";
import yml from \"eslint-plugin-yml\";
import tseslint from \"typescript-eslint\";
export default tseslint.config(
{
ignores: [\"**/*.snap\", \"coverage\", \"lib\", \"node_modules\", \"pnpm-lock.yaml\"],
},
{ linterOptions: { reportUnusedDisableDirectives: \"error\" } },
eslint.configs.recommended,
comments.recommended,
jsdoc.configs[\"flat/contents-typescript-error\"],
jsdoc.configs[\"flat/logical-typescript-error\"],
jsdoc.configs[\"flat/stylistic-typescript-error\"],
jsonc.configs[\"flat/recommended-with-json\"],
markdown.configs.recommended,
n.configs[\"flat/recommended\"],
packageJson,
perfectionist.configs[\"recommended-natural\"],
regexp.configs[\"flat/recommended\"],
{
extends: [
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,
],
files: [\"**/*.js\", \"**/*.ts\"],
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: [\"*.config.*s\", \"bin/index.js\"],
},
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
// Stylistic concerns that don't interfere with Prettier
\"logical-assignment-operators\": [
\"error\",
\"always\",
{ enforceForIfStatements: true },
],
\"no-useless-rename\": \"error\",
\"object-shorthand\": \"error\",
\"operator-assignment\": \"error\",
},
settings: { perfectionist: { partitionByComment: true, type: \"natural\" } },
},
- {
- extends: [tseslint.configs.disableTypeChecked],
- files: [\"**/*.md/*.ts\"],
- rules: {
- \"n/no-missing-import\": [\"error\", { allowModules: [\"test-repo\"] }],
- },
- },
+ { extends: [tseslint.configs.disableTypeChecked], files: [\"**/*.md/*.ts\"] },
{
extends: [vitest.configs.recommended],
files: [\"**/*.test.*\"],
rules: { \"@typescript-eslint/no-unsafe-assignment\": \"off\" },
},
{
extends: [yml.configs[\"flat/recommended\"], yml.configs[\"flat/prettier\"]],
files: [\"**/*.{yml,yaml}\"],
rules: {
\"yml/file-extension\": [\"error\", { extension: \"yml\" }],
\"yml/sort-keys\": [
\"error\",
{ order: { type: \"asc\" }, pathPattern: \"^.*$\" },
],
\"yml/sort-sequence-values\": [
\"error\",
{ order: { type: \"asc\" }, pathPattern: \"^.*$\" },
],
},
},
);
",
"knip.json": "{
\"$schema\": \"https://unpkg.com/knip@5.41.1/schema.json\",
- \"entry\": [\"src/index.ts\"],
+ \"entry\": [\"src/index.ts\", \"src/**/*.test.*\"],
\"ignoreExportsUsedInFile\": { \"interface\": true, \"type\": true },
\"project\": [\"src/**/*.ts\"]
}
",
"package.json": "{
\"name\": \"test-repo\",
\"version\": \"2.0.0-beta.6\",
\"description\": \"Test Description\",
\"keywords\": [
\"test\",
\"keywords\"
],
\"repository\": {
\"type\": \"git\",
\"url\": \"git+https://github.com/Test Owner/test-repo.git\"
},
\"license\": \"MIT\",
\"author\": {
\"name\": \"Test Author\",
\"email\": \"npm@example.com\"
},
\"type\": \"module\",
\"main\": \"lib/index.js\",
\"bin\": \"bin/index.js\",
\"files\": [
\"LICENSE.md\",
\"README.md\",
\"bin/index.js\",
\"lib/\",
\"package.json\"
],
\"scripts\": {
\"build\": \"tsup\",
\"format\": \"prettier .\",
\"initialize\": \"pnpm build --no-dts && tsx bin/index.js --mode initialize
|
src/steps/writing/creation/index.test.ts > createStructure > base everything > matches current and next:
src/steps/writing/creation/index.test.ts#L284
AssertionError: expected { …(3) } to deeply equal { …(3) }
- Expected
+ Received
Object {
"eslint.config.js": "import comments from \"@eslint-community/eslint-plugin-eslint-comments/configs\";
import eslint from \"@eslint/js\";
import vitest from \"@vitest/eslint-plugin\";
import jsdoc from \"eslint-plugin-jsdoc\";
import jsonc from \"eslint-plugin-jsonc\";
import markdown from \"eslint-plugin-markdown\";
import n from \"eslint-plugin-n\";
import packageJson from \"eslint-plugin-package-json/configs/recommended\";
import perfectionist from \"eslint-plugin-perfectionist\";
import * as regexp from \"eslint-plugin-regexp\";
import yml from \"eslint-plugin-yml\";
import tseslint from \"typescript-eslint\";
export default tseslint.config(
{
ignores: [\"**/*.snap\", \"coverage\", \"lib\", \"node_modules\", \"pnpm-lock.yaml\"],
},
{ linterOptions: { reportUnusedDisableDirectives: \"error\" } },
eslint.configs.recommended,
comments.recommended,
jsdoc.configs[\"flat/contents-typescript-error\"],
jsdoc.configs[\"flat/logical-typescript-error\"],
jsdoc.configs[\"flat/stylistic-typescript-error\"],
jsonc.configs[\"flat/recommended-with-json\"],
markdown.configs.recommended,
n.configs[\"flat/recommended\"],
packageJson,
perfectionist.configs[\"recommended-natural\"],
regexp.configs[\"flat/recommended\"],
{
extends: [
tseslint.configs.strictTypeChecked,
tseslint.configs.stylisticTypeChecked,
],
files: [\"**/*.js\", \"**/*.ts\"],
languageOptions: {
parserOptions: {
projectService: {
allowDefaultProject: [\"*.config.*s\", \"bin/index.js\"],
},
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
// Stylistic concerns that don't interfere with Prettier
\"logical-assignment-operators\": [
\"error\",
\"always\",
{ enforceForIfStatements: true },
],
\"no-useless-rename\": \"error\",
\"object-shorthand\": \"error\",
\"operator-assignment\": \"error\",
},
settings: { perfectionist: { partitionByComment: true, type: \"natural\" } },
},
- {
- extends: [tseslint.configs.disableTypeChecked],
- files: [\"**/*.md/*.ts\"],
- rules: {
- \"n/no-missing-import\": [\"error\", { allowModules: [\"test-repo\"] }],
- },
- },
+ { extends: [tseslint.configs.disableTypeChecked], files: [\"**/*.md/*.ts\"] },
{
extends: [vitest.configs.recommended],
files: [\"**/*.test.*\"],
rules: { \"@typescript-eslint/no-unsafe-assignment\": \"off\" },
},
{
extends: [yml.configs[\"flat/recommended\"], yml.configs[\"flat/prettier\"]],
files: [\"**/*.{yml,yaml}\"],
rules: {
\"yml/file-extension\": [\"error\", { extension: \"yml\" }],
\"yml/sort-keys\": [
\"error\",
{ order: { type: \"asc\" }, pathPattern: \"^.*$\" },
],
\"yml/sort-sequence-values\": [
\"error\",
{ order: { type: \"asc\" }, pathPattern: \"^.*$\" },
],
},
},
);
",
"knip.json": "{
\"$schema\": \"https://unpkg.com/knip@5.41.1/schema.json\",
- \"entry\": [\"src/index.ts\"],
+ \"entry\": [\"src/index.ts\", \"src/**/*.test.*\"],
\"ignoreExportsUsedInFile\": { \"interface\": true, \"type\": true },
\"project\": [\"src/**/*.ts\"]
}
",
"package.json": "{
\"name\": \"test-repo\",
\"version\": \"2.0.0-beta.6\",
\"description\": \"Test Description\",
\"keywords\": [
\"test\",
\"keywords\"
],
\"repository\": {
\"type\": \"git\",
\"url\": \"git+https://github.com/Test Owner/test-repo.git\"
},
\"license\": \"MIT\",
\"author\": {
\"name\": \"Test Author\",
\"email\": \"npm@example.com\"
},
\"type\": \"module\",
\"main\": \"lib/index.js\",
\"bin\": \"bin/index.js\",
\"files\": [
\"LICENSE.md\",
\"README.md\",
\"bin/index.js\",
\"lib/\",
\"package.json\"
],
\"scripts\": {
\"build\": \"tsup\",
\"format\": \"prettier .\",
\"initialize\": \"pnpm build --no-dts && tsx bin/index.js --mode initialize
|
Test
Process completed with exit code 1.
|
Lint:
src/next/blocks/blockRepositoryBranchRuleset.ts#L42
Unused '@ts-expect-error' directive.
|
Lint
Process completed with exit code 1.
|
|
Test Creation Script
Process completed with exit code 1.
|
|
Test Migration Script
Process completed with exit code 1.
|
Test Initialization Script
Process completed with exit code 1.
|
Lint Markdown
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint Knip
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Are The Types Wrong?
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Build
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Prettier
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint Spelling
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint Packages
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Type Check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test Creation Script
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test Migration Script
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Test Initialization Script
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|