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

refactor: simplify build system #26

Merged
merged 9 commits into from
May 4, 2024

Conversation

schoero
Copy link
Owner

@schoero schoero commented May 4, 2024

Preparation work for #25

  • Remove vite
    • Use tsc to compile TypeScript
    • Use tsc-alias to resolve tsconfig paths
  • Remove vitest
    • Use native node:test runner

@schoero schoero merged commit 6b2593e into refactor/next May 4, 2024
10 checks passed
@schoero schoero deleted the refactor/simplify-build-system branch May 4, 2024 18:19
schoero added a commit that referenced this pull request May 20, 2024
* refactor: simplify build system (#26)

* refactor: use native test runner, remove vite, use tsc

* ci: use `zsh` to glob test files

* ci: use `glob` package for older node versions that don't support glob patterns

* ci: remove eslint9 workaround

* style: fix linting issues

* chore: update eslint config

* chore: fix glob pattern on windows

* ci: upgrade to node 22

* ci: update npm test command to use "npm test" instead of "npm t"

* chore: let eslint `markdown` rules override the `javascript` rules

* style: code cleanup

* style: remove unnecessary whitespaces
schoero added a commit that referenced this pull request Jan 23, 2025
* refactor: remove tailwind imports

* feat: support tailwind 4

* refactor: update test

* ci: inline tests

* chore: change semver range

* chore: remove `local-pkg`

* chore: add `fast-glob` as a dependency

* refactor: add lightningcss

to inline imported css

* refactor: use tailwindcss v3 and tailwindcss v4 simultaneously

* chore: regenerate `package-lock.json`

* fix: cache full context/design system

* fix: load tailwind config without import assertions

* chore: fix semver range

* fix: dynamically import tailwind versions

* fix: use `import-sync` to dynamically and synchronously import tailwindcss utilities

* refactor: simplify build system (#26)

* refactor: use native test runner, remove vite, use tsc

* ci: use `zsh` to glob test files

* ci: use `glob` package for older node versions that don't support glob patterns

* ci: remove eslint9 workaround

* style: fix linting issues

* chore: update eslint config

* chore: fix glob pattern on windows

* ci: upgrade to node 22

* ci: update npm test command to use "npm test" instead of "npm t"

* refactor: use `require` for synchronous dynamic imports

* fix: infinite recursion

* style: code cleanup

* feat: resolve import statements

* wip: try to replace imports with custom visitor

* refactor: remove `lightningcss`

* refactor: use `synckit` to run async tasks in worker thread

* style: eslint fixes

* fix: caching of tailwindcss 3

* fix: rewrite recursive config finder

* fix: entry point option

* fix: use file url on windows

* refactor!: drop support for node <=18

---------

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

1 participant