@serverless-devs/s 2.0.97-beta.1 → 2.0.97-beta.10
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/Makefile +23 -0
- package/lib/clean/index.js +35 -31
- package/lib/cli/cli-manager.js +12 -18
- package/lib/cli/index.js +54 -52
- package/lib/component/index.js +51 -144
- package/lib/config/add/index.js +42 -38
- package/lib/config/delete/index.js +47 -45
- package/lib/config/get/index.js +45 -41
- package/lib/config/index.js +36 -32
- package/lib/core/command/command-manager.js +9 -11
- package/lib/core/component/hook.js +4 -4
- package/lib/core/component/index.js +13 -13
- package/lib/error/human-error.js +5 -5
- package/lib/error/human-warning.js +4 -4
- package/lib/error/index.js +39 -45
- package/lib/index.js +113 -120
- package/lib/init/index.js +101 -97
- package/lib/init/init-manager.js +66 -19
- package/lib/onboarding/index.js +5 -5
- package/lib/set/analysis/index.js +38 -34
- package/lib/set/index.js +36 -32
- package/lib/set/locale/index.js +51 -49
- package/lib/set/registry/index.js +50 -48
- package/lib/set/workspace/index.js +39 -35
- package/lib/specification/parse.js +11 -15
- package/lib/update-notifier/index.js +17 -17
- package/lib/utils/command-util.js +74 -57
- package/lib/utils/common.js +98 -13
- package/lib/utils/index.js +3 -3
- package/package.json +4 -3
- package/.eslintrc.json +0 -112
- package/.prettierrc.json +0 -11
- package/lib/clean/index.d.ts +0 -1
- package/lib/cli/cli-manager.d.ts +0 -13
- package/lib/cli/index.d.ts +0 -2
- package/lib/component/index.d.ts +0 -1
- package/lib/config/add/index.d.ts +0 -1
- package/lib/config/common/common.d.ts +0 -46
- package/lib/config/delete/index.d.ts +0 -2
- package/lib/config/get/index.d.ts +0 -1
- package/lib/config/index.d.ts +0 -2
- package/lib/constants/index.d.ts +0 -0
- package/lib/constants/static-variable.d.ts +0 -4
- package/lib/core/command/command-manager.d.ts +0 -12
- package/lib/core/component/hook.d.ts +0 -17
- package/lib/core/component/index.d.ts +0 -53
- package/lib/core/index.d.ts +0 -2
- package/lib/core/plugin/index.d.ts +0 -13
- package/lib/entiry/cli.d.ts +0 -27
- package/lib/entiry/index.d.ts +0 -2
- package/lib/error/command-error.d.ts +0 -5
- package/lib/error/config-delete-error.d.ts +0 -5
- package/lib/error/config-error.d.ts +0 -5
- package/lib/error/config-get-error.d.ts +0 -5
- package/lib/error/human-error.d.ts +0 -13
- package/lib/error/human-warning.d.ts +0 -8
- package/lib/error/index.d.ts +0 -17
- package/lib/error/init-error.d.ts +0 -5
- package/lib/error/serverless-error.d.ts +0 -4
- package/lib/execDaemon.d.ts +0 -6
- package/lib/index.d.ts +0 -2
- package/lib/init/index.d.ts +0 -2
- package/lib/init/init-config.d.ts +0 -43
- package/lib/init/init-manager.d.ts +0 -17
- package/lib/onboarding/index.d.ts +0 -2
- package/lib/set/analysis/index.d.ts +0 -1
- package/lib/set/index.d.ts +0 -1
- package/lib/set/locale/index.d.ts +0 -1
- package/lib/set/registry/index.d.ts +0 -10
- package/lib/set/workspace/index.d.ts +0 -1
- package/lib/specification/analysis.d.ts +0 -12
- package/lib/specification/index.d.ts +0 -4
- package/lib/specification/parse.d.ts +0 -24
- package/lib/specification/version.d.ts +0 -35
- package/lib/update-notifier/index.d.ts +0 -10
- package/lib/utils/command-util.d.ts +0 -18
- package/lib/utils/common.d.ts +0 -28
- package/lib/utils/core.d.ts +0 -3
- package/lib/utils/handler-set-config.d.ts +0 -19
- package/lib/utils/i18n/en.d.ts +0 -44
- package/lib/utils/i18n/index.d.ts +0 -2
- package/lib/utils/i18n/zh.d.ts +0 -44
- package/lib/utils/index.d.ts +0 -9
- package/lib/utils/logger.d.ts +0 -11
- package/lib/utils/storage.d.ts +0 -8
- package/lib/utils/url-parser.d.ts +0 -15
package/Makefile
ADDED
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
.PHONY: push
|
|
2
|
+
|
|
3
|
+
CURRENT_BRANCH_NAME := $(shell git symbolic-ref --short HEAD)
|
|
4
|
+
|
|
5
|
+
add:
|
|
6
|
+
git add .
|
|
7
|
+
|
|
8
|
+
commit: add
|
|
9
|
+
git-cz
|
|
10
|
+
|
|
11
|
+
rebase-main: commit
|
|
12
|
+
git pull --rebase origin main
|
|
13
|
+
|
|
14
|
+
push:
|
|
15
|
+
git push --force-with-lease origin $(CURRENT_BRANCH_NAME)
|
|
16
|
+
|
|
17
|
+
release-dev:
|
|
18
|
+
gh release create 2.0.97-beta.9 --notes "release 2.0.97-beta.9" --target develop --title "Release 2.0.97-beta.9" --prerelease
|
|
19
|
+
|
|
20
|
+
roll-back-dev:
|
|
21
|
+
git reset --soft HEAD~1
|
|
22
|
+
git restore --staged publish.yaml
|
|
23
|
+
git restore publish.yaml
|