Skip to content
This repository was archived by the owner on Oct 22, 2024. It is now read-only.

Move extension to separate directory#271

Merged
matthewwalsh0 merged 20 commits intomain-desktopfrom
chore/move-extension
Nov 25, 2022
Merged

Move extension to separate directory#271
matthewwalsh0 merged 20 commits intomain-desktopfrom
chore/move-extension

Conversation

@matthewwalsh0
Copy link
Copy Markdown
Member

@matthewwalsh0 matthewwalsh0 commented Nov 24, 2022

Overview

Move all original extension code to packages/app/submodules/extension leaving only the app specific code in packages/app.

Changes

  • Create new package.json for app workspace with name desktop-app.
  • Move all app related scripts to new package.json.
  • Create jest.config.js and test script for app workspace.
  • Create standard linting scripts using standard prettier and eslint config files.
  • Create build, test, and lint jobs for app workspace in CI.
  • Move all app build related files to packages/app/build.
  • Update electron builder configuration files.
  • Fix LavaMoat policies to support LavaMoat enabled in app, UI, and extension.
    • Verified on Mac only.
  • Create yarn extension script to easily run scripts against extension package.
  • Update root and app READMEs.
  • Create root level build and build:lavamoat scripts to build app, UI, and extension simultaneously.

Remove unnecessary dependencies in extension.
Update LavaMoat policies.
Fix linting errors.
Add standard linting config to app.
Create build, lint, and test CI jobs for app workspace.
Add linting scripts to app.
Update root readme.
Fix packaging scripts.
Fix UI LavaMoat policies.
Update root readme.
Add test parsing to app test job in CI.
@matthewwalsh0 matthewwalsh0 marked this pull request as ready for review November 24, 2022 22:38
@matthewwalsh0 matthewwalsh0 requested a review from a team November 24, 2022 22:38
Copy link
Copy Markdown
Contributor

@cryptotavares cryptotavares left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice one! Really liked that the submodule can be considered a package 👌

@matthewwalsh0 matthewwalsh0 merged commit eb7b8dd into main-desktop Nov 25, 2022
@matthewwalsh0 matthewwalsh0 deleted the chore/move-extension branch November 25, 2022 14:51
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants