cicd
This commit is contained in:
parent
97a6514966
commit
bb437e1b5f
3 changed files with 17 additions and 38 deletions
|
|
@ -1,3 +0,0 @@
|
|||
> 1%
|
||||
last 2 versions
|
||||
not dead
|
||||
22
package.json
22
package.json
|
|
@ -17,11 +17,23 @@
|
|||
"url": "https://gitlab.com/crimata/electron-app.git",
|
||||
"release": "latest"
|
||||
},
|
||||
"build": {
|
||||
"artifactName": "${productName}-${version}.${ext}",
|
||||
"publish": {
|
||||
"provider": "generic",
|
||||
"url": "https://gitlab.com/api/v4/projects/25637892/jobs/artifacts/master/raw/dist?job=build"
|
||||
"vue": {
|
||||
"plugin-options": {
|
||||
|
||||
// Electron builder options.
|
||||
"electronBuilder": {
|
||||
"builderOptions": {
|
||||
"appId": "com.crimata.App",
|
||||
"productName": "Crimata Messenger",
|
||||
"artifactName": "${productName}-${version}.${ext}",
|
||||
"publish": {
|
||||
"provider": "generic",
|
||||
"url": "https://gitlab.com/api/v4/projects/25637892/jobs/artifacts/master/raw/dist?job=build"
|
||||
}
|
||||
},
|
||||
"preload": "src/preload.ts"
|
||||
}
|
||||
|
||||
}
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
|||
|
|
@ -1,30 +0,0 @@
|
|||
// NOTE needed imports for rust wasm
|
||||
// const path = require("path");
|
||||
// const WasmPackPlugin = require("@wasm-tool/wasm-pack-plugin");
|
||||
// const OptimizeWasmPlugin = require("optimize-wasm-webpack-plugin");
|
||||
|
||||
module.exports = {
|
||||
lintOnSave: false,
|
||||
configureWebpack: {
|
||||
// NOTE uncomment to use rust wasm
|
||||
// optimization: {
|
||||
// minimizer: [new OptimizeWasmPlugin()]
|
||||
// },
|
||||
// plugins: [
|
||||
// new WasmPackPlugin({
|
||||
// crateDirectory: path.resolve(__dirname, "crate")
|
||||
// })
|
||||
// ]
|
||||
},
|
||||
pluginOptions: {
|
||||
electronBuilder: {
|
||||
builderOptions: {
|
||||
// TODO electron-builder config https://www.electron.build/configuration/configuration
|
||||
appId: "com.crimata.messenger",
|
||||
productName: "Crimata Messenger",
|
||||
|
||||
},
|
||||
preload: "src/preload.ts"
|
||||
}
|
||||
}
|
||||
};
|
||||
Loading…
Reference in a new issue