From ed1f7dc5945f657948414fbbd50c6efd6d3a5b54 Mon Sep 17 00:00:00 2001 From: Isaac Lee <16869656+ijlee2@users.noreply.github.com> Date: Fri, 7 Jun 2024 10:14:07 +0200 Subject: [PATCH] Create packages folder (#231) * chore: Moved ember-container-query to packages * chore: Added lockfile --------- Co-authored-by: ijlee2 --- .github/workflows/ci.yml | 4 ++-- docs-app/ember-cli-build.js | 2 +- .../ember-container-query}/.eslintignore | 0 .../ember-container-query}/.eslintrc.js | 0 .../ember-container-query}/.gitignore | 0 .../ember-container-query}/.prettierignore | 0 .../ember-container-query}/.prettierrc.js | 0 .../ember-container-query}/.template-lintrc.js | 0 .../ember-container-query}/LICENSE.md | 0 .../ember-container-query}/README.md | 0 .../ember-container-query}/addon-main.cjs | 0 .../ember-container-query}/babel.config.json | 0 .../ember-container-query}/package.json | 0 .../ember-container-query}/rollup.config.mjs | 0 .../src/components/container-query.css | 0 .../src/components/container-query.hbs | 0 .../src/components/container-query.ts | 0 .../src/helpers/aspect-ratio.ts | 0 .../ember-container-query}/src/helpers/height.ts | 0 .../ember-container-query}/src/helpers/width.ts | 0 .../ember-container-query}/src/index.ts | 0 .../src/modifiers/container-query.ts | 0 .../src/template-registry.ts | 0 .../ember-container-query}/tsconfig.json | 0 .../unpublished-development-types/index.d.ts | 0 pnpm-lock.yaml | 14 +++++++------- pnpm-workspace.yaml | 2 +- test-app/ember-cli-build.js | 2 +- 28 files changed, 12 insertions(+), 12 deletions(-) rename {ember-container-query => packages/ember-container-query}/.eslintignore (100%) rename {ember-container-query => packages/ember-container-query}/.eslintrc.js (100%) rename {ember-container-query => packages/ember-container-query}/.gitignore (100%) rename {ember-container-query => packages/ember-container-query}/.prettierignore (100%) rename {ember-container-query => packages/ember-container-query}/.prettierrc.js (100%) rename {ember-container-query => packages/ember-container-query}/.template-lintrc.js (100%) rename {ember-container-query => packages/ember-container-query}/LICENSE.md (100%) rename {ember-container-query => packages/ember-container-query}/README.md (100%) rename {ember-container-query => packages/ember-container-query}/addon-main.cjs (100%) rename {ember-container-query => packages/ember-container-query}/babel.config.json (100%) rename {ember-container-query => packages/ember-container-query}/package.json (100%) rename {ember-container-query => packages/ember-container-query}/rollup.config.mjs (100%) rename {ember-container-query => packages/ember-container-query}/src/components/container-query.css (100%) rename {ember-container-query => packages/ember-container-query}/src/components/container-query.hbs (100%) rename {ember-container-query => packages/ember-container-query}/src/components/container-query.ts (100%) rename {ember-container-query => packages/ember-container-query}/src/helpers/aspect-ratio.ts (100%) rename {ember-container-query => packages/ember-container-query}/src/helpers/height.ts (100%) rename {ember-container-query => packages/ember-container-query}/src/helpers/width.ts (100%) rename {ember-container-query => packages/ember-container-query}/src/index.ts (100%) rename {ember-container-query => packages/ember-container-query}/src/modifiers/container-query.ts (100%) rename {ember-container-query => packages/ember-container-query}/src/template-registry.ts (100%) rename {ember-container-query => packages/ember-container-query}/tsconfig.json (100%) rename {ember-container-query => packages/ember-container-query}/unpublished-development-types/index.d.ts (100%) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 85c5f2c4..9e601a67 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -19,7 +19,7 @@ jobs: matrix: package-location: - 'docs-app' - - 'ember-container-query' + - 'packages/ember-container-query' - 'test-app' timeout-minutes: 5 steps: @@ -154,7 +154,7 @@ jobs: strategy: matrix: package-location: - - 'ember-container-query' + - 'packages/ember-container-query' - 'test-app' timeout-minutes: 5 steps: diff --git a/docs-app/ember-cli-build.js b/docs-app/ember-cli-build.js index b4974999..be2154c9 100644 --- a/docs-app/ember-cli-build.js +++ b/docs-app/ember-cli-build.js @@ -21,7 +21,7 @@ module.exports = function (defaults) { trees: { app: sideWatch('app', { - watching: ['../ember-container-query/src'], + watching: ['../packages/ember-container-query/src'], }), }, }); diff --git a/ember-container-query/.eslintignore b/packages/ember-container-query/.eslintignore similarity index 100% rename from ember-container-query/.eslintignore rename to packages/ember-container-query/.eslintignore diff --git a/ember-container-query/.eslintrc.js b/packages/ember-container-query/.eslintrc.js similarity index 100% rename from ember-container-query/.eslintrc.js rename to packages/ember-container-query/.eslintrc.js diff --git a/ember-container-query/.gitignore b/packages/ember-container-query/.gitignore similarity index 100% rename from ember-container-query/.gitignore rename to packages/ember-container-query/.gitignore diff --git a/ember-container-query/.prettierignore b/packages/ember-container-query/.prettierignore similarity index 100% rename from ember-container-query/.prettierignore rename to packages/ember-container-query/.prettierignore diff --git a/ember-container-query/.prettierrc.js b/packages/ember-container-query/.prettierrc.js similarity index 100% rename from ember-container-query/.prettierrc.js rename to packages/ember-container-query/.prettierrc.js diff --git a/ember-container-query/.template-lintrc.js b/packages/ember-container-query/.template-lintrc.js similarity index 100% rename from ember-container-query/.template-lintrc.js rename to packages/ember-container-query/.template-lintrc.js diff --git a/ember-container-query/LICENSE.md b/packages/ember-container-query/LICENSE.md similarity index 100% rename from ember-container-query/LICENSE.md rename to packages/ember-container-query/LICENSE.md diff --git a/ember-container-query/README.md b/packages/ember-container-query/README.md similarity index 100% rename from ember-container-query/README.md rename to packages/ember-container-query/README.md diff --git a/ember-container-query/addon-main.cjs b/packages/ember-container-query/addon-main.cjs similarity index 100% rename from ember-container-query/addon-main.cjs rename to packages/ember-container-query/addon-main.cjs diff --git a/ember-container-query/babel.config.json b/packages/ember-container-query/babel.config.json similarity index 100% rename from ember-container-query/babel.config.json rename to packages/ember-container-query/babel.config.json diff --git a/ember-container-query/package.json b/packages/ember-container-query/package.json similarity index 100% rename from ember-container-query/package.json rename to packages/ember-container-query/package.json diff --git a/ember-container-query/rollup.config.mjs b/packages/ember-container-query/rollup.config.mjs similarity index 100% rename from ember-container-query/rollup.config.mjs rename to packages/ember-container-query/rollup.config.mjs diff --git a/ember-container-query/src/components/container-query.css b/packages/ember-container-query/src/components/container-query.css similarity index 100% rename from ember-container-query/src/components/container-query.css rename to packages/ember-container-query/src/components/container-query.css diff --git a/ember-container-query/src/components/container-query.hbs b/packages/ember-container-query/src/components/container-query.hbs similarity index 100% rename from ember-container-query/src/components/container-query.hbs rename to packages/ember-container-query/src/components/container-query.hbs diff --git a/ember-container-query/src/components/container-query.ts b/packages/ember-container-query/src/components/container-query.ts similarity index 100% rename from ember-container-query/src/components/container-query.ts rename to packages/ember-container-query/src/components/container-query.ts diff --git a/ember-container-query/src/helpers/aspect-ratio.ts b/packages/ember-container-query/src/helpers/aspect-ratio.ts similarity index 100% rename from ember-container-query/src/helpers/aspect-ratio.ts rename to packages/ember-container-query/src/helpers/aspect-ratio.ts diff --git a/ember-container-query/src/helpers/height.ts b/packages/ember-container-query/src/helpers/height.ts similarity index 100% rename from ember-container-query/src/helpers/height.ts rename to packages/ember-container-query/src/helpers/height.ts diff --git a/ember-container-query/src/helpers/width.ts b/packages/ember-container-query/src/helpers/width.ts similarity index 100% rename from ember-container-query/src/helpers/width.ts rename to packages/ember-container-query/src/helpers/width.ts diff --git a/ember-container-query/src/index.ts b/packages/ember-container-query/src/index.ts similarity index 100% rename from ember-container-query/src/index.ts rename to packages/ember-container-query/src/index.ts diff --git a/ember-container-query/src/modifiers/container-query.ts b/packages/ember-container-query/src/modifiers/container-query.ts similarity index 100% rename from ember-container-query/src/modifiers/container-query.ts rename to packages/ember-container-query/src/modifiers/container-query.ts diff --git a/ember-container-query/src/template-registry.ts b/packages/ember-container-query/src/template-registry.ts similarity index 100% rename from ember-container-query/src/template-registry.ts rename to packages/ember-container-query/src/template-registry.ts diff --git a/ember-container-query/tsconfig.json b/packages/ember-container-query/tsconfig.json similarity index 100% rename from ember-container-query/tsconfig.json rename to packages/ember-container-query/tsconfig.json diff --git a/ember-container-query/unpublished-development-types/index.d.ts b/packages/ember-container-query/unpublished-development-types/index.d.ts similarity index 100% rename from ember-container-query/unpublished-development-types/index.d.ts rename to packages/ember-container-query/unpublished-development-types/index.d.ts diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index eeaf86ab..9a1955ea 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -357,7 +357,7 @@ importers: version: 0.4.1 ember-container-query: specifier: workspace:* - version: link:../ember-container-query + version: link:../packages/ember-container-query ember-load-initializers: specifier: ^2.1.2 version: 2.1.2(@babel/core@7.24.5) @@ -428,7 +428,7 @@ importers: specifier: ^5.91.0 version: 5.91.0 - ember-container-query: + packages/ember-container-query: dependencies: '@embroider/addon-shim': specifier: ^1.8.8 @@ -481,16 +481,16 @@ importers: version: 6.0.4(@babel/core@7.24.5)(rollup@4.17.2) '@shared-configs/ember-template-lint': specifier: workspace:* - version: link:../configs/ember-template-lint + version: link:../../configs/ember-template-lint '@shared-configs/eslint-config-ember': specifier: workspace:* - version: link:../configs/eslint/ember + version: link:../../configs/eslint/ember '@shared-configs/prettier': specifier: workspace:* - version: link:../configs/prettier + version: link:../../configs/prettier '@shared-configs/typescript': specifier: workspace:* - version: link:../configs/typescript + version: link:../../configs/typescript '@types/ember__component': specifier: ^4.0.22 version: 4.0.22(@babel/core@7.24.5) @@ -625,7 +625,7 @@ importers: version: 2.1.0 ember-container-query: specifier: workspace:* - version: link:../ember-container-query + version: link:../packages/ember-container-query ember-load-initializers: specifier: ^2.1.2 version: 2.1.2(@babel/core@7.24.5) diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index ca56f76b..389f3e42 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,5 +1,5 @@ packages: - configs/** - docs-app - - ember-container-query + - packages/ember-container-query - test-app diff --git a/test-app/ember-cli-build.js b/test-app/ember-cli-build.js index 2bd221d8..b4334dd4 100644 --- a/test-app/ember-cli-build.js +++ b/test-app/ember-cli-build.js @@ -16,7 +16,7 @@ module.exports = function (defaults) { trees: { app: sideWatch('app', { - watching: ['../ember-container-query/src'], + watching: ['../packages/ember-container-query/src'], }), }, });