chore(deps): pin dependencies #973
Annotations
6 errors and 1 warning
Run pnpm run test:migrate:
script/migrate-test-e2e.ts#L105
Error: Snapshot `expected file changes > README.md 1` mismatched
- Expected
+ Received
@@ -1,12 +1,15 @@
"--- a/README.md
+++ b/README.md
@@ ... @@
<h1 align="center">Create TypeScript App</h1>
- -<p align="center">Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁</p>
+ -<p align="center">
+ - Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling.
+ - 🎁
+ -</p>
- +<p align="center">A very lovely package. Hooray!</p>
+ +<p align="center">Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁</p>
<p align="center">
<!-- prettier-ignore-start -->
@@ ... @@ Thanks! 💖
❯ migrate-test-e2e.ts:105:35
|
Run pnpm run test:migrate:
script/migrate-test-e2e.ts#L105
Error: Snapshot `expected file changes > .github/workflows/ci.yml 1` mismatched
- Expected
+ Received
@@ -4,28 +4,79 @@
jobs:
- are_the_types_wrong:
- name: Are The Types Wrong?
- runs-on: ubuntu-latest
- steps:
- - - uses: actions/checkout@v4
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- - uses: ./.github/actions/prepare
- - run: pnpm build
- - run: npx --yes @arethetypeswrong/cli --pack . --ignore-rules cjs-resolves-to-esm
build:
name: Build
runs-on: ubuntu-latest
- @@ ... @@ jobs:
- - uses: actions/checkout@v4
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm build
- - run: node ./lib/index.js --version
+ - run: node ./lib/index.js
lint:
name: Lint
runs-on: ubuntu-latest
- @@ ... @@ jobs:
- - uses: actions/checkout@v4
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm build
+ - run: pnpm lint
+ @@ ... @@ jobs:
+ name: Lint Knip
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm lint:knip
+ lint_markdown:
+ name: Lint Markdown
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm lint:md
+ lint_packages:
+ name: Lint Packages
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm lint:packages
+ lint_spelling:
+ name: Lint Spelling
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm lint:spelling
+ prettier:
+ name: Prettier
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
+ - uses: ./.github/actions/prepare
+ - run: pnpm format --list-different
+ test:
+ name: Test
+ runs-on: ubuntu-latest
+ steps:
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
+ + - uses: actions/checkout@v4
- uses: ./.github/actions/prepare
- run: pnpm run test --coverage
- - env:
- CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
- if: always()
@@ -34,11 +85,11 @@
- flags: unit
- test_creation_script:
- name: Test Creation Script
- runs-on: ubuntu-latest
- steps:
- - - uses: actions/checkout@v4
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- - uses: ./.github/actions/prepare
- - run: pnpm run build
- - run: pnpm run test:create
- - env:
- CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -49,11 +100,11 @@
- flags: create
- test_initialization_script:
- name: Test Initialization Script
- runs-on: ubuntu-latest
- steps:
- - - uses: actions/checkout@v4
+ - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4
- - uses: ./.github/actions/prepare
- - run: pnpm run build
- - run: pnpm run test:initialize
- - env:
- CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
@@ -64,11 +115,11 @@
- flags: initialize
- test_migration_script:
- name: Test Migration Script
- runs-on: ubunt
|
Run pnpm run test:migrate:
script/migrate-test-e2e.ts#L105
Error: Snapshot `expected file changes > eslint.config.js 1` mismatched
- Expected
+ Received
@@ -28,17 +28,16 @@
+ ignores: ["**/*.snap", "coverage", "lib", "node_modules", "pnpm-lock.yaml"],
},
{ linterOptions: { reportUnusedDisableDirectives: "error" } },
eslint.configs.recommended,
@@ ... @@ export default tseslint.config(
- files: ["**/*.js", "**/*.ts"],
languageOptions: {
parserOptions: {
- - projectService: {
+ projectService: {
- allowDefaultProject: ["*.config.*s", "bin/*.js"],
- - },
- + projectService: { allowDefaultProject: ["*.config.*s"] },
+ + allowDefaultProject: ["*.config.*s", "./bin/index.js"],
+ },
tsconfigRootDir: import.meta.dirname,
},
},
rules: {
- // These on-by-default rules work well for this repo if configured
@@ -62,5 +61,18 @@
- ],
-
// Stylistic concerns that don't interfere with Prettier
"logical-assignment-operators": [
"error",
+ @@ ... @@ export default tseslint.config(
+ {
+ extends: [tseslint.configs.disableTypeChecked],
+ files: ["**/*.md/*.ts"],
+ + rules: {
+ + "n/no-missing-import": [
+ + "error",
+ + { allowModules: ["create-typescript-app"] },
+ + ],
+ + },
+ },
+ {
+ extends: [vitest.configs.recommended],"
❯ migrate-test-e2e.ts:105:35
|
Run pnpm run test:migrate:
script/migrate-test-e2e.ts#L105
Error: Snapshot `expected file changes > package.json 1` mismatched
- Expected
+ Received
@@ -1,18 +1,9 @@
"--- a/package.json
+++ b/package.json
@@ ... @@
- {
- "name": "create-typescript-app",
- "version": "1.79.0",
- - "description": "Quickstart-friendly TypeScript template with comprehensive, configurable, opinionated tooling. 🎁",
- + "description": "A very lovely package. Hooray! 💖",
- "repository": {
- "type": "git",
- "url": "https://github.com/JoshuaKGoldberg/create-typescript-app"
- @@ ... @@
- "lint-staged": "15.2.11",
+ "lint-staged": "15.3.0",
"markdownlint": "0.37.2",
"markdownlint-cli": "0.43.0",
+ "prettier": "^3.4.2",
"prettier-plugin-curly": "0.3.1",
"prettier-plugin-packagejson": "2.5.6",
❯ migrate-test-e2e.ts:105:35
|
Run pnpm run test:migrate:
script/migrate-test-e2e.ts#L137
Error:
Oh no! Running the migrate script unexpectedly modified:
- .all-contributorsrc
- .github/actions/prepare/action.yml
- .github/workflows/accessibility-alt-text-bot.yml
- .github/workflows/contributors.yml
- .github/workflows/post-release.yml
- .github/workflows/pr-review-requested.yml
- .github/workflows/release.yml
See .github/DEVELOPMENT.md > Setup Scripts for context.
Then see .github/DEVELOPMENT.md > Unexpected File Modifications.
❯ migrate-test-e2e.ts:137:9
|
Run pnpm run test:migrate
Process completed with exit code 1.
|
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
|
Loading