Skip to content

Commit 250cde2

Browse files
committed
build: Update to all last pckage + fix build library
1 parent 9a28ba9 commit 250cde2

16 files changed

+11189
-6999
lines changed

angular.json

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@
1313
"build": {
1414
"builder": "@angular-devkit/build-angular:browser",
1515
"options": {
16+
"aot": true,
1617
"outputPath": "dist/example-ngx-http-annotations",
1718
"index": "src/index.html",
1819
"main": "src/main.ts",
@@ -29,6 +30,12 @@
2930
},
3031
"configurations": {
3132
"production": {
33+
"budgets": [
34+
{
35+
"type": "anyComponentStyle",
36+
"maximumWarning": "6kb"
37+
}
38+
],
3239
"fileReplacements": [
3340
{
3441
"replace": "src/environments/environment.ts",
@@ -131,7 +138,8 @@
131138
},
132139
"configurations": {
133140
"production": {
134-
"project": "projects/ngx-http-annotations/ng-package.prod.json"
141+
"project": "projects/ngx-http-annotations/ng-package.prod.json",
142+
"tsConfig": "projects/ngx-http-annotations/tsconfig.lib.prod.json"
135143
}
136144
}
137145
},
@@ -158,5 +166,8 @@
158166
}
159167
}
160168
},
161-
"defaultProject": "example-ngx-http-annotations"
162-
}
169+
"defaultProject": "example-ngx-http-annotations",
170+
"cli": {
171+
"analytics": "ccb5e103-d12f-4375-adf3-3b0114a333a4"
172+
}
173+
}
File renamed without changes.

ng-package.json

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,8 @@
11
{
2-
"name": "ngx-http-annotations",
3-
"version": "0.6.3",
42
"$schema": "./node_modules/ng-packagr/ng-package.schema.json",
5-
"src": "src",
63
"dest": "dist/ngx-http-annotations",
7-
"workingDirectory": ".ng_build",
84
"lib": {
95
"entryFile": "public_api.ts"
10-
},
11-
"ngPackage": {
12-
"lib": {
13-
"entryFile": "public_api.ts"
14-
}
156
}
167

178
}

ngx-http-annotations.iml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
<?xml version="1.0" encoding="UTF-8"?>
2+
<module version="4">
3+
<component name="NewModuleRootManager">
4+
<content url="file://$MODULE_DIR$">
5+
<excludeFolder url="file://$MODULE_DIR$/dist" />
6+
<excludeFolder url="file://$MODULE_DIR$/tmp" />
7+
</content>
8+
<orderEntry type="sourceFolder" forTests="false" />
9+
</component>
10+
</module>

0 commit comments

Comments
 (0)