Skip to content

Commit

Permalink
replace all * dependencies with URLs (assets-server) (#601)
Browse files Browse the repository at this point in the history
* replace all * dependencies with URLs (assets-server)

* ci: do not run build-libs, from now on we build every assets individually
  • Loading branch information
andypf authored May 10, 2024
1 parent ff5d301 commit 31b0875
Show file tree
Hide file tree
Showing 15 changed files with 392 additions and 116 deletions.
20 changes: 10 additions & 10 deletions apps/assets-overview/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,9 @@
"github-markdown-css": "^5.1.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "3.3.0",
"messages-provider": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "15.8.1",
Expand All @@ -45,10 +45,10 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-router": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"url-state-router": "https://assets.juno.global.cloud.sap/libs/url-state-router@1.0.3/package.tgz",
"util": "^0.12.4",
"utils": "*",
"utils": "https://assets.juno.global.cloud.sap/libs/utils@1.1.6/package.tgz",
"zustand": "4.3.7"
},
"scripts": {
Expand All @@ -60,15 +60,15 @@
"peerDependencies": {
"@tanstack/react-query": "4.28.0",
"custom-event-polyfill": "1.0.7",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "3.3.0",
"messages-provider": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"url-state-provider": "*",
"url-state-router": "*",
"utils": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"url-state-router": "https://assets.juno.global.cloud.sap/libs/url-state-router@1.0.3/package.tgz",
"utils": "https://assets.juno.global.cloud.sap/libs/utils@1.1.6/package.tgz",
"zustand": "4.3.7"
},
"appProps": {
Expand Down
8 changes: 4 additions & 4 deletions apps/auth/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,14 +25,14 @@
"autoprefixer": "^10.4.2",
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"communicator": "*",
"communicator": "https://assets.juno.global.cloud.sap/libs/communicator@2.2.6/package.tgz",
"custom-event-polyfill": "^1.0.7",
"esbuild": "^0.17.12",
"interweave": "^13.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"oauth": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/oauth@1.2.1/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
Expand All @@ -52,7 +52,7 @@
"peerDependencies": {
"custom-event-polyfill": "^1.0.7",
"juno-ui-components": "latest",
"oauth": "*",
"oauth": "https://assets.juno.global.cloud.sap/libs/oauth@1.2.1/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0"
Expand Down
4 changes: 2 additions & 2 deletions apps/dashboard/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
"babel-plugin-transform-import-meta": "^2.2.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
Expand All @@ -47,7 +47,7 @@
},
"peerDependencies": {
"custom-event-polyfill": "^1.0.7",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"prop-types": "^15.8.1",
"react": "18.2.0",
Expand Down
20 changes: 10 additions & 10 deletions apps/exampleapp/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,10 @@
"esbuild": "^0.17.19",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"messages-provider": "*",
"oauth": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/oauth@1.2.1/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
Expand All @@ -42,9 +42,9 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"util": "^0.12.4",
"utils": "*",
"utils": "https://assets.juno.global.cloud.sap/libs/utils@1.1.6/package.tgz",
"zustand": "4.3.7"
},
"scripts": {
Expand All @@ -55,15 +55,15 @@
"peerDependencies": {
"@tanstack/react-query": "4.28.0",
"custom-event-polyfill": "^1.0.7",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"messages-provider": "*",
"oauth": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/oauth@1.2.1/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0",
"url-state-provider": "*",
"utils": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"utils": "https://assets.juno.global.cloud.sap/libs/utils@1.1.6/package.tgz",
"zustand": "4.3.7"
},
"importmapExtras": {
Expand Down
8 changes: 4 additions & 4 deletions apps/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
"esbuild": "^0.19.5",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
Expand All @@ -40,7 +40,7 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"util": "^0.12.4",
"zustand": "4.3.7"
},
Expand All @@ -50,11 +50,11 @@
"build": "NODE_ENV=production node esbuild.config.js"
},
"peerDependencies": {
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"zustand": "4.3.7"
},
"importmapExtras": {
Expand Down
8 changes: 4 additions & 4 deletions apps/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"babel-plugin-transform-import-meta": "^2.2.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
Expand All @@ -40,7 +40,7 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"util": "^0.12.4",
"zustand": "4.5.2",
"esbuild": "^0.19.5"
Expand All @@ -52,12 +52,12 @@
},
"peerDependencies": {
"@tanstack/react-query": "4.28.0",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"zustand": "4.5.2"
},
"importmapExtras": {
Expand Down
2 changes: 1 addition & 1 deletion apps/user-activity/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"autoprefixer": "^10.4.2",
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"communicator": "*",
"communicator": "https://assets.juno.global.cloud.sap/libs/communicator@2.2.6/package.tgz",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"postcss": "^8.4.21",
Expand Down
22 changes: 11 additions & 11 deletions apps/volta/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,14 +27,14 @@
"autoprefixer": "^10.4.2",
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"communicator": "*",
"communicator": "https://assets.juno.global.cloud.sap/libs/communicator@2.2.6/package.tgz",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"lodash.uniqueid": "^4.0.1",
"luxon": "^2.3.0",
"messages-provider": "*",
"oauth": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/oauth@1.2.1/package.tgz",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
"prop-types": "^15.8.1",
Expand All @@ -45,23 +45,23 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.7.1",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"util": "^0.12.4",
"utils": "*",
"utils": "https://assets.juno.global.cloud.sap/libs/utils@1.1.6/package.tgz",
"zustand": "4.3.7"
},
"peerDependencies": {
"@tanstack/react-query": "4.28.0",
"custom-event-polyfill": "^1.0.7",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"messages-provider": "*",
"oauth": "*",
"messages-provider": "https://assets.juno.global.cloud.sap/libs/messages-provider@0.1.12/package.tgz",
"oauth": "https://assets.juno.global.cloud.sap/libs/oauth@1.2.1/package.tgz",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0",
"url-state-provider": "*",
"utils": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"utils": "https://assets.juno.global.cloud.sap/libs/utils@1.1.6/package.tgz",
"zustand": "4.3.7"
},
"importmapExtras": {
Expand Down
10 changes: 5 additions & 5 deletions apps/whois/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,11 @@
"babel-jest": "^29.3.1",
"babel-plugin-transform-import-meta": "^2.2.0",
"cidr-regex": "^3.1.1",
"communicator": "*",
"communicator": "https://assets.juno.global.cloud.sap/libs/communicator@2.2.6/package.tgz",
"ip-regex": "^5.0.0",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"postcss": "^8.4.21",
"postcss-url": "^10.1.3",
Expand All @@ -41,7 +41,7 @@
"sass": "^1.60.0",
"shadow-dom-testing-library": "^1.8.0",
"tailwindcss": "^3.3.1",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"util": "^0.12.4"
},
"scripts": {
Expand All @@ -50,12 +50,12 @@
"build": "NODE_ENV=production node esbuild.config.js"
},
"peerDependencies": {
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0",
"url-state-provider": "*"
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz"
},
"appProps": {
"theme": {
Expand Down
2 changes: 1 addition & 1 deletion ci/scripts/asset_build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ echo "generate COMMUNICATOR.md in $ASSET_PATH"
node ci/scripts/generate_communication_readme.mjs --path="$ASSET_PATH"

# install and build libs
npm run build-libs
# npm run build-libs

# TEST AND BUILD ASSET
# IGNORE_EXTERNALS=true will results in a bundle which includes all dependencies.
Expand Down
8 changes: 4 additions & 4 deletions docs/build_and_host_app.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ npm -v
```json
"peerDependencies": {
"@tanstack/react-query": "^4.28.0",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"luxon": "^2.3.0",
"prop-types": "^15.8.1",
"react": "18.2.0",
"react-dom": "^18.2.0",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"zustand": "^4.1.1"
},
```
Expand All @@ -53,8 +53,8 @@ npm -v
```yaml
"devDependencies": {
...
"juno-ui-components": "*",
"url-state-provider": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
...
},
```
Expand Down
4 changes: 2 additions & 2 deletions libs/messages-provider/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"module": "build/index.js",
"license": "Apache-2.0",
"peerDependencies": {
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"react": "18.2.0",
"zustand": "4.5.2"
},
Expand All @@ -28,7 +28,7 @@
"@testing-library/user-event": "^14.4.3",
"jest": "^29.3.1",
"jest-environment-jsdom": "^29.3.1",
"juno-ui-components": "*",
"juno-ui-components": "https://assets.juno.global.cloud.sap/libs/juno-ui-components@2.13.8/package.tgz",
"prop-types": "15.8.1",
"react": "18.2.0",
"react-dom": "18.2.0",
Expand Down
4 changes: 2 additions & 2 deletions libs/url-state-router/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"peerDependencies": {
"react": "18.2.0",
"react-dom": "^18.2.0",
"url-state-provider": "*",
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz",
"prop-types": "^15.8.1"
},
"devDependencies": {
Expand All @@ -39,7 +39,7 @@
"rollup": "^3.4.0",
"rollup-plugin-analyzer": "^4.0.0",
"rollup-plugin-delete": "^2.0.0",
"url-state-provider": "*"
"url-state-provider": "https://assets.juno.global.cloud.sap/libs/url-state-provider@1.3.2/package.tgz"
},
"scripts": {
"test": "jest",
Expand Down
2 changes: 1 addition & 1 deletion libs/utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ Within juno monorepo
```json

"dependencies": {
"utils": "*"
"utils": "https://assets.juno.global.cloud.sap/libs/utils@1.1.6/package.tgz"
},

```
Expand Down
Loading

0 comments on commit 31b0875

Please sign in to comment.