@k3000/s1 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- package/admin/base.mjs +1 -1
- package/admin/index.mjs +1 -1
- package/admin/monitor/server.mjs +1 -1
- package/admin/service.mjs +1 -1
- package/admin/tool/gen.mjs +1 -1
- package/app/index.mjs +2 -2
- package/bin.mjs +2 -0
- package/build.mjs +2 -2
- package/common/tools.mjs +1 -1
- package/jwt/index.mjs +1 -1
- package/package.json +1 -1
- package/proxy/index.mjs +1 -1
- package/store1/index.mjs +1 -1
- package/store1/tool.mjs +1 -1
package/admin/base.mjs
CHANGED
package/admin/index.mjs
CHANGED
package/admin/monitor/server.mjs
CHANGED
package/admin/service.mjs
CHANGED
package/admin/tool/gen.mjs
CHANGED
package/app/index.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
import {Express} from "
|
1
|
+
import {Express} from "@k3000/express";
|
2
2
|
import bodyParser from "body-parser";
|
3
3
|
import {appServicePort} from "../common/config.mjs";
|
4
4
|
|
@@ -6,4 +6,4 @@ const app = new Express({
|
|
6
6
|
port: appServicePort,
|
7
7
|
callback: () => console.log('running on ' + appServicePort),
|
8
8
|
})
|
9
|
-
app.use(bodyParser.urlencoded({extended: true}));
|
9
|
+
app.use(bodyParser.urlencoded({extended: true}));
|
package/bin.mjs
CHANGED
@@ -79,6 +79,8 @@ function init(override) {
|
|
79
79
|
pm2.exec('npm i @k3000/server').log()
|
80
80
|
pm2.exec('npm i @k3000/store').log()
|
81
81
|
pm2.exec('npm i @k3000/tools').log()
|
82
|
+
pm2.exec('npm i @k3000/info').log()
|
83
|
+
pm2.exec('npm i @k3000/build').log()
|
82
84
|
pm2.exec('npm i svg-captcha').log()
|
83
85
|
pm2.exec('npm i mysql2').log()
|
84
86
|
pm2.exec('npm i ssh2').log()
|
package/build.mjs
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
/*import {build} from '
|
1
|
+
/*import {build} from '@k3000/build'
|
2
2
|
|
3
3
|
// build('admin', 'index', 'admin') // 打包
|
4
4
|
// build('jwt', 'index', 'jwt') // 打包
|
@@ -11,7 +11,7 @@ build('test', {
|
|
11
11
|
// import './test/index.mjs'
|
12
12
|
import './index2.mjs'
|
13
13
|
|
14
|
-
/*import {build} from '
|
14
|
+
/*import {build} from '@k3000/build'
|
15
15
|
|
16
16
|
// build('admin', 'index', 'admin') // 打包
|
17
17
|
// build('jwt', 'index', 'jwt') // 打包
|
package/common/tools.mjs
CHANGED
package/jwt/index.mjs
CHANGED
package/package.json
CHANGED
package/proxy/index.mjs
CHANGED
package/store1/index.mjs
CHANGED
package/store1/tool.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
import {colIncludes, page, Pools, rowSlice, update} from "../common/tools.mjs";
|
2
2
|
import store, {getStruct, remark} from "./store/index.mjs";
|
3
|
-
import Query from "
|
3
|
+
import Query from "@k3000/mysql";
|
4
4
|
import {mysql, serverDir} from "../common/config.mjs";
|
5
5
|
import {
|
6
6
|
columnNameNotEdit,
|