@live-change/db-admin 0.8.6 → 0.8.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/front/vite.config.js +4 -2
- package/package.json +9 -9
- package/server/init.js +1 -1
- package/server/start.js +12 -0
- package/server/services.config.js +0 -4
package/front/vite.config.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import path from 'path'
|
|
2
|
+
import { fileURLToPath } from 'url';
|
|
2
3
|
import vuePlugin from '@vitejs/plugin-vue'
|
|
3
4
|
import { defineConfig, searchForWorkspaceRoot } from 'vite'
|
|
4
5
|
import findFreePorts from "find-free-ports"
|
|
@@ -25,8 +26,9 @@ export default defineConfig(async ({ command, mode }) => {
|
|
|
25
26
|
},
|
|
26
27
|
fs: {
|
|
27
28
|
allow: [
|
|
28
|
-
|
|
29
|
-
|
|
29
|
+
searchForWorkspaceRoot(process.cwd()),
|
|
30
|
+
path.dirname(fileURLToPath(import.meta.resolve('primeicons/package.json'))),
|
|
31
|
+
path.dirname(fileURLToPath(import.meta.resolve('@fortawesome/fontawesome-free/package.json'))),
|
|
30
32
|
],
|
|
31
33
|
}
|
|
32
34
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@live-change/db-admin",
|
|
3
|
-
"version": "0.8.
|
|
3
|
+
"version": "0.8.7",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"memDev": "node server/start.js memDev --initScript ./init.js --dbAccess",
|
|
6
6
|
"localDevInit": "rm tmp.db; lcli localDev --initScript ./init.js --dbAccess",
|
|
@@ -18,12 +18,12 @@
|
|
|
18
18
|
},
|
|
19
19
|
"type": "module",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@live-change/dao": "^0.8.
|
|
22
|
-
"@live-change/dao-vue3": "^0.8.
|
|
23
|
-
"@live-change/dao-websocket": "^0.8.
|
|
24
|
-
"@live-change/framework": "^0.8.
|
|
25
|
-
"@live-change/vue3-components": "^0.8.
|
|
26
|
-
"@live-change/vue3-ssr": "^0.8.
|
|
21
|
+
"@live-change/dao": "^0.8.7",
|
|
22
|
+
"@live-change/dao-vue3": "^0.8.7",
|
|
23
|
+
"@live-change/dao-websocket": "^0.8.7",
|
|
24
|
+
"@live-change/framework": "^0.8.7",
|
|
25
|
+
"@live-change/vue3-components": "^0.8.7",
|
|
26
|
+
"@live-change/vue3-ssr": "^0.8.7",
|
|
27
27
|
"@vitejs/plugin-vue": "^5.0.4",
|
|
28
28
|
"@vueuse/core": "^10.7.2",
|
|
29
29
|
"@vueuse/head": "^2.0.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"vue3-scroll-border": "0.1.6"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
|
-
"@live-change/codeceptjs-helper": "^0.8.
|
|
53
|
+
"@live-change/codeceptjs-helper": "^0.8.7",
|
|
54
54
|
"@wdio/selenium-standalone-service": "^8.15.0",
|
|
55
55
|
"codeceptjs": "^3.5.12",
|
|
56
56
|
"generate-password": "1.7.1",
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"author": "",
|
|
63
63
|
"license": "ISC",
|
|
64
64
|
"description": "",
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "b00392ddc91b273e8e7b6d2bdf543f8fe0aec0ca"
|
|
66
66
|
}
|
package/server/init.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import App from '@live-change/framework'
|
|
2
2
|
const app = App.app()
|
|
3
3
|
|
|
4
|
-
|
|
4
|
+
export default async function(services) {
|
|
5
5
|
|
|
6
6
|
await app.dao.request(['database', 'createDatabase', 'testDb'])
|
|
7
7
|
await app.dao.request(['database', 'createTable', 'testDb', 'testTable1'])
|
package/server/start.js
ADDED