Browse Source

wat

master
Daniel Hübleitner 2 years ago
parent
commit
19e011d518
4 changed files with 8 additions and 19 deletions
  1. 0
    13
      package-lock.json
  2. 2
    1
      package.json
  3. 3
    2
      src/backend/UpdateManger.ts
  4. 3
    3
      src/backend/webpack.prod.js

+ 0
- 13
package-lock.json View File

@@ -3471,23 +3471,10 @@
3471 3471
         "v8flags": "^3.1.3"
3472 3472
       },
3473 3473
       "dependencies": {
3474
-        "debug": {
3475
-          "version": "4.1.1",
3476
-          "resolved": "https://registry.npmjs.org/debug/-/debug-4.1.1.tgz",
3477
-          "integrity": "sha512-pYAIzeRo8J6KPEaJ0VWOh5Pzkbw/RetuzehGM7QRRX5he4fPHx2rdKMB256ehJCkX+XRQm16eZLqLNS8RSZXZw==",
3478
-          "requires": {
3479
-            "ms": "^2.1.1"
3480
-          }
3481
-        },
3482 3474
         "inherits": {
3483 3475
           "version": "2.0.4",
3484 3476
           "resolved": "https://registry.npmjs.org/inherits/-/inherits-2.0.4.tgz",
3485 3477
           "integrity": "sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ=="
3486
-        },
3487
-        "ms": {
3488
-          "version": "2.1.2",
3489
-          "resolved": "https://registry.npmjs.org/ms/-/ms-2.1.2.tgz",
3490
-          "integrity": "sha512-sGkPx+VjMtmA6MX27oA4FBFELFCZZ4S4XqeGOXCv68tT+jb3vk/RyaKWP0PTKyWtmLSM0b+adUTEvbs1PEaH2w=="
3491 3478
         }
3492 3479
       }
3493 3480
     },

+ 2
- 1
package.json View File

@@ -4,7 +4,7 @@
4 4
   "version": "1.0.0",
5 5
   "scripts": {
6 6
     "tsc": "tsc",
7
-    "start": "npm run build; node lib/FrontblockAdmin.js",
7
+    "start": "npm run build; node dist/FrontblockAdmin.js",
8 8
     "build": "npm run clean; npm run build-backend",
9 9
     "build-backend": "tsc; npm run webpack",
10 10
     "build-frontend": "npm run build-dashboard",
@@ -31,6 +31,7 @@
31 31
     "git-cherrypicker": "0.0.3",
32 32
     "git-describe": "^4.0.4",
33 33
     "http": "0.0.0",
34
+    "knex": "^0.19.2",
34 35
     "log4js": "^4.4.0",
35 36
     "lowdb": "^1.0.0",
36 37
     "node-fetch": "^2.6.0",

+ 3
- 2
src/backend/UpdateManger.ts View File

@@ -87,8 +87,9 @@ export class UpdateManager extends Plugin{
87 87
 */      
88 88
 
89 89
         const extensions = [
90
-            new NPMExtension("knex", "./plugins", "0.19.2",),
91
-            new NPMExtension("sqlite3", "./plugins", "4.1.0")
90
+            new NPMExtension("sqlite3", "./plugins", "4.1.0"),
91
+            new NPMExtension("frontblock", "./plugins", "latest")
92
+
92 93
         ]
93 94
 
94 95
 

+ 3
- 3
src/backend/webpack.prod.js View File

@@ -19,9 +19,9 @@ module.exports = [{
19 19
     __dirname: false,
20 20
     Buffer: true,
21 21
   },
22
-  externals:[
23
-    'knex'
24
-  ],
22
+  externals:{
23
+    sqlite3: 'sqlite3',
24
+  },
25 25
   optimization: {
26 26
     minimize: false
27 27
   },

Loading…
Cancel
Save