Skip to content
Merged
Show file tree
Hide file tree
Changes from 2 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion packages/angular-material/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,10 @@
}
},
"serve": {
"builder": "@angular-devkit/build-angular:dev-server"
"builder": "@angular-devkit/build-angular:dev-server",
"options": {
"buildTarget": "example:build"
}
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion packages/angular-material/example/app/app.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ import {
UISchemaElement,
UISchemaTester,
} from '@jsonforms/core';
import { angularMaterialRenderers } from '../../lib';
import { angularMaterialRenderers } from '../../src/library';

const uiSchema = {
type: 'HorizontalLayout',
Expand Down
2 changes: 1 addition & 1 deletion packages/angular-material/example/app/app.module.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ import { BrowserModule } from '@angular/platform-browser';
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
import { AppComponent } from './app.component';
import { JsonFormsAngularMaterialModule } from '../../lib';
import { JsonFormsAngularMaterialModule } from '../../src/library';

@NgModule({
declarations: [AppComponent],
Expand Down
4 changes: 2 additions & 2 deletions packages/angular-material/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"scripts": {
"build": "ng build",
"build:examples-app": "pnpm run build && ng build --project=example",
"dev": "pnpm run build:examples-app && npx http-server ./example/dist/ -c-1 -o",
"dev": "ng serve --project=example",
"clean": "rimraf lib coverage example/dist .nyc_output 2> /dev/null",
"lint": "eslint .",
"lint:fix": "eslint --fix .",
Expand Down Expand Up @@ -134,7 +134,7 @@
"ts-loader": "^9.5.1",
"tslib": "^2.5.0",
"typedoc": "~0.25.3",
"typescript": "~5.5.0",
"typescript": "~5.4.2",
"webpack": "^5.78.0",
"yargs": "^17.7.2",
"zone.js": "~0.14.10"
Expand Down
10 changes: 8 additions & 2 deletions packages/angular-material/tsconfig.example.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,19 @@
{
"extends": "./tsconfig",
"compilerOptions": {
"outDir": "./example/dist"
"outDir": "./example/dist",
"baseUrl": "./",
"paths": {
"@jsonforms/angular": ["../angular/src"],
"@jsonforms/core": ["../core/src"],
"@jsonforms/examples": ["../examples/src"],
},
},
"files": ["./example/main.ts"],
"angularCompilerOptions": {
"compilationMode": "full",
"strictMetadataEmit": true,
"generateCodeForLibraries": false,
"skipTemplateCodegen": true
"skipTemplateCodegen": true,
}
}
Loading