@cloudbase/cli 2.3.0 → 2.3.2

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.
@@ -1,86 +1,86 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <meta charset="utf-8" />
5
- <meta name="viewport" content="width=device-width, initial-scale=1" />
6
- <title>CloudBase CLI</title>
7
-
8
- <style media="screen">
9
- body {
10
- background: #eceff1;
11
- color: rgba(0, 0, 0, 0.87);
12
- font-family: Roboto, Helvetica, Arial, sans-serif;
13
- margin: 0;
14
- padding: 0;
15
- }
16
- #message {
17
- background: white;
18
- max-width: 360px;
19
- margin: 100px auto 16px;
20
- padding: 32px 24px 8px;
21
- border-radius: 3px;
22
- }
23
- #message h2 {
24
- color: #026EFF;
25
- font-weight: bold;
26
- font-size: 16px;
27
- margin: 0 0 8px;
28
- }
29
- #message h1 {
30
- font-size: 22px;
31
- font-weight: 300;
32
- color: rgba(0, 0, 0, 0.6);
33
- margin: 0 0 16px;
34
- }
35
- #message p {
36
- line-height: 140%;
37
- margin: 16px 0 24px;
38
- font-size: 14px;
39
- }
40
- #message a {
41
- display: block;
42
- text-align: center;
43
- background: #026EFF;
44
- text-transform: uppercase;
45
- text-decoration: none;
46
- color: white;
47
- padding: 16px;
48
- border-radius: 4px;
49
- }
50
- #message,
51
- #message a {
52
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
53
- }
54
- #load {
55
- color: rgba(0, 0, 0, 0.4);
56
- text-align: center;
57
- font-size: 13px;
58
- }
59
- @media (max-width: 600px) {
60
- body,
61
- #message {
62
- margin-top: 0;
63
- background: white;
64
- box-shadow: none;
65
- }
66
- body {
67
- border-top: 16px solid #026EFF;
68
- }
69
- }
70
-
71
- code {
72
- font-size: 18px;
73
- color: #999;
74
- }
75
- </style>
76
- </head>
77
- <body>
78
- <div id="message">
79
- <h2>恭喜 🎉🎉</h2>
80
- <h1>CloudBase CLI 授权成功!</h1>
81
- <p>
82
- 您已经登录成功,您可以直接关闭这个窗口,开始使用 CloudBase CLI!
83
- </p>
84
- </div>
85
- </body>
86
- </html>
1
+ <!DOCTYPE html>
2
+ <html>
3
+ <head>
4
+ <meta charset="utf-8" />
5
+ <meta name="viewport" content="width=device-width, initial-scale=1" />
6
+ <title>CloudBase CLI</title>
7
+
8
+ <style media="screen">
9
+ body {
10
+ background: #eceff1;
11
+ color: rgba(0, 0, 0, 0.87);
12
+ font-family: Roboto, Helvetica, Arial, sans-serif;
13
+ margin: 0;
14
+ padding: 0;
15
+ }
16
+ #message {
17
+ background: white;
18
+ max-width: 360px;
19
+ margin: 100px auto 16px;
20
+ padding: 32px 24px 8px;
21
+ border-radius: 3px;
22
+ }
23
+ #message h2 {
24
+ color: #026EFF;
25
+ font-weight: bold;
26
+ font-size: 16px;
27
+ margin: 0 0 8px;
28
+ }
29
+ #message h1 {
30
+ font-size: 22px;
31
+ font-weight: 300;
32
+ color: rgba(0, 0, 0, 0.6);
33
+ margin: 0 0 16px;
34
+ }
35
+ #message p {
36
+ line-height: 140%;
37
+ margin: 16px 0 24px;
38
+ font-size: 14px;
39
+ }
40
+ #message a {
41
+ display: block;
42
+ text-align: center;
43
+ background: #026EFF;
44
+ text-transform: uppercase;
45
+ text-decoration: none;
46
+ color: white;
47
+ padding: 16px;
48
+ border-radius: 4px;
49
+ }
50
+ #message,
51
+ #message a {
52
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.12), 0 1px 2px rgba(0, 0, 0, 0.24);
53
+ }
54
+ #load {
55
+ color: rgba(0, 0, 0, 0.4);
56
+ text-align: center;
57
+ font-size: 13px;
58
+ }
59
+ @media (max-width: 600px) {
60
+ body,
61
+ #message {
62
+ margin-top: 0;
63
+ background: white;
64
+ box-shadow: none;
65
+ }
66
+ body {
67
+ border-top: 16px solid #026EFF;
68
+ }
69
+ }
70
+
71
+ code {
72
+ font-size: 18px;
73
+ color: #999;
74
+ }
75
+ </style>
76
+ </head>
77
+ <body>
78
+ <div id="message">
79
+ <h2>恭喜 🎉🎉</h2>
80
+ <h1>CloudBase CLI 授权成功!</h1>
81
+ <p>
82
+ 您已经登录成功,您可以直接关闭这个窗口,开始使用 CloudBase CLI!
83
+ </p>
84
+ </div>
85
+ </body>
86
+ </html>
@@ -1,54 +1,54 @@
1
- # Logs
2
- logs
3
- *.log
4
- npm-debug.log*
5
- yarn-debug.log*
6
- yarn-error.log*
7
-
8
- # Runtime data
9
- pids
10
- *.pid
11
- *.seed
12
- *.pid.lock
13
-
14
- # Directory for instrumented libs generated by jscoverage/JSCover
15
- lib-cov
16
-
17
- # Coverage directory used by tools like istanbul
18
- coverage
19
-
20
- # nyc test coverage
21
- .nyc_output
22
-
23
- # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24
- .grunt
25
-
26
- # Bower dependency directory (https://bower.io/)
27
- bower_components
28
-
29
- # node-waf configuration
30
- .lock-wscript
31
-
32
- # Compiled binary addons (http://nodejs.org/api/addons.html)
33
- build/Release
34
-
35
- # Dependency directories
36
- node_modules/
37
-
38
- # Optional npm cache directory
39
- .npm
40
-
41
- # Optional eslint cache
42
- .eslintcache
43
-
44
- # Optional REPL history
45
- .node_repl_history
46
-
47
- # Output of 'npm pack'
48
- *.zip
49
-
50
- # Yarn Integrity file
51
- .yarn-integrity
52
-
53
- # dotenv environment variables file
54
- .env
1
+ # Logs
2
+ logs
3
+ *.log
4
+ npm-debug.log*
5
+ yarn-debug.log*
6
+ yarn-error.log*
7
+
8
+ # Runtime data
9
+ pids
10
+ *.pid
11
+ *.seed
12
+ *.pid.lock
13
+
14
+ # Directory for instrumented libs generated by jscoverage/JSCover
15
+ lib-cov
16
+
17
+ # Coverage directory used by tools like istanbul
18
+ coverage
19
+
20
+ # nyc test coverage
21
+ .nyc_output
22
+
23
+ # Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
24
+ .grunt
25
+
26
+ # Bower dependency directory (https://bower.io/)
27
+ bower_components
28
+
29
+ # node-waf configuration
30
+ .lock-wscript
31
+
32
+ # Compiled binary addons (http://nodejs.org/api/addons.html)
33
+ build/Release
34
+
35
+ # Dependency directories
36
+ node_modules/
37
+
38
+ # Optional npm cache directory
39
+ .npm
40
+
41
+ # Optional eslint cache
42
+ .eslintcache
43
+
44
+ # Optional REPL history
45
+ .node_repl_history
46
+
47
+ # Output of 'npm pack'
48
+ *.zip
49
+
50
+ # Yarn Integrity file
51
+ .yarn-integrity
52
+
53
+ # dotenv environment variables file
54
+ .env
@@ -1,10 +1,10 @@
1
- {
2
- "envId": "{{envId}}",
3
- "servers": [
4
- {
5
- "type": "node",
6
- "name": "helloworld",
7
- "path": "./"
8
- }
9
- ]
10
- }
1
+ {
2
+ "envId": "{{envId}}",
3
+ "servers": [
4
+ {
5
+ "type": "node",
6
+ "name": "helloworld",
7
+ "path": "./"
8
+ }
9
+ ]
10
+ }
@@ -1,6 +1,6 @@
1
- const express = require('express')
2
- const app = express()
3
-
4
- app.get('/', (req, res) => res.send('Hello World!'))
5
-
1
+ const express = require('express')
2
+ const app = express()
3
+
4
+ app.get('/', (req, res) => res.send('Hello World!'))
5
+
6
6
  app.listen(5000, () => console.log('Example app listening on port 5000!'))
@@ -1,9 +1,9 @@
1
- {
2
- "name": "helloworld",
3
- "version": "0.0.1",
4
- "description": "helloworld for cloudbase",
5
- "main": "index.js",
6
- "dependencies": {
7
- "express": "^4.16.4"
8
- }
9
- }
1
+ {
2
+ "name": "helloworld",
3
+ "version": "0.0.1",
4
+ "description": "helloworld for cloudbase",
5
+ "main": "index.js",
6
+ "dependencies": {
7
+ "express": "^4.16.4"
8
+ }
9
+ }
package/tsconfig.json CHANGED
@@ -1,19 +1,19 @@
1
- {
2
- "compilerOptions": {
3
- "module": "commonjs",
4
- "target": "es2015",
5
- "moduleResolution": "node",
6
- "outDir": "lib",
7
- "removeComments": true,
8
- "types": ["node"],
9
- "skipLibCheck": true,
10
- "esModuleInterop": true,
11
- "declaration": true,
12
- "declarationDir": "./types",
13
- "experimentalDecorators": true,
14
- "emitDecoratorMetadata": true,
15
- "newLine": "LF"
16
- },
17
- "include": ["src/**/*"],
18
- "exclude": ["node_modules", "test"]
19
- }
1
+ {
2
+ "compilerOptions": {
3
+ "module": "commonjs",
4
+ "target": "es2015",
5
+ "moduleResolution": "node",
6
+ "outDir": "lib",
7
+ "removeComments": true,
8
+ "types": ["node"],
9
+ "skipLibCheck": true,
10
+ "esModuleInterop": true,
11
+ "declaration": true,
12
+ "declarationDir": "./types",
13
+ "experimentalDecorators": true,
14
+ "emitDecoratorMetadata": true,
15
+ "newLine": "LF"
16
+ },
17
+ "include": ["src/**/*"],
18
+ "exclude": ["node_modules", "test"]
19
+ }
@@ -1,13 +1,13 @@
1
- {
2
- "compileOnSave": true,
3
- "compilerOptions": {
4
- "module": "commonjs",
5
- "target": "ES2017",
6
- "moduleResolution": "node",
7
- "outDir": "lib",
8
- "types": ["node", "jest"],
9
- "esModuleInterop": true
10
- },
11
- "include": ["src/**/*", "test/**/*"],
12
- "exclude": ["node_modules", "test"]
13
- }
1
+ {
2
+ "compileOnSave": true,
3
+ "compilerOptions": {
4
+ "module": "commonjs",
5
+ "target": "ES2017",
6
+ "moduleResolution": "node",
7
+ "outDir": "lib",
8
+ "types": ["node", "jest"],
9
+ "esModuleInterop": true
10
+ },
11
+ "include": ["src/**/*", "test/**/*"],
12
+ "exclude": ["node_modules", "test"]
13
+ }