poad 2.5.10 → 2.5.11
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/package.json +1 -1
- package/poad.js +2 -1
- package/poad/config.toml +0 -20
package/package.json
CHANGED
package/poad.js
CHANGED
|
@@ -79,7 +79,8 @@ const checkVersion = async () => {
|
|
|
79
79
|
}
|
|
80
80
|
return new Promise((resolve, reject) => {
|
|
81
81
|
const packageName = 'poad';
|
|
82
|
-
const
|
|
82
|
+
const npmCmd = process.platform === 'win32' ? 'npm.cmd' : 'npm';
|
|
83
|
+
const child = spawn(`${npmCmd} view ${packageName} version`, {
|
|
83
84
|
shell: true,
|
|
84
85
|
});
|
|
85
86
|
|
package/poad/config.toml
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
project_id = "cli"
|
|
2
|
-
project_uuid = "yb3ds1bcwfaifz5s6j4g"
|
|
3
|
-
engine = "0.5.3"
|
|
4
|
-
[db]
|
|
5
|
-
port = 3356
|
|
6
|
-
[web]
|
|
7
|
-
port = 58170
|
|
8
|
-
[s3]
|
|
9
|
-
port = 52426
|
|
10
|
-
access_key = "0f94767ec7272a5f10cc6b9d0154b89d7f62e544283d01b2b9ae516f45fe41b0"
|
|
11
|
-
secret_key = "4102914c2de34646b6502c447a68f66ed5189c17bc8836e63d0f158e0943bf8f"
|
|
12
|
-
region = "local"
|
|
13
|
-
[inbucket]
|
|
14
|
-
port = 24038
|
|
15
|
-
[auth]
|
|
16
|
-
jwt_expiry = 3600
|
|
17
|
-
secret = "8c54c57efafd419788d56fbd54fd2f4d13bcdc0d50d7d9110b6aaf9a01758c2d"
|
|
18
|
-
anon = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYW5vbiIsImlzcyI6InBvYWQiLCJpYXQiOjE3MjkzNjE5NDh9.OIv7JSYowOQimi4fSFZ3CZDzTUA1Eh6yuZNQSz-DQDI"
|
|
19
|
-
service = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoic2VydmljZSIsImlzcyI6InBvYWQiLCJpYXQiOjE3MjkzNjE5NDh9.6xTSE2ZBQaaIIugAQkHE0ZMgmCiBCOa5P0aa6IT0hrg"
|
|
20
|
-
admin = "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJyb2xlIjoiYWRtaW4iLCJpc3MiOiJwb2FkIiwiaWF0IjoxNzI5MzYxOTQ4fQ.jHDr_3Cwyz_HtJhyzc2UbGLjBRtEHpZ4MuOelwOCFzE"
|