Commit 42450866 authored by Chunchi Che's avatar Chunchi Che

fix ci

parent 6f848990
Pipeline #20693 passed with stages
in 18 minutes and 39 seconds
......@@ -82,8 +82,8 @@ npm_build:
- linux
script:
- mv neos.config.prod.json neos.config.json
- rm node_modules/rust-src
- npm run build:prod
- npx tsc
artifacts:
paths:
- dist
......
......@@ -31,7 +31,6 @@
"react-redux": "^8.0.4",
"react-router-dom": "^6.4.0",
"react-scripts": "^2.1.3",
"rust-src": "file:rust-src/pkg",
"socket.io-client": "^4.5.1",
"sql.js": "^1.8.0",
"vite-plugin-svgr": "^2.4.0",
......@@ -22777,10 +22776,6 @@
"aproba": "^1.1.1"
}
},
"node_modules/rust-src": {
"resolved": "rust-src/pkg",
"link": true
},
"node_modules/rxjs": {
"version": "6.6.7",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",
......@@ -27184,7 +27179,8 @@
},
"rust-src/pkg": {
"name": "rust-src",
"version": "0.1.0"
"version": "0.1.0",
"extraneous": true
}
},
"dependencies": {
......@@ -44569,9 +44565,6 @@
"aproba": "^1.1.1"
}
},
"rust-src": {
"version": "file:rust-src/pkg"
},
"rxjs": {
"version": "6.6.7",
"resolved": "https://registry.npmjs.org/rxjs/-/rxjs-6.6.7.tgz",
......@@ -30,14 +30,13 @@
"sql.js": "^1.8.0",
"vite-plugin-svgr": "^2.4.0",
"web-vitals": "^2.1.4",
"ygopro-deck-encode": "^1.0.3",
"rust-src": "file:rust-src/pkg"
"ygopro-deck-encode": "^1.0.3"
},
"scripts": {
"wasm": "wasm-pack build ./rust-src --target web",
"dev": "npm run wasm && vite",
"build": "tsc && vite build && cp -r neos-assets dist/",
"build:prod": "tsc && vite build --base=https://cdn02.moecube.com:444/neos/",
"build": "vite build && cp -r neos-assets dist/",
"build:prod": "vite build --base=https://cdn02.moecube.com:444/neos/",
"preview": "vite preview",
"lint": "eslint --ext .ts --ext .tsx src",
"fmt": "eslint --ext .ts --ext .tsx src --fix && cd rust-src && cargo fmt",
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment