Skip to content

Commit

Permalink
chore: rename lib, again
Browse files Browse the repository at this point in the history
  • Loading branch information
Fcmam5 committed Jun 6, 2021
1 parent ed6bc28 commit 460c2be
Show file tree
Hide file tree
Showing 21 changed files with 20 additions and 21 deletions.
2 changes: 1 addition & 1 deletion examples/example-with-default-settings/src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

import { Logger } from '@nestjs/common';
import { NestFactory } from '@nestjs/core';
import { HttpExceptionFilter } from '@nest-http-problem-details/rfc7807-filter';
import { HttpExceptionFilter } from '@nest-http-problem-details/nest-problem-details-filter';
import { AppModule } from './app/app.module';

async function bootstrap() {
Expand Down
2 changes: 1 addition & 1 deletion jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@ module.exports = {
projects: [
,
'<rootDir>/examples/examples/with-default-settings',
'<rootDir>/libs/rfc7807-filter',
'<rootDir>/libs/nest-problem-details-filter',
],
};
File renamed without changes.
File renamed without changes.
File renamed without changes.
Original file line number Diff line number Diff line change
Expand Up @@ -65,13 +65,12 @@ Problem:
- [IETF RFC-7807: Problem Details for HTTP APIs](https://datatracker.ietf.org/doc/html/rfc7807)
- [Zalando RESTful API:](https://opensource.zalando.com/restful-api-guidelines/#176)
- And of course, Nest's awesome community:

- [Exception filters](https://docs.nestjs.com/exception-filters#exception-filters-1)
- [@kamilmysliwiec's comment](https://github.com/nestjs/nest/issues/2953#issuecomment-531678153)


- This library was generated using [Nx](https://nx.dev).


## License

This project is licensed under the MIT License - see the [LICENSE](./LICENSE) file for details
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module.exports = {
displayName: 'rfc7807-filter',
displayName: 'nest-problem-details-filter',
preset: '../../jest.preset.js',
globals: {
'ts-jest': {
Expand All @@ -11,5 +11,5 @@ module.exports = {
'^.+\\.[tj]sx?$': 'ts-jest',
},
moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
coverageDirectory: '../../coverage/libs/rfc7807-filter',
coverageDirectory: '../../coverage/libs/nest-problem-details-filter',
};
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "nest-http-problem-details",
"name": "nest-problem-details-filter",
"version": "0.0.1",
"description": "RFC-7807 conform HTTP problem details Nest.js filter",
"license": "MIT",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"example-with-default-settings": {
"tags": []
},
"rfc7807-filter": {
"nest-problem-details-filter": {
"tags": []
}
}
Expand Down
4 changes: 2 additions & 2 deletions tsconfig.base.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,8 @@
"@nest-http-problem-details/nest-problem-details": [
"libs/nest-problem-details/src/index.ts"
],
"@nest-http-problem-details/rfc7807-filter": [
"libs/rfc7807-filter/src/index.ts"
"@nest-http-problem-details/nest-problem-details-filter": [
"libs/nest-problem-details-filter/src/index.ts"
]
}
},
Expand Down
22 changes: 11 additions & 11 deletions workspace.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,33 +56,33 @@
}
}
},
"rfc7807-filter": {
"root": "libs/rfc7807-filter",
"sourceRoot": "libs/rfc7807-filter/src",
"nest-problem-details-filter": {
"root": "libs/nest-problem-details-filter",
"sourceRoot": "libs/nest-problem-details-filter/src",
"projectType": "library",
"targets": {
"build": {
"executor": "@nrwl/node:package",
"outputs": ["{options.outputPath}"],
"options": {
"outputPath": "dist/libs/rfc7807-filter",
"tsConfig": "libs/rfc7807-filter/tsconfig.lib.json",
"packageJson": "libs/rfc7807-filter/package.json",
"main": "libs/rfc7807-filter/src/index.ts",
"assets": ["libs/rfc7807-filter/*.md"]
"outputPath": "dist/libs/nest-problem-details-filter",
"tsConfig": "libs/nest-problem-details-filter/tsconfig.lib.json",
"packageJson": "libs/nest-problem-details-filter/package.json",
"main": "libs/nest-problem-details-filter/src/index.ts",
"assets": ["libs/nest-problem-details-filter/*.md"]
}
},
"lint": {
"executor": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["libs/rfc7807-filter/**/*.ts"]
"lintFilePatterns": ["libs/nest-problem-details-filter/**/*.ts"]
}
},
"test": {
"executor": "@nrwl/jest:jest",
"outputs": ["coverage/libs/rfc7807-filter"],
"outputs": ["coverage/libs/nest-problem-details-filter"],
"options": {
"jestConfig": "libs/rfc7807-filter/jest.config.js",
"jestConfig": "libs/nest-problem-details-filter/jest.config.js",
"passWithNoTests": true
}
}
Expand Down

0 comments on commit 460c2be

Please # to comment.