@ollie-shop/cli 0.3.0 → 0.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.
Files changed (124) hide show
  1. package/.turbo/turbo-build.log +14 -2
  2. package/CHANGELOG.md +13 -0
  3. package/__tests__/mocks/core.ts +1 -1
  4. package/dist/index.d.ts +0 -2
  5. package/dist/index.js +40574 -75
  6. package/package.json +7 -6
  7. package/src/actions/component.actions.ts +31 -0
  8. package/src/actions/function.actions.ts +34 -0
  9. package/src/actions/project.actions.ts +6 -2
  10. package/src/commands/__tests__/store-version.test.ts +1 -4
  11. package/tsup.config.ts +15 -0
  12. package/dist/__tests__/helpers/cli-test-helper.d.ts +0 -89
  13. package/dist/__tests__/helpers/cli-test-helper.d.ts.map +0 -1
  14. package/dist/__tests__/helpers/cli-test-helper.js +0 -220
  15. package/dist/__tests__/mocks/index.d.ts +0 -69
  16. package/dist/__tests__/mocks/index.d.ts.map +0 -1
  17. package/dist/__tests__/mocks/index.js +0 -77
  18. package/dist/actions/component.actions.d.ts +0 -14
  19. package/dist/actions/component.actions.d.ts.map +0 -1
  20. package/dist/actions/component.actions.js +0 -273
  21. package/dist/actions/function.actions.d.ts +0 -15
  22. package/dist/actions/function.actions.d.ts.map +0 -1
  23. package/dist/actions/function.actions.js +0 -254
  24. package/dist/actions/project.actions.d.ts +0 -17
  25. package/dist/actions/project.actions.d.ts.map +0 -1
  26. package/dist/actions/project.actions.js +0 -97
  27. package/dist/actions/version.actions.d.ts +0 -19
  28. package/dist/actions/version.actions.d.ts.map +0 -1
  29. package/dist/actions/version.actions.js +0 -216
  30. package/dist/commands/component.d.ts +0 -3
  31. package/dist/commands/component.d.ts.map +0 -1
  32. package/dist/commands/component.js +0 -192
  33. package/dist/commands/docs.d.ts +0 -3
  34. package/dist/commands/docs.d.ts.map +0 -1
  35. package/dist/commands/docs.js +0 -16
  36. package/dist/commands/function.d.ts +0 -3
  37. package/dist/commands/function.d.ts.map +0 -1
  38. package/dist/commands/function.js +0 -243
  39. package/dist/commands/help.d.ts +0 -3
  40. package/dist/commands/help.d.ts.map +0 -1
  41. package/dist/commands/help.js +0 -20
  42. package/dist/commands/index.d.ts +0 -3
  43. package/dist/commands/index.d.ts.map +0 -1
  44. package/dist/commands/index.js +0 -26
  45. package/dist/commands/login.d.ts +0 -3
  46. package/dist/commands/login.d.ts.map +0 -1
  47. package/dist/commands/login.js +0 -175
  48. package/dist/commands/project.d.ts +0 -3
  49. package/dist/commands/project.d.ts.map +0 -1
  50. package/dist/commands/project.js +0 -78
  51. package/dist/commands/store-version.d.ts +0 -3
  52. package/dist/commands/store-version.d.ts.map +0 -1
  53. package/dist/commands/store-version.js +0 -241
  54. package/dist/commands/version.d.ts +0 -3
  55. package/dist/commands/version.d.ts.map +0 -1
  56. package/dist/commands/version.js +0 -46
  57. package/dist/commands/whoami.d.ts +0 -3
  58. package/dist/commands/whoami.d.ts.map +0 -1
  59. package/dist/commands/whoami.js +0 -41
  60. package/dist/index.d.ts.map +0 -1
  61. package/dist/prompts/component.prompts.d.ts +0 -14
  62. package/dist/prompts/component.prompts.d.ts.map +0 -1
  63. package/dist/prompts/component.prompts.js +0 -75
  64. package/dist/prompts/function.prompts.d.ts +0 -21
  65. package/dist/prompts/function.prompts.d.ts.map +0 -1
  66. package/dist/prompts/function.prompts.js +0 -127
  67. package/dist/schemas/command.schema.d.ts +0 -516
  68. package/dist/schemas/command.schema.d.ts.map +0 -1
  69. package/dist/schemas/command.schema.js +0 -267
  70. package/dist/types/index.d.ts +0 -147
  71. package/dist/types/index.d.ts.map +0 -1
  72. package/dist/types/index.js +0 -18
  73. package/dist/utils/auth.d.ts +0 -4
  74. package/dist/utils/auth.d.ts.map +0 -1
  75. package/dist/utils/auth.js +0 -26
  76. package/dist/utils/cli-progress-reporter.d.ts +0 -12
  77. package/dist/utils/cli-progress-reporter.d.ts.map +0 -1
  78. package/dist/utils/cli-progress-reporter.js +0 -77
  79. package/dist/utils/command-builder.d.ts +0 -22
  80. package/dist/utils/command-builder.d.ts.map +0 -1
  81. package/dist/utils/command-builder.js +0 -268
  82. package/dist/utils/command-helpers.d.ts +0 -19
  83. package/dist/utils/command-helpers.d.ts.map +0 -1
  84. package/dist/utils/command-helpers.js +0 -79
  85. package/dist/utils/command-parser.d.ts +0 -146
  86. package/dist/utils/command-parser.d.ts.map +0 -1
  87. package/dist/utils/command-parser.js +0 -179
  88. package/dist/utils/command-suggestions.d.ts +0 -35
  89. package/dist/utils/command-suggestions.d.ts.map +0 -1
  90. package/dist/utils/command-suggestions.js +0 -152
  91. package/dist/utils/console.d.ts +0 -44
  92. package/dist/utils/console.d.ts.map +0 -1
  93. package/dist/utils/console.js +0 -233
  94. package/dist/utils/constants.d.ts +0 -8
  95. package/dist/utils/constants.d.ts.map +0 -1
  96. package/dist/utils/constants.js +0 -10
  97. package/dist/utils/context-detector.d.ts +0 -12
  98. package/dist/utils/context-detector.d.ts.map +0 -1
  99. package/dist/utils/context-detector.js +0 -155
  100. package/dist/utils/enhanced-error-handler.d.ts +0 -47
  101. package/dist/utils/enhanced-error-handler.d.ts.map +0 -1
  102. package/dist/utils/enhanced-error-handler.js +0 -221
  103. package/dist/utils/error-handler.d.ts +0 -3
  104. package/dist/utils/error-handler.d.ts.map +0 -1
  105. package/dist/utils/error-handler.js +0 -55
  106. package/dist/utils/errors.d.ts +0 -44
  107. package/dist/utils/errors.d.ts.map +0 -1
  108. package/dist/utils/errors.js +0 -76
  109. package/dist/utils/interactive-builder.d.ts +0 -22
  110. package/dist/utils/interactive-builder.d.ts.map +0 -1
  111. package/dist/utils/interactive-builder.js +0 -246
  112. package/dist/utils/rich-progress.d.ts +0 -59
  113. package/dist/utils/rich-progress.d.ts.map +0 -1
  114. package/dist/utils/rich-progress.js +0 -234
  115. package/dist/utils/store.d.ts +0 -11
  116. package/dist/utils/store.d.ts.map +0 -1
  117. package/dist/utils/store.js +0 -19
  118. package/dist/utils/validation-error-formatter.d.ts +0 -25
  119. package/dist/utils/validation-error-formatter.d.ts.map +0 -1
  120. package/dist/utils/validation-error-formatter.js +0 -258
  121. package/dist/utils/validation-helpers.d.ts +0 -60
  122. package/dist/utils/validation-helpers.d.ts.map +0 -1
  123. package/dist/utils/validation-helpers.js +0 -152
  124. package/src/commands/__tests__/version.test.ts +0 -71
@@ -1,4 +1,16 @@
1
1
 
2
- > @ollie-shop/cli@0.3.0 build /home/runner/work/ollie-shop/ollie-shop/packages/cli
3
- > tsc
2
+ > @ollie-shop/cli@0.3.2 build /home/runner/work/ollie-shop/ollie-shop/packages/cli
3
+ > tsup
4
4
 
5
+ CLI Building entry: src/index.ts
6
+ CLI Using tsconfig: tsconfig.json
7
+ CLI tsup v8.5.0
8
+ CLI Using tsup config: /home/runner/work/ollie-shop/ollie-shop/packages/cli/tsup.config.ts
9
+ CLI Target: node18
10
+ CLI Cleaning output folder
11
+ CJS Build start
12
+ DTS Build start
13
+ CJS dist/index.js 1.64 MB
14
+ CJS ⚡️ Build success in 21571ms
15
+ DTS ⚡️ Build success in 26776ms
16
+ DTS dist/index.d.ts 20.00 B
package/CHANGELOG.md CHANGED
@@ -1,5 +1,18 @@
1
1
  # @ollie-shop/cli
2
2
 
3
+ ## 0.3.2
4
+
5
+ ### Patch Changes
6
+
7
+ - c716964: Fix package / build issues regarding cli access on npm
8
+ - 462581c: Fix function and component creation validation, warning about not implemented commands on cli
9
+
10
+ ## 0.3.1
11
+
12
+ ### Patch Changes
13
+
14
+ - 0ed5f22: Small tweak to test
15
+
3
16
  ## 0.3.0
4
17
 
5
18
  ### Minor Changes
@@ -3,7 +3,7 @@ import {
3
3
  componentFactory,
4
4
  functionFactory,
5
5
  versionFactory,
6
- } from "@ollie-shop/core/__tests__/factories";
6
+ } from "@ollie-shop/core/testing";
7
7
  import { vi } from "vitest";
8
8
 
9
9
  // Mock the services from core
package/dist/index.d.ts CHANGED
@@ -1,3 +1 @@
1
1
  #!/usr/bin/env node
2
- export {};
3
- //# sourceMappingURL=index.d.ts.map