Skip to content

feat: use remove-dependencies in blockTSup and blockVitest (#1892) #1107

feat: use remove-dependencies in blockTSup and blockVitest (#1892)

feat: use remove-dependencies in blockTSup and blockVitest (#1892) #1107

Triggered via push January 16, 2025 18:44
Status Failure
Total duration 1m 28s
Artifacts

ci.yml

on: push
Are The Types Wrong?
48s
Are The Types Wrong?
Build
47s
Build
Lint
1m 1s
Lint
Lint Knip
13s
Lint Knip
Lint Markdown
15s
Lint Markdown
Lint Packages
16s
Lint Packages
Lint Spelling
15s
Lint Spelling
Prettier
20s
Prettier
Test
37s
Test
Test Creation Script
58s
Test Creation Script
Test Initialization Script
57s
Test Initialization Script
Test Migration Script
56s
Test Migration Script
Type Check
18s
Type Check
Fit to window
Zoom out
Zoom in

Annotations

20 errors and 13 warnings
Lint Knip
Process completed with exit code 1.
Lint Packages
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
Test
Process completed with exit code 1.
Type Check
Process completed with exit code 2.
Build
Process completed with exit code 1.
Are The Types Wrong?
Process completed with exit code 1.
Test Creation Script
Process completed with exit code 1.
Lint
Process completed with exit code 1.
Test Initialization Script
Process completed with exit code 1.
Test Migration 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
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
Prettier
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
Type Check
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
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
Test Creation Script
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 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