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

feat(sdk): make library tree shakeable #331

Merged
merged 8 commits into from
Aug 9, 2023
Merged

Conversation

luzzif
Copy link
Contributor

@luzzif luzzif commented Aug 9, 2023

No description provided.

@changeset-bot
Copy link

changeset-bot bot commented Aug 9, 2023

🦋 Changeset detected

Latest commit: 2dc0af6

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@carrot-kpi/sdk Minor
@carrot-kpi/host-frontend Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@vercel
Copy link

vercel bot commented Aug 9, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
host-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2023 4:26pm
ui ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 9, 2023 4:26pm

packages/frontend/craco.config.js Outdated Show resolved Hide resolved
packages/sdk/package.json Show resolved Hide resolved
@luzzif luzzif merged commit 338ada3 into develop Aug 9, 2023
2 checks passed
@luzzif luzzif deleted the feat/tree-shakeable-sdk branch August 9, 2023 16:34
luzzif added a commit that referenced this pull request Aug 11, 2023
* feat(frontend): implement featured KPI tokens (#321)

* chore: version packages (#323)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Avoid fetching all KPIs tokens if the blacklist is empty (#324)

* fix(frontend): avoid fetching all KPI tokens if the blacklist is empty

* docs: add changeset

* Implement blacklisted KPI tokens filter (#325)

* feat(sdk): implement blacklisted KPI tokens filters

* docs: add changeset

* refactor(frontend): move blacklist fetch to dedicated hook, use new static links

* feat(react): add blacklist param to KPI token hooks

* refactor(sdk): remove blacklist fetch, add optional blacklist param to fetchers

* docs: add changesets

* Replace __DEV__ env with __PROD__ (#326)

* refactor(frontend): replace __DEV__ env with __PROD__

* docs: add changeset

* docs: update changeset file

* fix(frontend): set __PROD__ to false in rollup config

* Fix error svg icon (#327)

* fix(ui): wrap error svg icon

* docs: add changeset

* Upgrade dependencies (#328)

* chore: upgrade dependencies

* feat(frontend): upgrade shared dependencies versions

* docs: add changeset

* feat(sdk): make library tree shakeable (#331)

* chore(sdk): move tests in dedicated folder

* chore(sdk): flatten module structure

* chore(sdk): fix broken import paths

* chore(sdk): make the package tree shakeable

* chore(frontend): use esbuild instead of terser to minify build

* chore(sdk): fix liting issues

* chore(frontend): minimize css

* chore(frontend): remove console log

---------

Co-authored-by: luzzifoss <[email protected]>

* chore(frontend): fix domain typo

* fix(frotnend): lint error (#332)

* chore(ui): flatten structure and make package tree shakeable (#333)

Co-authored-by: luzzifoss <[email protected]>

* chore(react): flatten file structure and make library tree shakeable (#334)

* chore(react): flatten file structure and make library tree shakeable

* chore(frontend): lower size limit

---------

Co-authored-by: luzzifoss <[email protected]>

---------

Co-authored-by: Paolo Guerra <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: luzzifoss <[email protected]>
luzzif added a commit that referenced this pull request Aug 11, 2023
* feat(frontend): implement featured KPI tokens (#321)

* chore: version packages (#323)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Avoid fetching all KPIs tokens if the blacklist is empty (#324)

* fix(frontend): avoid fetching all KPI tokens if the blacklist is empty

* docs: add changeset

* Implement blacklisted KPI tokens filter (#325)

* feat(sdk): implement blacklisted KPI tokens filters

* docs: add changeset

* refactor(frontend): move blacklist fetch to dedicated hook, use new static links

* feat(react): add blacklist param to KPI token hooks

* refactor(sdk): remove blacklist fetch, add optional blacklist param to fetchers

* docs: add changesets

* Replace __DEV__ env with __PROD__ (#326)

* refactor(frontend): replace __DEV__ env with __PROD__

* docs: add changeset

* docs: update changeset file

* fix(frontend): set __PROD__ to false in rollup config

* Fix error svg icon (#327)

* fix(ui): wrap error svg icon

* docs: add changeset

* Upgrade dependencies (#328)

* chore: upgrade dependencies

* feat(frontend): upgrade shared dependencies versions

* docs: add changeset

* feat(sdk): make library tree shakeable (#331)

* chore(sdk): move tests in dedicated folder

* chore(sdk): flatten module structure

* chore(sdk): fix broken import paths

* chore(sdk): make the package tree shakeable

* chore(frontend): use esbuild instead of terser to minify build

* chore(sdk): fix liting issues

* chore(frontend): minimize css

* chore(frontend): remove console log

---------

Co-authored-by: luzzifoss <[email protected]>

* chore(frontend): fix domain typo

* fix(frotnend): lint error (#332)

* chore(ui): flatten structure and make package tree shakeable (#333)

Co-authored-by: luzzifoss <[email protected]>

* chore(react): flatten file structure and make library tree shakeable (#334)

* chore(react): flatten file structure and make library tree shakeable

* chore(frontend): lower size limit

---------

Co-authored-by: luzzifoss <[email protected]>

* chore(sdk): build cjs lib (#337)

Co-authored-by: luzzifoss <[email protected]>

* fix(sdk): use size limit file plugin

---------

Co-authored-by: Paolo Guerra <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: luzzifoss <[email protected]>
luzzif added a commit that referenced this pull request Aug 11, 2023
* chore(sdk): move tests in dedicated folder

* chore(sdk): flatten module structure

* chore(sdk): fix broken import paths

* chore(sdk): make the package tree shakeable

* chore(frontend): use esbuild instead of terser to minify build

* chore(sdk): fix liting issues

* chore(frontend): minimize css

* chore(frontend): remove console log

---------

Co-authored-by: luzzifoss <[email protected]>
luzzif added a commit that referenced this pull request Aug 11, 2023
* feat(frontend): implement featured KPI tokens (#321)

* chore: version packages (#323)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>

* Implement blacklisted KPI tokens filter (#325)

* feat(sdk): implement blacklisted KPI tokens filters

* docs: add changeset

* refactor(frontend): move blacklist fetch to dedicated hook, use new static links

* feat(react): add blacklist param to KPI token hooks

* refactor(sdk): remove blacklist fetch, add optional blacklist param to fetchers

* docs: add changesets

* feat(sdk): make library tree shakeable (#331)

* chore(sdk): move tests in dedicated folder

* chore(sdk): flatten module structure

* chore(sdk): fix broken import paths

* chore(sdk): make the package tree shakeable

* chore(frontend): use esbuild instead of terser to minify build

* chore(sdk): fix liting issues

* chore(frontend): minimize css

* chore(frontend): remove console log

---------

Co-authored-by: luzzifoss <[email protected]>

---------

Co-authored-by: Paolo Guerra <[email protected]>
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Co-authored-by: luzzifoss <[email protected]>
luzzif added a commit that referenced this pull request Aug 11, 2023
* chore(sdk): move tests in dedicated folder

* chore(sdk): flatten module structure

* chore(sdk): fix broken import paths

* chore(sdk): make the package tree shakeable

* chore(frontend): use esbuild instead of terser to minify build

* chore(sdk): fix liting issues

* chore(frontend): minimize css

* chore(frontend): remove console log

---------

Co-authored-by: luzzifoss <[email protected]>
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.

2 participants