Skip to content
Closed
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
8 changes: 1 addition & 7 deletions js/appauth/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@ module.exports = {
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.(ts|tsx)$': ['ts-jest', {
'^.+\\.[tj]sx?$': ['ts-jest', {
tsconfig: 'tsconfig.test.json',
}],
'^.+\\.(js|jsx)$': ['ts-jest', {
tsconfig: {
allowJs: true,
module: 'commonjs',
},
}],
},
verbose: true,
moduleNameMapper: {
Expand Down
10 changes: 5 additions & 5 deletions js/appauth/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/appauth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"nock": "^14.0.0",
"prettier": "^3.2.5",
"ts-jest": "^29.0.0",
"typescript": "^5.4.2",
"typescript": "^6.0.0",
"typescript-eslint": "^8.0.0"
},
"dependencies": {
Expand Down
5 changes: 3 additions & 2 deletions js/appauth/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,10 @@
"removeComments": false,
"preserveConstEnums": true,
"resolveJsonModule": true,
"isolatedModules": true
"isolatedModules": true,
"types": ["node"]
},
"include": ["**/*.ts"],
"exclude": ["node_modules"],
"exclude": ["node_modules", "**/__tests__/**", "**/*.test.ts"],
"references": [{"path": "../utils"}]
}
4 changes: 4 additions & 0 deletions js/appauth/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true,
"ignoreDeprecations": "6.0",
"isolatedModules": true,
"module": "commonjs",
"moduleResolution": "node",
"rootDir": ".",
"types": ["node", "jest"]
},
"references": [{"path": "../utils"}]
Expand Down
8 changes: 1 addition & 7 deletions js/dispatch/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@ module.exports = {
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.(ts|tsx)$': ['ts-jest', {
'^.+\\.[tj]sx?$': ['ts-jest', {
tsconfig: 'tsconfig.test.json',
}],
'^.+\\.(js|jsx)$': ['ts-jest', {
tsconfig: {
allowJs: true,
module: 'commonjs',
},
}],
},
moduleNameMapper: {
'^@actions/core$': '<rootDir>/node_modules/@actions/core/lib/core.js',
Expand Down
8 changes: 4 additions & 4 deletions js/dispatch/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/dispatch/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
"nock": "^14.0.0",
"prettier": "^3.2.5",
"ts-jest": "^29.0.0",
"typescript": "^5.4.2",
"typescript": "^6.0.0",
"typescript-eslint": "^8.0.0"
},
"dependencies": {
Expand Down
5 changes: 3 additions & 2 deletions js/dispatch/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"noImplicitAny": true,
"removeComments": false,
"preserveConstEnums": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node"]
},
"include": ["**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["node_modules", "**/__tests__/**", "**/*.test.ts"]
}
4 changes: 4 additions & 0 deletions js/dispatch/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true,
"ignoreDeprecations": "6.0",
"isolatedModules": true,
"module": "commonjs",
"moduleResolution": "node",
"rootDir": ".",
"types": ["node", "jest"]
}
}
8 changes: 1 addition & 7 deletions js/github/checks/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,15 +16,9 @@ module.exports = {
testMatch: ['**/*.test.ts'],
setupFiles: ['<rootDir>/jest.setup.js'],
transform: {
'^.+\\.(ts|tsx)$': ['ts-jest', {
'^.+\\.[tj]sx?$': ['ts-jest', {
tsconfig: 'tsconfig.test.json',
}],
'^.+\\.(js|jsx)$': ['ts-jest', {
tsconfig: {
allowJs: true,
module: 'commonjs',
},
}],
},
moduleNameMapper: {
'^@actions/core$': '<rootDir>/node_modules/@actions/core/lib/core.js',
Expand Down
10 changes: 5 additions & 5 deletions js/github/checks/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/github/checks/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"nock": "^14.0.0",
"prettier": "^3.2.5",
"ts-jest": "^29.0.0",
"typescript": "^5.4.2",
"typescript": "^6.0.0",
"typescript-eslint": "^8.0.0"
},
"dependencies": {
Expand Down
5 changes: 3 additions & 2 deletions js/github/checks/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,10 @@
"noImplicitAny": true,
"removeComments": false,
"preserveConstEnums": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node"]
},
"include": ["**/*.ts"],
"exclude": ["node_modules"],
"exclude": ["node_modules", "**/__tests__/**", "**/*.test.ts"],
"references": [{"path": "../../utils"}]
}
4 changes: 4 additions & 0 deletions js/github/checks/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true,
"ignoreDeprecations": "6.0",
"isolatedModules": true,
"module": "commonjs",
"moduleResolution": "node",
"rootDir": ".",
"types": ["node", "jest"]
},
"references": [{"path": "../../utils"}]
Expand Down
8 changes: 1 addition & 7 deletions js/github/mutex/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,15 +5,9 @@ module.exports = {
testMatch: ['**/*.test.ts'],
testRunner: 'jest-circus/runner',
transform: {
'^.+\\.(ts|tsx)$': ['ts-jest', {
'^.+\\.[tj]sx?$': ['ts-jest', {
tsconfig: 'tsconfig.test.json',
}],
'^.+\\.(js|jsx)$': ['ts-jest', {
tsconfig: {
allowJs: true,
module: 'commonjs',
},
}],
},
moduleNameMapper: {
'^@actions/core$': '<rootDir>/node_modules/@actions/core/lib/core.js',
Expand Down
8 changes: 4 additions & 4 deletions js/github/mutex/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion js/github/mutex/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"nock": "^14.0.0",
"prettier": "^3.2.5",
"ts-jest": "^29.0.0",
"typescript": "^5.4.2",
"typescript": "^6.0.0",
"typescript-eslint": "^8.0.0"
}
}
3 changes: 2 additions & 1 deletion js/github/mutex/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"noImplicitAny": true,
"removeComments": false,
"preserveConstEnums": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node"]
},
"include": ["**/*.ts"],
"exclude": ["node_modules", "**/*.test.ts"]
Expand Down
4 changes: 4 additions & 0 deletions js/github/mutex/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true,
"ignoreDeprecations": "6.0",
"isolatedModules": true,
"module": "commonjs",
"moduleResolution": "node",
"rootDir": ".",
"types": ["node", "jest"]
}
}
8 changes: 1 addition & 7 deletions js/github/script/run/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,15 +15,9 @@ module.exports = {
testEnvironment: 'node',
testMatch: ['**/*.test.ts'],
transform: {
'^.+\\.(ts|tsx)$': ['ts-jest', {
'^.+\\.[tj]sx?$': ['ts-jest', {
tsconfig: 'tsconfig.test.json',
}],
'^.+\\.(js|jsx)$': ['ts-jest', {
tsconfig: {
allowJs: true,
module: 'commonjs',
},
}],
},
moduleNameMapper: {
'^@actions/core$': '<rootDir>/node_modules/@actions/core/lib/core.js',
Expand Down
8 changes: 4 additions & 4 deletions js/github/script/run/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 3 additions & 3 deletions js/github/script/run/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@
},
"homepage": "https://github.com/envoyproxy/toolshed",
"scripts": {
"build": "tsc --noEmit && ncc build main.ts -o dist -m",
"test": "tsc --noEmit && jest",
"build": "tsc --noEmit --skipLibCheck && ncc build main.ts -o dist -m",
"test": "tsc --noEmit --skipLibCheck --project tsconfig.test.json && jest",
"lint": "eslint .",
"lint-fix": "eslint . --fix"
},
Expand All @@ -40,7 +40,7 @@
"nock": "^14.0.0",
"prettier": "^3.2.5",
"ts-jest": "^29.0.0",
"typescript": "^5.4.2",
"typescript": "^6.0.0",
"typescript-eslint": "^8.0.0"
},
"dependencies": {
Expand Down
5 changes: 3 additions & 2 deletions js/github/script/run/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,9 @@
"noImplicitAny": true,
"removeComments": false,
"preserveConstEnums": true,
"resolveJsonModule": true
"resolveJsonModule": true,
"types": ["node"]
},
"include": ["**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["node_modules", "**/__tests__/**", "**/*.test.ts"]
}
4 changes: 4 additions & 0 deletions js/github/script/run/tsconfig.test.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
{
"extends": "./tsconfig.json",
"compilerOptions": {
"allowJs": true,
"ignoreDeprecations": "6.0",
"isolatedModules": true,
"module": "commonjs",
"moduleResolution": "node",
"rootDir": ".",
"types": ["node", "jest"]
}
}
Loading
Loading