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

WIP #415

Draft
wants to merge 194 commits into
base: main
Choose a base branch
from
Draft

WIP #415

wants to merge 194 commits into from

Conversation

junghyeonsu
Copy link
Contributor

No description provided.

@junghyeonsu junghyeonsu self-assigned this Jun 9, 2024
Copy link

changeset-bot bot commented Jun 9, 2024

⚠️ No Changeset found

Latest commit: 5d4b1e9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

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

@junghyeonsu junghyeonsu changed the title WIP W I P Jun 9, 2024
@junghyeonsu junghyeonsu marked this pull request as draft June 9, 2024 14:45
malangcat and others added 26 commits October 16, 2024 16:39
* chore: wip

* style: BottomTab style

* feat: "use-client" in Stackflow

* feat: remove "use-client" in stackflow-example

* chore: change camelcase

* feat: move all example
* feat(docs): icon migrates to `@daangn/react-icon`

* chore: generate all
junghyeonsu and others added 3 commits October 25, 2024 14:23
* chore: wip

* chore: wip

* feat(wip): fetch typescript compilation targets

* chore: up @types/node

* feat(wip): get targets

* refactor: migrate fns to `utils`

* feat: filter ignored files

* chore: init jscodeshift

* feat(wip): find matching imports

* style: format

* feat(wip): filter sources based on regexes, replacing matches

* chore: log

* feat: fix migrating names on importing default exports

* chore: add tests

* chore: remove logging (temp)

* chore: test better & replace regexes with strings

* feat(test): format before comparing test results

* refactor: remove redundant codes

* fix: prevent replacing to undefined

* refactor: remove unused functions & imports

* refactor: prevent repeated `applyConfiguration` method call

* style: format

* refactor: refactor importTransformers (wip)

* fix: find necessary imports & identifiers only

* fix: fix detecting if a file is git tracked

* chore: yarn

* chore: yarn

* cli alpha publish

* refactor(codemod): move codemods to packages/codemod (remove dependencies) (wip)

* refactor(codemod): move codemods to packages/codemod (move files) (wip)

* refactor(codemod): move codemods to packages/codemod (add deps) (wip)

* refactor(codemod): simplify tests (wip)

* refactor(codemod): rename variables

* chore(codemod): add test cases

* chore(codemod): remove unused deps & scripts

* chore(codemod): add test cases

* refactor(codemod): rename files & variables, add basic logging

* chore(codemod): add test cases for n:1 mappings

* feat(codemod): add actual `identifierMapReact`

* feat(codemod): add script & modify identifier map

* feat(codemod): update identifier-map

* feat(codemod): wrap transforms with cli

* chore(codemod): add package.json fields

* refactor(codemod): rename `migrate-imports` to `migrate-icons`

* chore(codemod): bump version

* chore(codemod): add missing shebang & bump version

* chore(codemod): move tests to parent directory & move transform builds to bin

* chore(codemod): release version alpha

* fix(codemod): find transform files in the correct directory

* fix(codemod): find transform files in the correct directory

* fix(codemod): remove unnecessary log files

* feat(codemod): replace `@seed-design/react-icon` with `@daangn/react-icon`

* chore(codemod): bump version

* refactor(codemod): use change-case to change cases

* chore(codemod): lower verbosity

* feat(codemod): allow identifier target to have null value

* chore(codemod): bump version

* docs(codemod): add readme

* fix(codemod): prevent babel from modifying unnecessary code

* chore(codemod): bump version

* fix(codemod): run babel & exclude d.ts files

* chore(codemod): build

* feat(codemod): allow custom parser

* feat(codemod): allow `--no-babel`

* chore(codemod): add prepack script

* fix(codemod): preserve comments

* fix(codemod): remove quotes

* feat(codemod): stream logs to console

* docs(codemod): readme

* feat(codemod): validate if identifiers in map are available

* chore(codemod): bump version

* feat(codemod): list available transforms & log conditionally

* chore(codemod): bump version

* feat(codemod): update identifier map, warn users on action-required icons

* chore: wip

* chore: wip

* feat(wip): fetch typescript compilation targets

* chore: up @types/node

* feat(wip): get targets

* refactor: migrate fns to `utils`

* feat: filter ignored files

* chore: init jscodeshift

* feat(wip): find matching imports

* style: format

* feat(wip): filter sources based on regexes, replacing matches

* chore: log

* feat: fix migrating names on importing default exports

* chore: add tests

* chore: remove logging (temp)

* chore: test better & replace regexes with strings

* feat(test): format before comparing test results

* refactor: remove redundant codes

* fix: prevent replacing to undefined

* refactor: remove unused functions & imports

* refactor: prevent repeated `applyConfiguration` method call

* style: format

* refactor: refactor importTransformers (wip)

* fix: find necessary imports & identifiers only

* fix: fix detecting if a file is git tracked

* refactor(codemod): move codemods to packages/codemod (remove dependencies) (wip)

* refactor(codemod): move codemods to packages/codemod (move files) (wip)

* refactor(codemod): move codemods to packages/codemod (add deps) (wip)

* refactor(codemod): simplify tests (wip)

* refactor(codemod): rename variables

* chore(codemod): add test cases

* chore(codemod): remove unused deps & scripts

* refactor(codemod): rename files & variables, add basic logging

* chore(codemod): add test cases for n:1 mappings

* feat(codemod): add actual `identifierMapReact`

* feat(codemod): add script & modify identifier map

* feat(codemod): update identifier-map

* feat(codemod): wrap transforms with cli

* refactor(codemod): rename `migrate-imports` to `migrate-icons`

* chore(codemod): move tests to parent directory & move transform builds to bin

* refactor(codemod): use change-case to change cases

* feat(codemod): validate if identifiers in map are available

* feat(codemod): list available transforms & log conditionally

* refactor(codemod): rename map to match, add tests

* fix(codemod): use report instead of winston to print stdout

* docs(codemod): update readme

* fix(codemod): remove repeatedly printed filepath

* feat(codemod): update identifier map

* feat(codemod): keep icons that aren't available yet

* chore(codemod): bump version

* feat(codemod): notify users on using icons that both appears on old & new packages but refer to different images

* docs(docs): add icon upgrade guide

* docs(docs): fix typos

* fix(codemod): add test case

* docs(docs): use better examples in icon upgrade guide

* chore: yarn

* fix(docs): fix example

* fix: tell GitHub Actions about env variables

* docs(docs): update icon upgrade docs

* fix(docs): fix icon url

* docs(docs): break into tabs

* fix(docs): fix codemod preview

* docs(docs): remove unnecessary sentences

* fix(docs): rename heading

* docs(docs): update icon upgrade docs

* docs(docs): fix typo

* docs(docs): update icon upgrade docs

* docs(docs): fix link to heading

* refactor(codemod): rewritten

* refactor(codemod): rename tests

* chore(codemod): improve tests

* chore(codemod): bump version

* docs(docs): add example codemod message

* docs(docs): clarify some sentences

* chore: narrower permissions

* chore: narrower permissions

* revert: narrower permissions

This reverts commit 77f47d9.

* docs(docs): redirect users to map table

* feat(codemod): replace string literals & add test cases

* fix(codemod): remove early return

* chore(codemod): bump version

* chore(codemod): add changeset

* chore(codemod): 0.0.1 bump

---------

Co-authored-by: Joo Chanhwi <[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.

6 participants