d4ccdf7105
* Boilerplate server-only use case * wip: integration suite instrumentation setup * Working poc testing compileProject * Add pnpm script to run e2e tests only * Use vitest globals * Remove commented line * Remove useless export * Add modifier to test only one fixture project * Handle package manager and log level choice * Update server-only example * Setup / teardown + split compile for package manager capabilities * Ignore yarn files * Fix issue with corepack, store version in engines field * Rename test file * Fix npm updates yarn.lock * Move typecheking in a dedicated test * Stop bundling the compile command to allow for more granular testing * Put config resolving in separate test * Add no-config test case and add test case expected errors configuration * Add wantCompilationError option * Add dependencies handling * Use packageManager passed as option to resolve required deps * Remove unused guard clauses * Add postinstall & hash handling step * Add worker start test * Handle yarn.lock copy renaming on sigterm and sigkill * Update vitest and use concurrent option * Add a readme file * Add CI workflow * Fix handle cli deps * Run cli v3 e2e tests on publish action * Increase timeout on deps resolving step * Add changeset * Remove .pnp.cjs as we use yarn with nodeLinker node-modules * Add missing .yarnrc.yml file * No need to build CLI to run E2E tests * Remove bun.lockb files * Update beige-pears-explode.md --------- Co-authored-by: Eric Allam <eallam@icloud.com>
35 lines
1.0 KiB
JSON
35 lines
1.0 KiB
JSON
// See: https://www.totaltypescript.com/tsconfig-cheat-sheet
|
|
{
|
|
"include": ["./src/**/*.ts", "./src/**/*.tsx", "./e2e/**/*.ts"],
|
|
"compilerOptions": {
|
|
"esModuleInterop": true,
|
|
"skipLibCheck": true,
|
|
"target": "es2022",
|
|
"allowJs": true,
|
|
"resolveJsonModule": true,
|
|
"moduleDetection": "force",
|
|
"isolatedModules": true,
|
|
"strict": true,
|
|
"noUncheckedIndexedAccess": true,
|
|
/* Building for a monorepo */
|
|
"declaration": true,
|
|
"composite": false,
|
|
"sourceMap": true,
|
|
"declarationMap": true,
|
|
/* We're building with tsup */
|
|
"moduleResolution": "Bundler",
|
|
"module": "ESNext",
|
|
"noEmit": true,
|
|
"lib": ["es2022", "DOM"],
|
|
"types": ["node", "vitest/globals"],
|
|
"jsx": "react",
|
|
"paths": {
|
|
"@trigger.dev/core/v3": ["../core/src/v3"],
|
|
"@trigger.dev/core/v3/*": ["../core/src/v3/*"],
|
|
"@trigger.dev/core-apps": ["../core-apps/src"],
|
|
"@trigger.dev/core-apps/*": ["../core-apps/src/*"]
|
|
}
|
|
},
|
|
"exclude": ["node_modules", "./e2e/fixtures"]
|
|
}
|