Skip to content

Commit 90fc76c

Browse files
chore: Remove remaining bower packages (#4352)
1 parent a3fdc45 commit 90fc76c

File tree

3 files changed

+19
-35
lines changed

3 files changed

+19
-35
lines changed

ember-cli-build.js

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,20 +76,17 @@ module.exports = function(defaults) {
7676
}
7777
});
7878

79-
app.import('bower_components/semantic-ui-calendar/dist/calendar.min.css');
79+
app.import('node_modules/semantic-ui-calendar/dist/calendar.min.css');
8080

81-
app.import('bower_components/semantic-ui-calendar/dist/calendar.min.js', {
81+
app.import('node_modules/semantic-ui-calendar/dist/calendar.min.js', {
8282
using: [{ transformation: 'fastbootShim' }]
8383
});
84-
app.import('bower_components/wysihtml/dist/wysihtml-toolbar.min.js', {
84+
app.import('node_modules/wysihtml/dist/wysihtml-toolbar.min.js', {
8585
using: [{ transformation: 'fastbootShim' }]
8686
});
8787
app.import('node_modules/tinyColorPicker/jqColorPicker.min.js', {
8888
using: [{ transformation: 'fastbootShim' }]
8989
});
90-
app.import('bower_components/js-polyfills/xhr.js', {
91-
using: [{ transformation: 'fastbootShim' }]
92-
});
9390
app.import('vendor/jquery-ui.min.js', {
9491
using: [{ transformation: 'fastbootShim' }]
9592
});

package.json

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,7 @@
1717
"lint": "npm-run-all --aggregate-output --continue-on-error --parallel lint:*",
1818
"lint:js": "eslint --fix app ember-cli-build.js testem.js tests",
1919
"lint:scss": "sass-lint -c .sass-lint.yml --verbose",
20-
"lint:hbs": "ember-template-lint .",
21-
"postinstall": "node -e \"try { require('fs').symlinkSync(require('path').resolve('node_modules/@bower_components'), 'bower_components', 'junction') } catch (e) { }\""
20+
"lint:hbs": "ember-template-lint ."
2221
},
2322
"pre-commit": {
2423
"run": [
@@ -142,6 +141,7 @@
142141
"qunit-dom": "^1.2.0",
143142
"sanitize-html": "^1.23.0",
144143
"sass": "^1.26.5",
144+
"semantic-ui-calendar": "^0.0.8",
145145
"semantic-ui-ember": "3.0.4",
146146
"string_decoder": "^1.3.0",
147147
"style-loader": "^1.2.1",
@@ -150,6 +150,7 @@
150150
"typescript": "^3.7.5",
151151
"url-parse": "^1.4.7",
152152
"webpack-bundle-analyzer": "^3.7.0",
153+
"wysihtml": "^0.5.5",
153154
"xgettext-template": "^4.0.3"
154155
},
155156
"engines": {
@@ -158,11 +159,6 @@
158159
},
159160
"private": true,
160161
"dependencies": {
161-
"@bower_components/flexibility": "10up/flexibility#^2.0.1",
162-
"@bower_components/js-polyfills": "inexorabletash/polyfill#^0.1.34",
163-
"@bower_components/pace": "HubSpot/pace#^1.0.2",
164-
"@bower_components/semantic-ui-calendar": "mdehoog/semantic-ui-calendar#^0.0.8",
165-
"@bower_components/wysihtml": "Voog/wysihtml#^0.5.5",
166162
"ua-parser-js": "^0.7.21"
167163
},
168164
"ember": {

yarn.lock

Lines changed: 13 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1086,28 +1086,6 @@
10861086
lodash "^4.17.13"
10871087
to-fast-properties "^2.0.0"
10881088

1089-
"@bower_components/flexibility@10up/flexibility#^2.0.1":
1090-
version "2.0.1"
1091-
resolved "https://codeload.github.com/10up/flexibility/tar.gz/9578df36e207c0a5eda7bb7515ba407366396527"
1092-
1093-
"@bower_components/js-polyfills@inexorabletash/polyfill#^0.1.34":
1094-
version "0.1.42"
1095-
resolved "https://codeload.github.com/inexorabletash/polyfill/tar.gz/3ad9351437e7e6cd263dfbd75c099a0027ab960f"
1096-
1097-
"@bower_components/pace@HubSpot/pace#^1.0.2":
1098-
version "1.0.2"
1099-
resolved "https://codeload.github.com/HubSpot/pace/tar.gz/c6846cbf6b928e9903b569269fa9fbf32f2554f4"
1100-
1101-
"@bower_components/semantic-ui-calendar@mdehoog/semantic-ui-calendar#^0.0.8":
1102-
version "0.0.8"
1103-
resolved "https://codeload.github.com/mdehoog/semantic-ui-calendar/tar.gz/930d05ce0150c1fb04757dac82c0758a66419aca"
1104-
1105-
"@bower_components/wysihtml@Voog/wysihtml#^0.5.5":
1106-
version "0.5.5"
1107-
resolved "https://codeload.github.com/Voog/wysihtml/tar.gz/2578cede1de168a3c46ac9c0e7faa49ae533d3e9"
1108-
dependencies:
1109-
rangy "^1.3.0"
1110-
11111089
"@cnakazawa/watch@^1.0.3":
11121090
version "1.0.3"
11131091
resolved "https://registry.yarnpkg.com/@cnakazawa/watch/-/watch-1.0.3.tgz#099139eaec7ebf07a27c1786a3ff64f39464d2ef"
@@ -13115,6 +13093,7 @@ range-parser@~1.2.1:
1311513093
rangy@^1.3.0:
1311613094
version "1.3.0"
1311713095
resolved "https://registry.yarnpkg.com/rangy/-/rangy-1.3.0.tgz#b7c9a70aea05e5d8cdc74a8d4c8273d697271904"
13096+
integrity sha1-t8mnCuoF5djNx0qNTIJz1pcnGQQ=
1311813097

1311913098
1312013099
version "2.4.0"
@@ -14108,6 +14087,11 @@ select@^1.1.2:
1410814087
version "1.1.2"
1410914088
resolved "https://registry.yarnpkg.com/select/-/select-1.1.2.tgz#0e7350acdec80b1108528786ec1d4418d11b396d"
1411014089

14090+
semantic-ui-calendar@^0.0.8:
14091+
version "0.0.8"
14092+
resolved "https://registry.yarnpkg.com/semantic-ui-calendar/-/semantic-ui-calendar-0.0.8.tgz#ae16504e4d8016cac5ba9a00ad8ccd4a430de3ef"
14093+
integrity sha1-rhZQTk2AFsrFupoArYzNSkMN4+8=
14094+
1411114095
semantic-ui-css@^2.2.14:
1411214096
version "2.3.1"
1411314097
resolved "https://registry.yarnpkg.com/semantic-ui-css/-/semantic-ui-css-2.3.1.tgz#a5485c640c98cce29d8ddde3eff3434566a068e0"
@@ -15950,6 +15934,13 @@ ws@~3.3.1:
1595015934
safe-buffer "~5.1.0"
1595115935
ultron "~1.1.0"
1595215936

15937+
wysihtml@^0.5.5:
15938+
version "0.5.5"
15939+
resolved "https://registry.yarnpkg.com/wysihtml/-/wysihtml-0.5.5.tgz#6c1e52be1f5df7fbf81ccab7e615f08787c56fd0"
15940+
integrity sha1-bB5Svh9d9/v4HMq35hXwh4fFb9A=
15941+
dependencies:
15942+
rangy "^1.3.0"
15943+
1595315944
xdg-basedir@^4.0.0:
1595415945
version "4.0.0"
1595515946
resolved "https://registry.yarnpkg.com/xdg-basedir/-/xdg-basedir-4.0.0.tgz#4bc8d9984403696225ef83a1573cbbcb4e79db13"

0 commit comments

Comments
 (0)