@ms-cloudpack/common-types
Advanced tools
Comparing version 0.2.5 to 0.3.0
@@ -14,3 +14,4 @@ import type { Feature } from './Feature.js'; | ||
syncBundles: Feature; | ||
builtinDynamicImports: Feature; | ||
}; | ||
//# sourceMappingURL=allFeatures.d.ts.map |
@@ -15,3 +15,4 @@ /** | ||
syncBundles: { description: 'Enables the syncing of bundles.' }, | ||
builtinDynamicImports: { description: 'Enables the use of builtin dynamic imports.' }, | ||
}; | ||
//# sourceMappingURL=allFeatures.js.map |
@@ -51,2 +51,7 @@ /** | ||
/** | ||
* Paths to files that include dynamic imports. These are used by ori to determine which files should be | ||
* processed by the dynamic-imports plugin. | ||
*/ | ||
dynamicImports?: string[]; | ||
/** | ||
* If specific settings are required to pass through to the specific bundler, they can be specified here are are | ||
@@ -53,0 +58,0 @@ * expected to be merged in by the plugin. Specifying bundler-specific overrides is not recommended, as it locks |
@@ -34,8 +34,2 @@ import type { HttpsConfig } from './HttpsConfig.js'; | ||
/** | ||
* If provided, will override where the publicDir is located, relative to the app package folder. | ||
* Defaults to `./public`. The same thing can be achieved with `routes`, using route: '*' and | ||
* staticPath: './public', so the `publicPath` setting may be removed in the future. | ||
*/ | ||
publicPath?: string; | ||
/** | ||
* If provided, will register routes with the dev server to host various pages. | ||
@@ -42,0 +36,0 @@ */ |
@@ -63,3 +63,8 @@ import type { PackageJsonExports } from './PackageJson.js'; | ||
ignoreMissingExports?: boolean | Record<string, string[]>; | ||
/** | ||
* Paths to files that include dynamic imports. These are used by ori to determine which files should be | ||
* processed by the dynamic-imports plugin. | ||
*/ | ||
dynamicImports?: string[]; | ||
} | ||
//# sourceMappingURL=PackageSettings.d.ts.map |
@@ -14,3 +14,3 @@ export interface Route { | ||
* Path to a .js or .html file used for rendering the route. If a script is provided, it must | ||
* export a default function implementing `CreateHtmlFunction` defined in `@ms-cloudpack/cli`. | ||
* export a default function implementing `RenderRouteFunction` defined in `@ms-cloudpack/app-server`. | ||
*/ | ||
@@ -17,0 +17,0 @@ renderScript?: string; |
{ | ||
"name": "@ms-cloudpack/common-types", | ||
"version": "0.2.5", | ||
"version": "0.3.0", | ||
"description": "Common types for Cloudpack.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -112,2 +112,9 @@ { | ||
"description": "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: - To ignore top-level exports: `{ \".\": [\"badName\"] }` - To ignore exports from another path: `{ \"./lib/foo\": [\"badName\"] }`" | ||
}, | ||
"dynamicImports": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"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." | ||
} | ||
@@ -114,0 +121,0 @@ }, |
@@ -140,6 +140,2 @@ { | ||
}, | ||
"publicPath": { | ||
"type": "string", | ||
"description": "If provided, will override where the publicDir is located, relative to the app package folder. Defaults to `./public`. The same thing can be achieved with `routes`, using route: '*' and staticPath: './public', so the `publicPath` setting may be removed in the future." | ||
}, | ||
"routes": { | ||
@@ -451,3 +447,3 @@ "type": "array", | ||
"type": "string", | ||
"description": "Path to a .js or .html file used for rendering the route. If a script is provided, it must export a default function implementing `CreateHtmlFunction` defined in `@ms-cloudpack/cli`." | ||
"description": "Path to a .js or .html file used for rendering the route. If a script is provided, it must export a default function implementing `RenderRouteFunction` defined in `@ms-cloudpack/app-server`." | ||
}, | ||
@@ -500,2 +496,5 @@ "exportEntry": { | ||
"type": "boolean" | ||
}, | ||
"builtinDynamicImports": { | ||
"type": "boolean" | ||
} | ||
@@ -592,2 +591,9 @@ }, | ||
"description": "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: - To ignore top-level exports: `{ \".\": [\"badName\"] }` - To ignore exports from another path: `{ \"./lib/foo\": [\"badName\"] }`" | ||
}, | ||
"dynamicImports": { | ||
"type": "array", | ||
"items": { | ||
"type": "string" | ||
}, | ||
"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." | ||
} | ||
@@ -594,0 +600,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
130996
2052