Skip to content

Commit 831d7c0

Browse files
committed
Ajout migration
1 parent 586261c commit 831d7c0

File tree

5 files changed

+301
-7
lines changed

5 files changed

+301
-7
lines changed

package-lock.json

+164-2
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

+4-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "ngx-focus-entities",
3-
"version": "17.0.0",
3+
"version": "17.0.1",
44
"author": {
55
"email": "gilderic.deruette@kleegroup.com",
66
"name": "Gildéric Deruette"
@@ -20,7 +20,7 @@
2020
"scripts": {
2121
"ng": "ng",
2222
"start": "ng serve",
23-
"build": "ng build",
23+
"build": "ng build & copyfiles -f -V projects/ngx-focus-entities/schematics/migrations/*.json ./dist/ngx-focus-entities/schematics/migrations",
2424
"watch": "ng build --watch --configuration development",
2525
"test": "ng test --no-watch --no-progress --browsers ChromeHeadless --code-coverage"
2626
},
@@ -42,6 +42,7 @@
4242
"karma-jasmine": "~5.1.0",
4343
"karma-jasmine-html-reporter": "~2.1.0",
4444
"ng-packagr": "^17.0.1",
45-
"typescript": "~5.2.2"
45+
"typescript": "~5.2.2",
46+
"copyfiles": "2.4.1"
4647
}
4748
}

projects/ngx-focus-entities/package-lock.json

+124
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

projects/ngx-focus-entities/package.json

+5-2
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
{
22
"name": "ngx-focus-entities",
3-
"version": "17.0.0",
3+
"version": "17.0.1",
44
"repository": "https://github.com/klee-contrib/ngx-focus-entities",
5-
"license": "LICENSE",
5+
"license": "MIT",
66
"author": {
77
"email": "gilderic.deruette@kleegroup.com",
88
"name": "Gildéric Deruette"
@@ -13,5 +13,8 @@
1313
"dependencies": {
1414
"tslib": "^2.3.0"
1515
},
16+
"ng-update": {
17+
"migrations": "./schematics/migrations/migration.json"
18+
},
1619
"sideEffects": false
1720
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"$schema": "../../../../node_modules/@angular-devkit/schematics/collection-schema.json",
3+
"schematics": {}
4+
}

0 commit comments

Comments
 (0)