Compare commits

...

12 Commits

13 changed files with 13664 additions and 9789 deletions

View File

@ -10,6 +10,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

View File

@ -26,6 +26,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@ -124,6 +126,19 @@ jobs:
cp prepared-files/assets/icon.ico assets/icon.ico
cp prepared-files/assets/icon.png assets/icon.png
- name: Get exact Node.js version
run: echo "NODE_VERSION=$(node -v)" >> $GITHUB_ENV
shell: bash
- name: Clear hosted tool cache on Windows
if: ${{ contains(matrix.os, 'windows') }}
run: |
$nodeVersion = $env:NODE_VERSION.TrimStart('v')
Remove-Item -Force "C:\hostedtoolcache\windows\node\$nodeVersion\x64\corepack*"
npm i -g --force corepack
- run: corepack enable
- name: Sync node version and setup cache
uses: actions/setup-node@v4
with:

View File

@ -16,6 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

View File

@ -54,6 +54,16 @@ jobs:
- uses: actions/checkout@v4
with:
token: ${{ steps.app-token.outputs.token }}
- name: Get exact Node.js version
run: echo "NODE_VERSION=$(node -v)" >> $GITHUB_ENV
shell: bash
- name: Clear hosted tool cache on Windows
if: ${{ contains(matrix.os, 'windows') }}
run: |
$nodeVersion = $env:NODE_VERSION.TrimStart('v')
Remove-Item -Force "C:\hostedtoolcache\windows\node\$nodeVersion\x64\corepack*"
npm i -g --force corepack
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

View File

@ -18,6 +18,7 @@ jobs:
runs-on: 'ubuntu-latest'
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

View File

@ -16,6 +16,8 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

View File

@ -20,6 +20,7 @@ jobs:
runs-on: 'ubuntu-22.04'
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@ -32,6 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@ -47,6 +49,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@ -67,6 +70,7 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
@ -92,11 +96,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install
- uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb
with:
@ -121,11 +126,12 @@ jobs:
steps:
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'
cache: 'yarn'
- run: yarn install
- uses: taiki-e/install-action@2dbeb927f58939d3aa13bf06ba0c0a34b76b9bfb
with:

View File

@ -23,6 +23,8 @@ jobs:
with:
token: ${{ steps.app-token.outputs.token }}
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version-file: '.nvmrc'

9
.gitignore vendored
View File

@ -1,5 +1,14 @@
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files.
# https://yarnpkg.com/getting-started/qa#which-files-should-be-gitignored
.yarn/*
!.yarn/cache
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
# dependencies
/node_modules
/.pnp

1
.yarnrc.yml Normal file
View File

@ -0,0 +1 @@
nodeLinker: node-modules

View File

@ -77,7 +77,7 @@
"start": "vite --port=3000 --host=0.0.0.0",
"start:prod": "vite preview --port=3000",
"serve": "vite serve --port=3000",
"build": "yarn install:rust && . $HOME/.cargo/env && yarn install:wasm-pack:sh && yarn build:wasm && vite build",
"build": "corepack enable && yarn set version stable && yarn install:rust && . $HOME/.cargo/env && yarn install:wasm-pack:sh && yarn build:wasm && vite build",
"build:local": "vite build",
"build:both": "vite build",
"build:both:local": "yarn build:wasm && vite build",
@ -218,5 +218,5 @@
"ws": "^8.17.0",
"yarn": "^1.22.22"
},
"packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
"packageManager": "yarn@4.6.0"
}

View File

@ -155,7 +155,7 @@ export interface components {
color?: string | null
/** @description The material that the filament is made of. */
material: components['schemas']['FilamentMaterial']
/** @description The name of the filament, this is likely specific to the manufacturer. */
/** @description The name of the filament, this is likely specfic to the manufacturer. */
name?: string | null
}
/** @description The material that the filament is made of. */

23394
yarn.lock

File diff suppressed because it is too large Load Diff