mirror of
https://github.com/OneUptime/oneuptime.git
synced 2026-04-06 00:32:12 +02:00
- Changed dependency for Common in CLI package.json to use npm package @oneuptime/common@latest. - Updated tsconfig.json to exclude Tests, build, node_modules, and jest.config.json. - Modified PublishAllPackages.sh to replace Common dependency with the pinned version during publish. - Added GitHub Actions workflow for testing CLI on pull requests and pushes.
45 lines
1.4 KiB
JSON
45 lines
1.4 KiB
JSON
{
|
|
"ts-node": {
|
|
"compilerOptions": {
|
|
"module": "commonjs",
|
|
"resolveJsonModule": true
|
|
}
|
|
},
|
|
"compilerOptions": {
|
|
"target": "es2017",
|
|
"module": "commonjs",
|
|
"jsx": "react",
|
|
"experimentalDecorators": true,
|
|
"emitDecoratorMetadata": true,
|
|
"moduleResolution": "node",
|
|
"typeRoots": [
|
|
"./node_modules/@types"
|
|
],
|
|
"types": ["node", "jest"],
|
|
"sourceMap": true,
|
|
"outDir": "./build/dist",
|
|
"esModuleInterop": true,
|
|
"forceConsistentCasingInFileNames": true,
|
|
"strict": true,
|
|
"noImplicitAny": true,
|
|
"strictNullChecks": true,
|
|
"strictFunctionTypes": true,
|
|
"strictBindCallApply": true,
|
|
"strictPropertyInitialization": true,
|
|
"noImplicitThis": true,
|
|
"useUnknownInCatchVariables": true,
|
|
"alwaysStrict": true,
|
|
"noUnusedLocals": true,
|
|
"noUnusedParameters": true,
|
|
"exactOptionalPropertyTypes": true,
|
|
"noImplicitReturns": true,
|
|
"noFallthroughCasesInSwitch": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
"noImplicitOverride": true,
|
|
"noPropertyAccessFromIndexSignature": true,
|
|
"skipLibCheck": true,
|
|
"resolveJsonModule": true
|
|
},
|
|
"exclude": ["Tests", "build", "node_modules", "jest.config.json"]
|
|
}
|