Skip to content

Commit

Permalink
misc fixes to converted projects
Browse files Browse the repository at this point in the history
  • Loading branch information
leosvelperez committed Dec 17, 2024
1 parent 1466c30 commit 5c81f08
Show file tree
Hide file tree
Showing 29 changed files with 31 additions and 29 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ export default {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory:
'../../../../coverage/libs/language-server/capabilities/code-completion',
coverageDirectory: 'test-output/jest/coverage',
};
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"module": "commonjs",
"moduleResolution": "node10",
"types": ["jest", "node"],
"noImplicitAny": false
"strict": false,
"noImplicitReturns": false,
"noUnusedLocals": false
},
"include": [
"jest.config.ts",
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
3 changes: 1 addition & 2 deletions libs/language-server/capabilities/definition/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,6 @@ export default {
'^.+\\.[tj]s$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
},
moduleFileExtensions: ['ts', 'js', 'html'],
coverageDirectory:
'../../../../coverage/libs/language-server/capabilities/definition',
coverageDirectory: 'test-output/jest/coverage',
passWithNoTests: true,
};
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,5 @@ export default {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory:
'../../../../coverage/libs/language-server/capabilities/document-links',
coverageDirectory: 'test-output/jest/coverage',
};
2 changes: 1 addition & 1 deletion libs/language-server/types/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/language-server/types/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../../coverage/libs/language-server/types',
coverageDirectory: 'test-output/jest/coverage',
passWithNoTests: true,
};
2 changes: 1 addition & 1 deletion libs/language-server/utils/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/language-server/utils/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../../coverage/libs/language-server/utils',
coverageDirectory: 'test-output/jest/coverage',
passWithNoTests: true,
};
2 changes: 1 addition & 1 deletion libs/language-server/watcher/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/language-server/watcher/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../../coverage/libs/language-server/watcher',
coverageDirectory: 'test-output/jest/coverage',
passWithNoTests: true,
};
2 changes: 1 addition & 1 deletion libs/language-server/workspace/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/language-server/workspace/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../../coverage/libs/language-server/workspace',
coverageDirectory: 'test-output/jest/coverage',
passWithNoTests: true,
};
2 changes: 1 addition & 1 deletion libs/shared/file-system/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/file-system/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../../coverage/libs/shared/file-system',
coverageDirectory: 'test-output/jest/coverage',
passWithNoTests: true,
};
1 change: 1 addition & 0 deletions libs/shared/file-system/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.1",
"main": "./src/index.ts",
"types": "./src/index.ts",
"private": true,
"nx": {
"name": "shared-file-system",
"sourceRoot": "libs/shared/file-system/src",
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/generate-ui-types/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/json-schema/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/json-schema/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ export default {
'^.+\\.[tj]sx?$': ['ts-jest', { tsconfig: '<rootDir>/tsconfig.spec.json' }],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../../coverage/libs/shared/json-schema',
coverageDirectory: 'test-output/jest/coverage',
testEnvironment: 'node',
preset: '../../../jest.preset.js',
passWithNoTests: true,
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/npm/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/npm/jest.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,6 @@ export default {
],
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../../coverage/libs/shared/npm',
coverageDirectory: 'test-output/jest/coverage',
preset: '../../../jest.preset.js',
};
1 change: 1 addition & 0 deletions libs/shared/npm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.1",
"main": "./src/index.ts",
"types": "./src/index.ts",
"private": true,
"nx": {
"name": "shared-npm",
"sourceRoot": "libs/shared/npm/src",
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/nx-console-plugins/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/nx-console-plugins/jest.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/* eslint-disable */
export default {
coverageDirectory: '../../../coverage/libs/shared/schema',
coverageDirectory: 'test-output/jest/coverage',
globals: {},
displayName: 'shared-schema',
testEnvironment: 'node',
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/nx-version/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/schema/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc", "test-output"],
"rules": {},
"overrides": [
{
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/types/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
2 changes: 1 addition & 1 deletion libs/shared/utils/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../../.eslintrc.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "out-tsc"],
"rules": {},
"overrides": [
{
Expand Down
1 change: 1 addition & 0 deletions libs/shared/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
"version": "0.0.1",
"main": "./src/index.ts",
"types": "./src/index.ts",
"private": true,
"nx": {
"name": "shared-utils",
"sourceRoot": "libs/shared/utils/src",
Expand Down

0 comments on commit 5c81f08

Please sign in to comment.