diff --git a/packages/angular/src/generators/setup-mf/files/ts-webpack/tsconfig.lint.json__tmpl__ b/packages/angular/src/generators/setup-mf/files/ts-webpack/tsconfig.lint.json__tmpl__ new file mode 100644 index 00000000000000..7d680f4db81fe5 --- /dev/null +++ b/packages/angular/src/generators/setup-mf/files/ts-webpack/tsconfig.lint.json__tmpl__ @@ -0,0 +1,12 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "target": "ES2020" + }, + "include": [ + "src/main.ts", + <% if(type === "remote") { %> "src/remote-entry/<% if(standalone) { %>"entry.routes.ts", <% } else { %> "entry.module.ts", <% } } %> + "webpack.config.ts", + "webpack.prod.config.ts" + ] +} diff --git a/packages/react/src/generators/host/files/common/tsconfig.lint.json__tmpl__ b/packages/react/src/generators/host/files/common/tsconfig.lint.json__tmpl__ new file mode 100644 index 00000000000000..0bf57fc48c6d14 --- /dev/null +++ b/packages/react/src/generators/host/files/common/tsconfig.lint.json__tmpl__ @@ -0,0 +1,19 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "types": [ + "node", + "@nx/react/typings/cssmodule.d.ts", + "@nx/react/typings/image.d.ts" + ] + }, + "include": [ + "src/**/*.js", + "src/**/*.jsx", + "src/**/*.ts", + "src/**/*.tsx", + "webpack.config.ts", + "webpack.prod.config.ts" + ] +} diff --git a/packages/react/src/generators/remote/files/module-federation-ssr-ts/tsconfig.lint.json__tmpl__ b/packages/react/src/generators/remote/files/module-federation-ssr-ts/tsconfig.lint.json__tmpl__ new file mode 100644 index 00000000000000..0bf57fc48c6d14 --- /dev/null +++ b/packages/react/src/generators/remote/files/module-federation-ssr-ts/tsconfig.lint.json__tmpl__ @@ -0,0 +1,19 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "types": [ + "node", + "@nx/react/typings/cssmodule.d.ts", + "@nx/react/typings/image.d.ts" + ] + }, + "include": [ + "src/**/*.js", + "src/**/*.jsx", + "src/**/*.ts", + "src/**/*.tsx", + "webpack.config.ts", + "webpack.prod.config.ts" + ] +} diff --git a/packages/react/src/generators/remote/files/module-federation-ts/tsconfig.lint.json__tmpl__ b/packages/react/src/generators/remote/files/module-federation-ts/tsconfig.lint.json__tmpl__ new file mode 100644 index 00000000000000..0bf57fc48c6d14 --- /dev/null +++ b/packages/react/src/generators/remote/files/module-federation-ts/tsconfig.lint.json__tmpl__ @@ -0,0 +1,19 @@ +{ + "extends": "./tsconfig.json", + "compilerOptions": { + "outDir": "../../dist/out-tsc", + "types": [ + "node", + "@nx/react/typings/cssmodule.d.ts", + "@nx/react/typings/image.d.ts" + ] + }, + "include": [ + "src/**/*.js", + "src/**/*.jsx", + "src/**/*.ts", + "src/**/*.tsx", + "webpack.config.ts", + "webpack.prod.config.ts" + ] +}