Skip to content

Commit b745f41

Browse files
committed
docs: improve generators + specify correct tslint version + generate docs
1 parent 0dcdf76 commit b745f41

19 files changed

+527
-916
lines changed

.github/workflows/test-and-release.yml

+2
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,9 @@ jobs:
4949
if: success()
5050
run: |
5151
yarn run compile
52+
yarn run compile:forDatasource
5253
yarn run compile:datasource
54+
yarn run build
5355
cp README.md dist/akita-filters-plugin/README.md
5456
cp LICENSE.md dist/akita-filters-plugin/LICENSE.md
5557
- name: Semantic Release

.gitignore

+3-7
Original file line numberDiff line numberDiff line change
@@ -40,10 +40,6 @@ testem.log
4040
.DS_Store
4141
Thumbs.db
4242

43-
/.angular
44-
/docs
45-
/.nx/cache/file-map.json
46-
/.nx/cache/lockfile.hash
47-
/.nx/cache/nx_files.nxt
48-
/.nx/cache/parsed-lock-file.json
49-
/.nx/cache/project-graph.json
43+
.angular
44+
docs
45+
.nx

angular.json

+9-33
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,15 @@
1515
},
1616
"architect": {
1717
"build": {
18-
"builder": "@angular-devkit/build-angular:browser",
18+
"builder": "@angular-devkit/build-angular:application",
1919
"options": {
20-
"outputPath": "dist/akita-filters-plugin-playground",
20+
"outputPath": {
21+
"base": "dist/akita-filters-plugin-playground"
22+
},
2123
"index": "src/index.html",
22-
"main": "src/main.ts",
23-
"polyfills": "src/polyfills.ts",
24+
"polyfills": [
25+
"src/polyfills.ts"
26+
],
2427
"tsConfig": "src/tsconfig.app.json",
2528
"assets": [
2629
"src/favicon.ico",
@@ -35,12 +38,11 @@
3538
"node_modules/prismjs/prism.js",
3639
"node_modules/prismjs/components/prism-typescript.min.js"
3740
],
38-
"vendorChunk": true,
3941
"extractLicenses": false,
40-
"buildOptimizer": false,
4142
"sourceMap": true,
4243
"optimization": false,
43-
"namedChunks": true
44+
"namedChunks": true,
45+
"browser": "src/main.ts"
4446
},
4547
"configurations": {
4648
"production": {
@@ -55,8 +57,6 @@
5557
"sourceMap": false,
5658
"namedChunks": false,
5759
"extractLicenses": true,
58-
"vendorChunk": false,
59-
"buildOptimizer": true,
6060
"budgets": [
6161
{
6262
"type": "initial",
@@ -134,18 +134,6 @@
134134
"projectType": "library",
135135
"prefix": "lib",
136136
"architect": {
137-
"build": {
138-
"builder": "@angular-devkit/build-ng-packagr:build",
139-
"options": {
140-
"tsConfig": "projects/akita-filters-plugin/tsconfig.lib.json",
141-
"project": "projects/akita-filters-plugin/ng-package.json"
142-
},
143-
"configurations": {
144-
"production": {
145-
"tsConfig": "projects/akita-filters-plugin/tsconfig.lib.prod.json"
146-
}
147-
}
148-
},
149137
"lint": {
150138
"builder": "@angular-eslint/builder:lint",
151139
"options": {
@@ -163,18 +151,6 @@
163151
"sourceRoot": "projects/akita-mat-datasource/src",
164152
"prefix": "lib",
165153
"architect": {
166-
"build": {
167-
"builder": "@angular-devkit/build-ng-packagr:build",
168-
"options": {
169-
"tsConfig": "projects/akita-mat-datasource/tsconfig.lib.json",
170-
"project": "projects/akita-mat-datasource/ng-package.json"
171-
},
172-
"configurations": {
173-
"production": {
174-
"tsConfig": "projects/akita-mat-datasource/tsconfig.lib.prod.json"
175-
}
176-
}
177-
},
178154
"lint": {
179155
"builder": "@angular-eslint/builder:lint",
180156
"options": {

0 commit comments

Comments
 (0)