Skip to content

Commit e4d788d

Browse files
authored
chore: use pnpm-lock.yaml and minimumReleaseAge (#1403)
1 parent 15329e6 commit e4d788d

File tree

12 files changed

+7983
-17
lines changed

12 files changed

+7983
-17
lines changed

.changeset/nice-frogs-chew.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'eslint-plugin-svelte': patch
3+
---
4+
5+
deps: update `svelte-eslint-parser` to 1.4.0 (It supports `$state.eager`)

.devcontainer/devcontainer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
// "forwardPorts": [],
1313

1414
// Use 'postCreateCommand' to run commands after the container is created.
15-
"postCreateCommand": "pnpm install",
15+
"postCreateCommand": "pnpm install --frozen-lockfile",
1616

1717
// Configure tool-specific properties.
1818
"customizations": {

.github/workflows/GHPages.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
- uses: actions/setup-node@v4
3131
- name: Install And Build
3232
run: |
33-
pnpm install
33+
pnpm install --frozen-lockfile
3434
cd packages/eslint-plugin-svelte
3535
pnpm run update
3636
pnpm build

.github/workflows/NodeCI.yml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ jobs:
2323
- uses: pnpm/action-setup@v4
2424
- uses: actions/setup-node@v4
2525
- name: Install Packages
26-
run: pnpm install
26+
run: pnpm install --frozen-lockfile
2727
- name: Lint eslint-plugin-svelte
2828
run: |
2929
pnpm run build
@@ -45,7 +45,7 @@ jobs:
4545
- uses: pnpm/action-setup@v4
4646
- uses: actions/setup-node@v4
4747
- name: Install Packages
48-
run: pnpm install
48+
run: pnpm install --frozen-lockfile
4949
- name: Build
5050
run: |
5151
pnpm run update
@@ -69,7 +69,7 @@ jobs:
6969
with:
7070
node-version: ${{ matrix.node }}
7171
- name: Install Packages
72-
run: pnpm install
72+
run: pnpm install --frozen-lockfile
7373
- name: Build eslint-plugin-svelte
7474
run: pnpm build
7575
working-directory: ${{ env.project_root_path }}
@@ -111,7 +111,7 @@ jobs:
111111
pnpm install -D -w eslint@${{ matrix.eslint }}
112112
rm -rf node_modules
113113
- name: Install Packages
114-
run: pnpm install
114+
run: pnpm install --frozen-lockfile
115115
- name: Test
116116
run: pnpm run test
117117
working-directory: ${{ env.project_root_path }}
@@ -140,7 +140,7 @@ jobs:
140140
rm -rf docs-svelte-kit/node_modules
141141
rm -rf node_modules
142142
- name: Install Packages
143-
run: pnpm install
143+
run: pnpm install --frozen-lockfile
144144
- name: Test
145145
run: pnpm run test
146146
working-directory: ${{ env.project_root_path }}
@@ -152,7 +152,7 @@ jobs:
152152
- uses: pnpm/action-setup@v4
153153
- uses: actions/setup-node@v4
154154
- name: Install Packages
155-
run: pnpm install
155+
run: pnpm install --frozen-lockfile
156156
- name: Update resources
157157
run: pnpm run update
158158
working-directory: ${{ env.project_root_path }}

.github/workflows/Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ jobs:
3131
with:
3232
node-version: 24
3333
- name: Install Dependencies
34-
run: pnpm install
34+
run: pnpm install --frozen-lockfile
3535

3636
- name: Create Release Pull Request or Publish to npm
3737
id: changesets

.github/workflows/pkg.pr.new.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ jobs:
1616
- uses: pnpm/action-setup@v4
1717
- uses: actions/setup-node@v4
1818
- name: Install Packages
19-
run: pnpm install
19+
run: pnpm install --frozen-lockfile
2020
- name: Build
2121
run: pnpm run build
2222
- run: pnpx pkg-pr-new publish --compact './packages/eslint-plugin-svelte' --json output.json --comment=off

.gitignore

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,6 @@ dist
101101
.tern-port
102102

103103
## repo
104-
/pnpm-lock.yaml
105104
packages/eslint-plugin-svelte/lib
106105
packages/eslint-plugin-svelte/.type-coverage
107106

.npmrc

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
package-lock=false
21
enable-pre-post-scripts=true

docs-svelte-kit/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,8 +4,8 @@
44
"type": "module",
55
"version": "0.0.0",
66
"scripts": {
7-
"lint": "eslint --cache .",
8-
"lint-fix": "eslint --cache . --fix",
7+
"lint": "eslint --concurrency auto --cache .",
8+
"lint-fix": "eslint --concurrency auto --cache . --fix",
99
"build": "cd ../packages/eslint-plugin-svelte && pnpm build && cd ../../docs-svelte-kit && pnpm run svelte-kit build",
1010
"preview": "pnpm run svelte-kit preview",
1111
"dev": "pnpm run svelte-kit dev",

packages/eslint-plugin-svelte/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
"debug": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
3636
"lint": "run-p lint:*",
3737
"lint-fix": "pnpm run lint:es --fix",
38-
"lint:es": "eslint --cache .",
38+
"lint:es": "eslint --concurrency auto --cache .",
3939
"mocha": "pnpm run ts ./node_modules/mocha/bin/mocha.js",
4040
"new": "pnpm run ts ./tools/new-rule.ts",
4141
"prebuild": "pnpm run clean",
@@ -69,7 +69,7 @@
6969
"postcss-load-config": "^3.1.4",
7070
"postcss-safe-parser": "^7.0.0",
7171
"semver": "^7.6.3",
72-
"svelte-eslint-parser": "^1.3.0"
72+
"svelte-eslint-parser": "^1.4.0"
7373
},
7474
"devDependencies": {
7575
"@babel/core": "^7.28.3",
@@ -103,7 +103,7 @@
103103
"sass": "^1.92.0",
104104
"source-map-js": "^1.2.1",
105105
"stylus": "^0.64.0",
106-
"svelte": "^5.38.6",
106+
"svelte": "^5.41.0",
107107
"svelte-i18n": "^4.0.1",
108108
"tsx": "^4.20.5",
109109
"type-coverage": "^2.29.7",

0 commit comments

Comments
 (0)