Skip to content
Snippets Groups Projects
Unverified Commit b965f5e4 authored by CaffeinePower's avatar CaffeinePower Committed by GitHub
Browse files

feat: swc build in windows (#10032)

* feat: add optional swc

* fix: windowsで動かない現象を修正

* fix: fix swc path alias

* fix: docker build時に`Host key verification failed`と言われてgitリポジトリからパッケージをインストールできないのでssh -> htpsに変更
parent d1a69abf
No related branches found
No related tags found
No related merge requests found
{ {
"$schema": "https://json.schemastore.org/swcrc", "$schema": "https://json.schemastore.org/swcrc",
"jsc": { "jsc": {
"parser": { "parser": {
"syntax": "typescript", "syntax": "typescript",
"dynamicImport": true, "dynamicImport": true,
"decorators": true "decorators": true
}, },
"transform": { "transform": {
"legacyDecorator": true, "legacyDecorator": true,
"decoratorMetadata": true "decoratorMetadata": true
}, },
"experimental": { "experimental": {
"keepImportAssertions": true "keepImportAssertions": true
}, },
"baseUrl": ".", "baseUrl": "src",
"paths": { "paths": {
"@/*": [ "@/*": ["*"]
"./src/*"
]
}, },
"target": "es2021" "target": "es2021"
}, },
"minify": false "minify": false
} }
...@@ -22,7 +22,17 @@ ...@@ -22,7 +22,17 @@
}, },
"optionalDependencies": { "optionalDependencies": {
"@tensorflow/tfjs": "4.2.0", "@tensorflow/tfjs": "4.2.0",
"@tensorflow/tfjs-node": "4.2.0" "@tensorflow/tfjs-node": "4.2.0",
"@swc/core-darwin-arm64": "^1.3.36",
"@swc/core-darwin-x64": "^1.3.36",
"@swc/core-linux-arm-gnueabihf": "^1.3.36",
"@swc/core-linux-arm64-gnu": "^1.3.36",
"@swc/core-linux-arm64-musl": "^1.3.36",
"@swc/core-linux-x64-gnu": "^1.3.36",
"@swc/core-linux-x64-musl": "^1.3.36",
"@swc/core-win32-arm64-msvc": "^1.3.36",
"@swc/core-win32-ia32-msvc": "^1.3.36",
"@swc/core-win32-x64-msvc": "^1.3.36"
}, },
"dependencies": { "dependencies": {
"@bull-board/api": "4.12.1", "@bull-board/api": "4.12.1",
...@@ -185,4 +195,4 @@ ...@@ -185,4 +195,4 @@
"jest": "29.4.3", "jest": "29.4.3",
"jest-mock": "29.4.3" "jest-mock": "29.4.3"
} }
} }
\ No newline at end of file
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
"autosize": "5.0.2", "autosize": "5.0.2",
"blurhash": "2.0.5", "blurhash": "2.0.5",
"broadcast-channel": "4.20.2", "broadcast-channel": "4.20.2",
"browser-image-resizer": "git+https://github.com/misskey-dev/browser-image-resizer#v2.2.1-misskey.3", "browser-image-resizer": "github:misskey-dev/browser-image-resizer#v2.2.1-misskey.3",
"canvas-confetti": "1.6.0", "canvas-confetti": "1.6.0",
"chart.js": "4.2.1", "chart.js": "4.2.1",
"chartjs-adapter-date-fns": "3.0.0", "chartjs-adapter-date-fns": "3.0.0",
...@@ -63,9 +63,9 @@ ...@@ -63,9 +63,9 @@
"typescript": "4.9.5", "typescript": "4.9.5",
"uuid": "9.0.0", "uuid": "9.0.0",
"vanilla-tilt": "1.8.0", "vanilla-tilt": "1.8.0",
"vue-plyr": "7.0.0",
"vite": "4.1.2", "vite": "4.1.2",
"vue": "3.2.47", "vue": "3.2.47",
"vue-plyr": "7.0.0",
"vue-prism-editor": "2.0.0-alpha.2", "vue-prism-editor": "2.0.0-alpha.2",
"vuedraggable": "next" "vuedraggable": "next"
}, },
...@@ -96,4 +96,4 @@ ...@@ -96,4 +96,4 @@
"vue-eslint-parser": "9.1.0", "vue-eslint-parser": "9.1.0",
"vue-tsc": "1.1.4" "vue-tsc": "1.1.4"
} }
} }
\ No newline at end of file
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment