@serverless-devs/s3 3.0.0-c855adb0 → 3.0.1-026e56fe
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/bin/s.cmd +1 -0
- package/lib/daemon/lib.js +123 -123
- package/lib/index.js +575 -575
- package/package.json +16 -7
- package/readme.md +3 -3
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@serverless-devs/s3",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.1-026e56fe",
|
|
4
4
|
"description": "Serverless devs tool, serverless developer tool, supports Alibaba cloud, AWS, azure, baidu cloud, Huawei cloud, Google cloud and Tencent cloud.",
|
|
5
5
|
"homepage": "https://www.serverless-devs.com",
|
|
6
6
|
"keywords": [
|
|
@@ -33,13 +33,20 @@
|
|
|
33
33
|
"test:watch": "jest --testTimeout 10000 --watchAll",
|
|
34
34
|
"format": "prettier --write src/ __tests__/**/*.test.ts",
|
|
35
35
|
"watch": "npm run build -- --watch",
|
|
36
|
-
"prebuild": "
|
|
36
|
+
"prebuild": "cross-os prebuild",
|
|
37
37
|
"build": "node ./scripts/build.js",
|
|
38
38
|
"pkg": "pkg . --out-path releases",
|
|
39
39
|
"prepublishOnly": "npm run build",
|
|
40
40
|
"beta": "npm publish --tag=beta",
|
|
41
41
|
"pub": "npm publish"
|
|
42
42
|
},
|
|
43
|
+
"cross-os": {
|
|
44
|
+
"prebuild": {
|
|
45
|
+
"darwin": "rm -rf node_modules && npm install --production false",
|
|
46
|
+
"linux": "rm -rf node_modules && npm install --production false",
|
|
47
|
+
"win32": "rmdir /s /q node_modules && npm install --production false"
|
|
48
|
+
}
|
|
49
|
+
},
|
|
43
50
|
"pkg": {
|
|
44
51
|
"scripts": [
|
|
45
52
|
"./lib/daemon/**/*.js"
|
|
@@ -55,12 +62,12 @@
|
|
|
55
62
|
"devDependencies": {
|
|
56
63
|
"@serverless-devs/core": "^0.1.66",
|
|
57
64
|
"@serverless-devs/credential": "^0.0.3",
|
|
58
|
-
"@serverless-devs/engine": "^0.0.
|
|
65
|
+
"@serverless-devs/engine": "^0.0.25",
|
|
59
66
|
"@serverless-devs/load-application": "^0.0.10",
|
|
60
67
|
"@serverless-devs/load-component": "^0.0.6",
|
|
61
|
-
"@serverless-devs/logger": "^0.0.
|
|
68
|
+
"@serverless-devs/logger": "^0.0.4",
|
|
62
69
|
"@serverless-devs/parse-spec": "^0.0.21",
|
|
63
|
-
"@serverless-devs/registry": "^0.0.
|
|
70
|
+
"@serverless-devs/registry": "^0.0.5",
|
|
64
71
|
"@serverless-devs/utils": "^0.0.14",
|
|
65
72
|
"@types/fs-extra": "^11.0.4",
|
|
66
73
|
"@types/inquirer": "^9.0.7",
|
|
@@ -69,10 +76,12 @@
|
|
|
69
76
|
"@types/lodash": "^4.14.201",
|
|
70
77
|
"@types/node": "^20.9.1",
|
|
71
78
|
"@types/semver": "^7.5.5",
|
|
79
|
+
"ajv": "^8.12.0",
|
|
72
80
|
"axios": "^1.6.2",
|
|
73
81
|
"boxen": "^7.1.1",
|
|
74
82
|
"chalk": "^5.3.0",
|
|
75
83
|
"commander": "^11.1.0",
|
|
84
|
+
"cross-os": "^1.5.0",
|
|
76
85
|
"dotenv": "^16.3.1",
|
|
77
86
|
"dotenv-expand": "^10.0.0",
|
|
78
87
|
"esbuild": "^0.19.5",
|
|
@@ -91,11 +100,11 @@
|
|
|
91
100
|
"rimraf": "^5.0.5",
|
|
92
101
|
"semver": "^7.5.4",
|
|
93
102
|
"semver-diff": "^4.0.0",
|
|
103
|
+
"strip-ansi": "^7.1.0",
|
|
94
104
|
"table-layout": "^3.0.2",
|
|
95
105
|
"ts-jest": "^29.1.1",
|
|
96
106
|
"ts-node": "^10.9.1",
|
|
97
|
-
"typescript": "^5.2.2"
|
|
98
|
-
"ajv": "^8.12.0"
|
|
107
|
+
"typescript": "^5.2.2"
|
|
99
108
|
},
|
|
100
109
|
"lint-staged": {
|
|
101
110
|
"**/*.{js,jsx,ts}": "f2elint exec eslint"
|
package/readme.md
CHANGED
|
@@ -42,15 +42,15 @@
|
|
|
42
42
|
❶ 安装 Node.js(>=12.0.0) 与 NPM 包管理工具;
|
|
43
43
|
❷ 安装 Serverless Devs 开发者工具;
|
|
44
44
|
```shell script
|
|
45
|
-
$ npm install @serverless-devs/
|
|
45
|
+
$ npm install @serverless-devs/s -g
|
|
46
46
|
```
|
|
47
47
|
❸ 在命令行中执行命令`s`,并按回车,开启你的 Serverless 之旅;
|
|
48
48
|
|
|
49
|
-
> 更多详细信息可以参考[Serverless Devs 安装文档](./docs/zh/
|
|
49
|
+
> 更多详细信息可以参考[Serverless Devs 安装文档](./docs/zh/quick_start.md)和[快速入门指南](./docs/zh/quick_start.md)
|
|
50
50
|
|
|
51
51
|
# 帮助文档
|
|
52
52
|
|
|
53
|
-
- [安装文档](./docs/zh/
|
|
53
|
+
- [安装文档](./docs/zh/quick_start.md)
|
|
54
54
|
- [命令行操作](./docs/zh/command/readme.md)
|
|
55
55
|
- [Yaml规范](./docs/zh/yaml.md)
|
|
56
56
|
- [配置继承/多环境](./docs/zh/extend.md)
|