Skip to content

Commit

Permalink
build(api-console-gui): migrate to nx
Browse files Browse the repository at this point in the history
  • Loading branch information
marcus-sa committed Sep 11, 2023
1 parent a8081d0 commit b18c4ca
Show file tree
Hide file tree
Showing 7 changed files with 25 additions and 108 deletions.
95 changes: 0 additions & 95 deletions packages/api-console-gui/angular.json

This file was deleted.

16 changes: 16 additions & 0 deletions packages/api-console-gui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,21 @@
"license": "MIT",
"publishConfig": {
"access": "public"
},
"devDependencies": {
"@deepkit/api-console-api": "^1.0.1-alpha.97",
"@deepkit/bson": "^1.0.1-alpha.97",
"@deepkit/core": "^1.0.1-alpha.97",
"@deepkit/core-rxjs": "^1.0.1-alpha.97",
"@deepkit/crypto": "^1.0.1-alpha.89",
"@deepkit/desktop-ui": "^1.0.1-alpha.97",
"@deepkit/event": "^1.0.1-alpha.97",
"@deepkit/injector": "^1.0.1-alpha.97",
"@deepkit/logger": "^1.0.1-alpha.97",
"@deepkit/rpc": "^1.0.1-alpha.97",
"@deepkit/stopwatch": "^1.0.1-alpha.97",
"@deepkit/type": "^1.0.1-alpha.97",
"@deepkit/type-compiler": "^1.0.1-alpha.97",
"@deepkit/ui-library": "^1.0.1-alpha.56"
}
}
5 changes: 1 addition & 4 deletions packages/api-console-gui/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,6 @@
"outputPath": "dist/{projectRoot}",
"index": "{projectRoot}/src/index.html",
"main": "{projectRoot}/src/main.ts",
"customWebpackConfig": {
"path": "{projectRoot}/webpack.config.ts"
},
"polyfills": ["zone.js"],
"preserveSymlinks": true,
"tsConfig": "{projectRoot}/tsconfig.app.json",
Expand All @@ -38,7 +35,7 @@
{
"type": "initial",
"maximumWarning": "500kb",
"maximumError": "1mb"
"maximumError": "1.5mb"
},
{
"type": "anyComponentStyle",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { isArray, isObject } from '@deepkit/core';
import { extractDataStructure, extractDataStructureFromSchema, Request, RouteState, Store } from '../../store';
import { ControllerClient } from '../../client';
import { Router } from '@angular/router';
import { DuiDialog } from '@deepkit/desktop-ui/src/index';
import { DuiDialog } from '@deepkit/desktop-ui';
import { headerStatusCodes, methods, trackByIndex, typeToTSJSONInterface } from '../../utils';
import { getTypeJitContainer } from '@deepkit/type';

Expand Down
2 changes: 1 addition & 1 deletion packages/api-console-gui/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"extends": "./tsconfig.json",
"compilerOptions": {
"outDir": "../../dist/out-tsc",
"types": []
"types": ["node"]
},
"files": ["src/main.ts"],
"include": ["src/**/*.d.ts"],
Expand Down
8 changes: 6 additions & 2 deletions packages/api-console-gui/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
{
"compilerOptions": {
"target": "es2022",
"useDefineForClassFields": false
"useDefineForClassFields": false,
"noImplicitReturns": false
},
"files": [],
"include": [],
Expand All @@ -22,5 +23,8 @@
"strictInjectionParameters": true,
"strictInputAccessModifiers": true,
"strictTemplates": true
}
},
"reflection": [
"src/app/store.ts"
]
}
5 changes: 0 additions & 5 deletions packages/api-console-gui/webpack.config.ts

This file was deleted.

0 comments on commit b18c4ca

Please sign in to comment.