@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.
Files changed (86) hide show
  1. package/Makefile +23 -0
  2. package/lib/clean/index.js +35 -31
  3. package/lib/cli/cli-manager.js +12 -18
  4. package/lib/cli/index.js +54 -52
  5. package/lib/component/index.js +51 -144
  6. package/lib/config/add/index.js +42 -38
  7. package/lib/config/delete/index.js +47 -45
  8. package/lib/config/get/index.js +45 -41
  9. package/lib/config/index.js +36 -32
  10. package/lib/core/command/command-manager.js +9 -11
  11. package/lib/core/component/hook.js +4 -4
  12. package/lib/core/component/index.js +13 -13
  13. package/lib/error/human-error.js +5 -5
  14. package/lib/error/human-warning.js +4 -4
  15. package/lib/error/index.js +39 -45
  16. package/lib/index.js +113 -120
  17. package/lib/init/index.js +101 -97
  18. package/lib/init/init-manager.js +66 -19
  19. package/lib/onboarding/index.js +5 -5
  20. package/lib/set/analysis/index.js +38 -34
  21. package/lib/set/index.js +36 -32
  22. package/lib/set/locale/index.js +51 -49
  23. package/lib/set/registry/index.js +50 -48
  24. package/lib/set/workspace/index.js +39 -35
  25. package/lib/specification/parse.js +11 -15
  26. package/lib/update-notifier/index.js +17 -17
  27. package/lib/utils/command-util.js +74 -57
  28. package/lib/utils/common.js +98 -13
  29. package/lib/utils/index.js +3 -3
  30. package/package.json +4 -3
  31. package/.eslintrc.json +0 -112
  32. package/.prettierrc.json +0 -11
  33. package/lib/clean/index.d.ts +0 -1
  34. package/lib/cli/cli-manager.d.ts +0 -13
  35. package/lib/cli/index.d.ts +0 -2
  36. package/lib/component/index.d.ts +0 -1
  37. package/lib/config/add/index.d.ts +0 -1
  38. package/lib/config/common/common.d.ts +0 -46
  39. package/lib/config/delete/index.d.ts +0 -2
  40. package/lib/config/get/index.d.ts +0 -1
  41. package/lib/config/index.d.ts +0 -2
  42. package/lib/constants/index.d.ts +0 -0
  43. package/lib/constants/static-variable.d.ts +0 -4
  44. package/lib/core/command/command-manager.d.ts +0 -12
  45. package/lib/core/component/hook.d.ts +0 -17
  46. package/lib/core/component/index.d.ts +0 -53
  47. package/lib/core/index.d.ts +0 -2
  48. package/lib/core/plugin/index.d.ts +0 -13
  49. package/lib/entiry/cli.d.ts +0 -27
  50. package/lib/entiry/index.d.ts +0 -2
  51. package/lib/error/command-error.d.ts +0 -5
  52. package/lib/error/config-delete-error.d.ts +0 -5
  53. package/lib/error/config-error.d.ts +0 -5
  54. package/lib/error/config-get-error.d.ts +0 -5
  55. package/lib/error/human-error.d.ts +0 -13
  56. package/lib/error/human-warning.d.ts +0 -8
  57. package/lib/error/index.d.ts +0 -17
  58. package/lib/error/init-error.d.ts +0 -5
  59. package/lib/error/serverless-error.d.ts +0 -4
  60. package/lib/execDaemon.d.ts +0 -6
  61. package/lib/index.d.ts +0 -2
  62. package/lib/init/index.d.ts +0 -2
  63. package/lib/init/init-config.d.ts +0 -43
  64. package/lib/init/init-manager.d.ts +0 -17
  65. package/lib/onboarding/index.d.ts +0 -2
  66. package/lib/set/analysis/index.d.ts +0 -1
  67. package/lib/set/index.d.ts +0 -1
  68. package/lib/set/locale/index.d.ts +0 -1
  69. package/lib/set/registry/index.d.ts +0 -10
  70. package/lib/set/workspace/index.d.ts +0 -1
  71. package/lib/specification/analysis.d.ts +0 -12
  72. package/lib/specification/index.d.ts +0 -4
  73. package/lib/specification/parse.d.ts +0 -24
  74. package/lib/specification/version.d.ts +0 -35
  75. package/lib/update-notifier/index.d.ts +0 -10
  76. package/lib/utils/command-util.d.ts +0 -18
  77. package/lib/utils/common.d.ts +0 -28
  78. package/lib/utils/core.d.ts +0 -3
  79. package/lib/utils/handler-set-config.d.ts +0 -19
  80. package/lib/utils/i18n/en.d.ts +0 -44
  81. package/lib/utils/i18n/index.d.ts +0 -2
  82. package/lib/utils/i18n/zh.d.ts +0 -44
  83. package/lib/utils/index.d.ts +0 -9
  84. package/lib/utils/logger.d.ts +0 -11
  85. package/lib/utils/storage.d.ts +0 -8
  86. 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