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
8 changes: 7 additions & 1 deletion packages/autocertifier-client/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/autocertifier-server/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/cdn-location/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/cli-tools/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
2 changes: 1 addition & 1 deletion packages/dht/scripts/postbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,4 @@ SCRIPT_DIR=$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)
cd "${SCRIPT_DIR}/.."

# Sanitize the final package.json
npx ts-node scripts/rewrite-package.ts
npx ts-node -P tsconfig.node.json scripts/rewrite-package.ts
8 changes: 7 additions & 1 deletion packages/dht/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/geoip-location/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/node/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/proto-rpc/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/sdk/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
6 changes: 3 additions & 3 deletions packages/sdk/webpack-karma.config.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import type { Configuration } from 'webpack'
import defaultConfig from './webpack.config'
import path from 'path'
import * as defaultConfig from './webpack.config'
import { resolve } from 'path'

const karmaWebpackConfig: (env?: Record<string, unknown>, argv?: Record<string, unknown>) => Configuration = (env = {}, argv = {}) => {
const config = defaultConfig(env, argv)
Expand All @@ -11,7 +11,7 @@ const karmaWebpackConfig: (env?: Record<string, unknown>, argv?: Record<string,
...config.resolve,
alias: {
...config.resolve.alias,
'@jest/globals': path.resolve(__dirname, 'test/test-utils/jestGlobalsMock.ts')
'@jest/globals': resolve(__dirname, 'test/test-utils/jestGlobalsMock.ts')
},
fallback: {
...config.resolve.fallback,
Expand Down
8 changes: 7 additions & 1 deletion packages/test-utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/trackerless-network/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}
8 changes: 7 additions & 1 deletion packages/utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
{
"extends": "./tsconfig.jest.json"
"files": [],
"compilerOptions": {
"composite": true
},
"references": [
{ "path": "./tsconfig.jest.json" }
]
}