Skip to content

Commit

Permalink
fix: build
Browse files Browse the repository at this point in the history
  • Loading branch information
oscar-guerin committed Nov 5, 2024
1 parent 2fdb5f2 commit f74511f
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 15 deletions.
13 changes: 8 additions & 5 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,9 @@
"scripts": {
"ng": "ng",
"start": "ng serve --project ngx-repository-app",
"build:all": "ng build --project ngx-repository && ng build --project ngx-http-repository && ng build --project ngx-firestore-repository",
"build:ngx-repository": "ng build --project ngx-repository --configuration production && cp README.md dist/ngx-repository",
"build:all": "tsc -p projects/utils/tsconfig.lib.json && ng build --project ngx-repository && ng build --project ngx-http-repository && ng build --project ngx-firestore-repository",
"build:utils": "tsc -p projects/utils/tsconfig.lib.json",
"build:ngx-repository": "npm run build:utils && ng build --project ngx-repository --configuration production && cp README.md dist/ngx-repository",
"build:ngx-http-repository": "npm run build:ngx-repository && ng build --project ngx-http-repository --configuration production && cp README.md dist/ngx-http-repository",
"build:ngx-firestore-repository": "npm run build:ngx-repository && ng build --project ngx-firestore-repository --configuration production && cp README.md dist/ngx-firestore-repository",
"test:ngx-repository": "ng test --project ngx-repository --code-coverage",
Expand Down Expand Up @@ -72,7 +73,7 @@
"@babel/preset-typescript": "^7.24.7",
"@types/jasmine": "~4.3.1",
"@types/jasminewd2": "~2.0.10",
"@types/node": "^12.11.1",
"@types/node": "^18.19.1",
"@types/webpack-env": "^1.18.5",
"@typescript-eslint/eslint-plugin": "^7.12.0",
"@typescript-eslint/parser": "^7.12.0",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import { PATH_COLUMN_METADATA_KEY } from '../../decorator/path-column.decorator'
import { Path } from '../../request/path';
import { ResponseProcessor } from './response.processor';
import { PathColumnContextConfiguration } from '../../configuration/context/path-column-context.configuration';
import { PathRequest } from '@paddls/ngx-repository';
import { isObject, isUndefined } from '@paddls/utils';
import { PathRequest } from '../../request/path.request';

@Injectable()
export class PathColumnResponseProcessor implements ResponseProcessor {
Expand Down
2 changes: 1 addition & 1 deletion projects/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"description": "",
"main": "karma.conf.js",
"scripts": {
"build": "tsc"
"build": "tsc -p tsconfig.lib.json"
},
"keywords": [],
"author": "Oscar GUERIN",
Expand Down
2 changes: 1 addition & 1 deletion projects/utils/tsconfig.lib.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"target": "ES6",
"module": "CommonJS",
"declaration": true,
"outDir": "../../out-tsc/lib",
"outDir": "../../dist/utils",
"strict": true
},
"include": [
Expand Down
20 changes: 16 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,16 +20,28 @@
],
"paths": {
"@paddls/ngx-repository": [
"projects/ngx-repository/src/public-api"
"dist/ngx-repository"
],
"@paddls/ngx-repository/*": [
"dist/ngx-repository/*"
],
"@paddls/ngx-http-repository": [
"projects/ngx-http-repository/src/public-api"
"dist/ngx-http-repository"
],
"@paddls/ngx-http-repository/*": [
"dist/ngx-http-repository/*"
],
"@paddls/ngx-firestore-repository": [
"projects/ngx-firestore-repository/src/public-api"
"dist/ngx-firestore-repository"
],
"@paddls/ngx-firestore-repository/*": [
"dist/ngx-firestore-repository/*"
],
"@paddls/utils": [
"projects/utils"
"dist/utils"
],
"@paddls/utils/*": [
"dist/utils/*"
]
},
"useDefineForClassFields": false
Expand Down

0 comments on commit f74511f

Please sign in to comment.