-
Notifications
You must be signed in to change notification settings - Fork 60
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: make monorepo consistent, clean up and upgrade dependencies, s…
…peed up CI * upgradte typescript to 4.9.x * switch to @swc/jest for esm support * make build setup consistent across most packages * prune unused dependencies * fix typescript errors in related-table * execute code mod transform-typed-imports to allow for usage of isolated modules * make typescript config consistent across repos * make eslint config consistent across repos * make jest config consistent across repos * fix typescript errors in VideoPlayer component
- Loading branch information
Showing
460 changed files
with
30,130 additions
and
60,187 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
|
||
export default { | ||
setupFilesAfterEnv: ['jest-extended/all'], | ||
maxWorkers: '50%', | ||
collectCoverageFrom: ["./src/**"], | ||
collectCoverage: true, | ||
moduleFileExtensions: ['js', 'ts'], | ||
transform: { | ||
'.*\\.(ts|js)$': [ | ||
'@swc/jest', | ||
], | ||
}, | ||
transformIgnorePatterns: [], | ||
roots: ['./src'], | ||
"coverageThreshold": { | ||
"global": { | ||
"lines": 50 | ||
} | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
import reactConfig from './react'; | ||
import baseConfig from './base'; | ||
|
||
export { reactConfig, baseConfig }; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
{ | ||
"name": "@iot-app-kit/jest-config", | ||
"version": "3.0.0", | ||
"main": "index.ts", | ||
"private": true, | ||
"publishConfig": { | ||
"access": "public" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,25 @@ | ||
export default { | ||
setupFilesAfterEnv: ['jest-extended/all'], | ||
maxWorkers: '50%', | ||
moduleFileExtensions: ['js', 'ts', 'jsx', 'tsx'], | ||
collectCoverage: true, | ||
testEnvironment: 'jsdom', | ||
transform: { | ||
'.*\\.(tsx?|jsx?)$': [ | ||
'@swc/jest', | ||
{ | ||
jsc: { | ||
transform: { | ||
react: { | ||
runtime: 'automatic', | ||
}, | ||
}, | ||
}, | ||
}, | ||
], | ||
}, | ||
transformIgnorePatterns: [], | ||
moduleNameMapper: { | ||
'\\.(css|scss)$': 'identity-obj-proxy', | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
# `tsconfig` | ||
|
||
These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"display": "Default", | ||
"compilerOptions": { | ||
"composite": false, | ||
"declaration": true, | ||
"declarationMap": true, | ||
"esModuleInterop": true, | ||
"forceConsistentCasingInFileNames": true, | ||
"inlineSources": false, | ||
"isolatedModules": true, | ||
"moduleResolution": "node", | ||
"noUnusedLocals": true, | ||
"noUnusedParameters": true, | ||
"preserveWatchOutput": true, | ||
"skipLibCheck": true, | ||
"strict": true, | ||
"lib": ["ESNEXT"], | ||
"module": "ESNext", | ||
"target": "es2018" | ||
}, | ||
"exclude": ["node_modules"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
{ | ||
"name": "@iot-app-kit/ts-config", | ||
"version": "3.0.0", | ||
"type": "module", | ||
"private": true, | ||
"files": [ | ||
"base.json", | ||
"react-library.json" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
{ | ||
"$schema": "https://json.schemastore.org/tsconfig", | ||
"display": "React Library", | ||
"extends": "./base.json", | ||
"compilerOptions": { | ||
"jsx": "react", | ||
"lib": ["ESNEXT", "DOM"], | ||
"module": "ESNext", | ||
"target": "es2018" | ||
} | ||
} |
Oops, something went wrong.