Skip to content
Draft
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
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
5 changes: 5 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
*.png binary
*.jpg binary
*.jpeg binary
*.avif binary
*.webp binary
12 changes: 6 additions & 6 deletions .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,19 +30,19 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 26

- name: install pnpm
run: npm i -g pnpm
- name: install node / pm
run: npm install -g @nubjs/nub

- name: Install Dependencies
run: pnpm i
run: nub i

- name: Run Tests
run: pnpm run test
run: nub run test

- name: Build Site
run: pnpm run build
run: nub run build

- name: Merge MFCC Widget
run: |
Expand Down
8 changes: 4 additions & 4 deletions .github/workflows/pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,13 +13,13 @@ jobs:

- uses: actions/setup-node@v4
with:
node-version: 18
node-version: 26

- name: install pnpm
run: npm i -g pnpm
- name: install node / pm
run: npm install -g @nubjs/nub

- name: Install Dependencies
run: pnpm i
run: nub i

- name: Run Tests
run: pnpm run test
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.15
26
12 changes: 10 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,12 @@
"name": "learn-2.0",
"version": "0.0.1",
"private": true,
"engines": {
"node": "^26.0.0"
},
"scripts": {
"dev": "node scripts/preprocess.js && vite dev",
"build": "node scripts/preprocess.js && vite build",
"build": "node scripts/preprocess.js && node scripts/optimise-images.js && vite build",
"preview": "vite preview",
"check": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json",
"check:watch": "svelte-kit sync && svelte-check --tsconfig ./jsconfig.json --watch",
Expand All @@ -31,6 +34,7 @@
"prettier-plugin-svelte": "^2.10.1",
"rehype-autolink-headings": "^6.1.1",
"rehype-slug": "^5.1.0",
"sharp": "^0.35.3",
"svelte": "^4.2.12",
"svelte-check": "^3.6.4",
"svelte-preprocess": "^5.1.3",
Expand Down Expand Up @@ -63,5 +67,9 @@
"two.js": "^0.8.13",
"umap-js": "^1.3.3",
"waveform-data": "^4.5.0"
},
"allowScripts": {
"sharp@0.34.5": true,
"esbuild@0.21.5": true
}
}
}
Loading
Loading