Skip to content

Commit 86b09cf

Browse files
committed
update deps
- ran `pnpm ncu:group` for minor versions - upgrade `pnpm` - improve README so `pnpm` versions are installed by Volta. - nx v22 upgrade & migration - for interactive vite use `pnpm platform:dev` (instead of `nx dev platform`) and `pnpm platfrom:dev:test` (instead of `nx dev:test platform`) - exclude the root workspace configuration files from NX plugin inference - ran `nx audit --fix` - prettiered files - also disable NX Cloud
1 parent 05decf0 commit 86b09cf

Some content is hidden

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

54 files changed

+3478
-3230
lines changed

.github/workflows/test-publish.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,9 @@ on:
1616
required: false
1717
default: false
1818

19-
env:
20-
NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
19+
# Disabled while we have used our credits for the month. IJH: 2026 Feb 16
20+
# env:
21+
# NX_CLOUD_ACCESS_TOKEN: ${{ secrets.NX_CLOUD_ACCESS_TOKEN }}
2122

2223
# Needed for nx-set-shas when run on the main branch
2324
permissions:

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ You can use [Volta](https://volta.sh/) with this repo to use the right version o
3636

3737
If you don't use Volta just look at the `volta` property in [package.json](/package.json) to see the right tool versions to install in your preferred way.
3838

39-
NOTE: there is a [known limitation using PNPM with Volta](https://docs.volta.sh/advanced/pnpm). So to install packages globally, use NPM instead of PNPM (only for global installs). For an example, see step 2 of [Developer Quick Start](#developer-quick-start).
39+
NOTE: there is a [known limitation using PNPM with Volta](https://docs.volta.sh/advanced/pnpm). So set your environment variable `VOLTA_FEATURE_PNPM` to 1. Also to install packages globally, use NPM instead of PNPM (only for global installs). For an example, see step 2 of [Developer Quick Start](#developer-quick-start).
4040

4141
## Nx Monorepo Build System
4242

demos/perf-react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"json-difference": "^1.16.1",
2222
"lexical": "^0.40.0",
2323
"open-patcher": "1.0.0-beta.1",
24-
"proskomma-core": "^0.11.0",
24+
"proskomma-core": "^0.11.3",
2525
"pure-uuid": "^1.8.1"
2626
},
2727
"devDependencies": {

demos/perf-react/tsconfig.app.json

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,12 @@
44
"outDir": "dist",
55
"tsBuildInfoFile": "dist/tsconfig.app.tsbuildinfo",
66
"jsx": "react-jsx",
7-
"types": [
8-
"node",
9-
"@nx/react/typings/cssmodule.d.ts",
10-
"@nx/react/typings/image.d.ts",
11-
"vite/client"
12-
],
7+
"types": ["node", "vite/client"],
138
"rootDir": "src",
149
"module": "esnext",
1510
"moduleResolution": "bundler"
1611
},
12+
"include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"],
1713
"exclude": [
1814
"out-tsc",
1915
"dist",
@@ -33,7 +29,6 @@
3329
"eslint.config.cjs",
3430
"eslint.config.mjs"
3531
],
36-
"include": ["src/**/*.js", "src/**/*.jsx", "src/**/*.ts", "src/**/*.tsx"],
3732
"references": [
3833
{
3934
"path": "../../libs/shared-react/tsconfig.lib.json"

demos/perf-react/tsconfig.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,6 @@
33
"files": [],
44
"include": [],
55
"references": [
6-
{
7-
"path": "../../libs/shared-react"
8-
},
9-
{
10-
"path": "../../libs/shared"
11-
},
12-
{
13-
"path": "../../libs/test-data"
14-
},
156
{
167
"path": "./tsconfig.app.json"
178
},

demos/perf-react/tsconfig.spec.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,11 @@
33
"compilerOptions": {
44
"outDir": "./out-tsc/vitest",
55
"types": [
6+
"vitest",
67
"vitest/globals",
78
"vitest/importMeta",
89
"vite/client",
9-
"node",
10-
"vitest",
11-
"@nx/react/typings/cssmodule.d.ts",
12-
"@nx/react/typings/image.d.ts"
10+
"node"
1311
],
1412
"jsx": "react-jsx",
1513
"module": "esnext",

demos/perf-react/vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";
33
import react from "@vitejs/plugin-react-swc";
44
import * as path from "path";
5-
import { defineConfig } from "vite";
5+
import { defineConfig } from "vitest/config";
66

77
// https://vitejs.dev/config/
88
export default defineConfig({

demos/perf-vanilla/tsconfig.json

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,6 @@
33
"files": [],
44
"include": [],
55
"references": [
6-
{
7-
"path": "../../libs/shared"
8-
},
9-
{
10-
"path": "../../libs/test-data"
11-
},
126
{
137
"path": "./tsconfig.app.json"
148
},

demos/perf-vanilla/tsconfig.spec.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "../../tsconfig.base.json",
33
"compilerOptions": {
44
"outDir": "./out-tsc/vitest",
5-
"types": ["vitest/globals", "vitest/importMeta", "vite/client", "node", "vitest"],
5+
"types": ["vitest", "vitest/globals", "vitest/importMeta", "vite/client", "node"],
66
"module": "esnext",
77
"moduleResolution": "bundler"
88
},

demos/perf-vanilla/vite.config.mts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/// <reference types='vitest' />
22
import { nxViteTsPaths } from "@nx/vite/plugins/nx-tsconfig-paths.plugin";
33
import * as path from "path";
4-
import { defineConfig } from "vite";
4+
import { defineConfig } from "vitest/config";
55

66
// https://vitejs.dev/config/
77
export default defineConfig({

0 commit comments

Comments
 (0)