Skip to content

Commit 3606e45

Browse files
tmkxegoist
andauthored
feat: support svelte-preprocess (#906)
* feat: support svelte-preprocess * chore: update lockfile --------- Co-authored-by: EGOIST <hi@egoist.dev>
1 parent e3f02be commit 3606e45

File tree

6 files changed

+212
-32
lines changed

6 files changed

+212
-32
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ jobs:
3838
${{ runner.os }}-${{ matrix.node-version }}-test-
3939
${{ runner.os }}-
4040
- name: Install pnpm
41-
run: npm i -g pnpm
41+
run: corepack enable
4242

4343
- name: Install deps
4444
run: pnpm i
@@ -67,7 +67,7 @@ jobs:
6767
${{ runner.os }}-${{ matrix.node-version }}-release-${{ env.cache-name }}-
6868
${{ runner.os }}-${{ matrix.node-version }}-release-
6969
${{ runner.os }}-
70-
- run: npm i -g pnpm
70+
- run: corepack enable
7171
- run: pnpm i
7272
- run: pnpx semantic-release --branches main
7373
env:

package.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,8 +61,10 @@
6161
"resolve": "1.20.0",
6262
"rollup-plugin-dts": "5.3.0",
6363
"rollup-plugin-hashbang": "2.2.2",
64+
"sass": "1.62.1",
6465
"strip-json-comments": "4.0.0",
6566
"svelte": "3.46.4",
67+
"svelte-preprocess": "5.0.3",
6668
"terser": "^5.16.0",
6769
"ts-essentials": "9.1.2",
6870
"tsconfig-paths": "3.12.0",
@@ -89,5 +91,6 @@
8991
},
9092
"engines": {
9193
"node": ">=16.14"
92-
}
94+
},
95+
"packageManager": "pnpm@8.6.0"
9396
}

pnpm-lock.yaml

Lines changed: 151 additions & 10 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)