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 39
39
}
40
40
},
41
41
"serve" : {
42
- "builder" : " @angular-devkit/build-angular:dev-server"
42
+ "builder" : " @angular-devkit/build-angular:dev-server" ,
43
+ "options" : {
44
+ "buildTarget" : " example:build"
45
+ }
43
46
}
44
47
}
45
48
},
Original file line number Diff line number Diff line change @@ -29,7 +29,7 @@ import {
29
29
UISchemaElement ,
30
30
UISchemaTester ,
31
31
} from '@jsonforms/core' ;
32
- import { angularMaterialRenderers } from '../../lib ' ;
32
+ import { angularMaterialRenderers } from '../../src/library ' ;
33
33
34
34
const uiSchema = {
35
35
type : 'HorizontalLayout' ,
Original file line number Diff line number Diff line change @@ -26,7 +26,7 @@ import { BrowserModule } from '@angular/platform-browser';
26
26
import { BrowserAnimationsModule } from '@angular/platform-browser/animations' ;
27
27
import { CUSTOM_ELEMENTS_SCHEMA , NgModule } from '@angular/core' ;
28
28
import { AppComponent } from './app.component' ;
29
- import { JsonFormsAngularMaterialModule } from '../../lib ' ;
29
+ import { JsonFormsAngularMaterialModule } from '../../src/library ' ;
30
30
31
31
@NgModule ( {
32
32
declarations : [ AppComponent ] ,
Original file line number Diff line number Diff line change 39
39
"scripts" : {
40
40
"build" : " ng build" ,
41
41
"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" ,
43
43
"clean" : " rimraf lib coverage example/dist .nyc_output 2> /dev/null" ,
44
44
"lint" : " eslint ." ,
45
45
"lint:fix" : " eslint --fix ." ,
Original file line number Diff line number Diff line change 1
1
{
2
2
"extends" : " ./tsconfig" ,
3
3
"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
+ },
5
11
},
6
12
"files" : [" ./example/main.ts" ],
7
13
"angularCompilerOptions" : {
8
14
"compilationMode" : " full" ,
9
15
"strictMetadataEmit" : true ,
10
16
"generateCodeForLibraries" : false ,
11
- "skipTemplateCodegen" : true
17
+ "skipTemplateCodegen" : true ,
12
18
}
13
19
}
You can’t perform that action at this time.
0 commit comments