Commit graph

312 commits

Author SHA1 Message Date
Xon
095ecb3589 version bump to v11.2.1 & build assets 2026-03-10 20:00:10 +08:00
Xon
0f69049548 Bump @rollup/plugin-terser for security issues 2026-03-10 18:33:55 +08:00
Xon
a19d187534 Typescript-eslint is limited to typescript <5.6.0 2026-03-10 18:32:00 +08:00
Xon
60f67ad9ed Replace 'bundlesize' with 'bundlesize2 which works on node v22+ 2026-03-10 18:31:08 +08:00
Xon
0a86d38c60 Remove unused dev dependency; @rollup/plugin-eslint 2026-03-10 18:30:27 +08:00
Xon
588627272d Remove husky 2026-03-10 18:28:13 +08:00
Xon
c7f220f282
Update package.json
Update a few URLs to point to the choices.js github organisation
2026-03-10 02:27:49 +08:00
Xon
5b42f5bd0a
Update package.json
Update repository to match for npmjs.com
2026-03-10 02:19:28 +08:00
Xon
bb955db6b6 Update version string 2026-01-01 02:49:38 +08:00
Xon
15a0230dc3 Update dependencies to fix npm install warning 2025-07-09 23:39:50 +08:00
dependabot[bot]
c5400b42da
Bump esbuild, @vitest/coverage-v8 and vitest
Bumps [esbuild](https://github.com/evanw/esbuild) to 0.25.6 and updates ancestor dependencies [esbuild](https://github.com/evanw/esbuild), [@vitest/coverage-v8](https://github.com/vitest-dev/vitest/tree/HEAD/packages/coverage-v8) and [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest). These dependencies need to be updated together.


Updates `esbuild` from 0.21.5 to 0.25.6
- [Release notes](https://github.com/evanw/esbuild/releases)
- [Changelog](https://github.com/evanw/esbuild/blob/main/CHANGELOG-2024.md)
- [Commits](https://github.com/evanw/esbuild/compare/v0.21.5...v0.25.6)

Updates `@vitest/coverage-v8` from 2.1.9 to 3.2.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.4/packages/coverage-v8)

Updates `vitest` from 2.1.9 to 3.2.4
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v3.2.4/packages/vitest)

---
updated-dependencies:
- dependency-name: esbuild
  dependency-version: 0.25.6
  dependency-type: indirect
- dependency-name: "@vitest/coverage-v8"
  dependency-version: 3.2.4
  dependency-type: direct:development
- dependency-name: vitest
  dependency-version: 3.2.4
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-07-09 15:26:25 +00:00
Xon
2723dd63a4 Add export targets 2025-03-14 09:55:59 +08:00
Xon
6e55860ddf version bump 2025-03-14 09:41:46 +08:00
Xon
7dc8200735 version bump 2025-02-27 21:08:40 +08:00
Xon
5bed5aa348 version bump 2025-02-26 21:07:10 +08:00
Xon
6b3a16d70c version bump 2025-02-22 23:42:43 +08:00
Roman Letsuk
56af1dfef8 removed "module" type for cjs compatibility 2025-01-16 16:43:28 +03:00
Xon
7ee27a097e version bump 2024-09-26 13:50:14 +08:00
Xon
acd1db042d Compile JS files 2024-09-04 19:34:16 +08:00
Geremia Taglialatela
5721e9a9ae
Add missing webpack exports
Add some entries to `package.json` to improve compatibility with webpack

- Add default `style` and `sass` exports as per webpack requirements
- Add `public/assets/styles/*` exports for CSS files
- Add `src/styles/*` exports for Scss files. Extension can be omitted
  to prevent linting issues with `stylelint`
- Add `*.scss` and `*.css` to "side effects" to prevent issues with
  tree-shaking

With this commit, it is possible to import styles with the same syntax
of v10 to prevent a breaking change in webpack based applications

Refs:
- https://webpack.js.org/guides/package-exports/
- https://github.com/stylelint-scss/stylelint-scss/blob/master/src/rules/at-import-partial-extension/README.md

Close #1184
2024-09-01 10:45:59 +02:00
Xon
69b3ed7348 Release prep 2024-08-30 04:35:08 +08:00
Xon
4939cddc5b Add serialization locks around copy/paste to workaround a lack of clipboard isolation 2024-08-29 16:38:01 +08:00
Xon
b7a6c32d6f release prep 2024-08-28 06:37:36 +08:00
Xon
f0c8a0532c Remove unused package.json action 2024-08-23 02:54:35 +08:00
Xon
3e4e650950 11.0.0-rc8 2024-08-23 02:40:03 +08:00
Xon
7a5fcaf61b Tweak package.json for e2e tests 2024-08-23 01:25:54 +08:00
Xon
e7ccdb844c Remove old web server used during CI 2024-08-19 11:30:10 +08:00
Xon
7a22a64110 Compile JS files, reduce build size as .mjs users should be doing their own tree-shaking/minifying 2024-08-19 10:19:18 +08:00
Xon
93e18afe6f Use playwright to start a background server for tests, saves possible race on compiling types-script 2024-08-19 01:44:10 +08:00
Xon
f2afdbb69f Fix test:e2e/test:e2e:all not starting the webserver 2024-08-17 19:19:16 +08:00
Xon
20509c012d Fix coverage report 2024-08-17 18:54:00 +08:00
Xon
241e456fe2 Move vitest.config.ts to default location for better tooling compatibility 2024-08-17 00:49:21 +08:00
Xon
f305960d72 Rename e2e test folder so it sorts after the unit tests 2024-08-16 19:36:43 +08:00
Xon
d938649ce7 Adjust work-flows to support testing all supported browsers. Increase timeout since firefox will often run close to that time limit. 2024-08-16 09:44:54 +08:00
Xon
d1de64e8a0 Playwright for e2e tests 2024-08-16 08:59:35 +08:00
Xon
4c18e493c8 Rename rollup config to more standard name 2024-08-15 17:52:23 +08:00
Xon
3f6e6f2cac Only compile a single build for dev watching 2024-08-13 21:07:31 +08:00
Xon
e6ebf6045a 11.0.0-rc6 2024-08-12 18:36:54 +08:00
Xon
88db9639b0 Remove redux store in replace for hand-rolled replacement design for in-place updates of the state. Avoids a lot of data copying, and reduces bundle size 2024-08-12 17:36:17 +08:00
Xon
c51a14fa5e Disable cjs builds by default 2024-08-12 02:37:12 +08:00
Xon
061f3f17e0 Adjust js:build-dev to only do a single build of the various supported build targets 2024-08-10 21:33:29 +08:00
Xon
50bcba0238 Update rollup-plugin-dev so the watch process doesn't keep incrementing port ids on touching rollup.config.js 2024-08-08 16:55:13 +08:00
Xon
716eca749a Adjust version 2024-08-08 16:51:59 +08:00
Xon
b69303e925 Generate bundles for fuse-full (choices.min.js, 20.36KB), fuse-basic (choices.search-basic.min.js, 19.31KB) & prefix search (choices.search-prefix.min.js, 15.27KB) 2024-08-08 16:45:13 +08:00
Xon
abbce74ee3 Disable watch for js:build-dev commands 2024-08-08 16:02:47 +08:00
Xon
d75369888d Update to Fuse 7.0.0 2024-08-08 13:08:45 +08:00
Xon
a732aefaa6 Fix cypress config file paths 2024-08-07 20:53:39 +08:00
Xon
33876d33e8 Point cypress at it's config file 2024-08-07 20:44:00 +08:00
Xon
c2bca0868d Missed dependency for coverage tool 2024-08-07 20:34:14 +08:00
Xon
ce00695a27 Restore server.js for browser tests, but cutting out webpack parts 2024-08-07 19:47:14 +08:00