@ms-cloudpack/cli 0.39.11 → 0.39.13

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 (80) hide show
  1. package/lib/commands/bundle/bundle.d.ts +2 -1
  2. package/lib/commands/bundle/bundle.d.ts.map +1 -1
  3. package/lib/commands/bundle/bundle.js +2 -3
  4. package/lib/commands/bundle/bundle.js.map +1 -1
  5. package/lib/commands/bundle/index.d.ts +2 -2
  6. package/lib/commands/bundle/index.d.ts.map +1 -1
  7. package/lib/commands/bundle/index.js +3 -3
  8. package/lib/commands/bundle/index.js.map +1 -1
  9. package/lib/commands/dashboard/index.d.ts +2 -2
  10. package/lib/commands/dashboard/index.d.ts.map +1 -1
  11. package/lib/commands/dashboard/index.js +2 -2
  12. package/lib/commands/dashboard/index.js.map +1 -1
  13. package/lib/commands/init/bundleAndGetImports.d.ts +2 -0
  14. package/lib/commands/init/bundleAndGetImports.d.ts.map +1 -1
  15. package/lib/commands/init/bundleAndGetImports.js +1 -2
  16. package/lib/commands/init/bundleAndGetImports.js.map +1 -1
  17. package/lib/commands/init/index.d.ts +2 -2
  18. package/lib/commands/init/index.d.ts.map +1 -1
  19. package/lib/commands/init/index.js +4 -5
  20. package/lib/commands/init/index.js.map +1 -1
  21. package/lib/commands/init/init.d.ts +2 -1
  22. package/lib/commands/init/init.d.ts.map +1 -1
  23. package/lib/commands/init/init.js +3 -6
  24. package/lib/commands/init/init.js.map +1 -1
  25. package/lib/commands/start/appServer/startAppServer.d.ts +3 -1
  26. package/lib/commands/start/appServer/startAppServer.d.ts.map +1 -1
  27. package/lib/commands/start/appServer/startAppServer.js +1 -2
  28. package/lib/commands/start/appServer/startAppServer.js.map +1 -1
  29. package/lib/commands/start/createBundleTask.d.ts +2 -1
  30. package/lib/commands/start/createBundleTask.d.ts.map +1 -1
  31. package/lib/commands/start/createBundleTask.js +2 -2
  32. package/lib/commands/start/createBundleTask.js.map +1 -1
  33. package/lib/commands/start/createSession.d.ts +2 -1
  34. package/lib/commands/start/createSession.d.ts.map +1 -1
  35. package/lib/commands/start/createSession.js +2 -2
  36. package/lib/commands/start/createSession.js.map +1 -1
  37. package/lib/commands/start/index.d.ts +2 -2
  38. package/lib/commands/start/index.d.ts.map +1 -1
  39. package/lib/commands/start/index.js +3 -3
  40. package/lib/commands/start/index.js.map +1 -1
  41. package/lib/commands/start/start.d.ts +2 -1
  42. package/lib/commands/start/start.d.ts.map +1 -1
  43. package/lib/commands/start/start.js +4 -4
  44. package/lib/commands/start/start.js.map +1 -1
  45. package/lib/commands/start/startBundleServer.d.ts +3 -1
  46. package/lib/commands/start/startBundleServer.d.ts.map +1 -1
  47. package/lib/commands/start/startBundleServer.js +5 -5
  48. package/lib/commands/start/startBundleServer.js.map +1 -1
  49. package/lib/index.d.ts.map +1 -1
  50. package/lib/index.js +6 -5
  51. package/lib/index.js.map +1 -1
  52. package/lib/initReporter.d.ts +4 -0
  53. package/lib/initReporter.d.ts.map +1 -0
  54. package/lib/initReporter.js +7 -0
  55. package/lib/initReporter.js.map +1 -0
  56. package/lib/initTelemetry.d.ts +2 -1
  57. package/lib/initTelemetry.d.ts.map +1 -1
  58. package/lib/initTelemetry.js +4 -1
  59. package/lib/initTelemetry.js.map +1 -1
  60. package/lib/tasks/bundleTask.d.ts +3 -1
  61. package/lib/tasks/bundleTask.d.ts.map +1 -1
  62. package/lib/tasks/bundleTask.js +10 -5
  63. package/lib/tasks/bundleTask.js.map +1 -1
  64. package/lib/tasks/resolveDependenciesTask.d.ts +2 -1
  65. package/lib/tasks/resolveDependenciesTask.d.ts.map +1 -1
  66. package/lib/tasks/resolveDependenciesTask.js +3 -3
  67. package/lib/tasks/resolveDependenciesTask.js.map +1 -1
  68. package/lib/types/CommandFunction.d.ts +6 -0
  69. package/lib/types/CommandFunction.d.ts.map +1 -0
  70. package/lib/types/CommandFunction.js +2 -0
  71. package/lib/types/CommandFunction.js.map +1 -0
  72. package/lib/types/TaskContext.d.ts +5 -0
  73. package/lib/types/TaskContext.d.ts.map +1 -0
  74. package/lib/types/TaskContext.js +2 -0
  75. package/lib/types/TaskContext.js.map +1 -0
  76. package/package.json +4 -4
  77. package/lib/reporter.d.ts +0 -5
  78. package/lib/reporter.d.ts.map +0 -1
  79. package/lib/reporter.js +0 -9
  80. package/lib/reporter.js.map +0 -1
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=CommandFunction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"CommandFunction.js","sourceRoot":"","sources":["../../src/types/CommandFunction.ts"],"names":[],"mappings":"","sourcesContent":["import type { Command } from 'commander';\nimport type { TaskContext } from './TaskContext.js';\n\nexport type CommandFunction = (options: TaskContext & { command: Command }) => void;\n"]}
@@ -0,0 +1,5 @@
1
+ import type { TaskReporter } from '@ms-cloudpack/task-reporter';
2
+ export interface TaskContext {
3
+ reporter: TaskReporter;
4
+ }
5
+ //# sourceMappingURL=TaskContext.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskContext.d.ts","sourceRoot":"","sources":["../../src/types/TaskContext.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,6BAA6B,CAAC;AAEhE,MAAM,WAAW,WAAW;IAC1B,QAAQ,EAAE,YAAY,CAAC;CACxB"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=TaskContext.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"TaskContext.js","sourceRoot":"","sources":["../../src/types/TaskContext.ts"],"names":[],"mappings":"","sourcesContent":["import type { TaskReporter } from '@ms-cloudpack/task-reporter';\n\nexport interface TaskContext {\n reporter: TaskReporter;\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/cli",
3
- "version": "0.39.11",
3
+ "version": "0.39.13",
4
4
  "description": "The Cloudpack command line interface - a tool for managing fast inner and outer looping in web apps.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -10,8 +10,8 @@
10
10
  "cloudpack": "./bin/cloudpack.js"
11
11
  },
12
12
  "dependencies": {
13
- "@ms-cloudpack/api-server": "^0.6.16",
14
- "@ms-cloudpack/bundler": "^0.13.2",
13
+ "@ms-cloudpack/api-server": "^0.6.17",
14
+ "@ms-cloudpack/bundler": "^0.13.3",
15
15
  "@ms-cloudpack/config": "^0.7.4",
16
16
  "@ms-cloudpack/create-express-app": "^1.3.7",
17
17
  "@ms-cloudpack/data-bus": "^0.3.0",
@@ -20,7 +20,7 @@
20
20
  "@ms-cloudpack/package-utilities": "^3.1.5",
21
21
  "@ms-cloudpack/path-string-parsing": "^1.0.2",
22
22
  "@ms-cloudpack/path-utilities": "^2.3.0",
23
- "@ms-cloudpack/task-reporter": "^0.5.0",
23
+ "@ms-cloudpack/task-reporter": "^0.5.1",
24
24
  "@ms-cloudpack/telemetry": "^0.3.3",
25
25
  "chokidar": "^3.5.3",
26
26
  "commander": "^10.0.0",
package/lib/reporter.d.ts DELETED
@@ -1,5 +0,0 @@
1
- import { TaskReporter, type TaskReporterOptions } from '@ms-cloudpack/task-reporter';
2
- export declare const reporter: TaskReporter;
3
- export declare function setReporterOptions(options: TaskReporterOptions): void;
4
- export { noLoggingConfig, defaultLoggingConfig, verboseLoggingConfig, debugLoggingConfig, } from '@ms-cloudpack/task-reporter';
5
- //# sourceMappingURL=reporter.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reporter.d.ts","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,KAAK,mBAAmB,EAAE,MAAM,6BAA6B,CAAC;AAErF,eAAO,MAAM,QAAQ,cAAqB,CAAC;AAI3C,wBAAgB,kBAAkB,CAAC,OAAO,EAAE,mBAAmB,QAI9D;AAED,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC"}
package/lib/reporter.js DELETED
@@ -1,9 +0,0 @@
1
- import { TaskReporter } from '@ms-cloudpack/task-reporter';
2
- export const reporter = new TaskReporter();
3
- let lastOptions = {};
4
- export function setReporterOptions(options) {
5
- lastOptions = { ...lastOptions, ...options };
6
- reporter.setOptions(lastOptions);
7
- }
8
- export { noLoggingConfig, defaultLoggingConfig, verboseLoggingConfig, debugLoggingConfig, } from '@ms-cloudpack/task-reporter';
9
- //# sourceMappingURL=reporter.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"reporter.js","sourceRoot":"","sources":["../src/reporter.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAA4B,MAAM,6BAA6B,CAAC;AAErF,MAAM,CAAC,MAAM,QAAQ,GAAG,IAAI,YAAY,EAAE,CAAC;AAE3C,IAAI,WAAW,GAAG,EAAE,CAAC;AAErB,MAAM,UAAU,kBAAkB,CAAC,OAA4B;IAC7D,WAAW,GAAG,EAAE,GAAG,WAAW,EAAE,GAAG,OAAO,EAAE,CAAC;IAE7C,QAAQ,CAAC,UAAU,CAAC,WAAW,CAAC,CAAC;AACnC,CAAC;AAED,OAAO,EACL,eAAe,EACf,oBAAoB,EACpB,oBAAoB,EACpB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC","sourcesContent":["import { TaskReporter, type TaskReporterOptions } from '@ms-cloudpack/task-reporter';\n\nexport const reporter = new TaskReporter();\n\nlet lastOptions = {};\n\nexport function setReporterOptions(options: TaskReporterOptions) {\n lastOptions = { ...lastOptions, ...options };\n\n reporter.setOptions(lastOptions);\n}\n\nexport {\n noLoggingConfig,\n defaultLoggingConfig,\n verboseLoggingConfig,\n debugLoggingConfig,\n} from '@ms-cloudpack/task-reporter';\n"]}