Skip to content

Commit 133472c

Browse files
authoredJun 12, 2024
breaking: svelte-preprocess 6 (#640)
- breaking: remove TS mixed imports support, require TS 5.0 or higher - breaking: require Svelte 4+, Node 18+ - breaking: add exports map - fix: adjust type import - fix: remove pug types from dependencies - fix: allow TS filename to be undefined, fixes #488 - chore: replace jest with vitest - chore: relax eslint config - chore: bump peer deps, fixes #553, closes#635 - chore: update CI, closes #638 - chore: get rid of magic-string as it's no longer used, bump node types - docs: migration info
1 parent aa36477 commit 133472c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7176
-5551
lines changed
 

‎.eslintrc

+5-3
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,16 @@
22
"extends": ["@kiwi"],
33
"env": {
44
"node": true,
5-
"jest": true
5+
"jest": true,
66
},
77
"rules": {
88
"@typescript-eslint/no-explicit-any": "off",
99
"@typescript-eslint/ban-types": "off",
1010
"@typescript-eslint/prefer-nullish-coalescing": "off",
1111
"@typescript-eslint/no-non-null-assertion": "off",
1212
"no-console": "off",
13-
"line-comment-position": "off"
14-
}
13+
"line-comment-position": "off",
14+
"import/order": "off",
15+
"@typescript-eslint/ban-ts-comment": "off",
16+
},
1517
}

‎.github/workflows/ci.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ jobs:
66
Lint:
77
runs-on: ubuntu-latest
88
steps:
9-
- uses: actions/checkout@v2
10-
- uses: pnpm/action-setup@v2
9+
- uses: actions/checkout@v4
10+
- uses: pnpm/action-setup@v4
1111
- uses: actions/setup-node@v4
1212
with:
13-
node-version: 16
13+
node-version: 18
1414
cache: 'pnpm'
1515
- run: pnpm install
1616
- run: pnpm lint
@@ -19,13 +19,13 @@ jobs:
1919
runs-on: ${{ matrix.os }}
2020
strategy:
2121
matrix:
22-
node-version: [16, 18, 20]
22+
node-version: [18, 20, 22]
2323
os: [ubuntu-latest, windows-latest, macOS-latest]
2424

2525
steps:
2626
- run: git config --global core.autocrlf false
27-
- uses: actions/checkout@v2
28-
- uses: pnpm/action-setup@v2
27+
- uses: actions/checkout@v4
28+
- uses: pnpm/action-setup@v4
2929
- uses: actions/setup-node@v4
3030
with:
3131
node-version: ${{ matrix.node-version }}

0 commit comments

Comments
 (0)