fix/schematic #375
checks.yaml
on: pull_request
Lint, type check
3m 39s
Annotations
57 errors and 5 warnings
Module '"@atls/schematics"' has no exported member 'ProjectType'.:
cli/cli-ui-schematics-component/src/request-project-information/request-project-information.component.tsx#L10
Module '"@atls/schematics"' has no exported member 'ProjectType'.
|
Could not find a declaration file for module 'js-yaml'. '/home/runner/work/raijin/raijin/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c138a34a3f.zip/node_modules/js-yaml/dist/js-yaml.mjs' implicitly has an 'any' type.:
schematics/schematics/src.bak/utils/yaml.utils.ts#L7
Could not find a declaration file for module 'js-yaml'. '/home/runner/work/raijin/raijin/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c138a34a3f.zip/node_modules/js-yaml/dist/js-yaml.mjs' implicitly has an 'any' type.
If the 'js-yaml' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml'
|
Could not find a declaration file for module 'js-yaml'. '/home/runner/work/raijin/raijin/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c138a34a3f.zip/node_modules/js-yaml/dist/js-yaml.mjs' implicitly has an 'any' type.:
schematics/schematics/src.bak/utils/yaml.utils.ts#L8
Could not find a declaration file for module 'js-yaml'. '/home/runner/work/raijin/raijin/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c138a34a3f.zip/node_modules/js-yaml/dist/js-yaml.mjs' implicitly has an 'any' type.
If the 'js-yaml' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml'
|
Property 'default' does not exist on type '{ compilerOptions: { lib: string[]; declaration: boolean; emitDecoratorMetadata: boolean; experimentalDecorators: boolean; esModuleInterop: boolean; forceConsistentCasingInFileNames: boolean; ... 18 more ...; outDir: string; }; exclude: string[]; }'.:
schematics/schematics/src/rules/update-ts-config.rule.ts#L6
Property 'default' does not exist on type '{ compilerOptions: { lib: string[]; declaration: boolean; emitDecoratorMetadata: boolean; experimentalDecorators: boolean; esModuleInterop: boolean; forceConsistentCasingInFileNames: boolean; ... 18 more ...; outDir: string; }; exclude: string[]; }'.
|
Could not find a declaration file for module 'js-yaml'. '/home/runner/work/raijin/raijin/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c138a34a3f.zip/node_modules/js-yaml/dist/js-yaml.mjs' implicitly has an 'any' type.:
schematics/schematics/src/utils/yaml.utils.ts#L7
Could not find a declaration file for module 'js-yaml'. '/home/runner/work/raijin/raijin/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c138a34a3f.zip/node_modules/js-yaml/dist/js-yaml.mjs' implicitly has an 'any' type.
If the 'js-yaml' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml'
|
Could not find a declaration file for module 'js-yaml'. '/home/runner/work/raijin/raijin/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c138a34a3f.zip/node_modules/js-yaml/dist/js-yaml.mjs' implicitly has an 'any' type.:
schematics/schematics/src/utils/yaml.utils.ts#L8
Could not find a declaration file for module 'js-yaml'. '/home/runner/work/raijin/raijin/.yarn/cache/js-yaml-npm-4.1.0-3606f32312-c138a34a3f.zip/node_modules/js-yaml/dist/js-yaml.mjs' implicitly has an 'any' type.
If the 'js-yaml' package actually exposes this module, consider sending a pull request to amend 'https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/js-yaml'
|
Argument of type '(Rule | Rule)[]' is not assignable to parameter of type 'Iterable<Rule> | AsyncIterable<Rule>'.:
yarn/plugin-schematics/sources/collection/src/project/project.factory.ts#L50
Argument of type '(Rule | Rule)[]' is not assignable to parameter of type 'Iterable<Rule> | AsyncIterable<Rule>'.
Type '(Rule | Rule)[]' is not assignable to type 'Iterable<Rule>'.
The types returned by '[Symbol.iterator]().next(...)' are incompatible between these types.
Type 'IteratorResult<Rule | Rule, any>' is not assignable to type 'IteratorResult<Rule, any>'.
Type 'IteratorYieldResult<Rule | Rule>' is not assignable to type 'IteratorResult<Rule, any>'.
Type 'IteratorYieldResult<Rule | Rule>' is not assignable to type 'IteratorYieldResult<Rule>'.
Type 'Rule | Rule' is not assignable to type 'Rule'.
Type 'import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-18.2.2-4714d23333-6fc2456222.zip/node_modules/@angular-devkit/schematics/src/engine/interface").Rule' is not assignable to type 'import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-19.1.5-d828b63554-b5e2fd222f.zip/node_modules/@angular-devkit/schematics/src/engine/interface").Rule'.
Types of parameters 'context' and 'context' are incompatible.
Type 'import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-19.1.5-d828b63554-b5e2fd222f.zip/node_modules/@angular-devkit/schematics/src/engine/interface").SchematicContext' is not assignable to type 'import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-18.2.2-4714d23333-6fc2456222.zip/node_modules/@angular-devkit/schematics/src/engine/interface").SchematicContext'.
The types of 'engine.createCollection(...).createSchematic(...).call' are incompatible between these types.
Type '<OptionT extends object>(options: OptionT, host: import("/home/runner/work/raijin/raijin/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/dist/types/internal/Observable").Observable<import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-19.1.5-d828b63554-b5e2fd222f.z...' is not assignable to type '<OptionT extends object>(options: OptionT, host: import("/home/runner/work/raijin/raijin/.yarn/cache/rxjs-npm-7.8.1-41c443a75b-b10cac1a52.zip/node_modules/rxjs/dist/types/internal/Observable").Observable<import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-18.2.2-4714d23333-6fc2456222.z...'.
Types of parameters 'parentContext' and 'parentContext' are incompatible.
Type 'Partial<import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-18.2.2-4714d23333-6fc2456222.zip/node_modules/@angular-devkit/schematics/src/engine/interface").TypedSchematicContext<{}, {}>> | undefined' is not assignable to type 'Partial<import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-19.1.5-d828b63554-b5e2fd222f.zip/node_modules/@angular-devkit/schematics/src/engine/interface").TypedSchematicContext<{}, {}>> | undefined'.
Type 'Partial<import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-18.2.2-4714d23333-6fc2456222.zip/node_modules/@angular-devkit/schematics/src/engine/interface").TypedSchematicContext<{}, {}>>' is not assignable to type 'Partial<import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-19.1.5-d828b63554-b5e2fd222f.zip/node_modules/@angular-devkit/schematics/src/engine/interface").TypedSchematicContext<{}, {}>>'.
Types of property 'engine' are incompatible.
Type 'import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-18.2.2-4714d23333-6fc2456222.zip/node_modules/@angular-devkit/schematics/src/engine/interface").Engine<{}, {}> | undefined' is not assignable to type 'import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-19.1.5-d828b63554-b5e2fd222f.zip/node_modules/@angular-devkit/schematics/src/engine/interface").Engine<{}, {}> | undefined'.
Type 'import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-18.2.2-4714d23333-6fc2456222.zip/node_modules/@angular-devkit/schematics/src/engine/interface").Engine<{}, {}>' is not assignable to type 'import("/home/runner/work/raijin/raijin/.yarn/cache/@angular-devkit-schematics-npm-19.1.5-d828b63554-b5e2fd222f.zip/node_modules/@angular-devkit/schematics/src/engine/interface").Engine<{}, {}>'.
|
An import path can only end with a '.tsx' extension when 'allowImportingTsExtensions' is enabled.:
yarn/plugin-schematics/sources/commands/index.ts#L1
An import path can only end with a '.tsx' extension when 'allowImportingTsExtensions' is enabled.
|
Parameter 'options' implicitly has an 'any' type.:
yarn/plugin-schematics/sources/getters/stream-report-callback.getter.ts#L12
Parameter 'options' implicitly has an 'any' type.
|
Parameter 'event' implicitly has an 'any' type.:
yarn/plugin-schematics/sources/helpers/events-log.helper.ts#L1
Parameter 'event' implicitly has an 'any' type.
|
(@typescript-eslint/no-shadow): 'dir' is already declared in the upper scope on line 15 column 7.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L23
'dir' is already declared in the upper scope on line 15 column 7.
|
(n/no-sync): Unexpected sync method: 'readdirSync'.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L24
Unexpected sync method: 'readdirSync'.
|
(n/no-sync): Unexpected sync method: 'statSync'.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L26
Unexpected sync method: 'statSync'.
|
(@typescript-eslint/no-shadow): 'dir' is already declared in the upper scope on line 15 column 7.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L37
'dir' is already declared in the upper scope on line 15 column 7.
|
(n/no-sync): Unexpected sync method: 'mkdirSync'.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L38
Unexpected sync method: 'mkdirSync'.
|
(n/no-sync): Unexpected sync method: 'renameSync'.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L61
Unexpected sync method: 'renameSync'.
|
(n/no-sync): Unexpected sync method: 'copyFileSync'.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L71
Unexpected sync method: 'copyFileSync'.
|
(n/no-sync): Unexpected sync method: 'readFileSync'.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L78
Unexpected sync method: 'readFileSync'.
|
(n/no-sync): Unexpected sync method: 'writeFileSync'.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L84
Unexpected sync method: 'writeFileSync'.
|
|
|
(n/no-sync): Unexpected sync method: 'copyFileSync'.:
schematics/schematics/scripts/build-parts/cp-json-and-templates-to-dist.build.part.ts#L23
Unexpected sync method: 'copyFileSync'.
|
|
|
|
|
(n/no-sync): Unexpected sync method: 'readFileSync'.:
schematics/schematics/scripts/build-parts/rename-js-imports.build-part.ts#L15
Unexpected sync method: 'readFileSync'.
|
(n/no-sync): Unexpected sync method: 'writeFileSync'.:
schematics/schematics/scripts/build-parts/rename-js-imports.build-part.ts#L17
Unexpected sync method: 'writeFileSync'.
|
|
|
(n/no-sync): Unexpected sync method: 'renameSync'.:
schematics/schematics/scripts/build-parts/rename-js-to-cjs.build-part.ts#L21
Unexpected sync method: 'renameSync'.
|
(n/no-sync): Unexpected sync method: 'readdirSync'.:
schematics/schematics/scripts/getters/all-files.getter.ts#L7
Unexpected sync method: 'readdirSync'.
|
(n/no-sync): Unexpected sync method: 'statSync'.:
schematics/schematics/scripts/getters/all-files.getter.ts#L9
Unexpected sync method: 'statSync'.
|
(arrow-body-style): Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`.:
schematics/schematics/scripts/utils/check-template-file.util.ts#L4
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`.
|
|
|
(n/no-sync): Unexpected sync method: 'mkdirSync'.:
schematics/schematics/scripts/utils/ensure-dir-structure.util.ts#L7
Unexpected sync method: 'mkdirSync'.
|
(@typescript-eslint/no-unused-vars): 'strings' is defined but never used.:
schematics/schematics/src/project/project.factory.ts#L5
'strings' is defined but never used.
|
(@typescript-eslint/no-unused-vars): 'normalize' is defined but never used.:
schematics/schematics/src/project/project.factory.ts#L6
'normalize' is defined but never used.
|
(@typescript-eslint/no-unused-vars): 'apply' is defined but never used.:
schematics/schematics/src/project/project.factory.ts#L7
'apply' is defined but never used.
|
(@typescript-eslint/no-unused-vars): 'url' is defined but never used.:
schematics/schematics/src/project/project.factory.ts#L8
'url' is defined but never used.
|
(@typescript-eslint/no-unused-vars): 'template' is defined but never used.:
schematics/schematics/src/project/project.factory.ts#L9
'template' is defined but never used.
|
(@typescript-eslint/no-unused-vars): 'move' is defined but never used.:
schematics/schematics/src/project/project.factory.ts#L10
'move' is defined but never used.
|
(@typescript-eslint/explicit-module-boundary-types): Argument 'options' should be typed with a non-any type.:
schematics/schematics/src/project/project.factory.ts#L18
Argument 'options' should be typed with a non-any type.
|
(@typescript-eslint/no-explicit-any): Unexpected any. Specify a different type.:
schematics/schematics/src/project/project.factory.ts#L18
Unexpected any. Specify a different type.
|
(arrow-body-style): Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`.:
schematics/schematics/src/project/project.factory.ts#L18
Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`.
|
(@typescript-eslint/no-unsafe-argument): Unsafe argument of type `any` assigned to a parameter of type `object`.:
schematics/schematics/src/rules/update-ts-config.rule.ts#L6
Unsafe argument of type `any` assigned to a parameter of type `object`.
|
(@typescript-eslint/explicit-module-boundary-types): Argument 'options' should be typed with a non-any type.:
schematics/schematics/src/sources/generate-common.source.ts#L10
Argument 'options' should be typed with a non-any type.
|
(@typescript-eslint/no-explicit-any): Unexpected any. Specify a different type.:
schematics/schematics/src/sources/generate-common.source.ts#L10
Unexpected any. Specify a different type.
|
(@typescript-eslint/explicit-module-boundary-types): Argument 'options' should be typed with a non-any type.:
schematics/schematics/src/sources/generate-project-specific.source.ts#L13
Argument 'options' should be typed with a non-any type.
|
(@typescript-eslint/no-explicit-any): Unexpected any. Specify a different type.:
schematics/schematics/src/sources/generate-project-specific.source.ts#L13
Unexpected any. Specify a different type.
|
(n/no-sync): Unexpected sync method: 'readFileSync'.:
schematics/schematics/src/sources/generate-project-specific.source.ts#L17
Unexpected sync method: 'readFileSync'.
|
(@typescript-eslint/no-unsafe-argument): Unsafe argument of type `any` assigned to a parameter of type `string`.:
schematics/schematics/src/sources/generate-project-specific.source.ts#L17
Unsafe argument of type `any` assigned to a parameter of type `string`.
|
(@typescript-eslint/no-unsafe-argument): Unsafe argument of type `any` assigned to a parameter of type `string`.:
schematics/schematics/src/sources/generate-project-specific.source.ts#L20
Unsafe argument of type `any` assigned to a parameter of type `string`.
|
|
|
Lint, type check
Process completed with exit code 1.
|
(no-console): Unexpected console statement.:
schematics/schematics/scripts/cjs-build.script.ts#L22
Unexpected console statement.
|
(no-console): Unexpected console statement.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L88
Unexpected console statement.
|
(no-console): Unexpected console statement.:
schematics/schematics-utils/scripts/cjs-build.script.mjs#L89
Unexpected console statement.
|
|
(no-console): Unexpected console statement.:
schematics/schematics/src/sources/generate-project-specific.source.ts#L14
Unexpected console statement.
|