Skip to content

Commit 3ca1943

Browse files
committed
fix(build): use workspace:~ to avoid multiple versions d/l on ext libs
- 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
1 parent 90a2d31 commit 3ca1943

File tree

19 files changed

+117
-117
lines changed

19 files changed

+117
-117
lines changed

examples/webpack-demo-vanilla-bundle/package.json

+10-10
Original file line numberDiff line numberDiff line change
@@ -36,16 +36,16 @@
3636
"dependencies": {
3737
"@faker-js/faker": "^7.3.0",
3838
"@fnando/sparkline": "^0.3.10",
39-
"@slickgrid-universal/common": "workspace:*",
40-
"@slickgrid-universal/composite-editor-component": "workspace:*",
41-
"@slickgrid-universal/custom-tooltip-plugin": "workspace:*",
42-
"@slickgrid-universal/excel-export": "workspace:*",
43-
"@slickgrid-universal/graphql": "workspace:*",
44-
"@slickgrid-universal/odata": "workspace:*",
45-
"@slickgrid-universal/rxjs-observable": "workspace:*",
46-
"@slickgrid-universal/text-export": "workspace:*",
47-
"@slickgrid-universal/vanilla-bundle": "workspace:*",
48-
"@slickgrid-universal/vanilla-force-bundle": "workspace:*",
39+
"@slickgrid-universal/common": "workspace:~",
40+
"@slickgrid-universal/composite-editor-component": "workspace:~",
41+
"@slickgrid-universal/custom-tooltip-plugin": "workspace:~",
42+
"@slickgrid-universal/excel-export": "workspace:~",
43+
"@slickgrid-universal/graphql": "workspace:~",
44+
"@slickgrid-universal/odata": "workspace:~",
45+
"@slickgrid-universal/rxjs-observable": "workspace:~",
46+
"@slickgrid-universal/text-export": "workspace:~",
47+
"@slickgrid-universal/vanilla-bundle": "workspace:~",
48+
"@slickgrid-universal/vanilla-force-bundle": "workspace:~",
4949
"bulma": "^0.9.4",
5050
"dompurify": "^2.3.10",
5151
"flatpickr": "^4.6.13",

packages/binding/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -51,4 +51,4 @@
5151
"npm-run-all2": "^6.0.1",
5252
"rimraf": "^3.0.2"
5353
}
54-
}
54+
}

packages/common/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -71,8 +71,8 @@
7171
"not dead"
7272
],
7373
"dependencies": {
74-
"@slickgrid-universal/event-pub-sub": "workspace:*",
75-
"@slickgrid-universal/utils": "workspace:*",
74+
"@slickgrid-universal/event-pub-sub": "workspace:~",
75+
"@slickgrid-universal/utils": "workspace:~",
7676
"dequal": "^2.0.3",
7777
"dompurify": "^2.3.10",
7878
"flatpickr": "^4.6.13",
@@ -106,4 +106,4 @@
106106
"type": "ko_fi",
107107
"url": "https://ko-fi.com/ghiscoding"
108108
}
109-
}
109+
}

packages/composite-editor-component/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*",
47-
"@slickgrid-universal/utils": "workspace:*"
46+
"@slickgrid-universal/common": "workspace:~",
47+
"@slickgrid-universal/utils": "workspace:~"
4848
},
4949
"devDependencies": {
5050
"cross-env": "^7.0.3",
5151
"npm-run-all2": "^6.0.1",
5252
"rimraf": "^3.0.2"
5353
}
54-
}
54+
}

packages/custom-footer-component/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,15 +43,15 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/binding": "workspace:*",
47-
"@slickgrid-universal/common": "workspace:*",
46+
"@slickgrid-universal/binding": "workspace:~",
47+
"@slickgrid-universal/common": "workspace:~",
4848
"moment-mini": "^2.24.0"
4949
},
5050
"devDependencies": {
51-
"@slickgrid-universal/event-pub-sub": "workspace:*",
51+
"@slickgrid-universal/event-pub-sub": "workspace:~",
5252
"@types/moment": "^2.13.0",
5353
"cross-env": "^7.0.3",
5454
"npm-run-all2": "^6.0.1",
5555
"rimraf": "^3.0.2"
5656
}
57-
}
57+
}

packages/custom-tooltip-plugin/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*",
46+
"@slickgrid-universal/common": "workspace:~",
4747
"dompurify": "^2.3.10"
4848
},
4949
"devDependencies": {
@@ -52,4 +52,4 @@
5252
"npm-run-all2": "^6.0.1",
5353
"rimraf": "^3.0.2"
5454
}
55-
}
55+
}

packages/empty-warning-component/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*"
46+
"@slickgrid-universal/common": "workspace:~"
4747
},
4848
"devDependencies": {
4949
"cross-env": "^7.0.3",
5050
"npm-run-all2": "^6.0.1",
5151
"rimraf": "^3.0.2"
5252
}
53-
}
53+
}

packages/event-pub-sub/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/utils": "workspace:*"
46+
"@slickgrid-universal/utils": "workspace:~"
4747
},
4848
"devDependencies": {
4949
"cross-env": "^7.0.3",
5050
"npm-run-all2": "^6.0.1",
5151
"rimraf": "^3.0.2"
5252
}
53-
}
53+
}

packages/excel-export/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*",
47-
"@slickgrid-universal/utils": "workspace:*",
46+
"@slickgrid-universal/common": "workspace:~",
47+
"@slickgrid-universal/utils": "workspace:~",
4848
"excel-builder-webpacker": "^2.1.7",
4949
"moment-mini": "^2.24.0"
5050
},
@@ -58,4 +58,4 @@
5858
"type": "ko_fi",
5959
"url": "https://ko-fi.com/ghiscoding"
6060
}
61-
}
61+
}

packages/graphql/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*"
46+
"@slickgrid-universal/common": "workspace:~"
4747
},
4848
"devDependencies": {
4949
"@types/moment": "^2.13.0",
@@ -56,4 +56,4 @@
5656
"type": "ko_fi",
5757
"url": "https://ko-fi.com/ghiscoding"
5858
}
59-
}
59+
}

packages/odata/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*",
47-
"@slickgrid-universal/utils": "workspace:*"
46+
"@slickgrid-universal/common": "workspace:~",
47+
"@slickgrid-universal/utils": "workspace:~"
4848
},
4949
"devDependencies": {
5050
"cross-env": "^7.0.3",
@@ -55,4 +55,4 @@
5555
"type": "ko_fi",
5656
"url": "https://ko-fi.com/ghiscoding"
5757
}
58-
}
58+
}

packages/pagination-component/package.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -43,13 +43,13 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/binding": "workspace:*",
47-
"@slickgrid-universal/common": "workspace:*"
46+
"@slickgrid-universal/binding": "workspace:~",
47+
"@slickgrid-universal/common": "workspace:~"
4848
},
4949
"devDependencies": {
50-
"@slickgrid-universal/event-pub-sub": "workspace:*",
50+
"@slickgrid-universal/event-pub-sub": "workspace:~",
5151
"cross-env": "^7.0.3",
5252
"npm-run-all2": "^6.0.1",
5353
"rimraf": "^3.0.2"
5454
}
55-
}
55+
}

packages/row-detail-view-plugin/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*"
46+
"@slickgrid-universal/common": "workspace:~"
4747
},
4848
"devDependencies": {
4949
"cross-env": "^7.0.3",
5050
"npm-run-all2": "^6.0.1",
5151
"rimraf": "^3.0.2"
5252
}
53-
}
53+
}

packages/rxjs-observable/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,12 +43,12 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*",
46+
"@slickgrid-universal/common": "workspace:~",
4747
"rxjs": "^7.5.6"
4848
},
4949
"devDependencies": {
5050
"cross-env": "^7.0.3",
5151
"npm-run-all2": "^6.0.1",
5252
"rimraf": "^3.0.2"
5353
}
54-
}
54+
}

packages/text-export/package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -43,8 +43,8 @@
4343
"not dead"
4444
],
4545
"dependencies": {
46-
"@slickgrid-universal/common": "workspace:*",
47-
"@slickgrid-universal/utils": "workspace:*",
46+
"@slickgrid-universal/common": "workspace:~",
47+
"@slickgrid-universal/utils": "workspace:~",
4848
"text-encoding-utf-8": "^1.0.2"
4949
},
5050
"devDependencies": {
@@ -57,4 +57,4 @@
5757
"type": "ko_fi",
5858
"url": "https://ko-fi.com/ghiscoding"
5959
}
60-
}
60+
}

packages/utils/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,4 +48,4 @@
4848
"npm-run-all2": "^6.0.1",
4949
"rimraf": "^3.0.2"
5050
}
51-
}
51+
}

packages/vanilla-bundle/package.json

+8-8
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@
4545
"not dead"
4646
],
4747
"dependencies": {
48-
"@slickgrid-universal/binding": "workspace:*",
49-
"@slickgrid-universal/common": "workspace:*",
50-
"@slickgrid-universal/custom-footer-component": "workspace:*",
51-
"@slickgrid-universal/empty-warning-component": "workspace:*",
52-
"@slickgrid-universal/event-pub-sub": "workspace:*",
53-
"@slickgrid-universal/pagination-component": "workspace:*",
54-
"@slickgrid-universal/utils": "workspace:*",
48+
"@slickgrid-universal/binding": "workspace:~",
49+
"@slickgrid-universal/common": "workspace:~",
50+
"@slickgrid-universal/custom-footer-component": "workspace:~",
51+
"@slickgrid-universal/empty-warning-component": "workspace:~",
52+
"@slickgrid-universal/event-pub-sub": "workspace:~",
53+
"@slickgrid-universal/pagination-component": "workspace:~",
54+
"@slickgrid-universal/utils": "workspace:~",
5555
"dequal": "^2.0.3",
5656
"flatpickr": "^4.6.13",
5757
"jquery": "^3.6.0",
@@ -69,4 +69,4 @@
6969
"type": "ko_fi",
7070
"url": "https://ko-fi.com/ghiscoding"
7171
}
72-
}
72+
}

packages/vanilla-force-bundle/package.json

+12-12
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,17 @@
5151
"not dead"
5252
],
5353
"dependencies": {
54-
"@slickgrid-universal/binding": "workspace:*",
55-
"@slickgrid-universal/common": "workspace:*",
56-
"@slickgrid-universal/composite-editor-component": "workspace:*",
57-
"@slickgrid-universal/custom-footer-component": "workspace:*",
58-
"@slickgrid-universal/custom-tooltip-plugin": "workspace:*",
59-
"@slickgrid-universal/empty-warning-component": "workspace:*",
60-
"@slickgrid-universal/event-pub-sub": "workspace:*",
61-
"@slickgrid-universal/pagination-component": "workspace:*",
62-
"@slickgrid-universal/text-export": "workspace:*",
63-
"@slickgrid-universal/utils": "workspace:*",
64-
"@slickgrid-universal/vanilla-bundle": "workspace:*",
54+
"@slickgrid-universal/binding": "workspace:~",
55+
"@slickgrid-universal/common": "workspace:~",
56+
"@slickgrid-universal/composite-editor-component": "workspace:~",
57+
"@slickgrid-universal/custom-footer-component": "workspace:~",
58+
"@slickgrid-universal/custom-tooltip-plugin": "workspace:~",
59+
"@slickgrid-universal/empty-warning-component": "workspace:~",
60+
"@slickgrid-universal/event-pub-sub": "workspace:~",
61+
"@slickgrid-universal/pagination-component": "workspace:~",
62+
"@slickgrid-universal/text-export": "workspace:~",
63+
"@slickgrid-universal/utils": "workspace:~",
64+
"@slickgrid-universal/vanilla-bundle": "workspace:~",
6565
"jquery": "^3.6.0",
6666
"whatwg-fetch": "^3.6.2"
6767
},
@@ -76,4 +76,4 @@
7676
"rimraf": "^3.0.2",
7777
"webpack": "^5.74.0"
7878
}
79-
}
79+
}

0 commit comments

Comments
 (0)