mirror of
https://github.com/kuhyx/screen-locker.git
synced 2026-11-22 22:42:21 +01:00
deps: newest stable (freshness gate); migrate web/ npm -> pnpm
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (flutter, flutter-analyze, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,flutter-analyze) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / lock-popup-safety (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (0) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (1) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (2) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (3) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (4) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (5) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (6) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (7) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (8) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (9) (push) Waiting to run
Tests / flutter-coverage (push) Blocked by required conditions
Tests / web-coverage (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
Some checks are pending
dependency freshness / dependencies on newest stable (push) Waiting to run
md-naming / markdown naming convention (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (flutter, flutter-analyze, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (mypy, mypy, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (pylint, pylint, ) (push) Waiting to run
pre-commit / pre-commit (${{ matrix.group }}) (rest, , mypy,pylint,flutter-analyze) (push) Waiting to run
Tests / test (push) Waiting to run
Tests / lock-popup-safety (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (0) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (1) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (2) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (3) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (4) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (5) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (6) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (7) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (8) (push) Waiting to run
Tests / flutter test (shard ${{ matrix.shard }}) (9) (push) Waiting to run
Tests / flutter-coverage (push) Blocked by required conditions
Tests / web-coverage (push) Waiting to run
release-apk / release (APK) (push) Waiting to run
repo-contract / repo contract (push) Waiting to run
web: react/react-dom 19.3.1, vitest + coverage-v8 5.0.4, jsdom 30.1.3, user-event 14.6.8, typescript-eslint 8.71.2. Lockfile is now web/pnpm-lock.yaml (packageManager pnpm@12.14.0); hooks and CI use pnpm with --frozen-lockfile. Node 24.22.0 in workflows; workout_app sqflite 2.4.4+2 / sqflite_common_ffi 2.4.4. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01Xfj1sxKH9VBPqpcAni8Jry
This commit is contained in:
parent
7d8daca111
commit
0b0a18e81c
16
.github/workflows/pre-commit.yml
vendored
16
.github/workflows/pre-commit.yml
vendored
@ -69,20 +69,26 @@ jobs:
|
||||
run: flutter pub get
|
||||
working-directory: stronglift_replacement/workout_app
|
||||
|
||||
# The web-lint / web-typecheck hooks run npm inside web/. Without its
|
||||
# The web-lint / web-typecheck hooks run pnpm inside web/. Without its
|
||||
# installed packages `tsc --build` cannot find the 'vite/client' and
|
||||
# 'node' type libraries and fails with TS2688 -- which is what this
|
||||
# workflow had been doing on every run since the status UI landed in
|
||||
# 8f91158.
|
||||
# No `version:` -- pnpm/action-setup reads `packageManager` from
|
||||
# web/package.json (it errors if both are given).
|
||||
- uses: pnpm/action-setup@v4
|
||||
if: matrix.group == 'rest'
|
||||
with:
|
||||
package_json_file: web/package.json
|
||||
- uses: actions/setup-node@v4
|
||||
if: matrix.group == 'rest'
|
||||
with:
|
||||
node-version: "24.21.0"
|
||||
cache: npm
|
||||
cache-dependency-path: web/package-lock.json
|
||||
node-version: "24.22.0"
|
||||
cache: pnpm
|
||||
cache-dependency-path: web/pnpm-lock.yaml
|
||||
- name: Install status-UI packages
|
||||
if: matrix.group == 'rest'
|
||||
run: npm ci
|
||||
run: pnpm install --frozen-lockfile
|
||||
working-directory: web
|
||||
|
||||
# Every hook brings its own environment except the language: system
|
||||
|
||||
13
.github/workflows/python-tests.yml
vendored
13
.github/workflows/python-tests.yml
vendored
@ -131,13 +131,16 @@ jobs:
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
|
||||
- uses: pnpm/action-setup@v4
|
||||
with:
|
||||
package_json_file: web/package.json
|
||||
- uses: actions/setup-node@v4
|
||||
with:
|
||||
node-version: 24.21.0
|
||||
cache: npm
|
||||
cache-dependency-path: web/package-lock.json
|
||||
node-version: 24.22.0
|
||||
cache: pnpm
|
||||
cache-dependency-path: web/pnpm-lock.yaml
|
||||
|
||||
- name: vitest --coverage, 100% (status web UI)
|
||||
run: |
|
||||
npm --prefix web ci
|
||||
npm --prefix web run coverage
|
||||
pnpm --dir web install --frozen-lockfile
|
||||
pnpm --dir web run coverage
|
||||
|
||||
@ -16,6 +16,8 @@ repos:
|
||||
args: [--markdown-linebreak-ext=md]
|
||||
- id: end-of-file-fixer
|
||||
- id: check-yaml
|
||||
# pnpm-lock.yaml is a two-document stream by design.
|
||||
exclude: ^web/pnpm-lock\.yaml$
|
||||
- id: check-json
|
||||
- id: check-toml
|
||||
- id: check-added-large-files
|
||||
@ -191,7 +193,7 @@ repos:
|
||||
hooks:
|
||||
- id: codespell
|
||||
args:
|
||||
- --skip=*.json,*.lock,.git,__pycache__,.venv
|
||||
- --skip=*.json,*.lock,*pnpm-lock.yaml,.git,__pycache__,.venv
|
||||
- --ignore-words-list=als,ans,ect,nd,som,sur,te,nam,numer,lew,sie,wil,postion,clen,ther,folow,derrive,ony,tje,noe,theses,crate,doubleclick,wile,tabel,pary,blok,bloc,proces,serwer,parametr,adres,hart,dout,metod,tekst,synonim,grup,mosty,lokal,skalar,milion,nowe,tre,hel,alph
|
||||
|
||||
- repo: local
|
||||
@ -264,21 +266,21 @@ repos:
|
||||
# can rot without anything failing. All three run here.
|
||||
- id: web-lint
|
||||
name: eslint (status web UI)
|
||||
entry: npm --prefix web run lint
|
||||
entry: pnpm --dir web run lint
|
||||
language: system
|
||||
files: '^web/(src/.*\.(ts|tsx)|eslint\.config\.js|package\.json)$'
|
||||
pass_filenames: false
|
||||
require_serial: true
|
||||
- id: web-typecheck
|
||||
name: tsc --build (status web UI)
|
||||
entry: npm --prefix web run build
|
||||
entry: pnpm --dir web run build
|
||||
language: system
|
||||
files: '^web/(src/.*\.(ts|tsx)|tsconfig.*\.json|vite\.config\.ts)$'
|
||||
pass_filenames: false
|
||||
require_serial: true
|
||||
- id: web-coverage
|
||||
name: vitest --coverage 100% (status web UI)
|
||||
entry: npm --prefix web run coverage
|
||||
entry: pnpm --dir web run coverage
|
||||
language: system
|
||||
files: '^web/src/'
|
||||
pass_filenames: false
|
||||
|
||||
@ -778,10 +778,10 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: sqflite
|
||||
sha256: "7419d02d128023f38586481c81e14e5692167f75b7f411a914b1eb50d28c010e"
|
||||
sha256: "273218a1678360a3127fcf15e543381d9b813d413d783bc6e9a53eed4d2eb8fe"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.4.4+1"
|
||||
version: "2.4.4+2"
|
||||
sqflite_android:
|
||||
dependency: transitive
|
||||
description:
|
||||
@ -802,10 +802,10 @@ packages:
|
||||
dependency: "direct main"
|
||||
description:
|
||||
name: sqflite_common_ffi
|
||||
sha256: "4ec920a01788641fa1c9922e757c108427e7f8634cce3ce8a1073d573060f4a3"
|
||||
sha256: "4cb6179390549743fc1a5a2fb8f134e5ad87ce459f6f4e563531487dadd81710"
|
||||
url: "https://pub.dev"
|
||||
source: hosted
|
||||
version: "2.4.3"
|
||||
version: "2.4.4"
|
||||
sqflite_darwin:
|
||||
dependency: transitive
|
||||
description:
|
||||
|
||||
@ -36,10 +36,10 @@ dependencies:
|
||||
path_provider: 2.1.6
|
||||
permission_handler: 13.0.2
|
||||
shared_preferences: 2.5.6
|
||||
sqflite: 2.4.4+1
|
||||
sqflite: 2.4.4+2
|
||||
# Linux desktop has no sqflite plugin; the FFI factory drives the same
|
||||
# schema (and already backed the test suite before the desktop target).
|
||||
sqflite_common_ffi: 2.4.3
|
||||
sqflite_common_ffi: 2.4.4
|
||||
sync_settings_ui:
|
||||
git:
|
||||
url: https://github.com/kuhyx/utils
|
||||
|
||||
3913
web/package-lock.json
generated
3913
web/package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -2,6 +2,7 @@
|
||||
"name": "screen-locker-web",
|
||||
"private": true,
|
||||
"version": "0.0.0",
|
||||
"packageManager": "pnpm@12.14.0",
|
||||
"type": "module",
|
||||
"scripts": {
|
||||
"dev": "vite",
|
||||
@ -14,28 +15,28 @@
|
||||
"coverage": "vitest run --coverage"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "19.3.0",
|
||||
"react-dom": "19.3.0"
|
||||
"react": "19.3.1",
|
||||
"react-dom": "19.3.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@eslint/js": "10.0.1",
|
||||
"@testing-library/dom": "10.4.2",
|
||||
"@testing-library/jest-dom": "7.0.1",
|
||||
"@testing-library/react": "16.3.3",
|
||||
"@testing-library/user-event": "14.6.7",
|
||||
"@testing-library/user-event": "14.6.8",
|
||||
"@types/node": "26.6.5",
|
||||
"@types/react": "19.3.0",
|
||||
"@types/react-dom": "19.3.0",
|
||||
"@vitejs/plugin-react": "6.1.2",
|
||||
"@vitest/coverage-v8": "5.0.3",
|
||||
"@vitest/coverage-v8": "5.0.4",
|
||||
"eslint": "10.12.0",
|
||||
"eslint-plugin-react-hooks": "7.1.1",
|
||||
"eslint-plugin-react-refresh": "0.5.7",
|
||||
"globals": "17.13.0",
|
||||
"jsdom": "30.1.2",
|
||||
"jsdom": "30.1.3",
|
||||
"typescript": "6.0.3",
|
||||
"typescript-eslint": "8.71.1",
|
||||
"typescript-eslint": "8.71.2",
|
||||
"vite": "8.3.4",
|
||||
"vitest": "5.0.3"
|
||||
"vitest": "5.0.4"
|
||||
}
|
||||
}
|
||||
|
||||
2633
web/pnpm-lock.yaml
Normal file
2633
web/pnpm-lock.yaml
Normal file
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue
Block a user