Releases: balena-io-modules/ui-shared-components
v9.7.4
v9.7.3
Update dependency husky to v9
Notable changes
- Fix issue where example pre-commit file is generated incorrectly by @dexmlee in https://github.com/typicode/husky/pull/1519
- @OlegKipchatov made their first contribution in https://github.com/typicode/husky/pull/1495
- @Byron2016 made their first contribution in https://github.com/typicode/husky/pull/1499
- @dexmlee made their first contribution in https://github.com/typicode/husky/pull/1519
- fixes #1494, support
pre-merge-commit
hook by @RainMeoCat in https://github.com/typicode/husky/pull/1497 - @RainMeoCat made their first contribution in https://github.com/typicode/husky/pull/1497
- Improve deprecation notice
- fix: better handle space in
PATH
- #!/usr/bin/env sh # <- This is deprecated, remove it
- . "$(dirname -- "$0")/_/husky.sh" # <- This is deprecated, remove it
- npx jest
bunx husky init
command- Workaround for some hooks implementation on Windows
#!/usr/bin/env sh
and. "$(dirname -- "$0")/_/husky.sh"
are deprecated.husky
command will automatically remove them, no action required.- If you're having code in
~/.huskyrc
please move it to.config/husky/init.sh
- chore: update
package-lock.json
by @btea in https://github.com/typicode/husky/pull/1383 - fix:
export HUSKY=0
in init (fixes #1393) by @typicode in https://github.com/typicode/husky/pull/1395 - fix: rename index.d.ts to index.d.mts by @mrkjdy in https://github.com/typicode/husky/pull/1379
- refactor: rename files by @typicode in https://github.com/typicode/husky/pull/1378
- docs: update index.md by @khaledYS in https://github.com/typicode/husky/pull/1369
- Fix tab detection on install command by @glensc in https://github.com/typicode/husky/pull/1376
- refactor: reduce file size by @typicode in https://github.com/typicode/husky/pull/1377
- fix: typo and source
~/.huskyrc
correctly (compatibility with v8) - docs: fix example by @typicode in https://github.com/typicode/husky/pull/1363
- docs: add favicon by @rakleed in https://github.com/typicode/husky/pull/1354
- chore: apply editorconfig to code only by @typicode in https://github.com/typicode/husky/pull/1355
- docs: update install script to mjs and fix CI checks by @starnayuta in https://github.com/typicode/husky/pull/1357
- Fix unbound variable by @typicode in https://github.com/typicode/husky/pull/1359
- docs: update path to startup files by @ManuelRauber in https://github.com/typicode/husky/pull/1350
- fix: init error by @typicode in https://github.com/typicode/husky/pull/1353
- fix: init create dir before by @typicode in https://github.com/typicode/husky/pull/1348
- refactor: simplify by @typicode in https://github.com/typicode/husky/pull/1349
- fix: init not working on pnpm #1334 by @rozbo in https://github.com/typicode/husky/pull/1347
- docs: fix link by @typicode in https://github.com/typicode/husky/pull/1340
- chore: fix links in issue template by @julien-f in https://github.com/typicode/husky/pull/1341
- fix: add scripts field if not present by @chalkygames123 in https://github.com/typicode/husky/pull/1338
- docs: changelog link by @typicode in https://github.com/typicode/husky/pull/1343
- fix: insert final newline by @chalkygames123 in https://github.com/typicode/husky/pull/1339
- fix: fix git hooks path on windows by @rozbo in https://github.com/typicode/husky/pull/1346
- fix: exit code by @gergelypap in https://github.com/typicode/husky/pull/1336
- docs: typo by @chalkygames123 in https://github.com/typicode/husky/pull/1337
- Enhanced security with CI and npm
--provenance
for safer publishing. - Added
$XDG_CONFIG_HOME
support. Move~/.huskyrc
to~/.config/husky/init.sh
for centralized configuration. - Fixed permission issue for Windows-created hooks; they no longer need to be executable.
- Removed
husky install
. Usehusky
orhusky some/dir
for the same functionality (deprecation notice to be added). - Modified behavior when
.git
is missing; it now triggers a warning instead of failure. - Replaced
HUSKY_DEBUG=1
withHUSKY=2
for debugging. - Updated the Husky API for module usage.
- Transitioned to
ESM
for module usage. - Dropped support for Node 14 and 16.
- Revamped docs.
- "prepare": "husky install"
- #!/usr/bin/env sh
- . "$(dirname -- "$0")/_/husky.sh"
- const husky = require('husky')
- // ...
typicode/husky (husky)
v9.1.6
What's Changed
- Fix issue where example pre-commit file is generated incorrectly by @dexmlee in https://github.com/typicode/husky/pull/1519
New Contributors
- @OlegKipchatov made their first contribution in https://github.com/typicode/husky/pull/1495
- @Byron2016 made their first contribution in https://github.com/typicode/husky/pull/1499
- @dexmlee made their first contribution in https://github.com/typicode/husky/pull/1519
Full Changelog: typicode/husky@v9.1.5...v9.1.6
v9.1.5
What's Changed
- fixes #1494, support
pre-merge-commit
hook by @RainMeoCat in https://github.com/typicode/husky/pull/1497
New Contributors
- @RainMeoCat made their first contribution in https://github.com/typicode/husky/pull/1497
Full Changelog: typicode/husky@v9.1.4...v9.1.5
v9.1.4
- Improve deprecation notice
v9.1.3
- fix: better handle space in
PATH
v9.1.2
Show a message instead of automatically removing deprecated code.
This only concerns projects that still have the following code in their hooks:
- #!/usr/bin/env sh # <- This is deprecated, remove it
- . "$(dirname -- "$0")/_/husky.sh" # <- This is deprecated...
v9.7.2
v9.7.1
v9.7.0
v9.6.6
v9.6.5
v9.6.4
Update dependency lint-staged to v15
Notable changes
- #1471
e3f283b
Thanks @iiroj! - Update minor dependencies, includingmicromatch@~4.0.8
. - #1463
b69ce2d
Thanks @iiroj! - Set the maximum number of event listeners to the number of tasks. This should silence the console warningMaxListenersExceededWarning: Possible EventEmitter memory leak detected
. f0480f0
Thanks @iiroj! - In the previous version the nativegit rev-parse --show-toplevel
command was taken into use for resolving the current git repo root. This version switched the--show-toplevel
flag with--show-cdup
, because on Git installed via MSYS2 the former was returning absolute paths that do not work with Node.jschild_process
. The new flag returns a path relative to the working directory, avoiding the issue.- #1440
a51be80
Thanks @iiroj! - In the previous version the nativegit rev-parse --show-toplevel
command was taken into use for resolving the current git repo root. This version drops the--path-format=absolute
option to support earlier git versions since it's also the default behavior. If you are still having trouble, please try upgradinggit
to the latest version. - #1433
119adb2
Thanks @iiroj! - Use native "git rev-parse" commands to determine git repo root directory and the .git config directory, instead of using custom logic. This hopefully makes path resolution more robust on non-POSIX systems. - #1424
31a1f95
Thanks @iiroj! - Allow approximately equivalent versions of direct dependencies by using the "~" character in the version ranges. This means a more recent patch version of a dependency is allowed if available. - #1423
91abea0
Thanks @iiroj! - Improve error logging when failing to read or parse a configuration file - #1424
ee43f15
Thanks @iiroj! - Upgrade micromatch@4.0.7 4f4537a
Thanks @iiroj! - Fix release issue with previous version; update dependencies- #1391
fdcdad4
Thanks @iiroj! - Lint-staged no longer tries to load configuration from files that are not checked out. This might happen when using sparse-checkout. - #1371
f3378be
Thanks @iiroj! - Using the--no-stash
flag no longer discards all unstaged changes to partially staged files, which resulted in inadvertent data loss. This fix is available with a new flag--no-hide-partially-staged
that is automatically enabled when--no-stash
is used. - #1362
17bc480
Thanks @antonk52! - update lilconfig@3.0.0 - #1368
7c55ca9
Thanks @iiroj! - Update most dependencies - #1368
777d4e9
Thanks @iiroj! - To improve performance, only uselilconfig
when searching for config files outside the git repo. In the regular case, lint-staged finds the config files from the Git index and loads them directly. - #1373
85eb0dd
Thanks @iiroj! - When determining git directory, usefs.realpath()
only for symlinks. It looks likefs.realpath()
changes some Windows mapped network filepaths unexpectedly, causing issues. - #1344
0423311
Thanks @danielbayley! - Add support for loading configuration frompackage.yaml
andpackage.yml
files, supported bypnpm
. - #1355
105d901
Thanks @iiroj! - Suppress some warnings when using the "--quiet" flag - #1339
8e82364
Thanks @iiroj! - Update dependencies, including listr2@7.0.2 to fix an upstream issue affecting lint-staged. - #1217
d2e6f8b
Thanks @louneskmt! - Previously it was possible for a function task to mutate the list of staged files passed to the function, and accidentally affect the generation of other tasks. This is now fixed by passing a copy of the original file list instead. - #1322
66b93aa
Thanks @iiroj! - Require at least Node.js 18.12.0
lint-staged/lint-staged (lint-staged)
v15.2.10
Patch Changes
v15.2.9
Patch Changes
- #1463
b69ce2d
Thanks @iiroj! - Set the maximum number of event listeners to the number of tasks. This should silence the console warningMaxListenersExceededWarning: Possible EventEmitter memory leak detected
.
v15.2.8
Patch Changes
-
f0480f0
Thanks @iiroj! - In the previous version the nativegit rev-parse --show-toplevel
command was taken into use for resolving the current git repo root. This version switched the--show-toplevel
flag with--show-cdup
, because on Git installed via MSYS2 the former was returning absolute paths that do not work with Node.jschild_process
. The new flag returns a path relative to the working directory, avoiding the issue.The GitHub Actions workflow has been updated to install Git via MSYS2, to ensure better future compatibility; using the default Git binary in the GitHub Actions runner was working correctly even with MSYS2.
v15.2.7
Patch Changes
- #1440 [
a51be80
...
v9.6.3
Update dependency eslint-plugin-storybook to ^0.11.0
Notable changes
- Generate Typescript types for flat configs #180 (@yannbf)
- Update docs to be more clear about extended categories #179 (@yannbf)
- chore: Update the link for eslintignore doc #163 (@tunawasabi)
- wasabi (@tunawasabi)
- Yann Braga (@yannbf)
- Fix: Bring back non-categorized rules #176 (@yannbf)
- Build: Refactor, fix issues reported by eslint and format md files #175 (@yannbf)
- Bump CSF version to remove lodash transitive dep #171 (@kasperpeulen)
- Kasper Peulen (@kasperpeulen)
- feat: support flat config #156 (@kazupon @yannbf @kasperpeulen)
- kazuya kawaguchi (@kazupon)
- use-storybook-expect: remove auto fix suggestion #165 (@yannbf)
- Tweak
generate-rule
#147 (@yinm) - Update links in docs #130 (@hoonweiting @yannbf)
- Remove uninformative 'Further Reading' sections from rule docs #131 (@hoonweiting)
- Wei Ting (@hoonweiting)
- Yusuke Iinuma (@yinm)
storybookjs/eslint-plugin-storybook (eslint-plugin-storybook)
v0.11.0
🚀 Enhancement
🐛 Bug Fix
- Update docs to be more clear about extended categories #179 (@yannbf)
- chore: Update the link for eslintignore doc #163 (@tunawasabi)
Authors: 2
- wasabi (@tunawasabi)
- Yann Braga (@yannbf)
v0.10.2
🐛 Bug Fix
- Fix: Bring back non-categorized rules #176 (@yannbf)
- Build: Refactor, fix issues reported by eslint and format md files #175 (@yannbf)
Authors: 1
- Yann Braga (@yannbf)
v0.10.1
🐛 Bug Fix
- Bump CSF version to remove lodash transitive dep #171 (@kasperpeulen)
Authors: 1
- Kasper Peulen (@kasperpeulen)
v0.10.0
🚀 Enhancement
- feat: support flat config #156 (@kazupon @yannbf @kasperpeulen)
Authors: 3
- Kasper Peulen (@kasperpeulen)
- kazuya kawaguchi (@kazupon)
- Yann Braga (@yannbf)
v0.9.0
🚀 Enhancement
🐛 Bug Fix
- Tweak
generate-rule
#147 (@yinm) - Update links in docs #130 (@hoonweiting @yannbf)
- Remove uninformative 'Further Reading' sections from rule docs #131 (@hoonweiting)
Authors: 3
- Wei Ting (@hoonweiting)
- Yann Braga (@yannbf)
- Yusuke Iinuma (@yinm)
List of commits
a1eaf43 (Update dependency eslint-plugin-storybook to ^0.11.0, 2024-11-11)
v9.6.2
Update dependency virtua to ^0.36.0
Notable changes
- Update docs
- Add Svelte WindowVirtualizer by @inokawa in https://github.com/inokawa/virtua/pull/532
- BREAKING CHANGE: Drop support for Svelte 4
- Migrate to Svelte 5 by @inokawa in https://github.com/inokawa/virtua/pull/528
- Add Svelte Virtualizer by @inokawa in https://github.com/inokawa/virtua/pull/529
- Generate docs for Svelte by @inokawa in https://github.com/inokawa/virtua/pull/530
- Fix children snippet argument of Svelte adapter by @inokawa in https://github.com/inokawa/virtua/pull/531
- perf(core): binary search for findIndex by @onx2 in https://github.com/inokawa/virtua/pull/493
- Refactor findIndex by @inokawa in https://github.com/inokawa/virtua/pull/521
- Optimize findIndex for small scroll by @inokawa in https://github.com/inokawa/virtua/pull/522
- Remove unnecessary padding and margin from item wrapper by @inokawa in https://github.com/inokawa/virtua/pull/520
- Fix error in Svelte VList caused by importing core by @inokawa in https://github.com/inokawa/virtua/pull/507
- Change default pointer-events style from "auto" to undefined by @inokawa in https://github.com/inokawa/virtua/pull/504
- BREAKING CHANGE: The slot props of Vue virtualizers was changed from
data: any
todata: { item: any, index: number }
- Pass index to slot of Vue Virtualizer by @inokawa in https://github.com/inokawa/virtua/pull/501
- Pass index to slot of Svelte VList by @inokawa in https://github.com/inokawa/virtua/pull/496
- Fixed bug Svelte VList ignores items resize by @inokawa in https://github.com/inokawa/virtua/pull/497
- add onWheel to VList by @jackhodkinson in https://github.com/inokawa/virtua/pull/492
- @jackhodkinson made their first contribution in https://github.com/inokawa/virtua/pull/492
- Add caveat about supporting reverse scrolling on Safari to README.md by @XantreDev in https://github.com/inokawa/virtua/pull/474
- Minor fix by @rahulyadav5524 in https://github.com/inokawa/virtua/pull/472
- Improve jump compensation at end by @inokawa in https://github.com/inokawa/virtua/pull/476
- @XantreDev made their first contribution in https://github.com/inokawa/virtua/pull/474
- @rahulyadav5524 made their first contribution in https://github.com/inokawa/virtua/pull/472
- Improve timeout handling on imperative scroll when document is inactive by @inokawa in https://github.com/inokawa/virtua/pull/471
- Package management improvement idea by @onx2 in https://github.com/inokawa/virtua/pull/462
- Add as and item props to Vue Virtualizer by @inokawa in https://github.com/inokawa/virtua/pull/464
- Fix regression of Vue startMargin by @inokawa in https://github.com/inokawa/virtua/pull/463
- Add as and item props to SolidJS Virtualizer by @onx2 in https://github.com/inokawa/virtua/pull/460
- Add scrollRef and startMargin prop to Solid Virtualizer by @inokawa in https://github.com/inokawa/virtua/pull/461
- @onx2 made their first contribution in https://github.com/inokawa/virtua/pull/460
- Support dynamic startMargin by @inokawa in https://github.com/inokawa/virtua/pull/459
- Add Svelte implementation by @inokawa in https://github.com/inokawa/virtua/pull/440
- Fallback to default cache if specified cache is shorter/longer by @inokawa in https://github.com/inokawa/virtua/pull/443
- Fix broken bundle for vue after virtua 0.30.0 by @inokawa in https://github.com/inokawa/virtua/pull/439
- Fix unnecessary mutation to keepMounted prop by @inokawa in https://github.com/inokawa/virtua/pull/434
- Fix off-screen items order by @mariia-mitiureva in https://github.com/inokawa/virtua/pull/431
- Add ability to keep offscreen items mounted by @mariia-mitiureva in https://github.com/inokawa/virtua/pull/429
- @mariia-mitiureva made their first contribution in https://github.com/inokawa/virtua/pull/429
- Add collapse and remove storybook by @aeharding in https://github.com/inokawa/virtua/pull/416
- Update FAQ section by @inokawa in https://github.com/inokawa/virtua/pull/421
- Fix solid reactivity by @imascha in https://github.com/inokawa/virtua/pull/427
- @imascha made their first contribution in https://github.com/inokawa/virtua/pull/427
- Add scrollRef prop to Vue Virtualizer by @inokawa in https://github.com/inokawa/virtua/pull/393
- Refactor startOffset in WindowVirtualizer by @inokawa in https://github.com/inokawa/virtua/pull/402
- Refactor jump compensation with shift by @inokawa in https://github.com/inokawa/virtua/pull/407
- Improve jump compensation with shift by @inokawa in https://github.com/inokawa/virtua/pull/409
- Suppress rerendering of WindowVirtualizer outside of viewport by @inokawa in https://github.com/inokawa/virtua/pull/401
- BREAKING CHANGE: The methods of VGridHandle were changed.
- Fix CacheSnapshot structure and reduce its size by @inokawa in https://github.com/inokawa/virtua/pull/311
- Add ssrCount prop to Vue Virtualizer by @inokawa in https://github.com/inokawa/virtua/pull/397
- Fix VGridHandle by @inokawa in https://github.com/inokawa/virtua/pull/395
- Add startMargin/endMargin prop to Vue Virtualizer by @inokawa in https://github.com/inokawa/virtua/pull/392
- Add offset option to scrollToIndex by @inokawa in https://github.com/inokawa/virtua/pull/390
- Add getItemOffset to VirtualizerHandle by @inokawa in https://github.com/inokawa/virtua/pull/389
- Add collapse nested storybook example by [@aeharding](https://togithub...