Skip to content

Commit

Permalink
#2329 Removed presumably non-essential dependencies from Polymer+comp…
Browse files Browse the repository at this point in the history
…onents updater script. These contain stuff for web testing.
  • Loading branch information
jhou-pro committed Oct 14, 2024
1 parent f815105 commit f128494
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 66 deletions.
1 change: 0 additions & 1 deletion platform-web-ui/src/main/resources/build-polymer.js
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@ import '@polymer/iron-pages/iron-pages.js';
import '@polymer/iron-selector/iron-selector.js';
import '@polymer/iron-scroll-threshold/iron-scroll-threshold.js';
import '@polymer/iron-swipeable-container/iron-swipeable-container.js';
import '@polymer/iron-test-helpers/iron-test-helpers.js';
import '@polymer/neon-animation/neon-animation.js';
import '@polymer/paper-badge/paper-badge.js';
import '@polymer/paper-behaviors/paper-button-behavior.js';
Expand Down
3 changes: 0 additions & 3 deletions platform-web-ui/src/main/resources/install-polymer.sh
Original file line number Diff line number Diff line change
@@ -1,13 +1,10 @@
npm install
git clone https://github.com/PolymerElements/iron-test-helpers node_modules/@polymer/iron-test-helpers
polymer build
rm -r -f polymer
mv node_modules polymer
rm -r -f polymer/@polymer
rm -r -f polymer/wct-browser-legacy
rm -r -f polymer/@google-web-components
mv build/tg-custom-build/node_modules/@polymer polymer/
mv build/tg-custom-build/node_modules/wct-browser-legacy polymer/
mv build/tg-custom-build/node_modules/@google-web-components polymer/
rm -r -f build
rm -f package-lock.json
111 changes: 53 additions & 58 deletions platform-web-ui/src/main/resources/package.json
Original file line number Diff line number Diff line change
@@ -1,62 +1,57 @@
{
"dependencies": {
"@polymer/app-layout": "^3.0.2",
"@polymer/app-route": "^3.0.2",
"@polymer/iron-a11y-keys-behavior": "^3.0.1",
"@polymer/iron-ajax": "^3.0.1",
"@polymer/iron-autogrow-textarea": "^3.0.1",
"@polymer/iron-behaviors": "^3.0.1",
"@polymer/iron-collapse": "^3.0.1",
"@polymer/iron-dropdown": "^3.0.1",
"@polymer/iron-fit-behavior": "^3.0.1",
"@polymer/iron-flex-layout": "^3.0.1",
"@polymer/iron-form": "^3.0.1",
"@polymer/iron-icon": "^3.0.1",
"@polymer/iron-icons": "^3.0.1",
"@polymer/iron-iconset": "^3.0.1",
"@polymer/iron-iconset-svg": "^3.0.1",
"@polymer/iron-image": "^3.0.1",
"@polymer/iron-jsonp-library": "^3.0.1",
"@polymer/iron-list": "^3.0.1",
"@polymer/iron-location": "^3.0.1",
"@polymer/iron-media-query": "^3.0.1",
"@polymer/iron-overlay-behavior": "^3.0.2",
"@polymer/iron-pages": "^3.0.1",
"@polymer/iron-scroll-threshold": "^3.0.1",
"@polymer/iron-selector": "^3.0.1",
"@polymer/iron-swipeable-container": "^3.0.1",
"@polymer/paper-badge": "^3.0.1",
"@polymer/paper-behaviors": "^3.0.1",
"@polymer/paper-button": "^3.0.1",
"@polymer/paper-card": "^3.0.1",
"@polymer/paper-checkbox": "^3.1.0",
"@polymer/paper-dialog": "^3.0.1",
"@polymer/paper-dialog-behavior": "^3.0.1",
"@polymer/paper-dialog-scrollable": "^3.0.1",
"@polymer/paper-dropdown-menu": "^3.0.1",
"@polymer/paper-fab": "^3.0.1",
"@polymer/paper-icon-button": "^3.0.1",
"@polymer/paper-input": "^3.0.1",
"@polymer/paper-item": "^3.0.1",
"@polymer/paper-menu-button": "^3.0.1",
"@polymer/paper-progress": "^3.0.1",
"@polymer/paper-radio-button": "^3.0.1",
"@polymer/paper-ripple": "^3.0.1",
"@polymer/paper-spinner": "^3.0.1",
"@polymer/paper-styles": "^3.0.1",
"@polymer/paper-swatch-picker": "^3.0.1",
"@polymer/paper-tabs": "^3.0.1",
"@polymer/paper-toast": "^3.0.1",
"@polymer/paper-toolbar": "^3.0.1",
"@polymer/paper-tooltip": "^3.0.1",
"@polymer/polymer": "^3.0.0",
"@polymer/test-fixture": "^4.0.2",
"@google-web-components/google-chart": "^3.0.4",
"@webcomponents/webcomponentsjs": "^2.0.0",
"chai": "^4.2.0",
"mocha": "^5.2.0",
"wct-browser-legacy": "^1.0.2",
"wct-mocha": "^1.0.0-pre.3",
"web-animations-js": "^2.3.1"
"@polymer/app-layout": "3.0.2",
"@polymer/app-route": "3.0.2",
"@polymer/iron-a11y-keys-behavior": "3.0.1",
"@polymer/iron-ajax": "3.0.1",
"@polymer/iron-autogrow-textarea": "3.0.1",
"@polymer/iron-behaviors": "3.0.1",
"@polymer/iron-collapse": "3.0.1",
"@polymer/iron-dropdown": "3.0.1",
"@polymer/iron-fit-behavior": "3.0.1",
"@polymer/iron-flex-layout": "3.0.1",
"@polymer/iron-form": "3.0.1",
"@polymer/iron-icon": "3.0.1",
"@polymer/iron-icons": "3.0.1",
"@polymer/iron-iconset": "3.0.1",
"@polymer/iron-iconset-svg": "3.0.1",
"@polymer/iron-image": "3.0.1",
"@polymer/iron-jsonp-library": "3.0.1",
"@polymer/iron-list": "3.0.1",
"@polymer/iron-location": "3.0.1",
"@polymer/iron-media-query": "3.0.1",
"@polymer/iron-overlay-behavior": "3.0.2",
"@polymer/iron-pages": "3.0.1",
"@polymer/iron-scroll-threshold": "3.0.1",
"@polymer/iron-selector": "3.0.1",
"@polymer/iron-swipeable-container": "3.0.1",
"@polymer/paper-badge": "3.0.1",
"@polymer/paper-behaviors": "3.0.1",
"@polymer/paper-button": "3.0.1",
"@polymer/paper-card": "3.0.1",
"@polymer/paper-checkbox": "3.1.0",
"@polymer/paper-dialog": "3.0.1",
"@polymer/paper-dialog-behavior": "3.0.1",
"@polymer/paper-dialog-scrollable": "3.0.1",
"@polymer/paper-dropdown-menu": "3.0.1",
"@polymer/paper-fab": "3.0.1",
"@polymer/paper-icon-button": "3.0.1",
"@polymer/paper-input": "3.0.1",
"@polymer/paper-item": "3.0.1",
"@polymer/paper-menu-button": "3.0.1",
"@polymer/paper-progress": "3.0.1",
"@polymer/paper-radio-button": "3.0.1",
"@polymer/paper-ripple": "3.0.1",
"@polymer/paper-spinner": "3.0.1",
"@polymer/paper-styles": "3.0.1",
"@polymer/paper-swatch-picker": "3.0.1",
"@polymer/paper-tabs": "3.0.1",
"@polymer/paper-toast": "3.0.1",
"@polymer/paper-toolbar": "3.0.1",
"@polymer/paper-tooltip": "3.0.1",
"@polymer/polymer": "3.0.0",
"@google-web-components/google-chart": "3.0.4",
"@webcomponents/webcomponentsjs": "2.0.0",
"web-animations-js": "2.3.1"
}
}
5 changes: 1 addition & 4 deletions platform-web-ui/src/main/resources/polymer.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,10 @@
"entrypoint": "build.html",
"shell": "build-polymer.js",
"extraDependencies": [
"./node_modules/@polymer/test-fixture/test-fixture.js",
"./node_modules/@polymer/sinonjs/sinon.js",
"./node_modules/wct-browser-legacy/browser.js",
"./node_modules/web-animations-js/web-animations-next-lite.min.js"
],
"builds": [
{
{
"name": "tg-custom-build",
"js": {"minify": false, "compile": false},
"css": {"minify": false},
Expand Down

0 comments on commit f128494

Please sign in to comment.