Skip to content
This repository was archived by the owner on Jun 22, 2020. It is now read-only.

Commit 3b85f8e

Browse files
committed
refactor: use new infrastructure
1 parent ed89fce commit 3b85f8e

File tree

193 files changed

+1427
-1280
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

193 files changed

+1427
-1280
lines changed

angular.json

Lines changed: 26 additions & 36 deletions
Original file line numberDiff line numberDiff line change
@@ -3,32 +3,32 @@
33
"version": 1,
44
"newProjectRoot": "projects",
55
"projects": {
6-
"ng-table-builder": {
6+
"ng-table-builder-app": {
77
"root": "",
8-
"sourceRoot": "src",
9-
"projectType": "application",
108
"prefix": "",
9+
"sourceRoot": "integration/app",
10+
"projectType": "application",
1111
"schematics": {},
1212
"architect": {
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
16-
"outputPath": "dist/ng-table-builder",
17-
"index": "src/index.html",
18-
"main": "src/main.ts",
19-
"polyfills": "src/polyfills.ts",
20-
"tsConfig": "src/tsconfig.app.json",
21-
"assets": ["src/favicon.ico", "src/assets"],
22-
"styles": ["src/custom-theme.scss", "src/styles.css"],
16+
"outputPath": "dist/table-builder-app",
17+
"index": "integration/app/index.html",
18+
"main": "integration/app/main.ts",
19+
"polyfills": "integration/app/polyfills.ts",
20+
"tsConfig": "integration/app/tsconfig.app.json",
21+
"assets": ["integration/app/favicon.ico", "integration/app/assets"],
22+
"styles": ["integration/app/custom-theme.scss", "integration/app/styles.css"],
2323
"scripts": [],
2424
"es5BrowserSupport": true
2525
},
2626
"configurations": {
2727
"production": {
2828
"fileReplacements": [
2929
{
30-
"replace": "src/environments/environment.ts",
31-
"with": "src/environments/environment.prod.ts"
30+
"replace": "integration/app/environments/environment.ts",
31+
"with": "integration/app/environments/environment.prod.ts"
3232
}
3333
],
3434
"optimization": true,
@@ -60,34 +60,24 @@
6060
"browserTarget": "ng-table-builder:build:production"
6161
}
6262
}
63-
},
64-
"extract-i18n": {
65-
"builder": "@angular-devkit/build-angular:extract-i18n",
66-
"options": {
67-
"browserTarget": "ng-table-builder:build"
68-
}
69-
},
70-
"test": {
71-
"builder": "@angular-devkit/build-angular:karma",
72-
"options": {
73-
"main": "src/test.ts",
74-
"polyfills": "src/polyfills.ts",
75-
"tsConfig": "src/tsconfig.spec.json",
76-
"karmaConfig": "src/karma.conf.js",
77-
"styles": ["src/styles.css"],
78-
"scripts": [],
79-
"assets": ["src/favicon.ico", "src/assets"]
80-
}
81-
},
82-
"lint": {
83-
"builder": "@angular-devkit/build-angular:tslint",
63+
}
64+
}
65+
},
66+
"ng-table-builder": {
67+
"root": "",
68+
"prefix": "",
69+
"sourceRoot": "",
70+
"projectType": "library",
71+
"architect": {
72+
"build": {
73+
"builder": "@angular-devkit/build-ng-packagr:build",
8474
"options": {
85-
"tsConfig": ["src/tsconfig.app.json", "src/tsconfig.spec.json"],
86-
"exclude": ["**/node_modules/**"]
75+
"tsConfig": "tsconfig.lib.json",
76+
"project": "ng-package.json"
8777
}
8878
}
8979
}
9080
}
9181
},
92-
"defaultProject": "ng-table-builder"
82+
"defaultProject": "ng-table-builder-app"
9383
}
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

src/custom-theme.scss renamed to integration/app/custom-theme.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
// Custom Theming for Angular Material
22
// For more information: https://material.angular.io/guide/theming
3-
@import '~@angular/material/theming';
3+
@import 'node_modules/@angular/material/theming';
44
// Plus imports for other components in your app.
55

66
// Include the common styles for Angular Material. We include this here so that you only

src/environments/environment.prod.ts renamed to integration/app/environments/environment.prod.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ObjectKeyMap } from '../app/shared/symbol';
1+
import { ObjectKeyMap } from '../src/shared/symbol';
22

33
export const environment: ObjectKeyMap = {
44
production: true

src/environments/environment.ts renamed to integration/app/environments/environment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { ObjectKeyMap } from '../app/shared/symbol';
1+
import { ObjectKeyMap } from '../src/shared/symbol';
22

33
export const environment: ObjectKeyMap = {
44
production: false
File renamed without changes.

0 commit comments

Comments
 (0)