@dsivd/prestations-ng 16.0.0-beta6 → 16.0.0-beta7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/UPGRADING_V16.md
CHANGED
|
@@ -128,15 +128,31 @@ yarn install
|
|
|
128
128
|
|
|
129
129
|
Replace your current `.eslintrc.json` file by the one found in [ESLINT_MIGRATION.GUIDE](ESLINT_MIGRATION_GUIDE.md#customizing_eslint__inspired_from_otia_and_prestations-ng_s_files_for_rules_)
|
|
130
130
|
|
|
131
|
+
Then run
|
|
132
|
+
```bash
|
|
133
|
+
ng lint --fix=true
|
|
134
|
+
```
|
|
135
|
+
and finally fix manually remaining errors
|
|
136
|
+
|
|
131
137
|
### Cleanup your project due to CLI improvements
|
|
132
138
|
|
|
133
139
|
See section "CLI improvements" in angular's blog (https://blog.angular.io/angular-v15-is-now-available-df7be7f2f4c8)
|
|
134
140
|
|
|
135
141
|
#### Remove files/folder from your project
|
|
136
142
|
|
|
137
|
-
- delete
|
|
138
|
-
- delete
|
|
139
|
-
- delete
|
|
143
|
+
- delete `/src/polyfills.ts` file
|
|
144
|
+
- delete `/src/test.ts` file
|
|
145
|
+
- delete `/src/environments` folder
|
|
146
|
+
|
|
147
|
+
#### Update your `main.ts` file
|
|
148
|
+
```diff
|
|
149
|
+
-import { enableProdMode } from '@angular/core';
|
|
150
|
+
-import { environment } from './environments/environment';
|
|
151
|
+
|
|
152
|
+
-if (environment.production) {
|
|
153
|
+
- enableProdMode();
|
|
154
|
+
-}
|
|
155
|
+
```
|
|
140
156
|
|
|
141
157
|
#### Update your `angular.json` file
|
|
142
158
|
```diff
|
|
@@ -221,6 +237,11 @@ See section "CLI improvements" in angular's blog (https://blog.angular.io/angula
|
|
|
221
237
|
}
|
|
222
238
|
```
|
|
223
239
|
|
|
240
|
+
Finally, launch your application to be sure you have not missed anything!
|
|
241
|
+
```bash
|
|
242
|
+
yarn start
|
|
243
|
+
```
|
|
244
|
+
|
|
224
245
|
### Deprecated features
|
|
225
246
|
|
|
226
247
|
#### All components extending FoehnCheckableGroupComponent such as foehn-autocomplete, foehn-checkbox, foehn-radio, foehn-select or your custom components
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"ng-update": {
|
|
41
41
|
"migrations": "./schematics/migration-collection.json"
|
|
42
42
|
},
|
|
43
|
-
"version": "16.0.0-
|
|
43
|
+
"version": "16.0.0-beta7",
|
|
44
44
|
"module": "fesm2015/dsivd-prestations-ng.mjs",
|
|
45
45
|
"es2020": "fesm2020/dsivd-prestations-ng.mjs",
|
|
46
46
|
"esm2020": "esm2020/dsivd-prestations-ng.mjs",
|
|
Binary file
|