4ec53c79chore: 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
0c278967chore: Configure prettier and hooks
These were root package.json in monorepo.
Shota Fuji
authored at
Shota Fuji
comitted at
794b8922fix: 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
fe86446frefactor: 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
abb01ba7chore: Remove scripts/
This package is just a binding. Rendering tests should be done on
`@figspec/components`.
Shota Fuji
authored at
Shota Fuji
comitted at
f8308400refactor: 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
5b68255dtest: 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
afa8fad3test(react): Use React@18 for Storybook
To ensure this package works with React 18.
Shota Fuji
authored at
Shota Fuji
comitted at
fd11a1d2Merge pull request #43 from brettdewoody/41-support-react-18
Add React 18 as peer dependency.Shota FUJI
authored at
GitHub
comitted at
bbe9ce67feat(components): Basic touch gestures
https://github.com/pocka/figspec/issues/3
Added a dead simple touch gestures.
Shota Fuji
authored at
Shota Fuji
comitted at
d0e35457docs(components): Update TODO comment
To reflect the current state correctly.
Shota Fuji
authored at
Shota Fuji
comitted at
311b1aaddocs: Update README
Simplified. Remove bloated feature goals.
Shota Fuji
authored at
Shota Fuji
comitted at
404f5196chore(components): Declare lit-html as a regular dependency
https://github.com/pocka/figspec/issues/29
Removed the use of transitive dependency in the package. Now works
on PnP-ed projects without any configuration.
Shota Fuji
authored at
Shota Fuji
comitted at
9547cdf2fix(components): Use Figma's default background colour
https://github.com/pocka/figspec/issues/24
Shota Fuji
authored at
Shota Fuji
comitted at