Skip to content

Commit 8ff89ad

Browse files
committed
feat: upgrade dependencies
1 parent 1449b58 commit 8ff89ad

File tree

13 files changed

+2615
-2033
lines changed

13 files changed

+2615
-2033
lines changed

.github/workflows/app-deploy.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,10 @@ jobs:
1212
runs-on: ubuntu-20.04
1313
strategy:
1414
matrix:
15-
node-version: [18]
15+
node-version: [20]
1616
steps:
1717
- uses: actions/checkout@v4
1818
- uses: pnpm/[email protected]
19-
with:
20-
version: 8.10.2
2119
- name: Use Node.js ${{ matrix.node-version }}
2220
uses: actions/setup-node@v4
2321
with:

.github/workflows/brstm-test.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
strategy:
1616
matrix:
17-
node-version: [18]
17+
node-version: [20]
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: pnpm/[email protected]
21-
with:
22-
version: 8.10.2
2321
- name: Use Node.js ${{ matrix.node-version }}
2422
uses: actions/setup-node@v4
2523
with:

.github/workflows/typecheck.yml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,10 @@ jobs:
1414
runs-on: ubuntu-20.04
1515
strategy:
1616
matrix:
17-
node-version: [18]
17+
node-version: [20]
1818
steps:
1919
- uses: actions/checkout@v4
2020
- uses: pnpm/[email protected]
21-
with:
22-
version: 8.10.2
2321
- name: Use Node.js ${{ matrix.node-version }}
2422
uses: actions/setup-node@v4
2523
with:

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
16.15.0
1+
20.17.0

app/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -29,15 +29,15 @@
2929
"build-gh-pages": "vite build --base \"/nikku/\""
3030
},
3131
"dependencies": {
32-
"brstm": "^1.7.0",
32+
"brstm": "workspace:^",
3333
"comlink": "^4.4.1",
34-
"lit": "^3.0.2"
34+
"lit": "^3.2.0"
3535
},
3636
"devDependencies": {
37-
"@types/audioworklet": "^0.0.50",
38-
"typescript": "^5.2.2",
39-
"vite": "^4.5.5",
40-
"vite-plugin-comlink": "^3.0.5",
41-
"vite-plugin-pwa": "^0.16.6"
37+
"@types/audioworklet": "0.0.60",
38+
"typescript": "^5.6.2",
39+
"vite": "^5.4.8",
40+
"vite-plugin-comlink": "^5.0.1",
41+
"vite-plugin-pwa": "^0.20.5"
4242
}
4343
}

app/tsconfig.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"compilerOptions": {
33
"types": ["vite/client"],
4-
"module": "esnext",
5-
"lib": ["ESNext", "DOM"],
4+
"module": "ES2022",
5+
"lib": ["ES2022", "DOM"],
66
"declaration": true,
77
"emitDeclarationOnly": true,
88
"outDir": "./types",
@@ -12,13 +12,13 @@
1212
"noUnusedParameters": true,
1313
"noImplicitReturns": true,
1414
"noFallthroughCasesInSwitch": true,
15-
"moduleResolution": "node",
15+
"moduleResolution": "Bundler",
1616
"allowSyntheticDefaultImports": true,
1717
"experimentalDecorators": true,
1818
"forceConsistentCasingInFileNames": true,
1919
"useDefineForClassFields": false,
2020
"skipLibCheck": true,
21-
"target": "ESNext"
21+
"target": "ES2022"
2222
},
2323
"include": ["src/**/*.ts", "./vite-env.d.ts"],
2424
"exclude": []

app/vite.config.ts

Lines changed: 8 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,31 +20,28 @@ export default defineConfig({
2020
{
2121
src: './assets/android-launchericon-192-192.png',
2222
sizes: '192x192',
23-
type: 'image/png'
23+
type: 'image/png',
2424
},
2525
{
2626
src: './assets/android-launchericon-512-512.png',
2727
sizes: '512x512',
28-
type: 'image/png'
29-
}
30-
]
28+
type: 'image/png',
29+
},
30+
],
3131
},
3232
includeAssets: ['./.well-known/assetlinks.json'],
3333
}),
3434
],
3535
worker: {
36-
plugins: [comlink()],
36+
plugins: () => [comlink()],
3737
},
3838
server: {
3939
watch: {
40-
ignored: ['!**/node_modules/brstm/**']
41-
}
40+
ignored: ['!**/node_modules/brstm/**'],
41+
},
4242
},
4343
optimizeDeps: {
44-
exclude: ['brstm']
45-
},
46-
resolve: {
47-
conditions: ['nikku:source']
44+
exclude: ['brstm'],
4845
},
4946
// build: {
5047
// rollupOptions: {

jsconfig.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"module": "esnext",
55
"lib": ["esnext", "dom"],
66
"checkJs": true,
7-
"target": "es2020"
7+
"target": "es2022"
88
}
99
}

netlify-plugins/pnpm-preinstaller/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ module.exports = {
33
try {
44
if (process.env.CI) {
55
await run.command(
6-
"npx pnpm i --shamefully-hoist"
6+
"npx pnpm@9.11.0 i --shamefully-hoist"
77
);
88
} else {
99
status.show({ summary: "CI is false, skipping pnpm install." });

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
"build-gh-pages": "pnpm run --stream --filter brstm build-lib && pnpm run --filter @kenrick95/nikku --stream build-gh-pages",
2727
"netlify-build": "cd packages/brstm && npm run build-lib && cd ../../app && npm run build"
2828
},
29-
"packageManager": "pnpm@8.10.2",
29+
"packageManager": "pnpm@9.11.0",
3030
"pnpm": {
3131
"overrides": {
3232
"json5@>=2.0.0 <2.2.3": ">=2.2.3"

0 commit comments

Comments
 (0)