Skip to content

Commit

Permalink
fix(build): use workspace:~ to avoid multiple versions d/l on ext libs
Browse files Browse the repository at this point in the history
- the use of `workspace:*` is fixed version and that might be a little too limited if we push a fix, like I did in previous patch release, then we shouldn't have to release new version of Angular-Slickgrid/Aurelia-Slickgrid to pick the new changes and avoid download duplication in their respective lock file
  • Loading branch information
ghiscoding committed Jul 28, 2022
1 parent 90a2d31 commit 3ca1943
Show file tree
Hide file tree
Showing 19 changed files with 117 additions and 117 deletions.
20 changes: 10 additions & 10 deletions examples/webpack-demo-vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -36,16 +36,16 @@
"dependencies": {
"@faker-js/faker": "^7.3.0",
"@fnando/sparkline": "^0.3.10",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/composite-editor-component": "workspace:*",
"@slickgrid-universal/custom-tooltip-plugin": "workspace:*",
"@slickgrid-universal/excel-export": "workspace:*",
"@slickgrid-universal/graphql": "workspace:*",
"@slickgrid-universal/odata": "workspace:*",
"@slickgrid-universal/rxjs-observable": "workspace:*",
"@slickgrid-universal/text-export": "workspace:*",
"@slickgrid-universal/vanilla-bundle": "workspace:*",
"@slickgrid-universal/vanilla-force-bundle": "workspace:*",
"@slickgrid-universal/common": "workspace:~",
"@slickgrid-universal/composite-editor-component": "workspace:~",
"@slickgrid-universal/custom-tooltip-plugin": "workspace:~",
"@slickgrid-universal/excel-export": "workspace:~",
"@slickgrid-universal/graphql": "workspace:~",
"@slickgrid-universal/odata": "workspace:~",
"@slickgrid-universal/rxjs-observable": "workspace:~",
"@slickgrid-universal/text-export": "workspace:~",
"@slickgrid-universal/vanilla-bundle": "workspace:~",
"@slickgrid-universal/vanilla-force-bundle": "workspace:~",
"bulma": "^0.9.4",
"dompurify": "^2.3.10",
"flatpickr": "^4.6.13",
Expand Down
2 changes: 1 addition & 1 deletion packages/binding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,4 +51,4 @@
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
6 changes: 3 additions & 3 deletions packages/common/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,8 +71,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/event-pub-sub": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"@slickgrid-universal/event-pub-sub": "workspace:~",
"@slickgrid-universal/utils": "workspace:~",
"dequal": "^2.0.3",
"dompurify": "^2.3.10",
"flatpickr": "^4.6.13",
Expand Down Expand Up @@ -106,4 +106,4 @@
"type": "ko_fi",
"url": "https://ko-fi.com/ghiscoding"
}
}
}
6 changes: 3 additions & 3 deletions packages/composite-editor-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/utils": "workspace:*"
"@slickgrid-universal/common": "workspace:~",
"@slickgrid-universal/utils": "workspace:~"
},
"devDependencies": {
"cross-env": "^7.0.3",
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
8 changes: 4 additions & 4 deletions packages/custom-footer-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,15 +43,15 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/binding": "workspace:*",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/binding": "workspace:~",
"@slickgrid-universal/common": "workspace:~",
"moment-mini": "^2.24.0"
},
"devDependencies": {
"@slickgrid-universal/event-pub-sub": "workspace:*",
"@slickgrid-universal/event-pub-sub": "workspace:~",
"@types/moment": "^2.13.0",
"cross-env": "^7.0.3",
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/custom-tooltip-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/common": "workspace:~",
"dompurify": "^2.3.10"
},
"devDependencies": {
Expand All @@ -52,4 +52,4 @@
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/empty-warning-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*"
"@slickgrid-universal/common": "workspace:~"
},
"devDependencies": {
"cross-env": "^7.0.3",
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/event-pub-sub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/utils": "workspace:*"
"@slickgrid-universal/utils": "workspace:~"
},
"devDependencies": {
"cross-env": "^7.0.3",
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
6 changes: 3 additions & 3 deletions packages/excel-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"@slickgrid-universal/common": "workspace:~",
"@slickgrid-universal/utils": "workspace:~",
"excel-builder-webpacker": "^2.1.7",
"moment-mini": "^2.24.0"
},
Expand All @@ -58,4 +58,4 @@
"type": "ko_fi",
"url": "https://ko-fi.com/ghiscoding"
}
}
}
4 changes: 2 additions & 2 deletions packages/graphql/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*"
"@slickgrid-universal/common": "workspace:~"
},
"devDependencies": {
"@types/moment": "^2.13.0",
Expand All @@ -56,4 +56,4 @@
"type": "ko_fi",
"url": "https://ko-fi.com/ghiscoding"
}
}
}
6 changes: 3 additions & 3 deletions packages/odata/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/utils": "workspace:*"
"@slickgrid-universal/common": "workspace:~",
"@slickgrid-universal/utils": "workspace:~"
},
"devDependencies": {
"cross-env": "^7.0.3",
Expand All @@ -55,4 +55,4 @@
"type": "ko_fi",
"url": "https://ko-fi.com/ghiscoding"
}
}
}
8 changes: 4 additions & 4 deletions packages/pagination-component/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,13 +43,13 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/binding": "workspace:*",
"@slickgrid-universal/common": "workspace:*"
"@slickgrid-universal/binding": "workspace:~",
"@slickgrid-universal/common": "workspace:~"
},
"devDependencies": {
"@slickgrid-universal/event-pub-sub": "workspace:*",
"@slickgrid-universal/event-pub-sub": "workspace:~",
"cross-env": "^7.0.3",
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/row-detail-view-plugin/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,11 +43,11 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*"
"@slickgrid-universal/common": "workspace:~"
},
"devDependencies": {
"cross-env": "^7.0.3",
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
4 changes: 2 additions & 2 deletions packages/rxjs-observable/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,12 +43,12 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/common": "workspace:~",
"rxjs": "^7.5.6"
},
"devDependencies": {
"cross-env": "^7.0.3",
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
6 changes: 3 additions & 3 deletions packages/text-export/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"@slickgrid-universal/common": "workspace:~",
"@slickgrid-universal/utils": "workspace:~",
"text-encoding-utf-8": "^1.0.2"
},
"devDependencies": {
Expand All @@ -57,4 +57,4 @@
"type": "ko_fi",
"url": "https://ko-fi.com/ghiscoding"
}
}
}
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,4 +48,4 @@
"npm-run-all2": "^6.0.1",
"rimraf": "^3.0.2"
}
}
}
16 changes: 8 additions & 8 deletions packages/vanilla-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -45,13 +45,13 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/binding": "workspace:*",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/custom-footer-component": "workspace:*",
"@slickgrid-universal/empty-warning-component": "workspace:*",
"@slickgrid-universal/event-pub-sub": "workspace:*",
"@slickgrid-universal/pagination-component": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"@slickgrid-universal/binding": "workspace:~",
"@slickgrid-universal/common": "workspace:~",
"@slickgrid-universal/custom-footer-component": "workspace:~",
"@slickgrid-universal/empty-warning-component": "workspace:~",
"@slickgrid-universal/event-pub-sub": "workspace:~",
"@slickgrid-universal/pagination-component": "workspace:~",
"@slickgrid-universal/utils": "workspace:~",
"dequal": "^2.0.3",
"flatpickr": "^4.6.13",
"jquery": "^3.6.0",
Expand All @@ -69,4 +69,4 @@
"type": "ko_fi",
"url": "https://ko-fi.com/ghiscoding"
}
}
}
24 changes: 12 additions & 12 deletions packages/vanilla-force-bundle/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -51,17 +51,17 @@
"not dead"
],
"dependencies": {
"@slickgrid-universal/binding": "workspace:*",
"@slickgrid-universal/common": "workspace:*",
"@slickgrid-universal/composite-editor-component": "workspace:*",
"@slickgrid-universal/custom-footer-component": "workspace:*",
"@slickgrid-universal/custom-tooltip-plugin": "workspace:*",
"@slickgrid-universal/empty-warning-component": "workspace:*",
"@slickgrid-universal/event-pub-sub": "workspace:*",
"@slickgrid-universal/pagination-component": "workspace:*",
"@slickgrid-universal/text-export": "workspace:*",
"@slickgrid-universal/utils": "workspace:*",
"@slickgrid-universal/vanilla-bundle": "workspace:*",
"@slickgrid-universal/binding": "workspace:~",
"@slickgrid-universal/common": "workspace:~",
"@slickgrid-universal/composite-editor-component": "workspace:~",
"@slickgrid-universal/custom-footer-component": "workspace:~",
"@slickgrid-universal/custom-tooltip-plugin": "workspace:~",
"@slickgrid-universal/empty-warning-component": "workspace:~",
"@slickgrid-universal/event-pub-sub": "workspace:~",
"@slickgrid-universal/pagination-component": "workspace:~",
"@slickgrid-universal/text-export": "workspace:~",
"@slickgrid-universal/utils": "workspace:~",
"@slickgrid-universal/vanilla-bundle": "workspace:~",
"jquery": "^3.6.0",
"whatwg-fetch": "^3.6.2"
},
Expand All @@ -76,4 +76,4 @@
"rimraf": "^3.0.2",
"webpack": "^5.74.0"
}
}
}
Loading

0 comments on commit 3ca1943

Please sign in to comment.