Skip to content

Commit

Permalink
feat(api): target es2021 (#242)
Browse files Browse the repository at this point in the history
  • Loading branch information
timonmasberg authored Jun 24, 2023
1 parent 0d9f31e commit 70372e3
Show file tree
Hide file tree
Showing 3 changed files with 23 additions and 3 deletions.
12 changes: 11 additions & 1 deletion libs/api/shared/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1 +1,11 @@
undefined
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"declaration": true,
"types": ["node"],
"target": "es2021"
},
"include": ["src/**/*.ts", "../../../reset.d.ts"],
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
}
11 changes: 10 additions & 1 deletion libs/api/test-helpers/tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1 +1,10 @@
undefined
{
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../../dist/out-tsc",
"declaration": true,
"types": ["node"]
},
"include": ["src/**/*.ts"],
"exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"]
}
3 changes: 2 additions & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,8 @@
"inlineTemplate": true
},
"@nx/nest:library": {
"strict": true
"strict": true,
"target": "es2021"
}
}
}

0 comments on commit 70372e3

Please sign in to comment.