@ms-cloudpack/config
Advanced tools
Comparing version 0.15.0 to 0.16.0
@@ -1,3 +0,3 @@ | ||
import type { PackageOverride } from './index.js'; | ||
import type { PackageOverride } from '@ms-cloudpack/config-types'; | ||
export declare function compareOverrides(a: PackageOverride, b: PackageOverride): number; | ||
//# sourceMappingURL=compareOverrides.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import type { PackageSettings } from './types/PackageSettings.js'; | ||
import type { PackageSettings } from '@ms-cloudpack/config-types'; | ||
export declare function compareSettings(a: PackageSettings, b: PackageSettings): number; | ||
//# sourceMappingURL=compareSettings.d.ts.map |
@@ -1,3 +0,3 @@ | ||
import type { UserConfig } from './types/UserConfig.js'; | ||
import type { UserConfig } from '@ms-cloudpack/config-types'; | ||
export declare const configTemplate: UserConfig; | ||
//# sourceMappingURL=configTemplate.d.ts.map |
import type { PackageDefinitionsCache } from '@ms-cloudpack/bundler-types'; | ||
import type { CloudpackConfig } from './types/CloudpackConfig.js'; | ||
import type { CloudpackConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Given a Cloudpack config, create a package definitions cache with transforms resulting from settings defined |
import type { PackageDefinitionTransform } from '@ms-cloudpack/bundler-types'; | ||
import type { CloudpackConfig } from './types/CloudpackConfig.js'; | ||
import type { CloudpackConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -4,0 +4,0 @@ * Creates a transform to be registered with a PackageDefinitions registry for applying overrides to from the config |
@@ -16,3 +16,4 @@ import { getPackageSettings } from './getPackageSettings.js'; | ||
...definition, | ||
exports: userPackageSettings?.exports || (await getExportsMap({ packagePath, disableTransforms: true }, { packages })), | ||
exports: userPackageSettings?.exports || | ||
(await getExportsMap({ packagePath, disableTransforms: true }, { packages, config })), | ||
}; | ||
@@ -19,0 +20,0 @@ // If we have generated overrides, apply them. |
@@ -1,3 +0,2 @@ | ||
import type { CloudpackConfig } from './types/CloudpackConfig.js'; | ||
import type { PackageSettings } from './types/PackageSettings.js'; | ||
import type { PackageSettings, CloudpackConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -4,0 +3,0 @@ * Gets the single set of package settings for a given package using the given config. |
@@ -1,2 +0,1 @@ | ||
export { allFeatures } from './allFeatures.js'; | ||
export { configTemplate } from './configTemplate.js'; | ||
@@ -10,14 +9,4 @@ export { generatedConfigFileName, userConfigFileName } from './constants.js'; | ||
export { readUserConfig } from './readUserConfig.js'; | ||
export type { CloudpackConfig } from './types/CloudpackConfig.js'; | ||
export type { DevServer } from './types/DevServer.js'; | ||
export type { Feature } from './types/Feature.js'; | ||
export type { Features } from './types/Features.js'; | ||
export type { GeneratedConfig } from './types/GeneratedConfig.js'; | ||
export type { PackageOverride } from './types/PackageOverride.js'; | ||
export type { PackageSettings } from './types/PackageSettings.js'; | ||
export type { Route } from './types/Route.js'; | ||
export type { TelemetryConfig } from './types/TelemetryConfig.js'; | ||
export type { UserConfig } from './types/UserConfig.js'; | ||
export { writeGeneratedConfig } from './writeGeneratedConfig.js'; | ||
export { writeUserConfig } from './writeUserConfig.js'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -1,2 +0,1 @@ | ||
export { allFeatures } from './allFeatures.js'; | ||
export { configTemplate } from './configTemplate.js'; | ||
@@ -3,0 +2,0 @@ export { generatedConfigFileName, userConfigFileName } from './constants.js'; |
@@ -1,2 +0,2 @@ | ||
import type { PackageSettings } from './types/PackageSettings.js'; | ||
import type { PackageSettings } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Merges package settings together. Takes care to merge exports maps correctly. |
@@ -1,2 +0,2 @@ | ||
import type { GeneratedConfig } from './index.js'; | ||
import type { GeneratedConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * An internal function for processing a config object after reading the json values. |
@@ -1,2 +0,2 @@ | ||
import type { CloudpackConfig } from './types/CloudpackConfig.js'; | ||
import type { CloudpackConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Reads the config file asynchronously (and merges generated config into the result.) |
@@ -1,2 +0,2 @@ | ||
import type { GeneratedConfig } from './types/GeneratedConfig.js'; | ||
import type { GeneratedConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Reads the generated config file asynchronously. This is only useful for the `init` verb generating or updated |
@@ -1,2 +0,2 @@ | ||
import type { UserConfig } from './index.js'; | ||
import type { UserConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Reads the user config file asynchronously. Note this is only useful for making modifications to the user config. |
@@ -1,2 +0,2 @@ | ||
import type { GeneratedConfig } from './types/GeneratedConfig.js'; | ||
import type { GeneratedConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Writes generated config. This is used for `init` to provide package overrides needed. |
@@ -1,2 +0,2 @@ | ||
import type { UserConfig } from './index.js'; | ||
import type { UserConfig } from '@ms-cloudpack/config-types'; | ||
/** | ||
@@ -3,0 +3,0 @@ * Writes updates to the user config. Unlike writing generated config, this does not sort existing package settings, |
{ | ||
"name": "@ms-cloudpack/config", | ||
"version": "0.15.0", | ||
"version": "0.16.0", | ||
"description": "Configuration handling for cloudpack.", | ||
@@ -17,6 +17,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@ms-cloudpack/bundler-types": "^0.21.0", | ||
"@ms-cloudpack/create-express-app": "^1.3.12", | ||
"@ms-cloudpack/bundler-types": "^1.0.0", | ||
"@ms-cloudpack/config-types": "^0.1.0", | ||
"@ms-cloudpack/json-utilities": "^0.1.0", | ||
"@ms-cloudpack/package-utilities": "^5.4.0", | ||
"@ms-cloudpack/package-utilities": "^5.5.0", | ||
"semver": "^7.3.7" | ||
@@ -23,0 +23,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
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
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
48475
67
380
+ Added@ms-cloudpack/bundler-types@1.0.0(transitive)
+ Added@ms-cloudpack/config-types@0.1.30.6.0(transitive)
- Removed@ms-cloudpack/bundler-types@0.21.0(transitive)