@ms-cloudpack/cli 0.35.2 → 0.35.4

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 (101) hide show
  1. package/lib/cloudpack.d.ts +1 -0
  2. package/lib/cloudpack.d.ts.map +1 -0
  3. package/lib/commands/bundle/bundle.d.ts +1 -0
  4. package/lib/commands/bundle/bundle.d.ts.map +1 -0
  5. package/lib/commands/bundle/index.d.ts +1 -0
  6. package/lib/commands/bundle/index.d.ts.map +1 -0
  7. package/lib/commands/bundle/types.d.ts +1 -0
  8. package/lib/commands/bundle/types.d.ts.map +1 -0
  9. package/lib/commands/dashboard/index.d.ts +1 -0
  10. package/lib/commands/dashboard/index.d.ts.map +1 -0
  11. package/lib/commands/init/evaluateImportsForOverrides.d.ts +1 -0
  12. package/lib/commands/init/evaluateImportsForOverrides.d.ts.map +1 -0
  13. package/lib/commands/init/findImports.d.ts +1 -0
  14. package/lib/commands/init/findImports.d.ts.map +1 -0
  15. package/lib/commands/init/getImportsFromBundle.d.ts +1 -0
  16. package/lib/commands/init/getImportsFromBundle.d.ts.map +1 -0
  17. package/lib/commands/init/index.d.ts +1 -0
  18. package/lib/commands/init/index.d.ts.map +1 -0
  19. package/lib/commands/init/init.d.ts +1 -0
  20. package/lib/commands/init/init.d.ts.map +1 -0
  21. package/lib/commands/init/patchAllInternalPackageExports.d.ts +1 -0
  22. package/lib/commands/init/patchAllInternalPackageExports.d.ts.map +1 -0
  23. package/lib/commands/init/patchPackageExports.d.ts +1 -0
  24. package/lib/commands/init/patchPackageExports.d.ts.map +1 -0
  25. package/lib/commands/init/preparePackageOverride.d.ts +1 -0
  26. package/lib/commands/init/preparePackageOverride.d.ts.map +1 -0
  27. package/lib/commands/init/types.d.ts +1 -0
  28. package/lib/commands/init/types.d.ts.map +1 -0
  29. package/lib/commands/start/appServer/createRoutes.d.ts +1 -0
  30. package/lib/commands/start/appServer/createRoutes.d.ts.map +1 -0
  31. package/lib/commands/start/appServer/exitIfPortUnavailable.d.ts +1 -0
  32. package/lib/commands/start/appServer/exitIfPortUnavailable.d.ts.map +1 -0
  33. package/lib/commands/start/appServer/getDefaultHtmlResponse.d.ts +1 -0
  34. package/lib/commands/start/appServer/getDefaultHtmlResponse.d.ts.map +1 -0
  35. package/lib/commands/start/appServer/getHtmlResponse.d.ts +1 -0
  36. package/lib/commands/start/appServer/getHtmlResponse.d.ts.map +1 -0
  37. package/lib/commands/start/appServer/handleSessionVersion.d.ts +1 -0
  38. package/lib/commands/start/appServer/handleSessionVersion.d.ts.map +1 -0
  39. package/lib/commands/start/appServer/inlineScripts/errorHandler.inline.d.ts +1 -0
  40. package/lib/commands/start/appServer/inlineScripts/errorHandler.inline.d.ts.map +1 -0
  41. package/lib/commands/start/appServer/inlineScripts/getInlineScripts.d.ts +1 -0
  42. package/lib/commands/start/appServer/inlineScripts/getInlineScripts.d.ts.map +1 -0
  43. package/lib/commands/start/appServer/inlineScripts/pageLoadTimeMeasure.inline.d.ts +1 -0
  44. package/lib/commands/start/appServer/inlineScripts/pageLoadTimeMeasure.inline.d.ts.map +1 -0
  45. package/lib/commands/start/appServer/log.d.ts +1 -0
  46. package/lib/commands/start/appServer/log.d.ts.map +1 -0
  47. package/lib/commands/start/appServer/setHeaders.d.ts +1 -0
  48. package/lib/commands/start/appServer/setHeaders.d.ts.map +1 -0
  49. package/lib/commands/start/appServer/startAppServer.d.ts +1 -0
  50. package/lib/commands/start/appServer/startAppServer.d.ts.map +1 -0
  51. package/lib/commands/start/createBundleTask.d.ts +1 -0
  52. package/lib/commands/start/createBundleTask.d.ts.map +1 -0
  53. package/lib/commands/start/createSession.d.ts +1 -0
  54. package/lib/commands/start/createSession.d.ts.map +1 -0
  55. package/lib/commands/start/index.d.ts +1 -0
  56. package/lib/commands/start/index.d.ts.map +1 -0
  57. package/lib/commands/start/openBrowser.d.ts +1 -0
  58. package/lib/commands/start/openBrowser.d.ts.map +1 -0
  59. package/lib/commands/start/parseRequestInfo.d.ts +1 -0
  60. package/lib/commands/start/parseRequestInfo.d.ts.map +1 -0
  61. package/lib/commands/start/start.d.ts +1 -0
  62. package/lib/commands/start/start.d.ts.map +1 -0
  63. package/lib/commands/start/start.js +1 -1
  64. package/lib/commands/start/start.js.map +1 -1
  65. package/lib/commands/start/startBundleServer.d.ts +1 -0
  66. package/lib/commands/start/startBundleServer.d.ts.map +1 -0
  67. package/lib/commands/start/types.d.ts +1 -0
  68. package/lib/commands/start/types.d.ts.map +1 -0
  69. package/lib/common/createPackageOverrideTransform.d.ts +1 -0
  70. package/lib/common/createPackageOverrideTransform.d.ts.map +1 -0
  71. package/lib/common/findPackageOverride.d.ts +1 -0
  72. package/lib/common/findPackageOverride.d.ts.map +1 -0
  73. package/lib/common/getBundleDetails.d.ts +1 -0
  74. package/lib/common/getBundleDetails.d.ts.map +1 -0
  75. package/lib/common/getCachePath.d.ts +1 -0
  76. package/lib/common/getCachePath.d.ts.map +1 -0
  77. package/lib/common/prepareOutputPath.d.ts +1 -0
  78. package/lib/common/prepareOutputPath.d.ts.map +1 -0
  79. package/lib/index.d.ts +1 -0
  80. package/lib/index.d.ts.map +1 -0
  81. package/lib/initTelemetry.d.ts +1 -0
  82. package/lib/initTelemetry.d.ts.map +1 -0
  83. package/lib/performance/markers.d.ts +1 -0
  84. package/lib/performance/markers.d.ts.map +1 -0
  85. package/lib/performance/registerPerformanceObservers.d.ts +1 -0
  86. package/lib/performance/registerPerformanceObservers.d.ts.map +1 -0
  87. package/lib/reporter.d.ts +1 -0
  88. package/lib/reporter.d.ts.map +1 -0
  89. package/lib/tasks/bundleTask.d.ts +1 -0
  90. package/lib/tasks/bundleTask.d.ts.map +1 -0
  91. package/lib/tasks/bundleTaskWorker.d.ts +1 -0
  92. package/lib/tasks/bundleTaskWorker.d.ts.map +1 -0
  93. package/lib/tasks/formatBundleErrors.d.ts +1 -0
  94. package/lib/tasks/formatBundleErrors.d.ts.map +1 -0
  95. package/lib/tasks/getFileSizeSync.d.ts +1 -0
  96. package/lib/tasks/getFileSizeSync.d.ts.map +1 -0
  97. package/lib/tasks/resolveDependenciesTask.d.ts +1 -0
  98. package/lib/tasks/resolveDependenciesTask.d.ts.map +1 -0
  99. package/lib/types.d.ts +1 -0
  100. package/lib/types.d.ts.map +1 -0
  101. package/package.json +6 -6
@@ -1,2 +1,3 @@
1
1
  #!/usr/bin/env node
2
2
  export {};
3
+ //# sourceMappingURL=cloudpack.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"cloudpack.d.ts","sourceRoot":"","sources":["../src/cloudpack.ts"],"names":[],"mappings":""}
@@ -1,2 +1,3 @@
1
1
  import type { BundleOptions } from './types.js';
2
2
  export declare function bundle(options?: BundleOptions): Promise<void>;
3
+ //# sourceMappingURL=bundle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundle.d.ts","sourceRoot":"","sources":["../../../src/commands/bundle/bundle.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC;AAKhD,wBAAsB,MAAM,CAAC,OAAO,CAAC,EAAE,aAAa,iBAwBnD"}
@@ -1,2 +1,3 @@
1
1
  import type { Command } from 'commander';
2
2
  export declare function init(command: Command): void;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/bundle/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,wBAAgB,IAAI,CAAC,OAAO,EAAE,OAAO,QAOpC"}
@@ -12,3 +12,4 @@ export interface BundleOptions {
12
12
  */
13
13
  outdir?: string;
14
14
  }
15
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/bundle/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAE5B;;OAEG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB"}
@@ -1,2 +1,3 @@
1
1
  import type { Command } from 'commander';
2
2
  export declare function init(command: Command): void;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/dashboard/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEzC,wBAAgB,IAAI,CAAC,OAAO,EAAE,OAAO,QAKpC"}
@@ -18,3 +18,4 @@ export declare function evaluateImportsForOverrides(options: {
18
18
  changeCount: number;
19
19
  errors: string[];
20
20
  }>;
21
+ //# sourceMappingURL=evaluateImportsForOverrides.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"evaluateImportsForOverrides.d.ts","sourceRoot":"","sources":["../../../src/commands/init/evaluateImportsForOverrides.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AACxF,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;GAGG;AACH,wBAAsB,2BAA2B,CAAC,OAAO,EAAE;IACzD,QAAQ,EAAE,uBAAuB,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,OAAO,EAAE,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC;IAClC,UAAU,EAAE,WAAW,CAAC;IACxB,gBAAgB,EAAE,eAAe,EAAE,CAAC;IACpC,sBAAsB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IACpC,iBAAiB,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC;IAC/B,UAAU,EAAE,UAAU,CAAC;CACxB,GAAG,OAAO,CAAC;IAAE,WAAW,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,MAAM,EAAE,CAAA;CAAE,CAAC,CAkErD"}
@@ -3,3 +3,4 @@
3
3
  * Eg. { '@fluentui/react': new Set([ '.', './lib/Button' ]) }
4
4
  */
5
5
  export declare function findImports(filePaths: string[]): Promise<Record<string, Set<string>>>;
6
+ //# sourceMappingURL=findImports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findImports.d.ts","sourceRoot":"","sources":["../../../src/commands/init/findImports.ts"],"names":[],"mappings":"AAKA;;;GAGG;AACH,wBAAsB,WAAW,CAAC,SAAS,EAAE,MAAM,EAAE,GAAG,OAAO,CAAC,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,CAAC,CA0D3F"}
@@ -7,3 +7,4 @@ export declare function getImportsFromBundle(options: {
7
7
  packagePath: string;
8
8
  definition: PackageJson;
9
9
  }): Promise<Map<string, Set<string>> | undefined>;
10
+ //# sourceMappingURL=getImportsFromBundle.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getImportsFromBundle.d.ts","sourceRoot":"","sources":["../../../src/commands/init/getImportsFromBundle.ts"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,WAAW,EAAE,uBAAuB,EAAE,MAAM,6BAA6B,CAAC;AAMxF;;GAEG;AACH,wBAAsB,oBAAoB,CAAC,OAAO,EAAE;IAClD,QAAQ,EAAE,uBAAuB,CAAC;IAClC,WAAW,EAAE,MAAM,CAAC;IACpB,UAAU,EAAE,WAAW,CAAC;CACzB,GAAG,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,GAAG,CAAC,MAAM,CAAC,CAAC,GAAG,SAAS,CAAC,CAwDhD"}
@@ -1,2 +1,3 @@
1
1
  import type { Command } from 'commander';
2
2
  export declare function init(command: Command): void;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/init/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAQzC,wBAAgB,IAAI,CAAC,OAAO,EAAE,OAAO,QAmCpC"}
@@ -3,3 +3,4 @@ import type { InitOptions } from './types.js';
3
3
  export declare function init(options: InitOptions): Promise<{
4
4
  changeCount: number;
5
5
  }>;
6
+ //# sourceMappingURL=init.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"init.d.ts","sourceRoot":"","sources":["../../../src/commands/init/init.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,YAAY,CAAC;AAE9C,wFAAwF;AACxF,wBAAsB,IAAI,CAAC,OAAO,EAAE,WAAW,GAAG,OAAO,CAAC;IAAE,WAAW,EAAE,MAAM,CAAA;CAAE,CAAC,CAqGjF"}
@@ -8,3 +8,4 @@ export declare function patchAllInternalPackageExports(options: {
8
8
  resolveMap: ResolveMap;
9
9
  packageOverrides: PackageOverride[];
10
10
  }): Promise<void>;
11
+ //# sourceMappingURL=patchAllInternalPackageExports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchAllInternalPackageExports.d.ts","sourceRoot":"","sources":["../../../src/commands/init/patchAllInternalPackageExports.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,iCAAiC,CAAC;AAClE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;;GAGG;AACH,wBAAsB,8BAA8B,CAAC,OAAO,EAAE;IAC5D,UAAU,EAAE,UAAU,CAAC;IACvB,gBAAgB,EAAE,eAAe,EAAE,CAAC;CACrC,iBAcA"}
@@ -7,3 +7,4 @@ export declare function patchPackageExports(options: {
7
7
  mapEntry: ResolveMapEntry;
8
8
  packageOverrides: PackageOverride[];
9
9
  }): Promise<void>;
10
+ //# sourceMappingURL=patchPackageExports.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"patchPackageExports.d.ts","sourceRoot":"","sources":["../../../src/commands/init/patchPackageExports.ts"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,iCAAiC,CAAC;AACvE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAG5D;;GAEG;AACH,wBAAsB,mBAAmB,CAAC,OAAO,EAAE;IAAE,QAAQ,EAAE,eAAe,CAAC;IAAC,gBAAgB,EAAE,eAAe,EAAE,CAAA;CAAE,iBAqBpH"}
@@ -13,3 +13,4 @@ export declare function preparePackageOverride(options: {
13
13
  exports: PackageJsonExports;
14
14
  };
15
15
  };
16
+ //# sourceMappingURL=preparePackageOverride.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preparePackageOverride.d.ts","sourceRoot":"","sources":["../../../src/commands/init/preparePackageOverride.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,WAAW,EAAE,kBAAkB,EAAE,MAAM,6BAA6B,CAAC;AAEnF;;GAEG;AAEH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE;IAC9C,oBAAoB,EAAE,WAAW,CAAC;IAClC,OAAO,EAAE,kBAAkB,CAAC;IAC5B,UAAU,EAAE,OAAO,CAAC;IACpB,gBAAgB,EAAE,eAAe,EAAE,CAAC;CACrC,GAAG,eAAe,GAAG;IAAE,SAAS,EAAE;QAAE,OAAO,EAAE,kBAAkB,CAAA;KAAE,CAAA;CAAE,CA2BnE"}
@@ -19,3 +19,4 @@ export interface InitOptions {
19
19
  */
20
20
  check?: boolean;
21
21
  }
22
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/init/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,WAAW;IAC1B;;OAEG;IACH,GAAG,CAAC,EAAE,OAAO,CAAC;IAEd;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB"}
@@ -15,3 +15,4 @@ export declare function createRoutes({ app, url, session, definition, bundleServ
15
15
  apiServer: ApiServer;
16
16
  config: CloudpackConfig;
17
17
  }): void;
18
+ //# sourceMappingURL=createRoutes.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createRoutes.d.ts","sourceRoot":"","sources":["../../../../src/commands/start/appServer/createRoutes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAC/D,OAAO,KAAK,EAAE,OAAO,EAAqB,MAAM,kCAAkC,CAAC;AAKnF,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAMnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,wBAAgB,YAAY,CAAC,EAC3B,GAAG,EACH,GAAG,EACH,OAAO,EACP,UAAU,EACV,YAAY,EACZ,SAAS,EACT,MAAM,GACP,EAAE;IACD,GAAG,EAAE,OAAO,CAAC;IACb,GAAG,EAAE,MAAM,CAAC;IACZ,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,WAAW,CAAC;IACxB,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,eAAe,CAAC;CACzB,QAiEA"}
@@ -2,3 +2,4 @@
2
2
  * Report the error and exit if the port is already in use.
3
3
  */
4
4
  export declare function exitIfPortUnavailable(err: unknown, projectName: string, ports: number | number[]): void;
5
+ //# sourceMappingURL=exitIfPortUnavailable.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exitIfPortUnavailable.d.ts","sourceRoot":"","sources":["../../../../src/commands/start/appServer/exitIfPortUnavailable.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,wBAAgB,qBAAqB,CAAC,GAAG,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,QAehG"}
@@ -3,3 +3,4 @@ import type { CreateHtmlOptions, CreateHtmlResult } from '../../../types.js';
3
3
  * Return the default HTML response.
4
4
  */
5
5
  export declare function getDefaultHtmlResponse({ definition }: CreateHtmlOptions): CreateHtmlResult;
6
+ //# sourceMappingURL=getDefaultHtmlResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getDefaultHtmlResponse.d.ts","sourceRoot":"","sources":["../../../../src/commands/start/appServer/getDefaultHtmlResponse.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAE,MAAM,mBAAmB,CAAC;AAE7E;;GAEG;AACH,wBAAgB,sBAAsB,CAAC,EAAE,UAAU,EAAE,EAAE,iBAAiB,GAAG,gBAAgB,CAc1F"}
@@ -3,3 +3,4 @@ import type { CreateHtmlOptions, CreateHtmlResult } from '../../../types.js';
3
3
  * Get the HTML response for the given route. If the route has a custom render script, use that.
4
4
  */
5
5
  export declare function getHtmlResponse(options: CreateHtmlOptions): Promise<Exclude<CreateHtmlResult, string>>;
6
+ //# sourceMappingURL=getHtmlResponse.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getHtmlResponse.d.ts","sourceRoot":"","sources":["../../../../src/commands/start/appServer/getHtmlResponse.ts"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,iBAAiB,EAAE,gBAAgB,EAAwC,MAAM,mBAAmB,CAAC;AAKnH;;GAEG;AACH,wBAAsB,eAAe,CAAC,OAAO,EAAE,iBAAiB,GAAG,OAAO,CAAC,OAAO,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,CA2E5G"}
@@ -5,3 +5,4 @@ import type { Session } from '@ms-cloudpack/api-server';
5
5
  * Update the session with the latest refresh version.
6
6
  */
7
7
  export declare function handleSessionVersion(session: Session, req: Request): number;
8
+ //# sourceMappingURL=handleSessionVersion.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"handleSessionVersion.d.ts","sourceRoot":"","sources":["../../../../src/commands/start/appServer/handleSessionVersion.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,kCAAkC,CAAC;AAChE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAExD;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,OAAO,EAAE,OAAO,EAAE,GAAG,EAAE,OAAO,UASlE"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=errorHandler.inline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"errorHandler.inline.d.ts","sourceRoot":"","sources":["../../../../../src/commands/start/appServer/inlineScripts/errorHandler.inline.ts"],"names":[],"mappings":""}
@@ -1 +1,2 @@
1
1
  export declare function getInlineScripts(): Promise<string[]>;
2
+ //# sourceMappingURL=getInlineScripts.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getInlineScripts.d.ts","sourceRoot":"","sources":["../../../../../src/commands/start/appServer/inlineScripts/getInlineScripts.ts"],"names":[],"mappings":"AAWA,wBAAsB,gBAAgB,sBAQrC"}
@@ -1 +1,2 @@
1
1
  export {};
2
+ //# sourceMappingURL=pageLoadTimeMeasure.inline.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"pageLoadTimeMeasure.inline.d.ts","sourceRoot":"","sources":["../../../../../src/commands/start/appServer/inlineScripts/pageLoadTimeMeasure.inline.ts"],"names":[],"mappings":""}
@@ -1 +1,2 @@
1
1
  export declare const log: (...messages: unknown[]) => void;
2
+ //# sourceMappingURL=log.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"log.d.ts","sourceRoot":"","sources":["../../../../src/commands/start/appServer/log.ts"],"names":[],"mappings":"AACA,eAAO,MAAM,GAAG,gBAAiB,OAAO,EAAE,SAEzC,CAAC"}
@@ -8,3 +8,4 @@ export declare function setHeaders({ res, session, apiServer }: {
8
8
  session: Session;
9
9
  apiServer: ApiServer;
10
10
  }): void;
11
+ //# sourceMappingURL=setHeaders.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"setHeaders.d.ts","sourceRoot":"","sources":["../../../../src/commands/start/appServer/setHeaders.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnE;;GAEG;AACH,wBAAgB,UAAU,CAAC,EAAE,GAAG,EAAE,OAAO,EAAE,SAAS,EAAE,EAAE;IAAE,GAAG,EAAE,QAAQ,CAAC;IAAC,OAAO,EAAE,OAAO,CAAC;IAAC,SAAS,EAAE,SAAS,CAAA;CAAE,QAShH"}
@@ -21,3 +21,4 @@ export declare function startAppServer({ session, bundleServer, apiServer, defin
21
21
  port: number;
22
22
  url: string;
23
23
  }>;
24
+ //# sourceMappingURL=startAppServer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startAppServer.d.ts","sourceRoot":"","sources":["../../../../src/commands/start/appServer/startAppServer.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACtD,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,6BAA6B,CAAC;AAK/D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AAEnE;;;;;;;GAOG;AACH,wBAAsB,cAAc,CAAC,EACnC,OAAO,EACP,YAAY,EACZ,SAAS,EACT,UAAU,EACV,MAA8B,GAC/B,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,WAAW,CAAC;IACxB,YAAY,EAAE,YAAY,CAAC;IAC3B,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,eAAe,CAAC;CACzB;;;;GA6CA"}
@@ -5,3 +5,4 @@ import type { Task } from '@ms-cloudpack/api-server';
5
5
  * remotely (e.g. in the browser) and allows the user to cancel tasks.
6
6
  */
7
7
  export declare function createBundleTask(bundleRequest: BundleRequest, options?: BundleTaskOptions): Task<BundleRequest>;
8
+ //# sourceMappingURL=createBundleTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createBundleTask.d.ts","sourceRoot":"","sources":["../../../src/commands/start/createBundleTask.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,gBAAgB,CAAC;AACvE,OAAO,KAAK,EAAE,IAAI,EAAiC,MAAM,0BAA0B,CAAC;AAKpF;;;GAGG;AACH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,EAAE,OAAO,CAAC,EAAE,iBAAiB,GAAG,IAAI,CAAC,aAAa,CAAC,CAoC/G"}
@@ -5,3 +5,4 @@ export interface SessionOptions {
5
5
  config: CloudpackConfig;
6
6
  }
7
7
  export declare function createSession(options: SessionOptions): Promise<Session>;
8
+ //# sourceMappingURL=createSession.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createSession.d.ts","sourceRoot":"","sources":["../../../src/commands/start/createSession.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACxD,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAY5D,MAAM,WAAW,cAAc;IAC7B,OAAO,EAAE,MAAM,CAAC;IAChB,MAAM,EAAE,eAAe,CAAC;CACzB;AAED,wBAAsB,aAAa,CAAC,OAAO,EAAE,cAAc,GAAG,OAAO,CAAC,OAAO,CAAC,CAsD7E"}
@@ -1,2 +1,3 @@
1
1
  import type { Command } from 'commander';
2
2
  export declare function init(command: Command): void;
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/commands/start/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAIzC,wBAAgB,IAAI,CAAC,OAAO,EAAE,OAAO,QAOpC"}
@@ -2,3 +2,4 @@
2
2
  * Open the browser.
3
3
  */
4
4
  export declare function openBrowser(url?: string): Promise<void>;
5
+ //# sourceMappingURL=openBrowser.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"openBrowser.d.ts","sourceRoot":"","sources":["../../../src/commands/start/openBrowser.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAsB,WAAW,CAAC,GAAG,CAAC,EAAE,MAAM,iBAI7C"}
@@ -4,3 +4,4 @@ export declare function parseRequestInfo(requestPath: string): {
4
4
  bundled: boolean;
5
5
  filePath: string;
6
6
  };
7
+ //# sourceMappingURL=parseRequestInfo.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"parseRequestInfo.d.ts","sourceRoot":"","sources":["../../../src/commands/start/parseRequestInfo.ts"],"names":[],"mappings":"AAAA,wBAAgB,gBAAgB,CAAC,WAAW,EAAE,MAAM;;;;;EAiBnD"}
@@ -3,3 +3,4 @@ import type { StartOptions } from './types.js';
3
3
  * Defines the "start" verb entry point.
4
4
  */
5
5
  export declare function start(options: StartOptions): Promise<void>;
6
+ //# sourceMappingURL=start.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"start.d.ts","sourceRoot":"","sources":["../../../src/commands/start/start.ts"],"names":[],"mappings":"AASA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,YAAY,CAAC;AAM/C;;GAEG;AACH,wBAAsB,KAAK,CAAC,OAAO,EAAE,YAAY,iBA+FhD"}
@@ -38,7 +38,7 @@ export async function start(options) {
38
38
  await writeJson(path.join(appPath, 'resolve-map.json'), session.resolveMap);
39
39
  }
40
40
  // Start api server for tracking status and handling remote requests.
41
- const apiServer = await startApiServer({ session, config, rootSpan });
41
+ const apiServer = await startApiServer({ session, config, rootSpan, reporter });
42
42
  // Then start bundle and app servers for hosting the app.
43
43
  const bundleServer = await startBundleServer({ session, apiServer, config, useLage: options.unstableLage });
44
44
  const appServer = await startAppServer({
@@ -1 +1 @@
1
- {"version":3,"file":"start.js","sourceRoot":"","sources":["../../../src/commands/start/start.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAC/D,OAAO,EAAE,aAAa,EAAE,MAAM,oBAAoB,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAC;AAC/C,OAAO,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC1D,OAAO,EAAE,iBAAiB,EAAE,MAAM,wBAAwB,CAAC;AAE3D,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EAAE,UAAU,EAAE,MAAM,sBAAsB,CAAC;AAClD,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,MAAM,8BAA8B,CAAC;AAC9F,OAAO,EAAE,2BAA2B,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,wBAAwB,CAAC;AAE9F;;GAEG;AACH,MAAM,CAAC,KAAK,UAAU,KAAK,CAAC,OAAqB;IAC/C,MAAM,O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,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;YAC7B,sEAAsE;YACtE,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,GAAG,EAAE,KAAK,IAAI,GAAG,CAAC,CAAC;YAC1D,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,GAAG,CAAC,CAAC;QAC5D,CAAC,CAAC,CAAC;KACJ;IAAC,OAAO,GAAG,EAAE;QACZ,QAAQ,CAAC,QAAQ,EAAE,CAAC;QACpB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACjB;AACH,CAAC","sourcesContent":["import { writeJson } from '@ms-cloudpack/json-utilities';\nimport { PackageDefinitions } from '@ms-cloudpack/package-utilities';\nimport path from 'path';\nimport { createPackageOverrideTransform } from '../../common/createPackageOverrideTransform.js';\nimport { startAppServer } from './appServer/startAppServer.js';\nimport { createSession } from './createSession.js';\nimport { openBrowser } from './openBrowser.js';\nimport { startApiServer } from '@ms-cloudpack/api-server';\nimport { startBundleServer } from './startBundleServer.js';\nimport type { StartOptions } from './types.js';\nimport { reporter } from '../../reporter.js';\nimport { readConfig } from '@ms-cloudpack/config';\nimport { PerfMarkerCliEntry, PerfMeasurementOpenBrowser } from '../../performance/markers.js';\nimport { setSharedTelemetryAttribute, stopTelemetry, rootSpan } from '../../initTelemetry.js';\n\n/**\n * Defines the \"start\" verb entry point.\n */\nexport async function start(options: StartOptions) {\n const appPath = process.cwd();\n\n try {\n // Parse config if it exists.\n const config = await readConfig(appPath);\n\n // Initialize package overrides.\n PackageDefinitions.getInstance().registerTransform(createPackageOverrideTransform(config));\n\n // Make sure the package has a valid definition.\n const definition = await PackageDefinitions.getInstance().get(appPath);\n\n if (!definition) {\n throw new Error(`There was no package.json located at \"${appPath}\".`);\n }\n\n if (!definition.name || !definition.version) {\n throw new Error(`The package.json at \"${appPath}\" did not have a name and/or version.`);\n }\n\n // Initialize session definition.\n const session = await createSession({ appPath, config });\n\n // Set shared telemetry attributes which will be sent with all telemetry events.\n setSharedTelemetryAttribute('sessionId', session.id);\n\n if (options.logResolveMap) {\n // Write the resolve map to disk.\n await writeJson(path.join(appPath, 'resolve-map.json'), session.resolveMap);\n }\n\n // Start api server for tracking status and handling remote requests.\n const apiServer = await startApiServer({ session, config, rootSpan });\n\n // Then start bundle and app servers for hosting the app.\n const bundleServer = await startBundleServer({ session, apiServer, config, useLage: options.unstableLage });\n\n const appServer = await startAppServer({\n session,\n definition,\n bundleServer,\n apiServer,\n config,\n });\n\n const cleanup = async () => {\n for (const [name, server] of [\n ['appServer', appServer] as const,\n ['apiServer', apiServer] as const,\n ['bundleServer', bundleServer] as const,\n ]) {\n console.info(`Closing ${name}: ${server.url}`);\n try {\n await server.close();\n } catch (err) {\n console.warn('Error closing server:', err);\n }\n }\n\n // Complete the reporting and list pending tasks as aborted.\n reporter.complete();\n\n // Flush and close telemetry.\n await stopTelemetry();\n };\n\n // Setup cleanup and close things on completion.\n let sigintCount = 0;\n\n process.on('SIGINT', () => {\n sigintCount++;\n if (sigintCount > 1) {\n console.debug('Forcing exit');\n process.exit(1);\n }\n\n cleanup().finally(() => {\n process.exit(0);\n });\n });\n\n // Open the browser.\n const url = appServer.url;\n\n performance.measure(PerfMeasurementOpenBrowser, PerfMarkerCliEntry);\n openBrowser(url).catch((err) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n console.warn('Error opening browser:', err?.stack || err);\n console.warn('Please open the browser manually to:', url);\n });\n } catch (err) {\n reporter.complete();\n process.exit(1);\n }\n}\n"]}
1
+ {"version":3,"file":"start.js","sourceRoot":"","sources":["../../../src/commands/start/start.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,8BAA8B,CAAC;AACzD,OAAO,EAAE,kBAAkB,EAAE,MAAM,iCAAiC,CAAC;AACrE,OAAO,IAAI,MAAM,MAAM,CAAC;AACxB,OAAO,EAAE,8BAA8B,EAAE,MAAM,gDAAgD,CAAC;AAChG,OAAO,EAAE,cA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,CAAC,CAAC;QAEF,gDAAgD;QAChD,IAAI,WAAW,GAAG,CAAC,CAAC;QAEpB,OAAO,CAAC,EAAE,CAAC,QAAQ,EAAE,GAAG,EAAE;YACxB,WAAW,EAAE,CAAC;YACd,IAAI,WAAW,GAAG,CAAC,EAAE;gBACnB,OAAO,CAAC,KAAK,CAAC,cAAc,CAAC,CAAC;gBAC9B,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;aACjB;YAED,OAAO,EAAE,CAAC,OAAO,CAAC,GAAG,EAAE;gBACrB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;YAClB,CAAC,CAAC,CAAC;QACL,CAAC,CAAC,CAAC;QAEH,oBAAoB;QACpB,MAAM,GAAG,GAAG,SAAS,CAAC,GAAG,CAAC;QAE1B,WAAW,CAAC,OAAO,CAAC,0BAA0B,EAAE,kBAAkB,CAAC,CAAC;QACpE,WAAW,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,CAAC,GAAG,EAAE,EAAE;YAC7B,sEAAsE;YACtE,OAAO,CAAC,IAAI,CAAC,wBAAwB,EAAE,GAAG,EAAE,KAAK,IAAI,GAAG,CAAC,CAAC;YAC1D,OAAO,CAAC,IAAI,CAAC,sCAAsC,EAAE,GAAG,CAAC,CAAC;QAC5D,CAAC,CAAC,CAAC;KACJ;IAAC,OAAO,GAAG,EAAE;QACZ,QAAQ,CAAC,QAAQ,EAAE,CAAC;QACpB,OAAO,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC;KACjB;AACH,CAAC","sourcesContent":["import { writeJson } from '@ms-cloudpack/json-utilities';\nimport { PackageDefinitions } from '@ms-cloudpack/package-utilities';\nimport path from 'path';\nimport { createPackageOverrideTransform } from '../../common/createPackageOverrideTransform.js';\nimport { startAppServer } from './appServer/startAppServer.js';\nimport { createSession } from './createSession.js';\nimport { openBrowser } from './openBrowser.js';\nimport { startApiServer } from '@ms-cloudpack/api-server';\nimport { startBundleServer } from './startBundleServer.js';\nimport type { StartOptions } from './types.js';\nimport { reporter } from '../../reporter.js';\nimport { readConfig } from '@ms-cloudpack/config';\nimport { PerfMarkerCliEntry, PerfMeasurementOpenBrowser } from '../../performance/markers.js';\nimport { setSharedTelemetryAttribute, stopTelemetry, rootSpan } from '../../initTelemetry.js';\n\n/**\n * Defines the \"start\" verb entry point.\n */\nexport async function start(options: StartOptions) {\n const appPath = process.cwd();\n\n try {\n // Parse config if it exists.\n const config = await readConfig(appPath);\n\n // Initialize package overrides.\n PackageDefinitions.getInstance().registerTransform(createPackageOverrideTransform(config));\n\n // Make sure the package has a valid definition.\n const definition = await PackageDefinitions.getInstance().get(appPath);\n\n if (!definition) {\n throw new Error(`There was no package.json located at \"${appPath}\".`);\n }\n\n if (!definition.name || !definition.version) {\n throw new Error(`The package.json at \"${appPath}\" did not have a name and/or version.`);\n }\n\n // Initialize session definition.\n const session = await createSession({ appPath, config });\n\n // Set shared telemetry attributes which will be sent with all telemetry events.\n setSharedTelemetryAttribute('sessionId', session.id);\n\n if (options.logResolveMap) {\n // Write the resolve map to disk.\n await writeJson(path.join(appPath, 'resolve-map.json'), session.resolveMap);\n }\n\n // Start api server for tracking status and handling remote requests.\n const apiServer = await startApiServer({ session, config, rootSpan, reporter });\n\n // Then start bundle and app servers for hosting the app.\n const bundleServer = await startBundleServer({ session, apiServer, config, useLage: options.unstableLage });\n\n const appServer = await startAppServer({\n session,\n definition,\n bundleServer,\n apiServer,\n config,\n });\n\n const cleanup = async () => {\n for (const [name, server] of [\n ['appServer', appServer] as const,\n ['apiServer', apiServer] as const,\n ['bundleServer', bundleServer] as const,\n ]) {\n console.info(`Closing ${name}: ${server.url}`);\n try {\n await server.close();\n } catch (err) {\n console.warn('Error closing server:', err);\n }\n }\n\n // Complete the reporting and list pending tasks as aborted.\n reporter.complete();\n\n // Flush and close telemetry.\n await stopTelemetry();\n };\n\n // Setup cleanup and close things on completion.\n let sigintCount = 0;\n\n process.on('SIGINT', () => {\n sigintCount++;\n if (sigintCount > 1) {\n console.debug('Forcing exit');\n process.exit(1);\n }\n\n cleanup().finally(() => {\n process.exit(0);\n });\n });\n\n // Open the browser.\n const url = appServer.url;\n\n performance.measure(PerfMeasurementOpenBrowser, PerfMarkerCliEntry);\n openBrowser(url).catch((err) => {\n // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n console.warn('Error opening browser:', err?.stack || err);\n console.warn('Please open the browser manually to:', url);\n });\n } catch (err) {\n reporter.complete();\n process.exit(1);\n }\n}\n"]}
@@ -12,3 +12,4 @@ export declare function startBundleServer({ session, apiServer, config, useLage,
12
12
  config: CloudpackConfig;
13
13
  useLage: boolean | undefined;
14
14
  }): Promise<BundleServer>;
15
+ //# sourceMappingURL=startBundleServer.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"startBundleServer.d.ts","sourceRoot":"","sources":["../../../src/commands/start/startBundleServer.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAiB,YAAY,EAAE,MAAM,gBAAgB,CAAC;AAGlE,OAAO,KAAK,EAAE,SAAS,EAAE,OAAO,EAAE,MAAM,0BAA0B,CAAC;AACnE,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAK5D;;;;GAIG;AACH,wBAAsB,iBAAiB,CAAC,EACtC,OAAO,EACP,SAAS,EACT,MAA8B,EAC9B,OAAe,GAChB,EAAE;IACD,OAAO,EAAE,OAAO,CAAC;IACjB,SAAS,EAAE,SAAS,CAAC;IACrB,MAAM,EAAE,eAAe,CAAC;IACxB,OAAO,EAAE,OAAO,GAAG,SAAS,CAAC;CAC9B,GAAG,OAAO,CAAC,YAAY,CAAC,CAqBxB"}
@@ -3,3 +3,4 @@ export interface StartOptions {
3
3
  unstableLage?: boolean;
4
4
  sourcemap?: boolean;
5
5
  }
6
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/commands/start/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,YAAY;IAC3B,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB"}
@@ -4,3 +4,4 @@ import type { PackageDefinitionTransform } from '@ms-cloudpack/bundler-types';
4
4
  * Creates a transform to be registered with a PackageDefinitions registry for overriding package.json definitions.
5
5
  */
6
6
  export declare function createPackageOverrideTransform(config: CloudpackConfig): PackageDefinitionTransform;
7
+ //# sourceMappingURL=createPackageOverrideTransform.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"createPackageOverrideTransform.d.ts","sourceRoot":"","sources":["../../src/common/createPackageOverrideTransform.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAe,0BAA0B,EAAE,MAAM,6BAA6B,CAAC;AAG3F;;GAEG;AACH,wBAAgB,8BAA8B,CAAC,MAAM,EAAE,eAAe,GAAG,0BAA0B,CAgBlG"}
@@ -3,3 +3,4 @@ import type { PackageOverride } from '@ms-cloudpack/config';
3
3
  * Given a set of package overrides, finds the overrides for the given package name and version.
4
4
  */
5
5
  export declare function findPackageOverride(packageOverrides: PackageOverride[], packageName: string, packageVersion: string): PackageOverride | undefined;
6
+ //# sourceMappingURL=findPackageOverride.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"findPackageOverride.d.ts","sourceRoot":"","sources":["../../src/common/findPackageOverride.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AACH,wBAAgB,mBAAmB,CACjC,gBAAgB,EAAE,eAAe,EAAE,EACnC,WAAW,EAAE,MAAM,EACnB,cAAc,EAAE,MAAM,GACrB,eAAe,GAAG,SAAS,CAI7B"}
@@ -3,3 +3,4 @@ export declare function getBundleDetails(packagePath: string): Promise<{
3
3
  isExternal: boolean;
4
4
  outputPath: string;
5
5
  }>;
6
+ //# sourceMappingURL=getBundleDetails.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getBundleDetails.d.ts","sourceRoot":"","sources":["../../src/common/getBundleDetails.ts"],"names":[],"mappings":"AAMA,wBAAsB,gBAAgB,CAAC,WAAW,EAAE,MAAM;;;;GA4BzD"}
@@ -1,2 +1,3 @@
1
1
  export declare function getCachePath(): string;
2
2
  export declare function getLocalCachePath(appPath?: string): string;
3
+ //# sourceMappingURL=getCachePath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getCachePath.d.ts","sourceRoot":"","sources":["../../src/common/getCachePath.ts"],"names":[],"mappings":"AAGA,wBAAgB,YAAY,WAE3B;AAED,wBAAgB,iBAAiB,CAAC,OAAO,CAAC,EAAE,MAAM,UAEjD"}
@@ -2,3 +2,4 @@
2
2
  * Clears and replaces the given path, ensuring it exists in an empty state.
3
3
  */
4
4
  export declare function prepareOutputPath(requestedPath: string): Promise<void>;
5
+ //# sourceMappingURL=prepareOutputPath.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"prepareOutputPath.d.ts","sourceRoot":"","sources":["../../src/common/prepareOutputPath.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAsB,iBAAiB,CAAC,aAAa,EAAE,MAAM,iBAO5D"}
package/lib/index.d.ts CHANGED
@@ -6,3 +6,4 @@ export declare function main(): Promise<void>;
6
6
  export type { ApiServer, DevServer, SessionStats, Task, TaskDescription, TaskEndDescription, TaskError, TaskOptions, TaskStartDescription, } from '@ms-cloudpack/api-server';
7
7
  export type { CloudpackConfig, Route, TelemetryConfig } from '@ms-cloudpack/config';
8
8
  export type { BundleRequest, BundleServer, BundleTaskOptions, CreateHtmlFunction, CreateHtmlOptions, CreateHtmlResult, CreateHtmlScript, Watcher, } from './types.js';
9
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAkBA;;;GAGG;AACH,wBAAsB,IAAI,kBAoEzB;AAED,YAAY,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,IAAI,EACJ,eAAe,EACf,kBAAkB,EAClB,SAAS,EACT,WAAW,EACX,oBAAoB,GACrB,MAAM,0BAA0B,CAAC;AAClC,YAAY,EAAE,eAAe,EAAE,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AACpF,YAAY,EACV,aAAa,EACb,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,OAAO,GACR,MAAM,YAAY,CAAC"}
@@ -30,3 +30,4 @@ export declare function setSharedTelemetryAttribute(key: string, value: string):
30
30
  * @returns a promise that resolves when telemetry is flushed and shutdown.
31
31
  */
32
32
  export declare function stopTelemetry(): Promise<void> | undefined;
33
+ //# sourceMappingURL=initTelemetry.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"initTelemetry.d.ts","sourceRoot":"","sources":["../src/initTelemetry.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,IAAI,EAA+C,MAAM,yBAAyB,CAAC;AAGjG,MAAM,WAAW,oBAAoB;IACnC,eAAe,EAAE,OAAO,CAAC;IACzB,iBAAiB,EAAE,OAAO,CAAC;CAC5B;AAGD,eAAO,IAAI,QAAQ,EAAE,IAAI,GAAG,SAAS,CAAC;AAEtC;;;;;GAKG;AACH,wBAAsB,aAAa,CAAC,OAAO,EAAE,oBAAoB,iBAqBhE;AAED;;;;GAIG;AACH,wBAAgB,4BAA4B,CAAC,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,QAI9E;AAED;;;;;GAKG;AACH,wBAAgB,2BAA2B,CAAC,GAAG,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,QAErE;AAED;;;;GAIG;AACH,wBAAgB,aAAa,8BAG5B"}
@@ -6,3 +6,4 @@ export declare const PerfMarkerCliEntry = "CLI_ENTRY";
6
6
  * Measures the time it takes to open the browser.
7
7
  */
8
8
  export declare const PerfMeasurementOpenBrowser = "OPEN_BROWSER";
9
+ //# sourceMappingURL=markers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"markers.d.ts","sourceRoot":"","sources":["../../src/performance/markers.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,eAAO,MAAM,kBAAkB,cAAc,CAAC;AAI9C;;GAEG;AACH,eAAO,MAAM,0BAA0B,iBAAiB,CAAC"}
@@ -4,3 +4,4 @@ import type { Span } from '@ms-cloudpack/telemetry';
4
4
  * @param span The span to add the events to.
5
5
  */
6
6
  export declare function registerPerformanceObservers(span: Span): void;
7
+ //# sourceMappingURL=registerPerformanceObservers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"registerPerformanceObservers.d.ts","sourceRoot":"","sources":["../../src/performance/registerPerformanceObservers.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,yBAAyB,CAAC;AAGpD;;;GAGG;AACH,wBAAgB,4BAA4B,CAAC,IAAI,EAAE,IAAI,QAgBtD"}
package/lib/reporter.d.ts CHANGED
@@ -2,3 +2,4 @@ import { TaskReporter, type TaskReporterOptions } from '@ms-cloudpack/task-repor
2
2
  export declare const reporter: TaskReporter;
3
3
  export declare function setReporterOptions(options: TaskReporterOptions): void;
4
4
  export { noLoggingConfig, defaultLoggingConfig, verboseLoggingConfig, debugLoggingConfig, } from '@ms-cloudpack/task-reporter';
5
+ //# sourceMappingURL=reporter.d.ts.map
@@ -0,0 +1 @@
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"}
@@ -3,3 +3,4 @@ export declare function bundleTask({ bundleRequest, options, }: {
3
3
  bundleRequest: BundleRequest;
4
4
  options?: BundleTaskOptions;
5
5
  }): Promise<BundleRequest>;
6
+ //# sourceMappingURL=bundleTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundleTask.d.ts","sourceRoot":"","sources":["../../src/tasks/bundleTask.ts"],"names":[],"mappings":"AAQA,OAAO,KAAK,EAAE,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAIpE,wBAAsB,UAAU,CAAC,EAC/B,aAAa,EACb,OAAY,GACb,EAAE;IACD,aAAa,EAAE,aAAa,CAAC;IAC7B,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC7B,0BAwDA"}
@@ -2,3 +2,4 @@ import type { Target } from '@lage-run/target-graph';
2
2
  export default function run(data: {
3
3
  target: Target;
4
4
  }): Promise<void>;
5
+ //# sourceMappingURL=bundleTaskWorker.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bundleTaskWorker.d.ts","sourceRoot":"","sources":["../../src/tasks/bundleTaskWorker.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,MAAM,EAAE,MAAM,wBAAwB,CAAC;AAErD,wBAA8B,GAAG,CAAC,IAAI,EAAE;IAAE,MAAM,EAAE,MAAM,CAAA;CAAE,iBAKzD"}
@@ -6,3 +6,4 @@ export declare function formatBundleErrors(errors: BundleMessage[] | undefined):
6
6
  message: string;
7
7
  details: string;
8
8
  };
9
+ //# sourceMappingURL=formatBundleErrors.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"formatBundleErrors.d.ts","sourceRoot":"","sources":["../../src/tasks/formatBundleErrors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AAGjE,wBAAgB,kBAAkB,CAAC,MAAM,EAAE,aAAa,EAAE,GAAG,SAAS;;;;;;EAOrE"}
@@ -2,3 +2,4 @@
2
2
  * Given a file path, returns a human-readable file size description.
3
3
  */
4
4
  export declare function getFileSizeSync(filePath: string): string;
5
+ //# sourceMappingURL=getFileSizeSync.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"getFileSizeSync.d.ts","sourceRoot":"","sources":["../../src/tasks/getFileSizeSync.ts"],"names":[],"mappings":"AAEA;;GAEG;AACH,wBAAgB,eAAe,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAaxD"}
@@ -8,3 +8,4 @@ export declare function resolveDependenciesTask({ appPath, additionalPaths, pack
8
8
  additionalPaths?: string[];
9
9
  packages?: PackageDefinitions;
10
10
  }): Promise<ResolveMap | undefined>;
11
+ //# sourceMappingURL=resolveDependenciesTask.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resolveDependenciesTask.d.ts","sourceRoot":"","sources":["../../src/tasks/resolveDependenciesTask.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,UAAU,EAGf,KAAK,kBAAkB,EACxB,MAAM,iCAAiC,CAAC;AAIzC;;;GAGG;AACH,wBAAsB,uBAAuB,CAAC,EAC5C,OAAO,EACP,eAAe,EACf,QAAQ,GACT,EAAE;IACD,OAAO,EAAE,MAAM,CAAC;IAChB,eAAe,CAAC,EAAE,MAAM,EAAE,CAAC;IAC3B,QAAQ,CAAC,EAAE,kBAAkB,CAAC;CAC/B,mCAyBA"}
package/lib/types.d.ts CHANGED
@@ -60,3 +60,4 @@ export type CreateHtmlFunction = (options: CreateHtmlOptions) => Promise<CreateH
60
60
  export type CreateHtmlScript = {
61
61
  default: CreateHtmlFunction;
62
62
  };
63
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAA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WAAW,EAAE,MAAM,GAAG,SAAS,CAAC;IAChC,aAAa,EAAE,MAAM,EAAE,CAAC;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,gBAAgB,GACxB,MAAM,GACN;IACE,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,EAAE,MAAM,CAAC;CACpB,CAAC;AAEN;;GAEG;AACH,MAAM,MAAM,kBAAkB,GAAG,CAAC,OAAO,EAAE,iBAAiB,KAAK,OAAO,CAAC,gBAAgB,CAAC,GAAG,gBAAgB,CAAC;AAE9G;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG;IAAE,OAAO,EAAE,kBAAkB,CAAA;CAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/cli",
3
- "version": "0.35.2",
3
+ "version": "0.35.4",
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",
@@ -16,18 +16,18 @@
16
16
  "cloudpack": "./bin/cloudpack.js"
17
17
  },
18
18
  "dependencies": {
19
- "@ms-cloudpack/api-server": "^0.5.1",
20
- "@ms-cloudpack/bundler": "^0.11.26",
21
- "@ms-cloudpack/config": "^0.5.0",
19
+ "@ms-cloudpack/api-server": "^0.5.3",
20
+ "@ms-cloudpack/bundler": "^0.11.28",
21
+ "@ms-cloudpack/config": "^0.5.2",
22
22
  "@ms-cloudpack/create-express-app": "^1.3.3",
23
23
  "@ms-cloudpack/data-bus": "^0.1.1",
24
24
  "@ms-cloudpack/json-utilities": "^0.0.6",
25
25
  "@ms-cloudpack/overlay": "^0.13.2",
26
- "@ms-cloudpack/package-utilities": "^2.4.0",
26
+ "@ms-cloudpack/package-utilities": "^2.4.2",
27
27
  "@ms-cloudpack/path-utilities": "^2.2.1",
28
28
  "@ms-cloudpack/path-string-parsing": "^1.0.1",
29
29
  "@ms-cloudpack/task-reporter": "^0.3.0",
30
- "@ms-cloudpack/telemetry": "^0.2.3",
30
+ "@ms-cloudpack/telemetry": "^0.2.4",
31
31
  "chokidar": "^3.5.3",
32
32
  "commander": "^10.0.0",
33
33
  "es-module-lexer": "^1.0.3",