-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Downstreamed changes from @[email protected] (#151)
* chore: Updated dependencies * chore: Updated import statements * refactor: Renamed variables * chore: Simplified scripts * chore: Added changeset --------- Co-authored-by: ijlee2 <[email protected]>
- Loading branch information
Showing
18 changed files
with
177 additions
and
319 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
--- | ||
"ember-codemod-remove-ember-css-modules": patch | ||
"type-css-modules": patch | ||
--- | ||
|
||
Downstreamed changes from @codemod-utils@2.0.1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
44 changes: 0 additions & 44 deletions
44
packages/ember-codemod-remove-ember-css-modules/codemod-test-fixture.sh
This file was deleted.
Oops, something went wrong.
48 changes: 0 additions & 48 deletions
48
packages/ember-codemod-remove-ember-css-modules/codemod-test-fixtures.sh
This file was deleted.
Oops, something went wrong.
107 changes: 0 additions & 107 deletions
107
packages/ember-codemod-remove-ember-css-modules/create-test-fixture.sh
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
82 changes: 82 additions & 0 deletions
82
packages/ember-codemod-remove-ember-css-modules/update-test-fixtures.sh
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,82 @@ | ||
#!/usr/bin/env sh | ||
|
||
#---------- | ||
# | ||
# A. Purpose | ||
# | ||
# Fix all test fixtures after updating the source code. | ||
# | ||
# B. Usage | ||
# | ||
# ./update-test-fixtures.sh | ||
# | ||
#--------- | ||
|
||
# Compile TypeScript | ||
pnpm build | ||
|
||
# Update fixtures | ||
rm -r "tests/fixtures/ember-app/ember-container-query-glint/output" | ||
cp -r "tests/fixtures/ember-app/ember-container-query-glint/input" "tests/fixtures/ember-app/ember-container-query-glint/output" | ||
|
||
./dist/bin/ember-codemod-remove-ember-css-modules.js \ | ||
--root "tests/fixtures/ember-app/ember-container-query-glint/output" \ | ||
--type app | ||
|
||
# Update fixtures | ||
rm -r "tests/fixtures/ember-app/ember-container-query-javascript/output" | ||
cp -r "tests/fixtures/ember-app/ember-container-query-javascript/input" "tests/fixtures/ember-app/ember-container-query-javascript/output" | ||
|
||
./dist/bin/ember-codemod-remove-ember-css-modules.js \ | ||
--root "tests/fixtures/ember-app/ember-container-query-javascript/output" \ | ||
--type app | ||
|
||
# Update fixtures | ||
rm -r "tests/fixtures/ember-app/ember-container-query-nested/output" | ||
cp -r "tests/fixtures/ember-app/ember-container-query-nested/input" "tests/fixtures/ember-app/ember-container-query-nested/output" | ||
|
||
./dist/bin/ember-codemod-remove-ember-css-modules.js \ | ||
--component-structure nested \ | ||
--root "tests/fixtures/ember-app/ember-container-query-nested/output" \ | ||
--type app | ||
|
||
# Update fixtures | ||
rm -r "tests/fixtures/ember-app/ember-container-query-typescript/output" | ||
cp -r "tests/fixtures/ember-app/ember-container-query-typescript/input" "tests/fixtures/ember-app/ember-container-query-typescript/output" | ||
|
||
./dist/bin/ember-codemod-remove-ember-css-modules.js \ | ||
--root "tests/fixtures/ember-app/ember-container-query-typescript/output" \ | ||
--type app | ||
|
||
# Update fixtures | ||
rm -r "tests/fixtures/ember-v2-addon/my-v2-addon-glint/output" | ||
cp -r "tests/fixtures/ember-v2-addon/my-v2-addon-glint/input" "tests/fixtures/ember-v2-addon/my-v2-addon-glint/output" | ||
|
||
./dist/bin/ember-codemod-remove-ember-css-modules.js \ | ||
--root "tests/fixtures/ember-v2-addon/my-v2-addon-glint/output" \ | ||
--type v2-addon | ||
|
||
# Update fixtures | ||
rm -r "tests/fixtures/ember-v2-addon/my-v2-addon-javascript/output" | ||
cp -r "tests/fixtures/ember-v2-addon/my-v2-addon-javascript/input" "tests/fixtures/ember-v2-addon/my-v2-addon-javascript/output" | ||
|
||
./dist/bin/ember-codemod-remove-ember-css-modules.js \ | ||
--root "tests/fixtures/ember-v2-addon/my-v2-addon-javascript/output" \ | ||
--type v2-addon | ||
|
||
# Update fixtures | ||
rm -r "tests/fixtures/ember-v2-addon/my-v2-addon-nested/output" | ||
cp -r "tests/fixtures/ember-v2-addon/my-v2-addon-nested/input" "tests/fixtures/ember-v2-addon/my-v2-addon-nested/output" | ||
|
||
./dist/bin/ember-codemod-remove-ember-css-modules.js \ | ||
--component-structure nested \ | ||
--root "tests/fixtures/ember-v2-addon/my-v2-addon-nested/output" \ | ||
--type v2-addon | ||
|
||
# Update fixtures | ||
rm -r "tests/fixtures/ember-v2-addon/my-v2-addon-typescript/output" | ||
cp -r "tests/fixtures/ember-v2-addon/my-v2-addon-typescript/input" "tests/fixtures/ember-v2-addon/my-v2-addon-typescript/output" | ||
|
||
./dist/bin/ember-codemod-remove-ember-css-modules.js \ | ||
--root "tests/fixtures/ember-v2-addon/my-v2-addon-typescript/output" \ | ||
--type v2-addon |
Oops, something went wrong.