Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion configs/testing-library-compass/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions configs/testing-library-compass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@
},
"types": "./dist/index.d.ts",
"scripts": {
"compile": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"compile": "tsc -p tsconfig-build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
5 changes: 5 additions & 0 deletions configs/testing-library-compass/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
5 changes: 0 additions & 5 deletions configs/testing-library-compass/tsconfig-lint.json

This file was deleted.

5 changes: 2 additions & 3 deletions configs/testing-library-compass/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,8 @@
"extends": "@mongodb-js/tsconfig-compass/tsconfig.react.json",
"compilerOptions": {
"outDir": "dist",
// Because of the recursive deps
"skipLibCheck": true
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
"include": ["**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion configs/webpack-config-compass/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions configs/webpack-config-compass/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,9 @@
"scripts": {
"bootstrap": "npm run compile",
"prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
"compile": "tsc -p tsconfig.json",
"compile": "tsc -p tsconfig-build.json",
"postcompile": "gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"typecheck": "tsc -p tsconfig.json --noEmit",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
5 changes: 5 additions & 0 deletions configs/webpack-config-compass/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
5 changes: 0 additions & 5 deletions configs/webpack-config-compass/tsconfig-lint.json

This file was deleted.

4 changes: 2 additions & 2 deletions configs/webpack-config-compass/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"outDir": "dist",
"lib": ["ES2020"]
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
"include": ["**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/atlas-service/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions packages/atlas-service/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@
"scripts": {
"bootstrap": "npm run compile",
"prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
"compile": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"compile": "tsc -p tsconfig-build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
5 changes: 5 additions & 0 deletions packages/atlas-service/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
5 changes: 0 additions & 5 deletions packages/atlas-service/tsconfig-lint.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/atlas-service/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"compilerOptions": {
"outDir": "dist"
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
"include": ["**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/compass-aggregations/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass/plugin'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
env: {
node: true,
Expand Down
4 changes: 2 additions & 2 deletions packages/compass-aggregations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,8 @@
},
"scripts": {
"bootstrap": "npm run compile",
"compile": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"compile": "tsc -p tsconfig-build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"depcheck": "compass-scripts check-peer-deps && depcheck",
"eslint": "eslint-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
5 changes: 5 additions & 0 deletions packages/compass-aggregations/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
5 changes: 0 additions & 5 deletions packages/compass-aggregations/tsconfig-lint.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/compass-aggregations/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"outDir": "dist",
"allowJs": true
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
"include": ["**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/compass-app-registry/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions packages/compass-app-registry/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,8 +35,8 @@
"scripts": {
"bootstrap": "npm run compile",
"prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
"compile": "tsc -p tsconfig.json && gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"compile": "tsc -p tsconfig-build.json && gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
"typecheck": "tsc -p tsconfig.json --noEmit",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
5 changes: 5 additions & 0 deletions packages/compass-app-registry/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
5 changes: 0 additions & 5 deletions packages/compass-app-registry/tsconfig-lint.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/compass-app-registry/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"compilerOptions": {
"outDir": "dist"
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
"include": ["**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/compass-app-stores/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass/plugin'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions packages/compass-app-stores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,9 @@
"types": "./dist/index.d.ts",
"scripts": {
"bootstrap": "npm run compile",
"compile": "tsc -p tsconfig.json",
"compile": "tsc -p tsconfig-build.json",
"start": "npm run webpack serve -- --mode development",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"typecheck": "tsc -p tsconfig.json --noEmit",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
5 changes: 5 additions & 0 deletions packages/compass-app-stores/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
5 changes: 0 additions & 5 deletions packages/compass-app-stores/tsconfig-lint.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/compass-app-stores/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"outDir": "dist",
"allowJs": true
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
"include": ["**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/compass-assistant/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass/plugin'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions packages/compass-assistant/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,8 +34,8 @@
"bootstrap": "npm run compile",
"clean": "node -e \"fs.rmSync('dist', { recursive: true, force: true })\" || true",
"precompile": "npm run clean",
"compile": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"compile": "tsc -p tsconfig-build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
5 changes: 5 additions & 0 deletions packages/compass-assistant/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
5 changes: 0 additions & 5 deletions packages/compass-assistant/tsconfig-lint.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/compass-assistant/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"compilerOptions": {
"outDir": "dist"
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
"include": ["**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/compass-collection/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass/plugin'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions packages/compass-collection/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@
},
"scripts": {
"bootstrap": "npm run compile",
"compile": "tsc -p tsconfig.json",
"compile": "tsc -p tsconfig-build.json",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand All @@ -44,7 +44,7 @@
"test-watch": "npm run test -- --watch",
"test-ci": "npm run test-cov",
"test-ci-electron": "npm run test-electron",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"typecheck": "tsc -p tsconfig.json --noEmit",
"reformat": "npm run eslint . -- --fix && npm run prettier -- --write ."
},
"dependencies": {
Expand Down
5 changes: 5 additions & 0 deletions packages/compass-collection/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
5 changes: 0 additions & 5 deletions packages/compass-collection/tsconfig-lint.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/compass-collection/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"compilerOptions": {
"outDir": "dist"
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
"include": ["**/*"],
"exclude": ["node_modules", "dist"]
}
2 changes: 1 addition & 1 deletion packages/compass-components/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions packages/compass-components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@
"prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
"clean": "node -e \"fs.rmSync('lib', { recursive: true, force: true })\" || true",
"precompile": "npm run clean",
"compile": "tsc -p tsconfig.json",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"compile": "tsc -p tsconfig-build.json",
"typecheck": "tsc -p tsconfig.json --noEmit",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
5 changes: 5 additions & 0 deletions packages/compass-components/tsconfig-build.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*", "./src/**/*.test.*"]
}
5 changes: 0 additions & 5 deletions packages/compass-components/tsconfig-lint.json

This file was deleted.

4 changes: 2 additions & 2 deletions packages/compass-components/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,6 @@
"compilerOptions": {
"outDir": "lib"
},
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*", "./src/**/*.test.*"]
"include": ["**/*"],
"exclude": ["node_modules", "lib"]
}
2 changes: 1 addition & 1 deletion packages/compass-connection-import-export/.eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@ module.exports = {
extends: ['@mongodb-js/eslint-config-compass/plugin'],
parserOptions: {
tsconfigRootDir: __dirname,
project: ['./tsconfig-lint.json'],
project: ['./tsconfig.json'],
},
};
4 changes: 2 additions & 2 deletions packages/compass-connection-import-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,8 +36,8 @@
"scripts": {
"bootstrap": "npm run compile",
"prepublishOnly": "npm run compile && compass-scripts check-exports-exist",
"compile": "tsc -p tsconfig.json && gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
"typecheck": "tsc -p tsconfig-lint.json --noEmit",
"compile": "tsc -p tsconfig-build.json && gen-esm-wrapper . ./dist/.esm-wrapper.mjs",
"typecheck": "tsc -p tsconfig.json --noEmit",
"eslint": "eslint-compass",
"prettier": "prettier-compass",
"lint": "npm run eslint . && npm run prettier -- --check .",
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"extends": "./tsconfig.json",
"include": ["src/**/*"],
"exclude": ["./src/**/*.spec.*"]
}
Loading
Loading