@ms-cloudpack/common-types 0.26.0 → 0.26.1
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.
- package/lib/allFeatures.d.ts +4 -4
- package/lib/allFeatures.d.ts.map +1 -1
- package/lib/allFeatures.js +10 -8
- package/lib/allFeatures.js.map +1 -1
- package/package.json +1 -1
package/lib/allFeatures.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ 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
|
-
/** Automatically updates the generated config when an unknown import path is used during start. */
|
|
7
|
+
/** Automatically updates the generated config when an unknown import path is used during start (default: true). */
|
|
8
8
|
autoUpdateEntries: Feature;
|
|
9
9
|
/** Disables the generation of source-maps during build. */
|
|
10
10
|
disableSourceMaps: Feature;
|
|
@@ -14,7 +14,7 @@ export declare const allFeatures: {
|
|
|
14
14
|
enableCloudHosted: Feature;
|
|
15
15
|
/**
|
|
16
16
|
* Enables support of import maps for workers.
|
|
17
|
-
* To use this feature, the package with the worker must be bundled with webpack.
|
|
17
|
+
* To use this feature, the package with the worker must be bundled with webpack (default: true).
|
|
18
18
|
*/
|
|
19
19
|
enableModuleWorkers: Feature;
|
|
20
20
|
/**
|
|
@@ -27,7 +27,7 @@ export declare const allFeatures: {
|
|
|
27
27
|
enqueueDependencies: Feature;
|
|
28
28
|
/** Check for dynamic (async) imports with non-literal paths in bundle output during init. */
|
|
29
29
|
evaluateDynamicImports: Feature;
|
|
30
|
-
/** Enables relative resource paths to be used in import map paths when useSingleWebServer is true. */
|
|
30
|
+
/** Enables relative resource paths to be used in import map paths when useSingleWebServer is true. (default: true) */
|
|
31
31
|
relativeImportMapPaths: Feature;
|
|
32
32
|
/**
|
|
33
33
|
* Excludes unused dependencies in the generated config during an init run.
|
|
@@ -42,7 +42,7 @@ export declare const allFeatures: {
|
|
|
42
42
|
syncBundles: Feature;
|
|
43
43
|
/** Enables the syncing of internal packages. */
|
|
44
44
|
syncInternalPackages: Feature;
|
|
45
|
-
/** Use a single server for both bundles and app assets. */
|
|
45
|
+
/** Use a single server for both bundles and app assets (default: true). */
|
|
46
46
|
useSingleWebServer: Feature;
|
|
47
47
|
/** Enables the verification of exports during init. */
|
|
48
48
|
verifyExports: Feature;
|
package/lib/allFeatures.d.ts.map
CHANGED
|
@@ -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,
|
|
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,mHAAmH;uBAI9G,OAAO;IAEZ,2DAA2D;uBACmC,OAAO;IAErG,mHAAmH;eAI9G,OAAO;IAEZ,uCAAuC;uBACoC,OAAO;IAElF;;;OAGG;yBAIE,OAAO;IAEZ;;OAEG;gCAGE,OAAO;IAEZ,mFAAmF;yBAG9E,OAAO;IAEZ,sEAAsE;yBACqC,OAAO;IAElH,6FAA6F;4BAGxF,OAAO;IAEZ,sHAAsH;4BAIjH,OAAO;IAEZ;;;OAGG;0BAKE,OAAO;IAEZ,+GAA+G;yBAI1G,OAAO;IAEZ,+IAA+I;0BACvC,OAAO;IAE/G,sCAAsC;iBAC6B,OAAO;IAE1E,gDAAgD;0BACsC,OAAO;IAE7F,2EAA2E;wBAGtE,OAAO;IAEZ,uDAAuD;mBAC+B,OAAO;CAI9F,CAAC"}
|
package/lib/allFeatures.js
CHANGED
|
@@ -4,9 +4,9 @@
|
|
|
4
4
|
*/
|
|
5
5
|
export const allFeatures = {
|
|
6
6
|
// The comments provide intellisense, and the description strings are used in the help output.
|
|
7
|
-
/** Automatically updates the generated config when an unknown import path is used during start. */
|
|
7
|
+
/** Automatically updates the generated config when an unknown import path is used during start (default: true). */
|
|
8
8
|
autoUpdateEntries: {
|
|
9
|
-
description: 'Automatically updates the generated config when an unknown import path is used during start.',
|
|
9
|
+
description: 'Automatically updates the generated config when an unknown import path is used during start (default: true).',
|
|
10
10
|
},
|
|
11
11
|
/** Disables the generation of source-maps during build. */
|
|
12
12
|
disableSourceMaps: { description: 'Disables the generation of source-maps during build.' },
|
|
@@ -18,10 +18,10 @@ export const allFeatures = {
|
|
|
18
18
|
enableCloudHosted: { description: 'Enables cloud-hosted application.' },
|
|
19
19
|
/**
|
|
20
20
|
* Enables support of import maps for workers.
|
|
21
|
-
* To use this feature, the package with the worker must be bundled with webpack.
|
|
21
|
+
* To use this feature, the package with the worker must be bundled with webpack (default: true).
|
|
22
22
|
*/
|
|
23
23
|
enableModuleWorkers: {
|
|
24
|
-
description: 'Enables support of import maps for workers. To use this feature, the package with the worker must be bundled with webpack.',
|
|
24
|
+
description: 'Enables support of import maps for workers. To use this feature, the package with the worker must be bundled with webpack (default: true).',
|
|
25
25
|
},
|
|
26
26
|
/**
|
|
27
27
|
* Enables downloading bundles from remote cache instead of bundling.
|
|
@@ -39,9 +39,9 @@ export const allFeatures = {
|
|
|
39
39
|
evaluateDynamicImports: {
|
|
40
40
|
description: 'Check for dynamic (async) imports with non-literal paths in bundle output during init.',
|
|
41
41
|
},
|
|
42
|
-
/** Enables relative resource paths to be used in import map paths when useSingleWebServer is true. */
|
|
42
|
+
/** Enables relative resource paths to be used in import map paths when useSingleWebServer is true. (default: true) */
|
|
43
43
|
relativeImportMapPaths: {
|
|
44
|
-
description: 'Enables relative resource paths to be used in import map paths when useSingleWebServer is true.',
|
|
44
|
+
description: 'Enables relative resource paths to be used in import map paths when useSingleWebServer is true. (default: true)',
|
|
45
45
|
},
|
|
46
46
|
/**
|
|
47
47
|
* Excludes unused dependencies in the generated config during an init run.
|
|
@@ -62,8 +62,10 @@ export const allFeatures = {
|
|
|
62
62
|
syncBundles: { description: 'Enables the syncing of bundles.' },
|
|
63
63
|
/** Enables the syncing of internal packages. */
|
|
64
64
|
syncInternalPackages: { description: 'Enables the syncing of internal packages.' },
|
|
65
|
-
/** Use a single server for both bundles and app assets. */
|
|
66
|
-
useSingleWebServer: {
|
|
65
|
+
/** Use a single server for both bundles and app assets (default: true). */
|
|
66
|
+
useSingleWebServer: {
|
|
67
|
+
description: 'Use a single server for both bundles and app assets (default: true).',
|
|
68
|
+
},
|
|
67
69
|
/** Enables the verification of exports during init. */
|
|
68
70
|
verifyExports: { description: 'Enables the verification of exports during init.' },
|
|
69
71
|
// Please add new features in alphabetical order!
|
package/lib/allFeatures.js.map
CHANGED
|
@@ -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,
|
|
1
|
+
{"version":3,"file":"allFeatures.js","sourceRoot":"","sources":["../src/allFeatures.ts"],"names":[],"mappings":"AAEA;;;GAGG;AACH,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,8FAA8F;IAE9F,mHAAmH;IACnH,iBAAiB,EAAE;QACjB,WAAW,EACT,8GAA8G;KACtG;IAEZ,2DAA2D;IAC3D,iBAAiB,EAAE,EAAE,WAAW,EAAE,sDAAsD,EAAa;IAErG,mHAAmH;IACnH,SAAS,EAAE;QACT,WAAW,EACT,8GAA8G;KACtG;IAEZ,uCAAuC;IACvC,iBAAiB,EAAE,EAAE,WAAW,EAAE,mCAAmC,EAAa;IAElF;;;OAGG;IACH,mBAAmB,EAAE;QACnB,WAAW,EACT,4IAA4I;KACpI;IAEZ;;OAEG;IACH,0BAA0B,EAAE;QAC1B,WAAW,EAAE,oEAAoE;KACvE;IAEZ,mFAAmF;IACnF,mBAAmB,EAAE;QACnB,WAAW,EAAE,6EAA6E;KAChF;IAEZ,sEAAsE;IACtE,mBAAmB,EAAE,EAAE,WAAW,EAAE,iEAAiE,EAAa;IAElH,6FAA6F;IAC7F,sBAAsB,EAAE;QACtB,WAAW,EAAE,wFAAwF;KAC3F;IAEZ,sHAAsH;IACtH,sBAAsB,EAAE;QACtB,WAAW,EACT,iHAAiH;KACzG;IAEZ;;;OAGG;IACH,oBAAoB,EAAE;QACpB,WAAW;QACT,0EAA0E;QAC1E,iKAAiK;KACzJ;IAEZ,+GAA+G;IAC/G,mBAAmB,EAAE;QACnB,WAAW,EACT,0GAA0G;KAClG;IAEZ,+IAA+I;IAC/I,oBAAoB,EAAE,EAAE,WAAW,EAAE,6DAA6D,EAAa;IAE/G,sCAAsC;IACtC,WAAW,EAAE,EAAE,WAAW,EAAE,iCAAiC,EAAa;IAE1E,gDAAgD;IAChD,oBAAoB,EAAE,EAAE,WAAW,EAAE,2CAA2C,EAAa;IAE7F,2EAA2E;IAC3E,kBAAkB,EAAE;QAClB,WAAW,EAAE,sEAAsE;KACzE;IAEZ,uDAAuD;IACvD,aAAa,EAAE,EAAE,WAAW,EAAE,kDAAkD,EAAa;IAE7F,iDAAiD;IACjD,oDAAoD;CACrD,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 /** Automatically updates the generated config when an unknown import path is used during start (default: true). */\n autoUpdateEntries: {\n description:\n 'Automatically updates the generated config when an unknown import path is used during start (default: true).',\n } 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 server-side rendering (SSR) for the application. This is experimental and may not work in all cases. */\n enableSSR: {\n description:\n 'Enables server-side rendering (SSR) for the application. This is experimental and may not work in all cases.',\n } as Feature,\n\n /** Enabled cloud-hosted application */\n enableCloudHosted: { description: 'Enables cloud-hosted application.' } as Feature,\n\n /**\n * Enables support of import maps for workers.\n * To use this feature, the package with the worker must be bundled with webpack (default: true).\n */\n enableModuleWorkers: {\n description:\n 'Enables support of import maps for workers. To use this feature, the package with the worker must be bundled with webpack (default: true).',\n } as Feature,\n\n /**\n * Enables downloading bundles from remote cache instead of bundling.\n */\n enableRemoteCacheDownloads: {\n description: 'Enables downloading bundles from remote cache instead of bundling.',\n } as Feature,\n\n /** Enables the file watcher to be spawned in a forked process (default: true). */\n enableWatcherInFork: {\n description: 'Enables the file watcher to be spawned in a forked process (default: true).',\n } 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 /** Enables relative resource paths to be used in import map paths when useSingleWebServer is true. (default: true) */\n relativeImportMapPaths: {\n description:\n 'Enables relative resource paths to be used in import map paths when useSingleWebServer is true. (default: true)',\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 // breaking up this string causes an exception in ts-json-schema-generator\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 /** Creates null entries for unused exports in generated config so that they are not included when bundling. */\n removeUnusedExports: {\n description:\n 'Creates null entries for unused exports in generated config so that they are not included when bundling.',\n } as Feature,\n\n /** @deprecated Removed in favor of `resolve-web-extensions` bundler capability. 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 /** Enables the syncing of internal packages. */\n syncInternalPackages: { description: 'Enables the syncing of internal packages.' } as Feature,\n\n /** Use a single server for both bundles and app assets (default: true). */\n useSingleWebServer: {\n description: 'Use a single server for both bundles and app assets (default: true).',\n } 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 // Please add new features in alphabetical order!\n // Don't forget to add them to the doc site as well!\n};\n"]}
|