Skip to content

Commit 85aefe7

Browse files
authored
Merge branch 'master' into mixed-support
2 parents 8f862d7 + 393c4dc commit 85aefe7

File tree

6 files changed

+17
-8
lines changed

6 files changed

+17
-8
lines changed

packages/angular-material/angular.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,10 @@
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
},

packages/angular-material/example/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

3434
const uiSchema = {
3535
type: 'HorizontalLayout',

packages/angular-material/example/app/app.module.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ import { BrowserModule } from '@angular/platform-browser';
2626
import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
2727
import { CUSTOM_ELEMENTS_SCHEMA, NgModule } from '@angular/core';
2828
import { AppComponent } from './app.component';
29-
import { JsonFormsAngularMaterialModule } from '../../lib';
29+
import { JsonFormsAngularMaterialModule } from '../../src/library';
3030

3131
@NgModule({
3232
declarations: [AppComponent],

packages/angular-material/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@
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 .",
Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,19 @@
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
}

pnpm-lock.yaml

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)