Skip to content

Commit

Permalink
feat: build targets node 22 (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
danstarns authored Feb 14, 2025
1 parent a83c3cd commit 37d82a3
Show file tree
Hide file tree
Showing 10 changed files with 278 additions and 263 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,8 @@
"ts-loader": "9.5.1",
"ts-node": "10.9.2",
"tsx": "4.19.2",
"typescript": "5.5.4"
"typescript": "5.5.4",
"@tsconfig/node22": "^22.0.0"
},
"pnpm": {
"peerDependencyRules": {
Expand Down
11 changes: 9 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"name": "@timescaledb/core",
"version": "0.0.0-alpha.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"homepage": "https://github.com/timescale/timescaledb-ts",
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions packages/core/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "@tsconfig/node22/tsconfig.json",
"compilerOptions": {
"target": "ES2020",
"lib": ["esnext"],
Expand All @@ -9,8 +10,6 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": false,
Expand Down
11 changes: 9 additions & 2 deletions packages/schemas/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"name": "@timescaledb/schemas",
"version": "0.0.0-alpha.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"homepage": "https://github.com/timescale/timescaledb-ts",
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions packages/schemas/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "@tsconfig/node22/tsconfig.json",
"compilerOptions": {
"target": "ES2020",
"lib": ["esnext"],
Expand All @@ -9,8 +10,6 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": false,
Expand Down
11 changes: 9 additions & 2 deletions packages/typeorm/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"name": "@timescaledb/typeorm",
"version": "0.0.0-alpha.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"homepage": "https://github.com/timescale/timescaledb-ts",
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions packages/typeorm/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "@tsconfig/node22/tsconfig.json",
"compilerOptions": {
"target": "ES2020",
"lib": ["esnext"],
Expand All @@ -10,8 +11,6 @@
"allowSyntheticDefaultImports": true,
"strict": true,
"experimentalDecorators": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": false,
Expand Down
11 changes: 9 additions & 2 deletions packages/utils/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,15 @@
{
"name": "@timescaledb/utils",
"version": "0.0.0-alpha.4",
"main": "dist/index.js",
"types": "dist/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
".": {
"types": "./dist/index.d.ts",
"import": "./dist/index.js",
"require": "./dist/index.js"
}
},
"homepage": "https://github.com/timescale/timescaledb-ts",
"repository": {
"type": "git",
Expand Down
3 changes: 1 addition & 2 deletions packages/utils/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"extends": "@tsconfig/node22/tsconfig.json",
"compilerOptions": {
"target": "ES2020",
"lib": ["esnext"],
Expand All @@ -9,8 +10,6 @@
"esModuleInterop": true,
"allowSyntheticDefaultImports": true,
"strict": true,
"module": "commonjs",
"moduleResolution": "node",
"resolveJsonModule": true,
"isolatedModules": true,
"noEmit": false,
Expand Down
Loading

0 comments on commit 37d82a3

Please sign in to comment.