@ms-cloudpack/common-types 0.6.0 → 0.6.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.
@@ -48,10 +48,20 @@ export interface BundleOptions {
48
48
  */
49
49
  bundlerType?: string;
50
50
  /**
51
- * Paths to files that include dynamic imports. These are used by ori to determine which files should be
52
- * processed by the dynamic-imports plugin.
51
+ * Only relevant for packages bundled with rollup: globs of files that include dynamic (async)
52
+ * imports with non-literal paths, to be processed by `@rollup/plugin-dynamic-import-vars` (subject to
53
+ * that plugin's [limitations](https://www.npmjs.com/package/\@rollup/plugin-dynamic-import-vars#limitations)).
54
+ * Files matching `*.dynamic.*` are automatically included.
55
+ *
56
+ * This is not needed for ori/esbuild and webpack because they should handle these types of imports automatically.
53
57
  */
54
58
  dynamicImports?: string[];
59
+ /**
60
+ * Suppress these warning messages from the bundler (partial string matches).
61
+ * This is intended for non-actionable messages from external dependencies which can't easily
62
+ * be fixed, to avoid confusing users.
63
+ */
64
+ ignoredBundlerWarnings?: string[];
55
65
  /**
56
66
  * If specific settings are required to pass through to the specific bundler, they can be specified here are are
57
67
  * expected to be merged in by the plugin. Specifying bundler-specific overrides is not recommended, as it locks
@@ -1 +1 @@
1
- {"version":3,"file":"BundleOptions.d.ts","sourceRoot":"","sources":["../src/BundleOptions.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;;;;;OAOG;IACH,OAAO,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAEhC;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAC;IAEpB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,EAAE,CAAC;IAEnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IAEjB;;OAEG;I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leOptions.js","sourceRoot":"","sources":["../src/BundleOptions.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Options to create bundles from the bundler plugin.\n */\nexport interface BundleOptions {\n /**\n * The absolute input path for the entry points.\n */\n inputPath: string;\n\n /**\n * The entry point paths map. Key is path to the output file, relative to `outputPath` and stripped of `.js`\n * extension. Value is the input entry path, relative to `inputPath` including the extension. For example:\n * `{ 'lib/index': 'src/index.js' }`\n *\n * Note: Non-javascript extensions, such as `.css` or `.scss`, will not be stripped from the key.\n * This is to ensure the bundler keeps the original extension intact and adds `.js` after it.\n */\n entries: Record<string, string>;\n\n /**\n * The output path for bundled files. This can be either relative to `inputPath`, or absolute.\n * Defaults to `inputPath`.\n */\n outputPath?: string;\n\n /**\n * List of dependencies which should be externalized. Only applicable for ESM output.\n */\n external?: string[];\n\n /**\n * List of dependencies which should be inlined.\n */\n inlined?: string[];\n\n /**\n * If true, minify the output.\n */\n minify?: boolean;\n\n /**\n * If specified, will generate sourcemaps for the output. This may have a tax on performance.\n */\n sourcemap?: 'none' | 'linked' | 'inline' | 'external' | 'inline-and-external';\n\n /**\n * If true, the bundler is expected to stay alive and take requests to rebuild on demand. File watching is\n * managed at a higher layer. When we no longer care about incremental bundling, the bundler will receive a call\n * to `dispose` if returned.\n */\n incremental?: boolean;\n\n /**\n * If specified, will use a specific bundler type. This is not recommended unless there is a clear reason to hardcode\n * the bundler type.\n */\n // TODO: rename either this or BundleResult.bundlerName for consistency\n bundlerType?: string;\n\n /**\n * Paths to files that include dynamic imports. These are used by ori to determine which files should be\n * processed by the dynamic-imports plugin.\n */\n dynamicImports?: string[];\n\n /**\n * If specific settings are required to pass through to the specific bundler, they can be specified here are are\n * expected to be merged in by the plugin. Specifying bundler-specific overrides is not recommended, as it locks\n * us into a specific bundler implementation.\n */\n overrideOptions?: Record<string, unknown>;\n}\n"]}
1
+ {"version":3,"file":"BundleOptions.js","sourceRoot":"","sources":["../src/BundleOptions.ts"],"names":[],"mappings":"","sourcesContent":["/**\n * Options to create bundles from the bundler plugin.\n */\nexport interface BundleOptions {\n /**\n * The absolute input path for the entry points.\n */\n inputPath: string;\n\n /**\n * The entry point paths map. Key is path to the output file, relative to `outputPath` and stripped of `.js`\n * extension. Value is the input entry path, relative to `inputPath` including the extension. For example:\n * `{ 'lib/index': 'src/index.js' }`\n *\n * Note: Non-javascript extensions, such as `.css` or `.scss`, will not be stripped from the key.\n * This is to ensure the bundler keeps the original extension intact and adds `.js` after it.\n */\n entries: Record<string, string>;\n\n /**\n * The output path for bundled files. This can be either relative to `inputPath`, or absolute.\n * Defaults to `inputPath`.\n */\n outputPath?: string;\n\n /**\n * List of dependencies which should be externalized. Only applicable for ESM output.\n */\n external?: string[];\n\n /**\n * List of dependencies which should be inlined.\n */\n inlined?: string[];\n\n /**\n * If true, minify the output.\n */\n minify?: boolean;\n\n /**\n * If specified, will generate sourcemaps for the output. This may have a tax on performance.\n */\n sourcemap?: 'none' | 'linked' | 'inline' | 'external' | 'inline-and-external';\n\n /**\n * If true, the bundler is expected to stay alive and take requests to rebuild on demand. File watching is\n * managed at a higher layer. When we no longer care about incremental bundling, the bundler will receive a call\n * to `dispose` if returned.\n */\n incremental?: boolean;\n\n /**\n * If specified, will use a specific bundler type. This is not recommended unless there is a clear reason to hardcode\n * the bundler type.\n */\n // TODO: rename either this or BundleResult.bundlerName for consistency\n bundlerType?: string;\n\n /**\n * Only relevant for packages bundled with rollup: globs of files that include dynamic (async)\n * imports with non-literal paths, to be processed by `@rollup/plugin-dynamic-import-vars` (subject to\n * that plugin's [limitations](https://www.npmjs.com/package/\\@rollup/plugin-dynamic-import-vars#limitations)).\n * Files matching `*.dynamic.*` are automatically included.\n *\n * This is not needed for ori/esbuild and webpack because they should handle these types of imports automatically.\n */\n dynamicImports?: string[];\n\n /**\n * Suppress these warning messages from the bundler (partial string matches).\n * This is intended for non-actionable messages from external dependencies which can't easily\n * be fixed, to avoid confusing users.\n */\n ignoredBundlerWarnings?: string[];\n\n /**\n * If specific settings are required to pass through to the specific bundler, they can be specified here are are\n * expected to be merged in by the plugin. Specifying bundler-specific overrides is not recommended, as it locks\n * us into a specific bundler implementation.\n */\n overrideOptions?: Record<string, unknown>;\n}\n"]}
@@ -62,9 +62,19 @@ export interface PackageSettings {
62
62
  */
63
63
  ignoreMissingExports?: boolean | Record<string, string[]>;
64
64
  /**
65
- * Paths to files that include dynamic imports. These are used by ori to determine which files should be
66
- * processed by the dynamic-imports plugin.
65
+ * Only relevant for packages bundled with rollup: globs of files that include dynamic (async)
66
+ * imports with non-literal paths, to be processed by `@rollup/plugin-dynamic-import-vars` (subject to
67
+ * that plugin's [limitations](https://www.npmjs.com/package/\@rollup/plugin-dynamic-import-vars#limitations)).
68
+ * Files matching `*.dynamic.*` are automatically included.
69
+ *
70
+ * This is not needed for ori/esbuild and webpack because they should handle these types of imports automatically.
67
71
  */
68
72
  dynamicImports?: string[];
73
+ /**
74
+ * Ignore these warning messages from the bundler (partial string matches).
75
+ * This is intended for non-actionable messages from external dependencies which can't easily
76
+ * be fixed, to avoid confusing users.
77
+ */
78
+ ignoredBundlerWarnings?: string[];
69
79
  }
70
80
  //# sourceMappingURL=PackageSettings.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"PackageSettings.d.ts","sourceRoot":"","sources":["../src/PackageSettings.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,kBAAkB,CAAC;AAE3D;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B;;OAEG;IACH,KAAK,EACD;QACE;;WAEG;QACH,IAAI,EAAE,MAAM,CAAC;QAEb;;WAEG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,GAED,MAAM,CAAC;IAEX;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,MAAM,EAAE,CAAC;IAEhC;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,EAAE,CAA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EAAE,CAAC,CAAC;IAE1D;;;;;;;OAOG;IACH,cAAc,CAAC,EAAE,MAAM,EAAE,CAAC;IAE1B;;;;OAIG;IACH,sBAAsB,CAAC,EAAE,MAAM,EAAE,CAAC;CACnC"}
@@ -1 +1 @@
1
- {"version":3,"file":"PackageSettings.js","sourceRoot":"","sources":["../src/PackageSettings.ts"],"names":[],"mappings":"","sourcesContent":["import type { PackageJsonExports } from './PackageJson.js';\n\n/**\n * Settings which apply to a single package (app or library) as it pertains to the Cloudpack start experience.\n */\nexport interface PackageSettings {\n /**\n * A match to indicate the target for the settings to be applied to.\n */\n match:\n | {\n /**\n * Name of the package. Can use a trailing wildcard (e.g. \"\\@scope/*\").\n */\n name: string;\n\n /**\n * Version of the package. Unspecified matches any version.\n */\n version?: string;\n }\n // Match can be a string, which is a shortcut for the name.\n | string;\n\n /**\n * The dependencies which should be included when computing the import map. This is primarily used when\n * devDependencies are needed by the app. This often happens when a library has a demo app which relies\n * on devDependencies. Accepts `devDependencies` as a special value to include all devDependencies.\n */\n includedDependencies?: string[];\n\n /**\n * The dependencies which should be ignored by Cloudpack verbs. For example, if \"react-native\" is a dependency\n * which should not be included in the import map or evaluated during `init`, it can be listed here to ignore it.\n * Accepts `peerDependencies` as a special value to exclude all peerDependencies.\n */\n excludedDependencies?: string[];\n\n /**\n * Dependencies which should be inlined in the library bundled by Cloudpack. This is useful for libraries which\n * are small and don't need to be loaded separately, or ones which have issues being resolved by the browser.\n */\n inlinedDependencies?: string[];\n\n /**\n * The exports map that should be used for this package, ignoring entries which are defined in the original\n * package.json. This is useful for libraries which have a missing or broken exports map, or when we want to\n * trim the exports to reduce the api surface we expose to the inner loop experience.\n */\n exports?: PackageJsonExports;\n\n /**\n * Forces the package to be bundled using a specific bundler.\n */\n bundlerType?: string;\n\n /**\n * Options to pass to the bundler.\n */\n bundlerOptions?: Record<string, unknown>;\n\n /**\n * Paths used for file monitoring and input hashing. Supports glob matching.\n * Defaults to `[/src/**, *.json]` and excludes node_modules.\n * Use `...` to include the default paths.\n */\n inputPaths?: string[];\n\n /**\n * Controls the behavior of the `verifyExports` feature when checking consumed exports from this package:\n * - If true, don't check this package's exports at all.\n * - If an object, this is a mapping from package import paths to export names to ignore. Examples:\n * - To ignore top-level exports: `{ \".\": [\"badName\"] }`\n * - To ignore exports from another path: `{ \"./lib/foo\": [\"badName\"] }`\n */\n ignoreMissingExports?: boolean | Record<string, string[]>;\n\n /**\n * Paths to files that include dynamic imports. These are used by ori to determine which files should be\n * processed by the dynamic-imports plugin.\n */\n dynamicImports?: string[];\n}\n"]}
1
+ {"version":3,"file":"PackageSettings.js","sourceRoot":"","sources":["../src/PackageSettings.ts"],"names":[],"mappings":"","sourcesContent":["import type { PackageJsonExports } from './PackageJson.js';\n\n/**\n * Settings which apply to a single package (app or library) as it pertains to the Cloudpack start experience.\n */\nexport interface PackageSettings {\n /**\n * A match to indicate the target for the settings to be applied to.\n */\n match:\n | {\n /**\n * Name of the package. Can use a trailing wildcard (e.g. \"\\@scope/*\").\n */\n name: string;\n\n /**\n * Version of the package. Unspecified matches any version.\n */\n version?: string;\n }\n // Match can be a string, which is a shortcut for the name.\n | string;\n\n /**\n * The dependencies which should be included when computing the import map. This is primarily used when\n * devDependencies are needed by the app. This often happens when a library has a demo app which relies\n * on devDependencies. Accepts `devDependencies` as a special value to include all devDependencies.\n */\n includedDependencies?: string[];\n\n /**\n * The dependencies which should be ignored by Cloudpack verbs. For example, if \"react-native\" is a dependency\n * which should not be included in the import map or evaluated during `init`, it can be listed here to ignore it.\n * Accepts `peerDependencies` as a special value to exclude all peerDependencies.\n */\n excludedDependencies?: string[];\n\n /**\n * Dependencies which should be inlined in the library bundled by Cloudpack. This is useful for libraries which\n * are small and don't need to be loaded separately, or ones which have issues being resolved by the browser.\n */\n inlinedDependencies?: string[];\n\n /**\n * The exports map that should be used for this package, ignoring entries which are defined in the original\n * package.json. This is useful for libraries which have a missing or broken exports map, or when we want to\n * trim the exports to reduce the api surface we expose to the inner loop experience.\n */\n exports?: PackageJsonExports;\n\n /**\n * Forces the package to be bundled using a specific bundler.\n */\n bundlerType?: string;\n\n /**\n * Options to pass to the bundler.\n */\n bundlerOptions?: Record<string, unknown>;\n\n /**\n * Paths used for file monitoring and input hashing. Supports glob matching.\n * Defaults to `[/src/**, *.json]` and excludes node_modules.\n * Use `...` to include the default paths.\n */\n inputPaths?: string[];\n\n /**\n * Controls the behavior of the `verifyExports` feature when checking consumed exports from this package:\n * - If true, don't check this package's exports at all.\n * - If an object, this is a mapping from package import paths to export names to ignore. Examples:\n * - To ignore top-level exports: `{ \".\": [\"badName\"] }`\n * - To ignore exports from another path: `{ \"./lib/foo\": [\"badName\"] }`\n */\n ignoreMissingExports?: boolean | Record<string, string[]>;\n\n /**\n * Only relevant for packages bundled with rollup: globs of files that include dynamic (async)\n * imports with non-literal paths, to be processed by `@rollup/plugin-dynamic-import-vars` (subject to\n * that plugin's [limitations](https://www.npmjs.com/package/\\@rollup/plugin-dynamic-import-vars#limitations)).\n * Files matching `*.dynamic.*` are automatically included.\n *\n * This is not needed for ori/esbuild and webpack because they should handle these types of imports automatically.\n */\n dynamicImports?: string[];\n\n /**\n * Ignore these warning messages from the bundler (partial string matches).\n * This is intended for non-actionable messages from external dependencies which can't easily\n * be fixed, to avoid confusing users.\n */\n ignoredBundlerWarnings?: string[];\n}\n"]}
@@ -4,12 +4,12 @@ import type { Feature } from './Feature.js';
4
4
  * Features can be set to true to change the default behavior.
5
5
  */
6
6
  export declare const allFeatures: {
7
- /** Enables the use of builtin dynamic imports. */
8
- evaluateDynamicImports: Feature;
9
7
  /** Disables the generation of source-maps during build. */
10
8
  disableSourceMaps: Feature;
11
9
  /** Enables the preemptive enqueueing of dependencies during build. */
12
10
  enqueueDependencies: Feature;
11
+ /** Check for dynamic (async) imports with non-literal paths in bundle output during init. */
12
+ evaluateDynamicImports: Feature;
13
13
  /**
14
14
  * Excludes unused dependencies in the generated config during an init run.
15
15
  * This helps trim the dependency graph, reduce the import map, and speed up performance.
@@ -25,5 +25,7 @@ export declare const allFeatures: {
25
25
  verifyExports: Feature;
26
26
  /** Automatically updates the generated config when an unknown import path is used during start. */
27
27
  autoUpdateEntries: Feature;
28
+ /** Enables the syncing of internal packages. */
29
+ syncInternalPackages: Feature;
28
30
  };
29
31
  //# 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,cAAc,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,WAAW;IAGtB,kDAAkD;;IAGlD,2DAA2D;;IAG3D,sEAAsE;;IAGtE;;;OAGG;;IAMH,kEAAkE;;IAGlE,sCAAsC;;IAGtC,2DAA2D;;IAG3D,uDAAuD;;IAGvD,mGAAmG;;CAIpG,CAAC"}
1
+ {"version":3,"file":"allFeatures.d.ts","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AAE5C;;;GAGG;AACH,eAAO,MAAM,WAAW;IAGtB,2DAA2D;;IAG3D,sEAAsE;;IAGtE,6FAA6F;;IAK7F;;;OAGG;;IAMH,kEAAkE;;IAGlE,sCAAsC;;IAGtC,2DAA2D;;IAG3D,uDAAuD;;IAGvD,mGAAmG;;IAKnG,gDAAgD;;CAEjD,CAAC"}
@@ -4,12 +4,14 @@
4
4
  */
5
5
  export const allFeatures = {
6
6
  // The comments provide intellisense, and the description strings are used in the help output.
7
- /** Enables the use of builtin dynamic imports. */
8
- evaluateDynamicImports: { description: 'Enables the use of builtin dynamic imports.' },
9
7
  /** Disables the generation of source-maps during build. */
10
8
  disableSourceMaps: { description: 'Disables the generation of source-maps during build.' },
11
9
  /** Enables the preemptive enqueueing of dependencies during build. */
12
10
  enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' },
11
+ /** Check for dynamic (async) imports with non-literal paths in bundle output during init. */
12
+ evaluateDynamicImports: {
13
+ description: 'Check for dynamic (async) imports with non-literal paths in bundle output during init.',
14
+ },
13
15
  /**
14
16
  * Excludes unused dependencies in the generated config during an init run.
15
17
  * This helps trim the dependency graph, reduce the import map, and speed up performance.
@@ -29,5 +31,7 @@ export const allFeatures = {
29
31
  autoUpdateEntries: {
30
32
  description: 'Automatically updates the generated config when an unknown import path is used during start.',
31
33
  },
34
+ /** Enables the syncing of internal packages. */
35
+ syncInternalPackages: { description: 'Enables the syncing of internal packages.' },
32
36
  };
33
37
  //# 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,8FAA8F;IAE9F,kDAAkD;IAClD,sBAAsB,EAAE,EAAE,WAAW,EAAE,6CAA6C,EAAa;IAEjG,2DAA2D;IAC3D,iBAAiB,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAa;IAErG,sEAAsE;IACtE,mBAAmB,EAAE,EAAE,WAAW,EAAE,iEAAiE,EAAa;IAElH;;;OAGG;IACH,oBAAoB,EAAE;QACpB,WAAW,EACT,iKAAiK;KACzJ;IAEZ,kEAAkE;IAClE,oBAAoB,EAAE,EAAE,WAAW,EAAE,6DAA6D,EAAa;IAE/G,sCAAsC;IACtC,WAAW,EAAE,EAAE,WAAW,EAAE,iCAAiC,EAAa;IAE1E,2DAA2D;IAC3D,kBAAkB,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAa;IAEtG,uDAAuD;IACvD,aAAa,EAAE,EAAE,WAAW,EAAE,kDAAkD,EAAa;IAE7F,mGAAmG;IACnG,iBAAiB,EAAE;QACjB,WAAW,EAAE,8FAA8F;KACjG;CACb,CAAC","sourcesContent":["import type { Feature } from './Feature.js';\n\n/**\n * A set of options for configuring the experience.\n * Features can be set to true to change the default behavior.\n */\nexport const allFeatures = {\n // The comments provide intellisense, and the description strings are used in the help output.\n\n /** Enables the use of builtin dynamic imports. */\n evaluateDynamicImports: { description: 'Enables the use of builtin dynamic imports.' } as Feature,\n\n /** Disables the generation of source-maps during build. */\n disableSourceMaps: { description: 'Disables the generation of source-maps during build.' } as Feature,\n\n /** Enables the preemptive enqueueing of dependencies during build. */\n enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' } as Feature,\n\n /**\n * Excludes unused dependencies in the generated config during an init run.\n * This helps trim the dependency graph, reduce the import map, and speed up performance.\n */\n optimizeDependencies: {\n description:\n 'Excludes unused dependencies in the generated config during an init run. This helps trim the dependency graph, reduce the import map, and speed up performance.',\n } as Feature,\n\n /** Enables React Native type resolution of .web.ts extensions. */\n resolveWebExtensions: { description: 'Enables React Native type resolution of .web.ts extensions.' } as Feature,\n\n /** Enables the syncing of bundles. */\n syncBundles: { description: 'Enables the syncing of bundles.' } as Feature,\n\n /** Use a single server for both bundles and app assets. */\n useSingleWebServer: { description: 'Use a single server for both bundles and app assets.' } as Feature,\n\n /** Enables the verification of exports during init. */\n verifyExports: { description: 'Enables the verification of exports during init.' } as Feature,\n\n /** Automatically updates the generated config when an unknown import path is used during start. */\n autoUpdateEntries: {\n description: 'Automatically updates the generated config when an unknown import path is used during start.',\n } 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,8FAA8F;IAE9F,2DAA2D;IAC3D,iBAAiB,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAa;IAErG,sEAAsE;IACtE,mBAAmB,EAAE,EAAE,WAAW,EAAE,iEAAiE,EAAa;IAElH,6FAA6F;IAC7F,sBAAsB,EAAE;QACtB,WAAW,EAAE,wFAAwF;KAC3F;IAEZ;;;OAGG;IACH,oBAAoB,EAAE;QACpB,WAAW,EACT,iKAAiK;KACzJ;IAEZ,kEAAkE;IAClE,oBAAoB,EAAE,EAAE,WAAW,EAAE,6DAA6D,EAAa;IAE/G,sCAAsC;IACtC,WAAW,EAAE,EAAE,WAAW,EAAE,iCAAiC,EAAa;IAE1E,2DAA2D;IAC3D,kBAAkB,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAa;IAEtG,uDAAuD;IACvD,aAAa,EAAE,EAAE,WAAW,EAAE,kDAAkD,EAAa;IAE7F,mGAAmG;IACnG,iBAAiB,EAAE;QACjB,WAAW,EAAE,8FAA8F;KACjG;IAEZ,gDAAgD;IAChD,oBAAoB,EAAE,EAAE,WAAW,EAAE,2CAA2C,EAAa;CAC9F,CAAC","sourcesContent":["import type { Feature } from './Feature.js';\n\n/**\n * A set of options for configuring the experience.\n * Features can be set to true to change the default behavior.\n */\nexport const allFeatures = {\n // The comments provide intellisense, and the description strings are used in the help output.\n\n /** Disables the generation of source-maps during build. */\n disableSourceMaps: { description: 'Disables the generation of source-maps during build.' } as Feature,\n\n /** Enables the preemptive enqueueing of dependencies during build. */\n enqueueDependencies: { description: 'Enables the preemptive enqueueing of dependencies during build.' } as Feature,\n\n /** Check for dynamic (async) imports with non-literal paths in bundle output during init. */\n evaluateDynamicImports: {\n description: 'Check for dynamic (async) imports with non-literal paths in bundle output during init.',\n } as Feature,\n\n /**\n * Excludes unused dependencies in the generated config during an init run.\n * This helps trim the dependency graph, reduce the import map, and speed up performance.\n */\n optimizeDependencies: {\n description:\n 'Excludes unused dependencies in the generated config during an init run. This helps trim the dependency graph, reduce the import map, and speed up performance.',\n } as Feature,\n\n /** Enables React Native type resolution of .web.ts extensions. */\n resolveWebExtensions: { description: 'Enables React Native type resolution of .web.ts extensions.' } as Feature,\n\n /** Enables the syncing of bundles. */\n syncBundles: { description: 'Enables the syncing of bundles.' } as Feature,\n\n /** Use a single server for both bundles and app assets. */\n useSingleWebServer: { description: 'Use a single server for both bundles and app assets.' } as Feature,\n\n /** Enables the verification of exports during init. */\n verifyExports: { description: 'Enables the verification of exports during init.' } as Feature,\n\n /** Automatically updates the generated config when an unknown import path is used during start. */\n autoUpdateEntries: {\n description: 'Automatically updates the generated config when an unknown import path is used during start.',\n } as Feature,\n\n /** Enables the syncing of internal packages. */\n syncInternalPackages: { description: 'Enables the syncing of internal packages.' } as Feature,\n};\n"]}
@@ -5,7 +5,7 @@
5
5
  "toolPackages": [
6
6
  {
7
7
  "packageName": "@microsoft/api-extractor",
8
- "packageVersion": "7.43.2"
8
+ "packageVersion": "7.47.0"
9
9
  }
10
10
  ]
11
11
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ms-cloudpack/common-types",
3
- "version": "0.6.0",
3
+ "version": "0.6.2",
4
4
  "description": "Common types for Cloudpack.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -523,15 +523,15 @@
523
523
  "Features": {
524
524
  "type": "object",
525
525
  "properties": {
526
- "evaluateDynamicImports": {
527
- "type": "boolean"
528
- },
529
526
  "disableSourceMaps": {
530
527
  "type": "boolean"
531
528
  },
532
529
  "enqueueDependencies": {
533
530
  "type": "boolean"
534
531
  },
532
+ "evaluateDynamicImports": {
533
+ "type": "boolean"
534
+ },
535
535
  "optimizeDependencies": {
536
536
  "type": "boolean"
537
537
  },
@@ -549,6 +549,9 @@
549
549
  },
550
550
  "autoUpdateEntries": {
551
551
  "type": "boolean"
552
+ },
553
+ "syncInternalPackages": {
554
+ "type": "boolean"
552
555
  }
553
556
  },
554
557
  "additionalProperties": false,
@@ -646,7 +649,14 @@
646
649
  "items": {
647
650
  "type": "string"
648
651
  },
649
- "description": "Paths to files that include dynamic imports. These are used by ori to determine which files should be processed by the dynamic-imports plugin."
652
+ "description": "Only relevant for packages bundled with rollup: globs of files that include dynamic (async) imports with non-literal paths, to be processed by `@rollup/plugin-dynamic-import-vars` (subject to that plugin's [limitations](https://www.npmjs.com/package/\\@rollup/plugin-dynamic-import-vars#limitations)). Files matching `*.dynamic.*` are automatically included.\n\nThis is not needed for ori/esbuild and webpack because they should handle these types of imports automatically."
653
+ },
654
+ "ignoredBundlerWarnings": {
655
+ "type": "array",
656
+ "items": {
657
+ "type": "string"
658
+ },
659
+ "description": "Ignore these warning messages from the bundler (partial string matches). This is intended for non-actionable messages from external dependencies which can't easily be fixed, to avoid confusing users."
650
660
  }
651
661
  },
652
662
  "required": [
@@ -115,7 +115,14 @@
115
115
  "items": {
116
116
  "type": "string"
117
117
  },
118
- "description": "Paths to files that include dynamic imports. These are used by ori to determine which files should be processed by the dynamic-imports plugin."
118
+ "description": "Only relevant for packages bundled with rollup: globs of files that include dynamic (async) imports with non-literal paths, to be processed by `@rollup/plugin-dynamic-import-vars` (subject to that plugin's [limitations](https://www.npmjs.com/package/\\@rollup/plugin-dynamic-import-vars#limitations)). Files matching `*.dynamic.*` are automatically included.\n\nThis is not needed for ori/esbuild and webpack because they should handle these types of imports automatically."
119
+ },
120
+ "ignoredBundlerWarnings": {
121
+ "type": "array",
122
+ "items": {
123
+ "type": "string"
124
+ },
125
+ "description": "Ignore these warning messages from the bundler (partial string matches). This is intended for non-actionable messages from external dependencies which can't easily be fixed, to avoid confusing users."
119
126
  }
120
127
  },
121
128
  "required": [
@@ -524,15 +524,15 @@
524
524
  "Features": {
525
525
  "type": "object",
526
526
  "properties": {
527
- "evaluateDynamicImports": {
528
- "type": "boolean"
529
- },
530
527
  "disableSourceMaps": {
531
528
  "type": "boolean"
532
529
  },
533
530
  "enqueueDependencies": {
534
531
  "type": "boolean"
535
532
  },
533
+ "evaluateDynamicImports": {
534
+ "type": "boolean"
535
+ },
536
536
  "optimizeDependencies": {
537
537
  "type": "boolean"
538
538
  },
@@ -550,6 +550,9 @@
550
550
  },
551
551
  "autoUpdateEntries": {
552
552
  "type": "boolean"
553
+ },
554
+ "syncInternalPackages": {
555
+ "type": "boolean"
553
556
  }
554
557
  },
555
558
  "additionalProperties": false,
@@ -647,7 +650,14 @@
647
650
  "items": {
648
651
  "type": "string"
649
652
  },
650
- "description": "Paths to files that include dynamic imports. These are used by ori to determine which files should be processed by the dynamic-imports plugin."
653
+ "description": "Only relevant for packages bundled with rollup: globs of files that include dynamic (async) imports with non-literal paths, to be processed by `@rollup/plugin-dynamic-import-vars` (subject to that plugin's [limitations](https://www.npmjs.com/package/\\@rollup/plugin-dynamic-import-vars#limitations)). Files matching `*.dynamic.*` are automatically included.\n\nThis is not needed for ori/esbuild and webpack because they should handle these types of imports automatically."
654
+ },
655
+ "ignoredBundlerWarnings": {
656
+ "type": "array",
657
+ "items": {
658
+ "type": "string"
659
+ },
660
+ "description": "Ignore these warning messages from the bundler (partial string matches). This is intended for non-actionable messages from external dependencies which can't easily be fixed, to avoid confusing users."
651
661
  }
652
662
  },
653
663
  "required": [