diff --git a/.github/dev.js b/.github/dev.js index 2d1f14d91e..5c19eeb710 100644 --- a/.github/dev.js +++ b/.github/dev.js @@ -104,7 +104,7 @@ if (DASH_DASH_ARGS.includes('announcement-bar') || DASH_DASH_ARGS.includes('anno commands.push({ name: 'announcement-bar', command: 'yarn dev', - cwd: path.resolve(__dirname, '../ghost/announcement-bar'), + cwd: path.resolve(__dirname, '../apps/announcement-bar'), prefixColor: '#DC9D00', env: {} }); diff --git a/.gitignore b/.gitignore index 300ac409e3..749bc5e065 100644 --- a/.gitignore +++ b/.gitignore @@ -141,7 +141,7 @@ Caddyfile /ghost/signup-form/playwright/.cache/ # Announcement-Bar -/ghost/announcement-bar/umd +/apps/announcement-bar/umd # Build files /apps/*/build diff --git a/ghost/announcement-bar/.yarnrc b/apps/announcement-bar/.yarnrc similarity index 100% rename from ghost/announcement-bar/.yarnrc rename to apps/announcement-bar/.yarnrc diff --git a/ghost/announcement-bar/LICENSE b/apps/announcement-bar/LICENSE similarity index 100% rename from ghost/announcement-bar/LICENSE rename to apps/announcement-bar/LICENSE diff --git a/ghost/announcement-bar/README.md b/apps/announcement-bar/README.md similarity index 100% rename from ghost/announcement-bar/README.md rename to apps/announcement-bar/README.md diff --git a/ghost/announcement-bar/package.json b/apps/announcement-bar/package.json similarity index 100% rename from ghost/announcement-bar/package.json rename to apps/announcement-bar/package.json diff --git a/ghost/announcement-bar/postcss.config.js b/apps/announcement-bar/postcss.config.js similarity index 100% rename from ghost/announcement-bar/postcss.config.js rename to apps/announcement-bar/postcss.config.js diff --git a/ghost/announcement-bar/public/index.html b/apps/announcement-bar/public/index.html similarity index 100% rename from ghost/announcement-bar/public/index.html rename to apps/announcement-bar/public/index.html diff --git a/ghost/announcement-bar/scripts/build-combined.js b/apps/announcement-bar/scripts/build-combined.js similarity index 100% rename from ghost/announcement-bar/scripts/build-combined.js rename to apps/announcement-bar/scripts/build-combined.js diff --git a/ghost/announcement-bar/scripts/dev-mode.js b/apps/announcement-bar/scripts/dev-mode.js similarity index 100% rename from ghost/announcement-bar/scripts/dev-mode.js rename to apps/announcement-bar/scripts/dev-mode.js diff --git a/ghost/announcement-bar/scripts/load-portal.js b/apps/announcement-bar/scripts/load-portal.js similarity index 100% rename from ghost/announcement-bar/scripts/load-portal.js rename to apps/announcement-bar/scripts/load-portal.js diff --git a/ghost/announcement-bar/scripts/start-combined.js b/apps/announcement-bar/scripts/start-combined.js similarity index 100% rename from ghost/announcement-bar/scripts/start-combined.js rename to apps/announcement-bar/scripts/start-combined.js diff --git a/ghost/announcement-bar/scripts/start-mode.js b/apps/announcement-bar/scripts/start-mode.js similarity index 100% rename from ghost/announcement-bar/scripts/start-mode.js rename to apps/announcement-bar/scripts/start-mode.js diff --git a/ghost/announcement-bar/src/App.js b/apps/announcement-bar/src/App.js similarity index 100% rename from ghost/announcement-bar/src/App.js rename to apps/announcement-bar/src/App.js diff --git a/ghost/announcement-bar/src/components/AnnouncementBar.css b/apps/announcement-bar/src/components/AnnouncementBar.css similarity index 100% rename from ghost/announcement-bar/src/components/AnnouncementBar.css rename to apps/announcement-bar/src/components/AnnouncementBar.css diff --git a/ghost/announcement-bar/src/components/AnnouncementBar.js b/apps/announcement-bar/src/components/AnnouncementBar.js similarity index 100% rename from ghost/announcement-bar/src/components/AnnouncementBar.js rename to apps/announcement-bar/src/components/AnnouncementBar.js diff --git a/ghost/announcement-bar/src/components/Main.js b/apps/announcement-bar/src/components/Main.js similarity index 100% rename from ghost/announcement-bar/src/components/Main.js rename to apps/announcement-bar/src/components/Main.js diff --git a/ghost/announcement-bar/src/components/Preview.js b/apps/announcement-bar/src/components/Preview.js similarity index 100% rename from ghost/announcement-bar/src/components/Preview.js rename to apps/announcement-bar/src/components/Preview.js diff --git a/ghost/announcement-bar/src/icons/clear.svg b/apps/announcement-bar/src/icons/clear.svg similarity index 100% rename from ghost/announcement-bar/src/icons/clear.svg rename to apps/announcement-bar/src/icons/clear.svg diff --git a/ghost/announcement-bar/src/index.js b/apps/announcement-bar/src/index.js similarity index 100% rename from ghost/announcement-bar/src/index.js rename to apps/announcement-bar/src/index.js diff --git a/ghost/announcement-bar/src/setupTests.js b/apps/announcement-bar/src/setupTests.js similarity index 100% rename from ghost/announcement-bar/src/setupTests.js rename to apps/announcement-bar/src/setupTests.js diff --git a/ghost/announcement-bar/src/utils/api.js b/apps/announcement-bar/src/utils/api.js similarity index 100% rename from ghost/announcement-bar/src/utils/api.js rename to apps/announcement-bar/src/utils/api.js diff --git a/ghost/announcement-bar/src/utils/api.test.js b/apps/announcement-bar/src/utils/api.test.js similarity index 100% rename from ghost/announcement-bar/src/utils/api.test.js rename to apps/announcement-bar/src/utils/api.test.js diff --git a/ghost/announcement-bar/webpack.config.js b/apps/announcement-bar/webpack.config.js similarity index 100% rename from ghost/announcement-bar/webpack.config.js rename to apps/announcement-bar/webpack.config.js