File tree Expand file tree Collapse file tree 5 files changed +15
-6
lines changed
packages/angular-material Expand file tree Collapse file tree 5 files changed +15
-6
lines changed Original file line number Diff line number Diff line change 3939 }
4040 },
4141 "serve" : {
42- "builder" : " @angular-devkit/build-angular:dev-server"
42+ "builder" : " @angular-devkit/build-angular:dev-server" ,
43+ "options" : {
44+ "buildTarget" : " example:build"
45+ }
4346 }
4447 }
4548 },
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import {
2929 UISchemaElement ,
3030 UISchemaTester ,
3131} from '@jsonforms/core' ;
32- import { angularMaterialRenderers } from '../../lib ' ;
32+ import { angularMaterialRenderers } from '../../src/library ' ;
3333
3434const uiSchema = {
3535 type : 'HorizontalLayout' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import { BrowserModule } from '@angular/platform-browser';
2626import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ;
2727import { CUSTOM_ELEMENTS_SCHEMA , NgModule } from '@angular/core' ;
2828import { AppComponent } from './app.component' ;
29- import { JsonFormsAngularMaterialModule } from '../../lib ' ;
29+ import { JsonFormsAngularMaterialModule } from '../../src/library ' ;
3030
3131@NgModule ( {
3232 declarations : [ AppComponent ] ,
Original file line number Diff line number Diff line change 3939 "scripts" : {
4040 "build" : " ng build" ,
4141 "build:examples-app" : " pnpm run build && ng build --project=example" ,
42- "dev" : " pnpm run build:examples-app && npx http-server ./ example/dist/ -c-1 -o " ,
42+ "dev" : " ng serve --project= example" ,
4343 "clean" : " rimraf lib coverage example/dist .nyc_output 2> /dev/null" ,
4444 "lint" : " eslint ." ,
4545 "lint:fix" : " eslint --fix ." ,
Original file line number Diff line number Diff line change 11{
22 "extends" : " ./tsconfig" ,
33 "compilerOptions" : {
4- "outDir" : " ./example/dist"
4+ "outDir" : " ./example/dist" ,
5+ "baseUrl" : " ./" ,
6+ "paths" : {
7+ "@jsonforms/angular" : [" ../angular/src" ],
8+ "@jsonforms/core" : [" ../core/src" ],
9+ "@jsonforms/examples" : [" ../examples/src" ],
10+ },
511 },
612 "files" : [" ./example/main.ts" ],
713 "angularCompilerOptions" : {
814 "compilationMode" : " full" ,
915 "strictMetadataEmit" : true ,
1016 "generateCodeForLibraries" : false ,
11- "skipTemplateCodegen" : true
17+ "skipTemplateCodegen" : true ,
1218 }
1319}
You can’t perform that action at this time.
0 commit comments