@ms-cloudpack/config
Advanced tools
Comparing version 0.27.1 to 0.27.2
@@ -0,3 +1,12 @@ | ||
import type { UserPreferences } from '@ms-cloudpack/common-types'; | ||
export declare const appConfigFileName = "cloudpack.config.json"; | ||
export declare const generatedConfigFileName = "cloudpack.generated.json"; | ||
export declare const userPreferencesFileName = ".cloudpack.preferences.json"; | ||
/** | ||
* Object with all valid keys of the UserPreferences object. | ||
* | ||
* (This is a mapping from key to true because TS doesn't have a good way to verify that an array | ||
* contains all keys of a type.) | ||
*/ | ||
export declare const allUserPreferences: Readonly<Record<keyof UserPreferences, boolean>>; | ||
//# sourceMappingURL=constants.d.ts.map |
export const appConfigFileName = 'cloudpack.config.json'; | ||
export const generatedConfigFileName = 'cloudpack.generated.json'; | ||
export const userPreferencesFileName = '.cloudpack.preferences.json'; | ||
/** | ||
* Object with all valid keys of the UserPreferences object. | ||
* | ||
* (This is a mapping from key to true because TS doesn't have a good way to verify that an array | ||
* contains all keys of a type.) | ||
*/ | ||
export const allUserPreferences = { | ||
cachePath: true, | ||
}; | ||
//# sourceMappingURL=constants.js.map |
export { checkMatch } from './checkMatch.js'; | ||
export { configTemplate } from './configTemplate.js'; | ||
export { generatedConfigFileName, appConfigFileName } from './constants.js'; | ||
export { allUserPreferences } from './constants.js'; | ||
export { createPackageDefinitions } from './createPackageDefinitions.js'; | ||
export { getCachePath, getLocalCachePath } from './getCachePath.js'; | ||
export { getConfigPath } from './getConfigPath.js'; | ||
export { getUserPreferencesPath, setMockUserPreferencesDir } from './getUserPreferencesPath.js'; | ||
export { getPackageSettings } from './getPackageSettings.js'; | ||
@@ -11,5 +14,7 @@ export { getGeneratedPackageSettings } from './getGeneratedPackageSettings.js'; | ||
export { readAppConfig } from './readAppConfig.js'; | ||
export { readUserPreferences } from './readUserPreferences.js'; | ||
export { writeGeneratedConfig } from './writeGeneratedConfig.js'; | ||
export { writeAppConfig } from './writeAppConfig.js'; | ||
export { ensureGeneratedSettingsForPackage } from './ensureGeneratedSettingsForPackage.js'; | ||
export { updateUserPreference } from './updateUserPreference.js'; | ||
//# sourceMappingURL=index.d.ts.map |
export { checkMatch } from './checkMatch.js'; | ||
export { configTemplate } from './configTemplate.js'; | ||
export { generatedConfigFileName, appConfigFileName } from './constants.js'; | ||
export { allUserPreferences } from './constants.js'; | ||
export { createPackageDefinitions } from './createPackageDefinitions.js'; | ||
export { getCachePath, getLocalCachePath } from './getCachePath.js'; | ||
export { getConfigPath } from './getConfigPath.js'; | ||
export { getUserPreferencesPath, setMockUserPreferencesDir } from './getUserPreferencesPath.js'; | ||
export { getPackageSettings } from './getPackageSettings.js'; | ||
@@ -11,5 +14,7 @@ export { getGeneratedPackageSettings } from './getGeneratedPackageSettings.js'; | ||
export { readAppConfig } from './readAppConfig.js'; | ||
export { readUserPreferences } from './readUserPreferences.js'; | ||
export { writeGeneratedConfig } from './writeGeneratedConfig.js'; | ||
export { writeAppConfig } from './writeAppConfig.js'; | ||
export { ensureGeneratedSettingsForPackage } from './ensureGeneratedSettingsForPackage.js'; | ||
export { updateUserPreference } from './updateUserPreference.js'; | ||
//# sourceMappingURL=index.js.map |
@@ -5,2 +5,4 @@ /** unpkg URL for the GeneratedConfig JSON schema */ | ||
export declare const appConfigSchemaUrl = "https://unpkg.com/@ms-cloudpack/common-types/schema/AppConfig.json"; | ||
/** unpkg URL for the UserPreferences JSON schema */ | ||
export declare const userPreferencesSchemaUrl = "https://unpkg.com/@ms-cloudpack/common-types/schema/UserPreferences.json"; | ||
//# sourceMappingURL=schemaUrls.d.ts.map |
@@ -6,2 +6,4 @@ const schemaPrefix = 'https://unpkg.com/@ms-cloudpack/common-types/schema'; | ||
export const appConfigSchemaUrl = `${schemaPrefix}/AppConfig.json`; | ||
/** unpkg URL for the UserPreferences JSON schema */ | ||
export const userPreferencesSchemaUrl = `${schemaPrefix}/UserPreferences.json`; | ||
//# sourceMappingURL=schemaUrls.js.map |
{ | ||
"name": "@ms-cloudpack/config", | ||
"version": "0.27.1", | ||
"version": "0.27.2", | ||
"description": "Configuration handling for cloudpack.", | ||
@@ -17,6 +17,6 @@ "license": "MIT", | ||
"dependencies": { | ||
"@ms-cloudpack/common-types": "^0.19.0", | ||
"@ms-cloudpack/common-types": "^0.19.1", | ||
"@ms-cloudpack/json-utilities": "^0.1.7", | ||
"@ms-cloudpack/package-utilities": "^10.0.0", | ||
"@ms-cloudpack/path-utilities": "^2.7.37", | ||
"@ms-cloudpack/package-utilities": "^10.0.1", | ||
"@ms-cloudpack/path-utilities": "^2.7.38", | ||
"import-meta-resolve": "^4.0.0", | ||
@@ -23,0 +23,0 @@ "semver": "^7.6.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
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
130285
111
1108
3