diff --git a/.changeset/fiery-doodles-dig.md b/.changeset/fiery-doodles-dig.md new file mode 100644 index 000000000..1944b0809 --- /dev/null +++ b/.changeset/fiery-doodles-dig.md @@ -0,0 +1,5 @@ +--- +"docs-app-for-embroider-css-modules": major +--- + +Migrated to Vite diff --git a/.changeset/gentle-steaks-yell.md b/.changeset/gentle-steaks-yell.md index e89c78d66..bf870e203 100644 --- a/.changeset/gentle-steaks-yell.md +++ b/.changeset/gentle-steaks-yell.md @@ -2,7 +2,7 @@ "embroider-css-modules": patch "test-app-for-embroider-css-modules": patch "my-v2-addon": patch -"my-v1-app": patch +"docs-app-for-embroider-css-modules": patch "my-v2-app": patch --- diff --git a/.changeset/gold-jeans-work.md b/.changeset/gold-jeans-work.md new file mode 100644 index 000000000..27e1ed61e --- /dev/null +++ b/.changeset/gold-jeans-work.md @@ -0,0 +1,5 @@ +--- +"docs-app-for-embroider-css-modules": patch +--- + +Renamed app to docs-app-for-embroider-css-modules diff --git a/.changeset/rare-experts-join.md b/.changeset/rare-experts-join.md new file mode 100644 index 000000000..8aa3465ac --- /dev/null +++ b/.changeset/rare-experts-join.md @@ -0,0 +1,5 @@ +--- +"my-v1-app": major +--- + +Created a minimal app diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8a77e2fdb..48fac696b 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -43,6 +43,7 @@ jobs: fail-fast: false matrix: package-location: + - 'docs/embroider-css-modules' - 'docs/my-v1-app' - 'docs/my-v2-addon' - 'docs/my-v2-app' @@ -80,6 +81,7 @@ jobs: fail-fast: false matrix: package-location: + - 'docs/embroider-css-modules' - 'docs/my-v1-app' - 'docs/my-v2-addon' - 'docs/my-v2-app' @@ -90,7 +92,7 @@ jobs: - 'tests/embroider-css-modules' timeout-minutes: 5 env: - RUN_PERCY: ${{ matrix.package-location == 'docs/my-v1-app' }} + RUN_PERCY: ${{ matrix.package-location == 'docs/embroider-css-modules' }} steps: - name: Check out a copy of the repo uses: actions/checkout@v6 diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 40d49c9dc..98bff91fc 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,7 +36,7 @@ Here are some guidelines to help you and everyone else. Run the demo app -1. Once dependencies have been installed, you can run the [demo app](./docs/my-v1-app). +1. Once dependencies have been installed, you can run the [demo app](./docs/embroider-css-modules). ```sh # From the workspace root diff --git a/docs/embroider-css-modules/.editorconfig b/docs/embroider-css-modules/.editorconfig new file mode 100644 index 000000000..c35a00240 --- /dev/null +++ b/docs/embroider-css-modules/.editorconfig @@ -0,0 +1,19 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 2 + +[*.hbs] +insert_final_newline = false + +[*.{diff,md}] +trim_trailing_whitespace = false diff --git a/docs/embroider-css-modules/.ember-cli b/docs/embroider-css-modules/.ember-cli new file mode 100644 index 000000000..a37e45fab --- /dev/null +++ b/docs/embroider-css-modules/.ember-cli @@ -0,0 +1,19 @@ +{ + /** + Setting `isTypeScriptProject` to true will force the blueprint generators to generate TypeScript + rather than JavaScript by default, when a TypeScript version of a given blueprint is available. + */ + "isTypeScriptProject": true, + + /** + Setting `componentAuthoringFormat` to "strict" will force the blueprint generators to generate GJS + or GTS files for the component and the component rendering test. "loose" is the default. + */ + "componentAuthoringFormat": "strict", + + /** + Setting `routeAuthoringFormat` to "strict" will force the blueprint generators to generate GJS + or GTS templates for routes. "loose" is the default + */ + "routeAuthoringFormat": "strict" +} diff --git a/docs/embroider-css-modules/.gitignore b/docs/embroider-css-modules/.gitignore new file mode 100644 index 000000000..e418d715f --- /dev/null +++ b/docs/embroider-css-modules/.gitignore @@ -0,0 +1,18 @@ +# compiled output +/declarations/ +/dist/ +/tmp/ + +# dependencies +/node_modules/ + +# misc +/.env* +/.pnp* +/.eslintcache +/.pnpm-debug.log +/.stylelintcache +/testem.log + +# broccoli-debug +/DEBUG/ diff --git a/docs/embroider-css-modules/.prettierignore b/docs/embroider-css-modules/.prettierignore new file mode 100644 index 000000000..8a120618b --- /dev/null +++ b/docs/embroider-css-modules/.prettierignore @@ -0,0 +1,14 @@ +# unconventional js +/blueprints/*/files/ + +# compiled output +/dist/ + +# misc +!.* +.*/ +*.html +README.md + +# specific to this package +*.css.d.ts diff --git a/docs/embroider-css-modules/.stylelintignore b/docs/embroider-css-modules/.stylelintignore new file mode 100644 index 000000000..fc178a0b9 --- /dev/null +++ b/docs/embroider-css-modules/.stylelintignore @@ -0,0 +1,5 @@ +# unconventional files +/blueprints/*/files/ + +# compiled output +/dist/ diff --git a/docs/embroider-css-modules/.stylelintrc.mjs b/docs/embroider-css-modules/.stylelintrc.mjs new file mode 100644 index 000000000..997f21683 --- /dev/null +++ b/docs/embroider-css-modules/.stylelintrc.mjs @@ -0,0 +1 @@ +export { default } from '@shared-configs/stylelint'; diff --git a/docs/embroider-css-modules/.template-lintrc.cjs b/docs/embroider-css-modules/.template-lintrc.cjs new file mode 100644 index 000000000..6ed705343 --- /dev/null +++ b/docs/embroider-css-modules/.template-lintrc.cjs @@ -0,0 +1,3 @@ +'use strict'; + +module.exports = require('@shared-configs/ember-template-lint'); diff --git a/docs/embroider-css-modules/.watchmanconfig b/docs/embroider-css-modules/.watchmanconfig new file mode 100644 index 000000000..f9c3d8f84 --- /dev/null +++ b/docs/embroider-css-modules/.watchmanconfig @@ -0,0 +1,3 @@ +{ + "ignore_dirs": ["dist"] +} diff --git a/docs/embroider-css-modules/CHANGELOG.md b/docs/embroider-css-modules/CHANGELOG.md new file mode 100644 index 000000000..a2f3958a3 --- /dev/null +++ b/docs/embroider-css-modules/CHANGELOG.md @@ -0,0 +1,420 @@ +# docs-app-for-embroider-css-modules + +## 1.5.9 + +### Patch Changes + +- [#250](https://github.com/ijlee2/embroider-css-modules/pull/250) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.8 + +### Patch Changes + +- [#249](https://github.com/ijlee2/embroider-css-modules/pull/249) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.7 + +### Patch Changes + +- [#248](https://github.com/ijlee2/embroider-css-modules/pull/248) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.6 + +### Patch Changes + +- [#246](https://github.com/ijlee2/embroider-css-modules/pull/246) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.5 + +### Patch Changes + +- [#242](https://github.com/ijlee2/embroider-css-modules/pull/242) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.4 + +### Patch Changes + +- [#240](https://github.com/ijlee2/embroider-css-modules/pull/240) Updated project configurations ([@ijlee2](https://github.com/ijlee2)) +- [#240](https://github.com/ijlee2/embroider-css-modules/pull/240) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.3 + +### Patch Changes + +- [#239](https://github.com/ijlee2/embroider-css-modules/pull/239) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.2 + +### Patch Changes + +- [#235](https://github.com/ijlee2/embroider-css-modules/pull/235) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.1 + +### Patch Changes + +- [#234](https://github.com/ijlee2/embroider-css-modules/pull/234) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.5.0 + +### Minor Changes + +- [#228](https://github.com/ijlee2/embroider-css-modules/pull/228) Dropped support for Node 20 ([@ijlee2](https://github.com/ijlee2)) + +### Patch Changes + +- [#229](https://github.com/ijlee2/embroider-css-modules/pull/229) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.9 + +### Patch Changes + +- [#221](https://github.com/ijlee2/embroider-css-modules/pull/221) Updated project configurations ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.8 + +### Patch Changes + +- [#219](https://github.com/ijlee2/embroider-css-modules/pull/219) Standardized code ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.7 + +### Patch Changes + +- [#217](https://github.com/ijlee2/embroider-css-modules/pull/217) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.6 + +### Patch Changes + +- [#215](https://github.com/ijlee2/embroider-css-modules/pull/215) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.5 + +### Patch Changes + +- [#212](https://github.com/ijlee2/embroider-css-modules/pull/212) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.4 + +### Patch Changes + +- [#211](https://github.com/ijlee2/embroider-css-modules/pull/211) Advised adding `*.css.d.ts` to .prettierignore ([@ijlee2](https://github.com/ijlee2)) +- [#210](https://github.com/ijlee2/embroider-css-modules/pull/210) Updated README ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.3 + +### Patch Changes + +- [#207](https://github.com/ijlee2/embroider-css-modules/pull/207) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.2 + +### Patch Changes + +- [#195](https://github.com/ijlee2/embroider-css-modules/pull/195) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) +- [#194](https://github.com/ijlee2/embroider-css-modules/pull/194) Replaced ember-resize-observer-service with ember-primitives/resize-observer ([@ijlee2](https://github.com/ijlee2)) +- [#194](https://github.com/ijlee2/embroider-css-modules/pull/194) Patched #191 ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.1 + +### Patch Changes + +- [#191](https://github.com/ijlee2/embroider-css-modules/pull/191) Replaced @glint/core with @glint/ember-tsc ([@ijlee2](https://github.com/ijlee2)) +- [#190](https://github.com/ijlee2/embroider-css-modules/pull/190) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) +- [#188](https://github.com/ijlee2/embroider-css-modules/pull/188) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) +- [#187](https://github.com/ijlee2/embroider-css-modules/pull/187) Patched #184 ([@ijlee2](https://github.com/ijlee2)) + +## 1.4.0 + +### Minor Changes + +- [#184](https://github.com/ijlee2/embroider-css-modules/pull/184) Modernized code ([@ijlee2](https://github.com/ijlee2)) + +### Patch Changes + +- [#185](https://github.com/ijlee2/embroider-css-modules/pull/185) Updated dependencies ([@ijlee2](https://github.com/ijlee2)) +- [#183](https://github.com/ijlee2/embroider-css-modules/pull/183) Installed @embroider/legacy-inspector-support ([@ijlee2](https://github.com/ijlee2)) + +## 1.3.5 + +### Patch Changes + +- [#182](https://github.com/ijlee2/embroider-css-modules/pull/182) Moved components in my-v1-addon to docs-app-for-embroider-css-modules ([@ijlee2](https://github.com/ijlee2)) +- [#182](https://github.com/ijlee2/embroider-css-modules/pull/182) Moved tests from test-app-for-my-v2-addon to docs-app-for-embroider-css-modules ([@ijlee2](https://github.com/ijlee2)) +- [#181](https://github.com/ijlee2/embroider-css-modules/pull/181) Converted to `