Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use dedicated repos for @kadence packages #530

Draft
wants to merge 10 commits into
base: master
Choose a base branch
from
Draft

Conversation

oakesjosh
Copy link
Contributor

We're increasingly running into instances where components between free and pro differ since they are separate codebases. This duplicates the setup used in blocks pro where packages are added as submodules at /src/packages/ from their repos (kadence-icons, kadence-helpers, kadence-components)

Merging into nav so we have adequate testing and this can be part of a point release. The main risk with this is if there's changes that exist in the kadence-blocks repo for a component, that hadn't been updated in the kadence-components repo. I've done an initial check for this, but will do a second pass.

Other changes

  • Added an .npmrc file so we don't have to manually set --legacy-peer-deps on npm installs
  • Remove call to deprecated webpack function in StyleOnlyEntryPlugin
  • Removed unused reference to PexelsIcon. The icon does not exist

Eventually, it'd be nice to include these as packages instead of submodules. This will add some overhead to local development and updating components though.

Checkout submodules

Update tests.yml

Update package-lock.json

Testing with npm

Testing with bun

Update components

Update components

Update components

Update package-lock.json

Add workspace

Delete bun.lockb

Create bun.lockb

Update tests.yml

Update lock

Optimization

Update package lock

npmrc

Icon does not exist and is not referenced
Base automatically changed from nav to master October 3, 2024 17:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant