From 09564d3ea699e4bc09a43a7e1924956c291878af Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kamil=20My=C5=9Bliwiec?= Date: Tue, 13 Jun 2023 08:53:54 +0200 Subject: [PATCH] chore: 3.0.0 release --- .circleci/config.yml | 19 +++++++++---------- package.json | 2 +- tsconfig.json | 2 +- 3 files changed, 11 insertions(+), 12 deletions(-) diff --git a/.circleci/config.yml b/.circleci/config.yml index 19637462..b511816c 100644 --- a/.circleci/config.yml +++ b/.circleci/config.yml @@ -3,26 +3,26 @@ version: 2 aliases: - &restore-cache restore_cache: - key: dependency-cache-{{ checksum "package.json" }} + key: dependency-cache-{{ checksum "package.json" }} - &install-deps run: - name: Install dependencies - command: npm ci + name: Install dependencies + command: npm ci - &build-packages run: - name: Build - command: npm run build + name: Build + command: npm run build jobs: build: working_directory: ~/nest docker: - - image: cimg/node:17.9 + - image: cimg/node:20.2 steps: - checkout - run: - name: Use NPM v8 - command: npm install -g npm@^8 + name: Update NPM version + command: sudo npm install -g npm@latest - restore_cache: key: dependency-cache-{{ checksum "package.json" }} - run: @@ -34,11 +34,10 @@ jobs: - ./node_modules - run: name: Build - command: npm run build + command: npm run build workflows: version: 2 build-and-test: jobs: - build - \ No newline at end of file diff --git a/package.json b/package.json index 8f2b5776..ec630d4d 100644 --- a/package.json +++ b/package.json @@ -45,7 +45,7 @@ "typescript": "5.1.3" }, "peerDependencies": { - "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0", + "@nestjs/common": "^7.0.0 || ^8.0.0 || ^9.0.0 || ^10.0.0", "axios": "^1.3.1", "reflect-metadata": "^0.1.12", "rxjs": "^6.0.0 || ^7.0.0" diff --git a/tsconfig.json b/tsconfig.json index 8f83cbe4..519fca1a 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -7,7 +7,7 @@ "emitDecoratorMetadata": true, "esModuleInterop": true, "experimentalDecorators": true, - "target": "es6", + "target": "ES2021", "sourceMap": false, "outDir": "./dist", "rootDir": "./lib",