]> Repos - mime-chat/commitdiff
cicd
authorAndrew Gundersen <gundersena@xavier.edu>
Tue, 13 Apr 2021 17:27:03 +0000 (12:27 -0500)
committerAndrew Gundersen <gundersena@xavier.edu>
Tue, 13 Apr 2021 17:27:03 +0000 (12:27 -0500)
.browserslistrc [deleted file]
package.json
vue.config.js [deleted file]

diff --git a/.browserslistrc b/.browserslistrc
deleted file mode 100644 (file)
index 214388f..0000000
+++ /dev/null
@@ -1,3 +0,0 @@
-> 1%
-last 2 versions
-not dead
index dfd278be9570e3014857f3c8b21c7df0e6ae865c..93b0b2ed1c35e90675db97713ba0b7eb33784190 100644 (file)
     "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": {
diff --git a/vue.config.js b/vue.config.js
deleted file mode 100644 (file)
index f2ae6a0..0000000
+++ /dev/null
@@ -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"
-    }
-  }
-};