@ms-cloudpack/config 0.14.2 → 0.14.3

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.
@@ -8,5 +8,6 @@ export declare const allFeatures: {
8
8
  enqueueDependencies: Feature;
9
9
  cacheInternalPackages: Feature;
10
10
  enableLage: Feature;
11
+ hashPackages: Feature;
11
12
  };
12
13
  //# sourceMappingURL=allFeatures.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"allFeatures.d.ts","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;CAKvB,CAAC"}
1
+ {"version":3,"file":"allFeatures.d.ts","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAElD;;;GAGG;AACH,eAAO,MAAM,WAAW;;;;;;CAMvB,CAAC"}
@@ -7,5 +7,6 @@ export const allFeatures = {
7
7
  enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' },
8
8
  cacheInternalPackages: { description: 'Enables the reuse of prebuild assets for internal packages.' },
9
9
  enableLage: { description: 'Enables the use of lage for running tasks.' },
10
+ hashPackages: { description: 'Enables the use of hashing to break cache.' },
10
11
  };
11
12
  //# sourceMappingURL=allFeatures.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"allFeatures.js","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAa;IACrG,mBAAmB,EAAE,EAAE,WAAW,EAAE,iEAAiE,EAAa;IAClH,qBAAqB,EAAE,EAAE,WAAW,EAAE,6DAA6D,EAAa;IAChH,UAAU,EAAE,EAAE,WAAW,EAAE,4CAA4C,EAAa;CACrF,CAAC","sourcesContent":["import type { Feature } from './types/Feature.js';\n\n/**\n * A set of options for configuring the experience. Features can be set to true to change the default\n * behavior.\n */\nexport const allFeatures = {\n disableSourceMaps: { description: 'Disables the generation of source-maps during build.' } as Feature,\n enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' } as Feature,\n cacheInternalPackages: { description: 'Enables the reuse of prebuild assets for internal packages.' } as Feature,\n enableLage: { description: 'Enables the use of lage for running tasks.' } as Feature,\n};\n"]}
1
+ {"version":3,"file":"allFeatures.js","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,iBAAiB,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAa;IACrG,mBAAmB,EAAE,EAAE,WAAW,EAAE,iEAAiE,EAAa;IAClH,qBAAqB,EAAE,EAAE,WAAW,EAAE,6DAA6D,EAAa;IAChH,UAAU,EAAE,EAAE,WAAW,EAAE,4CAA4C,EAAa;IACpF,YAAY,EAAE,EAAE,WAAW,EAAE,4CAA4C,EAAa;CACvF,CAAC","sourcesContent":["import type { Feature } from './types/Feature.js';\n\n/**\n * A set of options for configuring the experience. Features can be set to true to change the default\n * behavior.\n */\nexport const allFeatures = {\n disableSourceMaps: { description: 'Disables the generation of source-maps during build.' } as Feature,\n enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' } as Feature,\n cacheInternalPackages: { description: 'Enables the reuse of prebuild assets for internal packages.' } as Feature,\n enableLage: { description: 'Enables the use of lage for running tasks.' } as Feature,\n hashPackages: { description: 'Enables the use of hashing to break cache.' } as Feature,\n};\n"]}
@@ -45,6 +45,10 @@ export interface UserConfig {
45
45
  * The name of the container to use for the remote cache. Container must already exist.
46
46
  */
47
47
  container: string;
48
+ /**
49
+ * Token expiration time in milliseconds. Default is 90 days.
50
+ */
51
+ tokenExpiresInMs?: number;
48
52
  };
49
53
  }
50
54
  //# sourceMappingURL=UserConfig.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"UserConfig.d.ts","sourceRoot":"","sources":["../../src/types/UserConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AAEH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IAEpC;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;IAEjC;;;OAGG;IACH,WAAW,CAAC,EAAE;QACZ;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QACvB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;KACnB,CAAC;CACH"}
1
+ {"version":3,"file":"UserConfig.d.ts","sourceRoot":"","sources":["../../src/types/UserConfig.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAChD,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,eAAe,CAAC;AAC9C,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAC;AAE5D;;GAEG;AAEH,MAAM,WAAW,UAAU;IACzB;;OAEG;IACH,SAAS,CAAC,EAAE,SAAS,CAAC;IAEtB;;OAEG;IACH,SAAS,CAAC,EAAE,eAAe,CAAC;IAE5B;;;OAGG;IACH,QAAQ,CAAC,EAAE,QAAQ,CAAC;IAEpB;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB;;OAEG;IACH,eAAe,CAAC,EAAE,eAAe,EAAE,CAAC;IAEpC;;;OAGG;IACH,SAAS,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,CAAC,EAAE,CAAC;IAEjC;;;OAGG;IACH,WAAW,CAAC,EAAE;QACZ;;WAEG;QACH,cAAc,EAAE,MAAM,CAAC;QACvB;;WAEG;QACH,SAAS,EAAE,MAAM,CAAC;QAElB;;WAEG;QACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;KAC3B,CAAC;CACH"}
@@ -1 +1 @@
1
- {"version":3,"file":"UserConfig.js","sourceRoot":"","sources":["../../src/types/UserConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { DevServer } from './DevServer.js';\nimport type { Features } from './Features.js';\nimport type { PackageSettings } from './PackageSettings.js';\nimport type { TelemetryConfig } from './TelemetryConfig.js';\n\n/**\n * Per-application user-provided configuration for Cloudpack.\n */\n\nexport interface UserConfig {\n /**\n * A set of options for configuring how the dev server works.\n */\n devServer?: DevServer;\n\n /**\n * A set of options for configuring telemetry\n */\n telemetry?: TelemetryConfig;\n\n /**\n * A set of options for configuring the experience. Features can be set to true to change the default\n * behavior.\n */\n features?: Features;\n\n /**\n * Help message to display when Cloudpack starts up.\n */\n helpMessage?: string;\n\n /**\n * An array of PackageSettings objects, used to provide settings for how we bundle packages.\n */\n packageSettings?: PackageSettings[];\n\n /**\n * An optional list of commands (followed by a string array of args for that command)\n * to be executed prior to Cloudpack bundle\n */\n dependsOn?: [string, string[]][];\n\n /**\n * Azure Blob Storage configuration for remote cache - uploading and downloading packages.\n * If this is not provided, the remote cache will not be used.\n */\n remoteCache?: {\n /**\n * The name of the Azure Blob Storage account.\n */\n storageAccount: string;\n /**\n * The name of the container to use for the remote cache. Container must already exist.\n */\n container: string;\n };\n}\n"]}
1
+ {"version":3,"file":"UserConfig.js","sourceRoot":"","sources":["../../src/types/UserConfig.ts"],"names":[],"mappings":"","sourcesContent":["import type { DevServer } from './DevServer.js';\nimport type { Features } from './Features.js';\nimport type { PackageSettings } from './PackageSettings.js';\nimport type { TelemetryConfig } from './TelemetryConfig.js';\n\n/**\n * Per-application user-provided configuration for Cloudpack.\n */\n\nexport interface UserConfig {\n /**\n * A set of options for configuring how the dev server works.\n */\n devServer?: DevServer;\n\n /**\n * A set of options for configuring telemetry\n */\n telemetry?: TelemetryConfig;\n\n /**\n * A set of options for configuring the experience. Features can be set to true to change the default\n * behavior.\n */\n features?: Features;\n\n /**\n * Help message to display when Cloudpack starts up.\n */\n helpMessage?: string;\n\n /**\n * An array of PackageSettings objects, used to provide settings for how we bundle packages.\n */\n packageSettings?: PackageSettings[];\n\n /**\n * An optional list of commands (followed by a string array of args for that command)\n * to be executed prior to Cloudpack bundle\n */\n dependsOn?: [string, string[]][];\n\n /**\n * Azure Blob Storage configuration for remote cache - uploading and downloading packages.\n * If this is not provided, the remote cache will not be used.\n */\n remoteCache?: {\n /**\n * The name of the Azure Blob Storage account.\n */\n storageAccount: string;\n /**\n * The name of the container to use for the remote cache. Container must already exist.\n */\n container: string;\n\n /**\n * Token expiration time in milliseconds. Default is 90 days.\n */\n tokenExpiresInMs?: number;\n };\n}\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/config",
3
- "version": "0.14.2",
3
+ "version": "0.14.3",
4
4
  "description": "Configuration handling for cloudpack.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -14,10 +14,10 @@
14
14
  }
15
15
  },
16
16
  "dependencies": {
17
- "@ms-cloudpack/bundler-types": "^0.19.3",
17
+ "@ms-cloudpack/bundler-types": "^0.19.4",
18
18
  "@ms-cloudpack/create-express-app": "^1.3.12",
19
19
  "@ms-cloudpack/json-utilities": "^0.0.8",
20
- "@ms-cloudpack/package-utilities": "^5.1.12",
20
+ "@ms-cloudpack/package-utilities": "^5.1.13",
21
21
  "semver": "^7.3.7"
22
22
  },
23
23
  "devDependencies": {