Skip to content

feat: adjust blocks to put funding in common and security in minimal #1117

feat: adjust blocks to put funding in common and security in minimal

feat: adjust blocks to put funding in common and security in minimal #1117

Triggered via push January 16, 2025 19:05
Status Failure
Total duration 1m 12s
Artifacts

ci.yml

on: push
Are The Types Wrong?
55s
Are The Types Wrong?
Build
48s
Build
Lint
1m 0s
Lint
Lint Knip
16s
Lint Knip
Lint Markdown
12s
Lint Markdown
Lint Packages
15s
Lint Packages
Lint Spelling
18s
Lint Spelling
Prettier
13s
Prettier
Test
37s
Test
Test Creation Script
49s
Test Creation Script
Test Initialization Script
53s
Test Initialization Script
Test Migration Script
53s
Test Migration Script
Type Check
15s
Type Check
Fit to window
Zoom out
Zoom in

Annotations

22 errors and 13 warnings
Lint Packages
Process completed with exit code 1.
Type Check
Process completed with exit code 2.
Lint Knip
Process completed with exit code 1.
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
src/steps/writing/creation/dotGitHub/createDotGitHubFiles.test.ts > createDotGitHubFiles > creates markdown and extra files when given full options: src/steps/writing/creation/dotGitHub/createDotGitHubFiles.test.ts#L318
Error: Snapshot `createDotGitHubFiles > creates markdown and extra files when given full options 1` mismatched - Expected + Received @@ -266,11 +266,11 @@ We appreciate your efforts and responsible disclosure and will make every effort to acknowledge your contributions. ", "renovate.json": "{ "$schema": "https://docs.renovatebot.com/renovate-schema.json", "automerge": true, - "extends": [ + "extends": [ ":preserveSemverRanges", "config:best-practices", "replacements:all" ], "ignoreDeps": ["codecov/codecov-action"], ❯ src/steps/writing/creation/dotGitHub/createDotGitHubFiles.test.ts:318:5
Test
Process completed with exit code 1.
Build
Process completed with exit code 1.
Test Creation Script
Process completed with exit code 1.
Test Initialization Script
Process completed with exit code 1.
Test Migration Script
Process completed with exit code 1.
Are The Types Wrong?
Process completed with exit code 1.
Lint
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
Prettier
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
Lint Knip
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
Test
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
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 Initialization 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
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
Lint
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636