figspec-react

React binding for Figspec web components

Commits at 1661470eb4161df10a2059570864bdaf454d91a1

  1. 1661470e deps: Add React@19 to peerDependencies I checked their upgrade guide and no breaking changes affects this project. Shota FUJI authored at Shota FUJI comitted at
  2. 42370c0b chore: Fix Storybook does not launch I tried to start dev work but Storybook failed to launch with, ``` Error [ERR_REQUIRE_ESM]: require() of ES Module /repo/.storybook/main.js from /repo/figspec-react/node_modules/@storybook/core-common/dist/cjs/utils/interpret-require.js not supported. ``` This rename is the easiest and quickest fix I know of. Shota FUJI authored at Shota FUJI comitted at
  3. 708a8d67 2.0.0 Shota FUJI authored at Shota FUJI comitted at
  4. f4b3693c feat: Drop CommonJS output As `@figspec/components` no longer have CJS dist. Shota FUJI authored at Shota FUJI comitted at
  5. 0f4646b4 feat: Upgrade to Figspec v2 `@lit-labs/react` is also needed to upgrade because somehow the old version is not able to detect properties correctly and sets props as attributes (attribute usage is not supported in Figspec v2). Shota FUJI authored at Shota FUJI comitted at
  6. 495f0b54 chore: Fix release workflow cannot publish the package ...again. I forgot the fact Yarn ignores npm config. Shota Fuji authored at Shota Fuji comitted at
  7. f1db17a5 1.0.3 Shota Fuji authored at Shota Fuji comitted at
  8. 5dc5fa6c docs: Fix CHANGELOG content to align with keepachangelog I didn't noticed there are links at the bottom... Shota Fuji authored at Shota Fuji comitted at
  9. c7137440 chore: Upgrade `@figspec/components` to v1.0.1 https://github.com/pocka/storybook-addon-designs/issues/161#issuecomment-1208178843 In order to avoid importing `copy-to-clipboard` package, which was [removed](https://github.com/pocka/figspec/pull/36) at v1.0.1. That package is written CJS so v1.0.0 ESM build does not work at all. Shota Fuji authored at Shota Fuji comitted at
  10. 4f28a418 chore: Fix release workflow cannot publish the package Shota Fuji authored at Shota Fuji comitted at
  11. 9ead1485 docs: Add CHANGELOG.md Shota Fuji authored at Shota Fuji comitted at
  12. 23725c71 1.0.2 Shota Fuji authored at Shota Fuji comitted at
  13. 7f436c07 chore: Add release flow Shota Fuji authored at Shota Fuji comitted at
  14. caed0004 chore: Add `repository` field to package.json This is helpful. Why did I leave this field missing? Shota Fuji authored at Shota Fuji comitted at
  15. 323fc9d9 docs: Update README.md * I love badges. * More friendly installation section. * Place a link for `@figspec/components` as there are none. Shota Fuji authored at Shota Fuji comitted at
  16. 2b633584 style: Format with Prettier :( Shota Fuji authored at Shota Fuji comitted at
  17. 2443fdde chore: Update test workflow Actions are outdated. Shota Fuji authored at Shota Fuji comitted at
  18. 4ec53c79 chore: Use Yarn v3 Yarn v1 is deprecated. I ended up adding [this](https://github.com/sachinraja/yarn-plugin-postinstall-dev) plugin due to Yarn berry no longer support `prepare` script. Good plugin. Shota Fuji authored at Shota Fuji comitted at
  19. dc29d241 docs: Update CONTRIBUTING.md monorepo -> multirepo Shota Fuji authored at Shota Fuji comitted at
  20. ef184d82 chore: Upgrade to Node.js v16 It's the Active LTS. Shota Fuji authored at Shota Fuji comitted at
  21. 0c278967 chore: Configure prettier and hooks These were root package.json in monorepo. Shota Fuji authored at Shota Fuji comitted at
  22. 794b8922 fix: Remove type params from `createComponent` `@lit-labs/react@1.0.3` [0] introduced a breaking change for typings. - Before: 2nd type param is `Record<string, (e: Event) => void>` - After: 2nd type param is `Record<string, string>` (both simplified) Because we can't omit the 2nd type parameter, I deleted both type parameters. These were only for preventing typo at 4th parameter, do not affect to exported typing as there are already `as unknown as ...`. [0]: https://github.com/lit/lit/blob/93b30f7de81eb203ad88abfc1e0e87a719d132c5/packages/labs/react/CHANGELOG.md#103 Shota Fuji authored at Shota Fuji comitted at
  23. fe86446f refactor: Move workspace-d dir to root In order to retain git history as much as possible, changes to files are minimized (will be in separated commits). Shota Fuji authored at Shota Fuji comitted at
  24. abb01ba7 chore: Remove scripts/ This package is just a binding. Rendering tests should be done on `@figspec/components`. Shota Fuji authored at Shota Fuji comitted at
  25. f8308400 refactor: Quit monorepo (remove components dir) * Each package don't recieve frequent updates. * Uses independent versioning. * Create tags and releases has been hard. * It's far easier to manage devDependencies in single repo than in monorepo. No need to worry about mixing Storybook versions. * User friendly. Shota Fuji authored at Shota Fuji comitted at
  26. 5b68255d test: Move @types/react devDeps to correct place I needed to add `skipLibCheck` because a lot of React packages Storybook internally uses start emitting errors due to changes between `@types/react@16` to `@17` and/or `@18` (...probably. I immediately turned on `skipLibCheck` after seeing "Found 180 errors.", without investigation). Shota Fuji authored at Shota Fuji comitted at
  27. afa8fad3 test(react): Use React@18 for Storybook To ensure this package works with React 18. Shota Fuji authored at Shota Fuji comitted at
  28. fd11a1d2 Merge pull request #43 from brettdewoody/41-support-react-18 Add React 18 as peer dependency. Shota FUJI authored at GitHub comitted at
  29. 459b423e react/v1.0.1 Shota Fuji authored at Shota Fuji comitted at
  30. 967c346d components/v1.0.1 Shota Fuji authored at Shota Fuji comitted at