@arroyodev-llc/projen.component.tsconfig-container
Advanced tools
Comparing version 0.1.12 to 0.1.13
@@ -49,2 +49,3 @@ import { javascript, Component, Project, typescript } from 'projen'; | ||
readonly projectPaths: Map<typescript.TypeScriptProject, Set<typescript.TypeScriptProject>>; | ||
readonly projectReferences: Map<typescript.TypeScriptProject, Set<typescript.TypeScriptProject>>; | ||
constructor(project: Project, options?: TypescriptConfigContainerOptions); | ||
@@ -62,3 +63,5 @@ /** | ||
*/ | ||
defineConfig(name: string, options: javascript.TypeScriptCompilerOptions): this; | ||
defineConfig<Options extends javascript.TypeScriptCompilerOptions & { | ||
overrides?: Record<string, unknown>; | ||
}>(name: string, options: Options): this; | ||
/** | ||
@@ -104,2 +107,21 @@ * Build `TypescriptConfigExtends` object from configs. | ||
/** | ||
* Build tsconfig project reference object. | ||
* @param fromProject Target to add reference to. | ||
* @param toProject Reference target. | ||
* @protected | ||
*/ | ||
protected buildReference(fromProject: typescript.TypeScriptProject, toProject: typescript.TypeScriptProject): { | ||
path: string; | ||
} | undefined; | ||
/** | ||
* Apply all tsconfig paths. | ||
* @protected | ||
*/ | ||
protected applyTsConfigPaths(): void; | ||
/** | ||
* Apply all tsconfig references. | ||
* @protected | ||
*/ | ||
protected applyTsProjectReferences(): void; | ||
/** | ||
* Add tsconfig path entries for the given projects. | ||
@@ -111,2 +133,8 @@ * @param fromProject Target project to modify. | ||
/** | ||
* Add tsconfig reference entries for the given projects. | ||
* @param fromProject Target project to modify. | ||
* @param toProjects Projects to reference. | ||
*/ | ||
addTsConfigReferences(fromProject: typescript.TypeScriptProject, toProjects: typescript.TypeScriptProject[]): this; | ||
/** | ||
* @inheritDoc | ||
@@ -113,0 +141,0 @@ */ |
@@ -14,6 +14,6 @@ { | ||
"eslint": "^8", | ||
"eslint-config-prettier": "^8.8.0", | ||
"eslint-import-resolver-node": "^0.3.7", | ||
"eslint-import-resolver-typescript": "^3.5.5", | ||
"eslint-plugin-import": "^2.27.5", | ||
"eslint-config-prettier": "^8.10.0", | ||
"eslint-import-resolver-node": "^0.3.9", | ||
"eslint-import-resolver-typescript": "^3.6.0", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
@@ -23,3 +23,3 @@ "lint-staged": "^13.2.3", | ||
"prettier": "^2.8.8", | ||
"projen": "^0.71.142", | ||
"projen": "^0.72.10", | ||
"standard-version": "^9", | ||
@@ -30,8 +30,8 @@ "typescript": "~5.1", | ||
"peerDependencies": { | ||
"projen": "^0.71.142" | ||
"projen": "^0.72.10" | ||
}, | ||
"dependencies": { | ||
"@arroyodev-llc/utils.projen": "0.1.17" | ||
"@arroyodev-llc/utils.projen": "0.1.18" | ||
}, | ||
"main": "./dist/index.cjs", | ||
"main": "dist/index.mjs", | ||
"license": "Apache-2.0", | ||
@@ -41,11 +41,9 @@ "publishConfig": { | ||
}, | ||
"version": "0.1.12", | ||
"version": "0.1.13", | ||
"types": "./dist/index.d.ts", | ||
"type": "module", | ||
"sideEffects": false, | ||
"module": "./dist/index.mjs", | ||
"exports": { | ||
".": { | ||
"import": "./dist/index.mjs", | ||
"types": "./dist/index.d.ts", | ||
"require": "./dist/index.cjs" | ||
@@ -52,0 +50,0 @@ }, |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
86074
10
0
728
+ Added@arroyodev-llc/utils.projen@0.1.18(transitive)
+ Addedflat@5.0.2(transitive)
+ Addedprojen@0.72.31(transitive)
- Removed@arroyodev-llc/utils.projen@0.1.17(transitive)
- Removedprojen@0.71.163(transitive)