Skip to content

Commit

Permalink
chore: laying the grounds for v10.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kamilmysliwiec committed Jun 14, 2023
1 parent 470d44b commit 3389327
Show file tree
Hide file tree
Showing 11 changed files with 25 additions and 26 deletions.
21 changes: 10 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@ 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
- &run-unit-tests
run:
name: Test
command: npm run test
name: Test
command: npm run test

jobs:
build:
working_directory: ~/nest
docker:
- image: cimg/node:20.2
- image: cimg/node:20.3
steps:
- checkout
- run:
Expand All @@ -38,12 +38,12 @@ jobs:
- ./node_modules
- run:
name: Build
command: npm run build
command: npm run build

unit_tests:
working_directory: ~/nest
docker:
- image: cimg/node:20.2
- image: cimg/node:20.3
steps:
- checkout
- *restore-cache
Expand All @@ -59,4 +59,3 @@ workflows:
- unit_tests:
requires:
- build

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@
"typescript": "5.1.3"
},
"peerDependencies": {
"typescript": ">=4.3.5"
"typescript": ">=4.8.2"
},
"schematics": "./dist/collection.json",
"nyc": {
Expand Down
8 changes: 4 additions & 4 deletions src/lib/application/files/js/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,14 @@
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.2.0"
},
"devDependencies": {
"@nestjs/testing": "^9.0.0",
"@nestjs/testing": "^10.0.0",
"@babel/core": "7.22.5",
"@babel/node": "7.22.5",
"@babel/plugin-proposal-decorators": "7.22.5",
Expand Down
6 changes: 3 additions & 3 deletions src/lib/application/files/ts/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"test:e2e": "jest --config ./test/jest-e2e.json"
},
"dependencies": {
"@nestjs/common": "^9.0.0",
"@nestjs/core": "^9.0.0",
"@nestjs/platform-express": "^9.0.0",
"@nestjs/common": "^10.0.0",
"@nestjs/core": "^10.0.0",
"@nestjs/platform-express": "^10.0.0",
"reflect-metadata": "^0.1.13",
"rxjs": "^7.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion src/lib/application/files/ts/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"emitDecoratorMetadata": true,
"experimentalDecorators": true,
"allowSyntheticDefaultImports": true,
"target": "es2017",
"target": "ES2021",
"sourceMap": true,
"outDir": "./dist",
"baseUrl": "./",
Expand Down
2 changes: 1 addition & 1 deletion src/lib/library/files/js/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES6",
"target": "ES2021",
"experimentalDecorators": true
},
"exclude": [
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sub-app/files/js/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES6",
"target": "ES2021",
"experimentalDecorators": true
},
"exclude": [
Expand Down
2 changes: 1 addition & 1 deletion src/lib/sub-app/workspace/js/jsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"compilerOptions": {
"target": "ES6",
"target": "ES2021",
"experimentalDecorators": true
},
"exclude": [
Expand Down
2 changes: 1 addition & 1 deletion tools/gulp/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"noImplicitThis": true,
"noEmitOnError": true,
"noImplicitAny": false,
"target": "es5",
"target": "ES2021",
"types": [
"node"
],
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2017",
"target": "ES2021",
"typeRoots": ["node_modules/@types"],
"outDir": "dist",
"declaration": true,
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.lib.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"compilerOptions": {
"module": "commonjs",
"target": "es2017",
"target": "ES2021",
"typeRoots": ["node_modules/@types"],
"outDir": "dist",
"declaration": true,
Expand Down

0 comments on commit 3389327

Please sign in to comment.