Commit 42483217 authored by chechunchi's avatar chechunchi

add vite-plugin-wasm-pack

parent 4b39364b
Pipeline #20673 failed with stages
in 1 minute and 57 seconds
......@@ -52,7 +52,7 @@
"sass": "^1.58.0",
"typescript": "^4.8.4",
"vite": "^3.1.0",
"vite-plugin-wasm": "^3.2.2"
"vite-plugin-wasm-pack": "^0.1.12"
}
},
"node_modules/@adobe/css-tools": {
......@@ -15209,6 +15209,13 @@
"node": ">=0.10.0"
}
},
"node_modules/narrowing": {
"version": "1.5.0",
"resolved": "http://bnpm.byted.org/narrowing/-/narrowing-1.5.0.tgz",
"integrity": "sha512-DUu4XdKgkfAPTAL28k79pdnshDE2W5T24QAnidSPo2F/W1TX6CjNzmEeXQfE5O1lxQvC0GYI6ZRDsLcyzugEYA==",
"dev": true,
"license": "MIT"
},
"node_modules/natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
......@@ -25915,13 +25922,54 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/vite-plugin-wasm": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/vite-plugin-wasm/-/vite-plugin-wasm-3.2.2.tgz",
"integrity": "sha512-cdbBUNR850AEoMd5nvLmnyeq63CSfoP1ctD/L2vLk/5+wsgAPlAVAzUK5nGKWO/jtehNlrSSHLteN+gFQw7VOA==",
"node_modules/vite-plugin-wasm-pack": {
"version": "0.1.12",
"resolved": "http://bnpm.byted.org/vite-plugin-wasm-pack/-/vite-plugin-wasm-pack-0.1.12.tgz",
"integrity": "sha512-WliYvQp9HXluir4OKGbngkcKxtYtifU11cqLurRRJGsl770Sjr1iIkp5RuvU3IC1poT4A57Z2/YgAKI2Skm7ZA==",
"dev": true,
"peerDependencies": {
"vite": "^2 || ^3 || ^4"
"license": "MIT",
"dependencies": {
"chalk": "^4.1.2",
"fs-extra": "^10.0.0",
"narrowing": "^1.4.0"
}
},
"node_modules/vite-plugin-wasm-pack/node_modules/fs-extra": {
"version": "10.1.0",
"resolved": "http://bnpm.byted.org/fs-extra/-/fs-extra-10.1.0.tgz",
"integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
"universalify": "^2.0.0"
},
"engines": {
"node": ">=12"
}
},
"node_modules/vite-plugin-wasm-pack/node_modules/jsonfile": {
"version": "6.1.0",
"resolved": "http://bnpm.byted.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dev": true,
"license": "MIT",
"dependencies": {
"universalify": "^2.0.0"
},
"optionalDependencies": {
"graceful-fs": "^4.1.6"
}
},
"node_modules/vite-plugin-wasm-pack/node_modules/universalify": {
"version": "2.0.0",
"resolved": "http://bnpm.byted.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": ">= 10.0.0"
}
},
"node_modules/vm-browserify": {
......@@ -27140,6 +27188,7 @@
}
},
"rust-src/pkg": {
"name": "rust-src",
"version": "0.1.0"
}
},
......@@ -38776,6 +38825,12 @@
}
}
},
"narrowing": {
"version": "1.5.0",
"resolved": "http://bnpm.byted.org/narrowing/-/narrowing-1.5.0.tgz",
"integrity": "sha512-DUu4XdKgkfAPTAL28k79pdnshDE2W5T24QAnidSPo2F/W1TX6CjNzmEeXQfE5O1lxQvC0GYI6ZRDsLcyzugEYA==",
"dev": true
},
"natural-compare": {
"version": "1.4.0",
"resolved": "https://registry.npmjs.org/natural-compare/-/natural-compare-1.4.0.tgz",
......@@ -47004,12 +47059,45 @@
}
}
},
"vite-plugin-wasm": {
"version": "3.2.2",
"resolved": "https://registry.npmjs.org/vite-plugin-wasm/-/vite-plugin-wasm-3.2.2.tgz",
"integrity": "sha512-cdbBUNR850AEoMd5nvLmnyeq63CSfoP1ctD/L2vLk/5+wsgAPlAVAzUK5nGKWO/jtehNlrSSHLteN+gFQw7VOA==",
"vite-plugin-wasm-pack": {
"version": "0.1.12",
"resolved": "http://bnpm.byted.org/vite-plugin-wasm-pack/-/vite-plugin-wasm-pack-0.1.12.tgz",
"integrity": "sha512-WliYvQp9HXluir4OKGbngkcKxtYtifU11cqLurRRJGsl770Sjr1iIkp5RuvU3IC1poT4A57Z2/YgAKI2Skm7ZA==",
"dev": true,
"requires": {}
"requires": {
"chalk": "^4.1.2",
"fs-extra": "^10.0.0",
"narrowing": "^1.4.0"
},
"dependencies": {
"fs-extra": {
"version": "10.1.0",
"resolved": "http://bnpm.byted.org/fs-extra/-/fs-extra-10.1.0.tgz",
"integrity": "sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==",
"dev": true,
"requires": {
"graceful-fs": "^4.2.0",
"jsonfile": "^6.0.1",
"universalify": "^2.0.0"
}
},
"jsonfile": {
"version": "6.1.0",
"resolved": "http://bnpm.byted.org/jsonfile/-/jsonfile-6.1.0.tgz",
"integrity": "sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==",
"dev": true,
"requires": {
"graceful-fs": "^4.1.6",
"universalify": "^2.0.0"
}
},
"universalify": {
"version": "2.0.0",
"resolved": "http://bnpm.byted.org/universalify/-/universalify-2.0.0.tgz",
"integrity": "sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==",
"dev": true
}
}
},
"vm-browserify": {
"version": "1.1.2",
......@@ -26,12 +26,12 @@
"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",
"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": "cd rust-src && wasm-pack build",
......@@ -75,6 +75,7 @@
"prettier": "^2.7.1",
"sass": "^1.58.0",
"typescript": "^4.8.4",
"vite": "^3.1.0"
"vite": "^3.1.0",
"vite-plugin-wasm-pack": "^0.1.12"
}
}
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