From 9dc3520989bc79343db6dec0f76bc26f83eb9e56 Mon Sep 17 00:00:00 2001 From: mifi Date: Fri, 26 May 2023 12:10:06 -0400 Subject: [PATCH] Finishing touches and version bump... let the development continue! --- .drone.yml | 7 ++----- package.json | 3 ++- tsconfig.package.json | 17 +++++++++++++++++ tsconfig.production.json | 2 +- 4 files changed, 22 insertions(+), 7 deletions(-) create mode 100644 tsconfig.package.json diff --git a/.drone.yml b/.drone.yml index f494fc9..1b168e3 100644 --- a/.drone.yml +++ b/.drone.yml @@ -91,7 +91,7 @@ steps: commands: - yarn set version stable - yarn install - - yarn build:production + - yarn build:package volumes: - name: yarnrc path: /drone/auth/.yarnrc.yml @@ -170,11 +170,8 @@ depends_on: - Test Pipeline trigger: - branch: - - main event: - # - tag - - push + - tag --- kind: pipeline diff --git a/package.json b/package.json index bef7eb8..762d5f4 100644 --- a/package.json +++ b/package.json @@ -1,10 +1,11 @@ { "name": "@mifi/auth-service", - "version": "1.0.11", + "version": "1.0.12", "author": "mifi (Mike Fitzpatrick)", "license": "MIT", "scripts": { "build": "tsc", + "build:package": "tsc -p ./tsconfig.package.json", "build:production": "tsc -p ./tsconfig.production.json", "format": "prettier:fix && lint:fix", "lint": "eslint --ext .ts,.tsx src/", diff --git a/tsconfig.package.json b/tsconfig.package.json new file mode 100644 index 0000000..034fad6 --- /dev/null +++ b/tsconfig.package.json @@ -0,0 +1,17 @@ +{ + "extends": "@tsconfig/node16/tsconfig.json", + "compilerOptions": { + "allowSyntheticDefaultImports": true, + "declaration": true, + "experimentalDecorators": true, + "emitDecoratorMetadata": true, + "noImplicitAny": true, + "outDir": "dist/", + "rootDirs": ["./", "src/"], + "strict": true, + "esModuleInterop": true, + "sourceMap": false, + "removeComments": true + }, + "include": ["./src"] +} diff --git a/tsconfig.production.json b/tsconfig.production.json index 034fad6..9f7f316 100644 --- a/tsconfig.production.json +++ b/tsconfig.production.json @@ -2,7 +2,7 @@ "extends": "@tsconfig/node16/tsconfig.json", "compilerOptions": { "allowSyntheticDefaultImports": true, - "declaration": true, + "declaration": false, "experimentalDecorators": true, "emitDecoratorMetadata": true, "noImplicitAny": true,