Skip to content

Commit

Permalink
fix(workspace): add tsconfig.json dedicated to the application
Browse files Browse the repository at this point in the history
  • Loading branch information
kpanot committed Dec 23, 2024
1 parent c8834dc commit 7dcd6b3
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 2 deletions.
8 changes: 6 additions & 2 deletions packages/@o3r/workspace/schematics/application/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ import {
createSchematicWithMetricsIfInstalled,
type DependencyToAdd,
enforceTildeRange,
findConfigFileRelativePath,
getPackagesBaseRootFolder,
getWorkspaceConfig,
isNxContext,
Expand Down Expand Up @@ -51,10 +52,11 @@ function generateApplicationFn(options: NgGenerateApplicationSchema): Rule {
const packageJsonName = strings.dasherize(options.name);
const cleanName = packageJsonName.replace(/^@/, '').replaceAll(/\//g, '-');

const addProjectSpecificFiles = (targetPath: string, rootDependencies: Record<string, string | undefined>) => {
const addProjectSpecificFiles = (targetPath: string, rootDependencies: Record<string, string | undefined>, tsconfigBasePath: string) => {
return mergeWith(apply(url('./templates'), [
template({
...options,
tsconfigBasePath,
enforceTildeRange,
name: packageJsonName,
rootDependencies
Expand Down Expand Up @@ -109,13 +111,15 @@ function generateApplicationFn(options: NgGenerateApplicationSchema): Rule {
}
} as const satisfies Record<string, DependencyToAdd>;

const tsconfigBasePath = findConfigFileRelativePath(tree, ['tsconfig.base.json', 'tsconfig.json'], targetPath);

Check failure on line 114 in packages/@o3r/workspace/schematics/application/index.ts

View workflow job for this annotation

GitHub Actions / checks / test (ubuntu-latest)

generateApplication › should generate an application

TypeError: (0 , schematics_2.findConfigFileRelativePath) is not a function at ngCliUpdate (schematics/application/index.ts:114:56) at callRuleAsync (../../../.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:77:24) at ../../../.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:73:40 at Observable._subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/defer.ts:55:15) at Observable.Object.<anonymous>.Observable._trySubscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:244:19) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:234:18 at Object.errorContext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5) at Observable.Object.<anonymous>.Observable.subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:54:12 at OperatorSubscriber.<anonymous> (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/lift.ts:24:18) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:226:22 at Object.errorContext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5) at Observable.Object.<anonymous>.Observable.subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5) at doInnerSub (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:71:40) at outerNext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:53:58) at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:85:24 at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:58:20 at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/innerFrom.ts:90:24

Check failure on line 114 in packages/@o3r/workspace/schematics/application/index.ts

View workflow job for this annotation

GitHub Actions / checks / test (ubuntu-latest)

generateApplication › should generate an application with provided path

TypeError: (0 , schematics_2.findConfigFileRelativePath) is not a function at ngCliUpdate (schematics/application/index.ts:114:56) at callRuleAsync (../../../.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:77:24) at ../../../.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:73:40 at Observable._subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/defer.ts:55:15) at Observable.Object.<anonymous>.Observable._trySubscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:244:19) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:234:18 at Object.errorContext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5) at Observable.Object.<anonymous>.Observable.subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:54:12 at OperatorSubscriber.<anonymous> (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/lift.ts:24:18) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:226:22 at Object.errorContext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5) at Observable.Object.<anonymous>.Observable.subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5) at doInnerSub (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:71:40) at outerNext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:53:58) at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:85:24 at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:58:20 at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/innerFrom.ts:90:24

Check failure on line 114 in packages/@o3r/workspace/schematics/application/index.ts

View workflow job for this annotation

GitHub Actions / checks / test (windows-latest)

generateApplication › should generate an application

TypeError: (0 , schematics_2.findConfigFileRelativePath) is not a function at ngCliUpdate (schematics/application/index.ts:114:56) at callRuleAsync (../../../.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:77:24) at ../../../.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:73:40 at Observable._subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/defer.ts:55:15) at Observable.Object.<anonymous>.Observable._trySubscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:244:19) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:234:18 at Object.errorContext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5) at Observable.Object.<anonymous>.Observable.subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:54:12 at OperatorSubscriber.<anonymous> (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/lift.ts:24:18) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:226:22 at Object.errorContext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5) at Observable.Object.<anonymous>.Observable.subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5) at doInnerSub (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:71:40) at outerNext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:53:58) at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:85:24 at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:58:20 at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/innerFrom.ts:90:24

Check failure on line 114 in packages/@o3r/workspace/schematics/application/index.ts

View workflow job for this annotation

GitHub Actions / checks / test (windows-latest)

generateApplication › should generate an application with provided path

TypeError: (0 , schematics_2.findConfigFileRelativePath) is not a function at ngCliUpdate (schematics/application/index.ts:114:56) at callRuleAsync (../../../.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:77:24) at ../../../.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:73:40 at Observable._subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/defer.ts:55:15) at Observable.Object.<anonymous>.Observable._trySubscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:244:19) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:234:18 at Object.errorContext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5) at Observable.Object.<anonymous>.Observable.subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:54:12 at OperatorSubscriber.<anonymous> (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/lift.ts:24:18) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:226:22 at Object.errorContext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5) at Observable.Object.<anonymous>.Observable.subscribe (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5) at doInnerSub (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:71:40) at outerNext (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:53:58) at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:85:24 at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:58:20 at OperatorSubscriber._this._next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13) at OperatorSubscriber.Object.<anonymous>.Subscriber.next (../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12) at ../../../.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/innerFrom.ts:90:24

Check failure on line 114 in packages/@o3r/workspace/schematics/application/index.ts

View workflow job for this annotation

GitHub Actions / UT Tests report-ubuntu-latest

generateApplication ► packages/@o3r/workspace/schematics/application/index.spec.ts ► generateApplication should generate an application

Failed test found in: packages/@o3r/workspace/dist-test/junit.xml packages/@o3r/workspace/dist-test/junit.xml Error: TypeError: (0 , schematics_2.findConfigFileRelativePath) is not a function
Raw output
TypeError: (0 , schematics_2.findConfigFileRelativePath) is not a function
    at ngCliUpdate (/home/runner/work/otter/otter/packages/@o3r/workspace/schematics/application/index.ts:114:56)
    at callRuleAsync (/home/runner/work/otter/otter/.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:77:24)
    at /home/runner/work/otter/otter/.yarn/cache/@angular-devkit-schematics-npm-18.2.12-85dfcfaac2-7e3f345ce2.zip/node_modules/@angular-devkit/schematics/src/rules/call.js:73:40
    at Observable._subscribe (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/defer.ts:55:15)
    at Observable.Object.<anonymous>.Observable._trySubscribe (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:244:19)
    at /home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:234:18
    at Object.errorContext (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
    at Observable.Object.<anonymous>.Observable.subscribe (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5)
    at /home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:54:12
    at OperatorSubscriber.<anonymous> (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/lift.ts:24:18)
    at /home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:226:22
    at Object.errorContext (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/util/errorContext.ts:29:5)
    at Observable.Object.<anonymous>.Observable.subscribe (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Observable.ts:220:5)
    at doInnerSub (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:71:40)
    at outerNext (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:53:58)
    at OperatorSubscriber._this._next (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13)
    at OperatorSubscriber.Object.<anonymous>.Subscriber.next (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at /home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/mergeInternals.ts:85:24
    at OperatorSubscriber._this._next (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13)
    at OperatorSubscriber.Object.<anonymous>.Subscriber.next (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at /home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/map.ts:58:20
    at OperatorSubscriber._this._next (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/operators/OperatorSubscriber.ts:70:13)
    at OperatorSubscriber.Object.<anonymous>.Subscriber.next (/home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/Subscriber.ts:75:12)
    at /home/runner/work/otter/otter/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/src/internal/observable/innerFrom.ts:90:24
    at processTicksAndRejections (node:internal/process/task_queues:95:5)

return chain([
externalSchematic<Partial<ApplicationOptions>>('@schematics/angular', 'application', {
...Object.entries(extendedOptions).reduce((acc, [key, value]) => (angularOptions.includes(key) ? { ...acc, [key]: value } : acc), {}),
name: cleanName,
projectRoot,
style: Style.Scss }),
addProjectSpecificFiles(targetPath, rootDependencies),
addProjectSpecificFiles(targetPath, rootDependencies, tsconfigBasePath),
updateProjectTsConfig(targetPath, 'tsconfig.app.json', { updateInputFiles: true }),
setupDependencies({
dependencies,
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/* For IDE usage only */
{
"extends": "<%= tsconfigBasePath %>",
"references": [
{"path": "./tsconfig.app.json"},
{"path": "./tsconfig.spec.json"}
]
}

0 comments on commit 7dcd6b3

Please sign in to comment.