Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .devcontainer/devcontainer.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
// "forwardPorts": [],

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

// Comment out connect as root instead. More info: https://aka.ms/vscode-remote/containers/non-root.
"remoteUser": "node"
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/GHPages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@ jobs:
- uses: actions/setup-node@v4
- name: Install And Build
run: |+
pnpm install
pnpm install --frozen-lockfile
pnpm run build
cd explorer-v2
pnpm install
pnpm install --frozen-lockfile
pnpm run pre-build
pnpm run build
- name: Setup Pages
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/NodeCI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Lint
run: pnpm run lint
- name: Build
Expand All @@ -32,7 +32,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm run test
test-for-svelte-v5:
Expand All @@ -43,7 +43,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v4
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm run test

Expand All @@ -59,7 +59,7 @@ jobs:
pnpm install -D svelte@4
rm -rf node_modules
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm run test

Expand All @@ -80,7 +80,7 @@ jobs:
pnpm install -D svelte@3
rm -rf node_modules
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm run test
update-fixtures:
Expand All @@ -90,7 +90,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Update fixtures
run: pnpm run update-fixtures
- name: Check changes
Expand All @@ -104,7 +104,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Test
run: pnpm run cover
- name: Coveralls GitHub Action
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/Release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ jobs:
with:
node-version: 24
- name: Install Dependencies
run: pnpm install
run: pnpm install --frozen-lockfile

- name: Create Release Pull Request or Publish to npm
id: changesets
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/format.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Format
run: pnpm run eslint-fix
- name: Commit
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
- uses: pnpm/action-setup@v4
- uses: actions/setup-node@v4
- name: Install Packages
run: pnpm install
run: pnpm install --frozen-lockfile
- name: Build
run: pnpm run build
- run: pnpx pkg-pr-new publish --compact --json output.json --comment=off
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,6 @@ dist
.tern-port

# repo
/pnpm-lock.yaml
/lib
/.nyc_output
/coverage
1 change: 0 additions & 1 deletion .npmrc
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
package-lock=false
enable-pre-post-scripts=true
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
tests/fixtures
pnpm-lock.yaml
3 changes: 3 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,9 @@
"@typescript-eslint/no-shadow": "off",
"no-warning-comments": "warn",
"jsdoc/require-jsdoc": "off",
// FIXME: Turning off this rule because it causes `TypeError: aVer.compare is not a function` error.

Check warning on line 49 in eslint.config.mjs

View workflow job for this annotation

GitHub Actions / lint

Unexpected 'fixme' comment: 'FIXME: Turning off this rule because it...'
// Most likely the root cause needs to be fixed on the rule side.
"node-dependencies/compat-engines": "off",
complexity: "off",

"prettier/prettier": [
Expand Down
21 changes: 12 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
],
"funding": "https://github.com/sponsors/ota-meshi",
"license": "MIT",
"packageManager": "pnpm@9.15.9",
"packageManager": "pnpm@10.18.3",
"engines": {
"node": "^18.18.0 || ^20.9.0 || >=21.1.0"
"node": "^18.18.0 || ^20.9.0 || >=21.1.0",
"pnpm": "10.18.3"
},
"main": "lib/index.js",
"files": [
Expand All @@ -37,7 +38,7 @@
"cover": "c8 --reporter=lcov pnpm run test",
"debug": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"eslint-fix": "pnpm run lint --fix",
"lint": "eslint .",
"lint": "eslint . --concurrency auto",
"mocha": "pnpm run ts ./node_modules/mocha/bin/mocha.js",
"prebuild": "pnpm run clean",
"prerelease": "pnpm run clean && pnpm run build",
Expand All @@ -46,7 +47,7 @@
"run-update-fixtures": "pnpm run ts ./tools/update-fixtures.ts",
"test": "pnpm run mocha \"tests/src/**/*.ts\" --reporter dot --timeout 60000",
"ts": "node --import tsx/esm",
"update-fixtures": "git add package.json && pnpm i -D svelte@4 && git checkout package.json && pnpm run run-update-fixtures && pnpm i && pnpm run run-update-fixtures",
"update-fixtures": "git add package.json && pnpm i -D svelte@4 && pnpm run run-update-fixtures && git checkout package.json pnpm-lock.yaml && pnpm i --frozen-lockfile && pnpm run run-update-fixtures",
"version:ci": "IN_VERSION_CI_SCRIPT=true pnpm run build:meta && changeset version"
},
"peerDependencies": {
Expand Down Expand Up @@ -80,13 +81,15 @@
"@types/mocha": "^10.0.10",
"@types/node": "^22.18.1",
"@types/semver": "^7.7.1",
"@typescript-eslint/parser": "^8.43.0",
"@typescript-eslint/types": "^8.43.0",
"@typescript-eslint/parser": "^8.46.1",
"@typescript-eslint/scope-manager": "^8.46.1",
"@typescript-eslint/types": "^8.46.1",
"@typescript-eslint/visitor-keys": "^8.46.1",
"benchmark": "^2.1.4",
"c8": "^10.1.3",
"chai": "^6.0.1",
"esbuild": "^0.25.9",
"eslint": "~9.38.0",
"eslint": "^9.37.0",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-eslint-comments": "^3.2.0",
"eslint-plugin-jsdoc": "^61.0.0",
Expand All @@ -102,7 +105,7 @@
"locate-character": "^3.0.0",
"magic-string": "^0.30.19",
"mocha": "^11.7.2",
"prettier": "~3.6.2",
"prettier": "^3.6.2",
"prettier-plugin-pkg": "^0.21.2",
"prettier-plugin-svelte": "^3.4.0",
"rimraf": "^6.0.1",
Expand All @@ -111,7 +114,7 @@
"svelte2tsx": "^0.7.42",
"tsx": "^4.20.5",
"typescript": "~5.9.2",
"typescript-eslint": "^8.43.0",
"typescript-eslint": "^8.46.1",
"typescript-eslint-parser-for-extra-files": "^0.9.0"
},
"publishConfig": {
Expand Down
Loading
Loading