Skip to content

Commit

Permalink
build: fix import in test-app, update ember-try to v3 to fix a fs-ext…
Browse files Browse the repository at this point in the history
…ra bug
  • Loading branch information
BlueCutOfficial committed Mar 3, 2023
1 parent dfc99fe commit 9b639a8
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 15 deletions.
3 changes: 0 additions & 3 deletions addon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,9 +59,6 @@
"prettier": "^2.7.1",
"rollup": "^3.17.3"
},
"resolutions": {
"clean-css": "4.2.1"
},
"engines": {
"node": "14.* || 16.* || >= 18"
},
Expand Down
5 changes: 4 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
{
"private": true,
"workspaces": ["addon", "test-app"]
"workspaces": ["addon", "test-app"],
"resolutions": {
"clean-css": "4.2.1"
}
}
5 changes: 1 addition & 4 deletions test-app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@
"ember-source": "~4.8.0",
"ember-source-channel-url": "^3.0.0",
"ember-template-lint": "^5.0.1",
"ember-try": "^2.0.0",
"ember-try": "^3.0.0-beta.1",
"eslint": "^8.16.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-ember": "^11.1.0",
Expand All @@ -80,9 +80,6 @@
"qunit-dom": "^2.0.0",
"webpack": "^5.74.0"
},
"resolutions": {
"clean-css": "4.2.1"
},
"engines": {
"node": "14.* || 16.* || >= 18"
},
Expand Down
2 changes: 1 addition & 1 deletion test-app/tests/unit/index-test.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import slugify, { removeDiacritics } from 'test-app'
import slugify, { removeDiacritics } from 'ember-slugify'
import { module, test } from 'qunit'

module('Unit | Utility | slug', function () {
Expand Down
21 changes: 15 additions & 6 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -4283,18 +4283,18 @@ ember-try-config@^4.0.0:
remote-git-tags "^3.0.0"
semver "^7.3.2"

ember-try@^2.0.0:
version "2.0.0"
resolved "https://registry.yarnpkg.com/ember-try/-/ember-try-2.0.0.tgz#2671c221f5a0335fa2c189d00db7146e2e72a1dd"
integrity sha512-2N7Vic45sbAegA5fhdfDjVbEVS4r+ze+tTQs2/wkY+8fC5yAGHfCM5ocyoTfBN5m7EhznC3AyMsOy4hLPzHFSQ==
ember-try@^3.0.0-beta.1:
version "3.0.0-beta.1"
resolved "https://registry.yarnpkg.com/ember-try/-/ember-try-3.0.0-beta.1.tgz#2809d95ac48f72d989516e20ea589b6ca856ea91"
integrity sha512-L8Nuy1iJZQmaEvxycTXCKe67K85f44DLRvwZL5ow8WtPdaZQuAHs9fJmYEGI1uyymf4MJChu6wwyh3tLSHiCag==
dependencies:
chalk "^4.1.2"
cli-table3 "^0.6.0"
core-object "^3.1.5"
debug "^4.3.2"
ember-try-config "^4.0.0"
execa "^4.1.0"
fs-extra "^9.0.1"
fs-extra "^6.0.1"
resolve "^1.20.0"
rimraf "^3.0.2"
walk-sync "^2.2.0"
Expand Down Expand Up @@ -5292,6 +5292,15 @@ fs-extra@^5.0.0:
jsonfile "^4.0.0"
universalify "^0.1.0"

fs-extra@^6.0.1:
version "6.0.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-6.0.1.tgz#8abc128f7946e310135ddc93b98bddb410e7a34b"
integrity sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA==
dependencies:
graceful-fs "^4.1.2"
jsonfile "^4.0.0"
universalify "^0.1.0"

fs-extra@^7.0.0, fs-extra@^7.0.1:
version "7.0.1"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-7.0.1.tgz#4f189c44aa123b895f722804f55ea23eadc348e9"
Expand All @@ -5310,7 +5319,7 @@ fs-extra@^8.0.0, fs-extra@^8.0.1, fs-extra@^8.1.0:
jsonfile "^4.0.0"
universalify "^0.1.0"

fs-extra@^9.0.1, fs-extra@^9.1.0:
fs-extra@^9.1.0:
version "9.1.0"
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-9.1.0.tgz#5954460c764a8da2094ba3554bf839e6b9a7c86d"
integrity sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==
Expand Down

0 comments on commit 9b639a8

Please sign in to comment.