Skip to content

Commit

Permalink
Packages: Remove unused @automattic/launch package and launch store (
Browse files Browse the repository at this point in the history
…#75269)

* Packages: Remove @automattic/launch

* Remove @automattic/plans-grid dependency from ETK

* Remove unused ScrollToTop component and history dependency

* Remove unused Launch data store

* Revert some unintentional changes
  • Loading branch information
tyxla authored Apr 5, 2023
1 parent b9aa285 commit a2e1f0e
Show file tree
Hide file tree
Showing 59 changed files with 2 additions and 3,521 deletions.
4 changes: 0 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,8 +41,6 @@ logFilters:
pattern: "wp-calypso@workspace:. provides react (*) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request"
- level: discard
pattern: "calypso@workspace:client provides react (*) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request"
- level: discard
pattern: "@automattic/launch@workspace:packages/launch *provides react (*) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request"
- level: discard
pattern: "@automattic/o2-blocks@workspace:apps/o2-blocks provides react (*) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request"
- level: discard
Expand All @@ -67,8 +65,6 @@ logFilters:
pattern: "calypso@workspace:client provides react-dom (*) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request"
- level: discard
pattern: "@automattic/domain-picker@workspace:packages/domain-picker *provides react-dom (*) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request"
- level: discard
pattern: "@automattic/launch@workspace:packages/launch *provides react-dom (*) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request"
- level: discard
pattern: "@automattic/o2-blocks@workspace:apps/o2-blocks provides react-dom (*) with version 17.0.2, which doesn't satisfy what @wordpress/components and some of its descendants request"
- level: discard
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import './domain-suggestions';
import './plans';
import './site';
import './launch';
import './wpcom-features';

This file was deleted.

1 change: 1 addition & 0 deletions apps/editing-toolkit/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -59,6 +59,7 @@
"@automattic/newspack-blocks": "^1.60.0",
"@automattic/onboarding": "workspace:^",
"@automattic/page-pattern-modal": "workspace:^",
"@automattic/plans-grid": "workspace:^",
"@automattic/site-picker": "workspace:^",
"@automattic/tour-kit": "workspace:^",
"@automattic/typography": "workspace:^",
Expand Down
1 change: 0 additions & 1 deletion apps/editing-toolkit/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,6 @@
{ "path": "../../packages/happychat-connection" },
{ "path": "../../packages/help-center" },
{ "path": "../../packages/i18n-utils" },
{ "path": "../../packages/launch" },
{ "path": "../../packages/onboarding" },
{ "path": "../../packages/plans-grid" },
{ "path": "../../packages/state-utils" },
Expand Down
3 changes: 0 additions & 3 deletions packages/data-stores/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ import * as AutomatedTransferEligibility from './automated-transfer-eligibility'
import * as DomainSuggestions from './domain-suggestions';
import * as HelpCenter from './help-center';
import * as I18n from './i18n';
import * as Launch from './launch';
import * as Onboard from './onboard';
import * as Plans from './plans';
import * as ProductsList from './products-list';
Expand All @@ -30,7 +29,6 @@ export * from './templates';
export * from './onboard/types';
export * from './domain-suggestions/types';
export * from './plans/types';
export * from './launch/types';
export * from './user/types';

const { SubscriptionManager } = Reader;
Expand All @@ -44,7 +42,6 @@ export {
Site,
Plans,
WpcomPlansUI,
Launch,
WPCOMFeatures,
Onboard,
ProductsList,
Expand Down
172 changes: 0 additions & 172 deletions packages/data-stores/src/launch/actions.ts

This file was deleted.

3 changes: 0 additions & 3 deletions packages/data-stores/src/launch/constants.ts

This file was deleted.

13 changes: 0 additions & 13 deletions packages/data-stores/src/launch/data.ts

This file was deleted.

38 changes: 0 additions & 38 deletions packages/data-stores/src/launch/index.ts

This file was deleted.

Loading

0 comments on commit a2e1f0e

Please sign in to comment.