diff --git a/package-lock.json b/package-lock.json index 05ccb30..f388ba0 100644 --- a/package-lock.json +++ b/package-lock.json @@ -8,6 +8,9 @@ "name": "@jrmc/etl", "version": "1.0.0", "license": "MIT", + "dependencies": { + "@adonisjs/tsconfig": "^1.4.0" + }, "devDependencies": { "@japa/assert": "^3.0.0", "@japa/runner": "^3.1.4", @@ -23,6 +26,12 @@ "node": ">=20.12.0" } }, + "node_modules/@adonisjs/tsconfig": { + "version": "1.4.0", + "resolved": "https://registry.npmjs.org/@adonisjs/tsconfig/-/tsconfig-1.4.0.tgz", + "integrity": "sha512-go5KlxE8jJaeoIRzm51PcF2YJSK5i022douVk9OjAqvDiU1t2UepcDoEsSiEOgogUDojp9kbRQmFyf0y0YqvOg==", + "license": "MIT" + }, "node_modules/@algolia/autocomplete-core": { "version": "1.9.3", "resolved": "https://registry.npmjs.org/@algolia/autocomplete-core/-/autocomplete-core-1.9.3.tgz", diff --git a/package.json b/package.json index 874fd83..5d4ec32 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@jrmc/etl", - "version": "1.0.0", + "version": "1.0.1", "type": "module", "description": "Extract transform load for nodejs", "engines": { @@ -34,12 +34,13 @@ }, "exports": { ".": "./build/index.js", - "./types/*": "./build/src/types.js", + "./types": "./build/src/types.js", "./source": "./build/src/base_source.js", "./transform": "./build/src/base_transform.js", "./destination": "./build/src/base_destination.js" }, "devDependencies": { + "@adonisjs/tsconfig": "^1.4.0", "@japa/assert": "^3.0.0", "@japa/runner": "^3.1.4", "@swc/core": "^1.7.26", diff --git a/tsconfig.json b/tsconfig.json index 8a7c903..ad0cc44 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -1,31 +1,7 @@ { + "extends": "@adonisjs/tsconfig/tsconfig.package.json", "compilerOptions": { - "declaration": false, - "sourceMap": true, - "emitDecoratorMetadata": true, - "types": ["@types/node"], - "target": "ESNext", - "module": "NodeNext", - "lib": ["ESNext"], - "noUnusedLocals": true, - "noUnusedParameters": true, - "isolatedModules": true, - "removeComments": true, - "esModuleInterop": true, - "strictNullChecks": true, - "allowSyntheticDefaultImports": true, - "forceConsistentCasingInFileNames": true, - "strictPropertyInitialization": true, - "experimentalDecorators": true, - "noImplicitAny": true, - "strictBindCallApply": true, - "strictFunctionTypes": true, - "noImplicitThis": true, - "skipLibCheck": true, "rootDir": "./", "outDir": "./build" - }, - "ts-node": { - "swc": true } }