Matt Triff
5d17dd8531
Fix CI workflows
2022-11-28 17:11:41 -05:00
Matt Triff
bbdacdfe3b
Update all CI workflows to use latest LTS (v18)
2022-11-28 14:18:14 -05:00
Matt Triff
92eabcbd4a
Update all CI workflows to use latest LTS (v18)
2022-11-28 12:08:05 -05:00
Matt Triff
2a8107f379
Update package-lock.json
2022-11-28 11:45:39 -05:00
Matt Triff
ea45c47d43
Merge branch 'master' into feature/custom-properties
2022-11-28 11:43:15 -05:00
Matt Triff
d130beb4e9
Update dependencies, add e2e tests for HTML custom properties
2022-11-28 11:36:04 -05:00
Matt Triff
6056cce4e9
Merge pull request #1073 from Choices-js/dependabot/npm_and_yarn/minimatch-3.1.2
...
Bump minimatch from 3.0.4 to 3.1.2
2022-11-17 16:15:02 -05:00
dependabot[bot]
ce590e3785
Bump minimatch from 3.0.4 to 3.1.2
...
Bumps [minimatch](https://github.com/isaacs/minimatch ) from 3.0.4 to 3.1.2.
- [Release notes](https://github.com/isaacs/minimatch/releases )
- [Commits](https://github.com/isaacs/minimatch/compare/v3.0.4...v3.1.2 )
---
updated-dependencies:
- dependency-name: minimatch
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 16:54:11 +00:00
Matt Triff
30e6dbadda
Merge pull request #1048 from Choices-js/dependabot/npm_and_yarn/terser-5.14.2
...
Bump terser from 5.10.0 to 5.14.2
2022-11-17 11:29:49 -05:00
dependabot[bot]
9ac71c4717
Bump loader-utils from 1.4.0 to 1.4.2
...
Bumps [loader-utils](https://github.com/webpack/loader-utils ) from 1.4.0 to 1.4.2.
- [Release notes](https://github.com/webpack/loader-utils/releases )
- [Changelog](https://github.com/webpack/loader-utils/blob/v1.4.2/CHANGELOG.md )
- [Commits](https://github.com/webpack/loader-utils/compare/v1.4.0...v1.4.2 )
---
updated-dependencies:
- dependency-name: loader-utils
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-13 12:19:25 +00:00
dependabot[bot]
1b67baec25
Bump terser from 5.10.0 to 5.14.2
...
Bumps [terser](https://github.com/terser/terser ) from 5.10.0 to 5.14.2.
- [Release notes](https://github.com/terser/terser/releases )
- [Changelog](https://github.com/terser/terser/blob/master/CHANGELOG.md )
- [Commits](https://github.com/terser/terser/commits )
---
updated-dependencies:
- dependency-name: terser
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-07-20 01:34:00 +00:00
dependabot[bot]
d26b753f6b
Bump minimist from 1.2.5 to 1.2.6
...
Bumps [minimist](https://github.com/substack/minimist ) from 1.2.5 to 1.2.6.
- [Release notes](https://github.com/substack/minimist/releases )
- [Commits](https://github.com/substack/minimist/compare/1.2.5...1.2.6 )
---
updated-dependencies:
- dependency-name: minimist
dependency-type: indirect
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-04-11 18:22:59 +00:00
Matt Triff
09eeca0db0
Prep for 10.1.0
2022-02-13 21:39:17 -05:00
Matt Triff
29097d5457
Bump dev dependencies
2022-01-13 20:31:33 -05:00
Matt Triff
3d42067bbd
Version 10.0.0
2022-01-02 23:38:07 -05:00
Matt Triff
303d12504c
Upgrade to Fuse v6
2021-12-31 18:11:45 -05:00
Matt Triff
f0ec43fa20
Version 9.1.0
2021-12-19 20:54:48 -05:00
Matt Triff
9835eb756a
Implement stylelint
2021-12-19 17:43:03 -05:00
Matt Triff
70397fd89a
Switch to dart-sass, fix npm audit issues
2021-12-19 16:58:00 -05:00
Matt Triff
977221650a
Update snapshots, add Chrome to browser test, remove linting JS, bump dependencies - replace deprecated eslint-loader
2021-12-18 22:07:37 -05:00
Matt Triff
e09a342ac8
PostCSS now required as a separate dependency of postcss-cli
2021-12-18 12:08:26 -05:00
Matt Triff
3d921621b7
Update dependencies, fix linting issues, split interfaces and default objects to resolve dependency cycles
2021-12-17 16:26:52 -05:00
Josh Johnson
68313da412
Convert to typescript ( #795 )
...
* Typescript config setup
* Add type annotations to components
* Further type additions
* And more...
* Add types to actions
* Add types to templates
* Further type checks
* Further type additons
* Install fuse latest
* Housekeeping
* Remove old type definitions
* Fix remaning type issues
* Fix some failing tests
* Remove types workflow
* Fix failing unit tests
* Resolve back space event regression
* Convert cypress files to .ts
* Fix eslint issues
* Remove cachebusting urls
* Resolve delete button bug
* Resolve regression bugs
* Fix lint script
* Fix lint workflow
* Pass args instead of object to keyboard handlers
* Flatten misc reducer
* Resolve keyboad action test failures
* Use Pick instead of Partial
* Use interfaces in action tests
* Update firefox image
* Incorporate #791
* Incorporate #788
2019-12-23 18:22:54 +00:00
Josh Johnson
9676cff128
Resolve #622 and #781 ( #784 )
...
* Resolve duplicate initialise in demo
* Update README with versioned cdn links
* Update log
* Re-add env var
2019-11-27 11:46:40 +00:00
Josh Johnson
9f2661023d
Next release ( #763 )
...
* 🔖 Version 9.0.1
* Remove post version check
2019-11-18 09:51:24 +00:00
Josh Johnson
44da784f29
🔖 Version 9.0.0 ( #758 )
2019-11-14 22:51:50 +00:00
Konstantin Vyatkin
68322d9528
Upgrade Cypress to 3.6 and use cache in Github Actions ( #748 )
...
* try to cache cypress cache
* try to fix
* try cache hit
* Upgrade Cypress to 3.6
* remove uneeded prefix
2019-11-08 13:24:57 +00:00
Josh Johnson
d04031e02f
Fix id types ( #743 )
...
* Set ids to be numbers
* Split out _setLoading into start/stop methods
* Build
2019-11-08 09:19:18 +00:00
Josh Johnson
ab22347d7b
Code refactoring ( #735 )
...
* Add placeholder options to demo page
* Use constant types in components
* Refactor adding predefined groups/items/choices
* Add 'highlighted' flag to Item type
* Fix dispatch param type
* Build
* Add jsdoc comments to utils
* Remove unused file
* Add default values to js doc comments
* Use Redux Action type
* Housekeeping
* Increase utils coverage
* Apply suggestions from code review
* Add _getTemplate unit tests
2019-11-03 17:45:16 +00:00
Josh Johnson
eb17194ff3
Add release drafter ( #720 )
...
* Add release management github action
* Simplify PR template
* Add chore to PR template
* Simplify labels
* Add housekeeping label
* Add refactor label
2019-10-30 13:10:52 +00:00
Josh Johnson
0e44a916e3
Fix constructor ( #693 )
...
* breaking test
* Remove ablity to pass multiple elements + tests
* Update readme
* Update README.md
* 🔖 Version 8.0.0
* Remove type definition hack
* Update coverage command
* Add some missing list tests
* Remove .only
* Update demo page to loop over elements
* Update constructor to set initialised flag if already active
* Make templates private
* Throw type error once if element is invalid
* Fix list children bug
* Re-add generic examples to index.html
* Housekeeping
* Use typeof instead of isType where applicable
* Remove isElement
* Add test for isIE11
2019-10-29 21:19:56 +00:00
Josh Johnson
88f63faa0b
Update code styling rules ( #713 )
...
* Enforce curly braces around conditionals
* Install sort class members + update rules
* Satisfy linting changes
* Add todo
* Add tests for clearChoices
* Update eslint-plugin-prettier to latest
* Resolve conflicts
* Fix linting errors
2019-10-29 18:26:11 +00:00
Konstantin Vyatkin
172366d6fa
[Tooling] Expand browsers target while keeping Polyfills under control ( #709 )
...
* expand browsers target
* add eslint-plugin-compat
* sort polyfils
* adjust readme
* add polyfills sync check action
* only build js
* trim
* add Element.prototype.closest
* add closest to demo links
* fix ignore
2019-10-29 18:19:19 +00:00
Konstantin Vyatkin
15d54c7d34
Remove classnames and use createElement
( #687 )
...
* enable restricted syntax in tests
* add Options to global
* crearte native elements
* remove unused helper
* fix/improve typings
* add JSDoc typings
* remove if/else
2019-10-25 15:43:28 +01:00
Konstantin Vyatkin
472e0dff39
[Tooling] use lint-stagged and unleash full Prettier ( #692 )
...
* switch to lint-stagged
* separate prettier config into external file
* recommend and configure VSCode extensions
2019-10-24 18:13:06 +01:00
Konstantin Vyatkin
1dbab0f29e
upgrade Cypress to 3.5 ( #686 )
2019-10-24 07:50:00 +01:00
Konstantin Vyatkin
e83f40956b
fix typings ( #681 )
...
* fix typings
* allow array in constructor
2019-10-23 19:11:22 +01:00
Josh Johnson
dc7cf42e90
Ignore branches that are not master ( #678 )
...
* Ignore branches that are not master
* List branches and ignored branches
* Remove tags check from npm publish instead
* 🔖 Version 7.1.5
2019-10-23 11:01:05 +01:00
Josh Johnson
4c6acb5de2
Further ci tweaks ( #677 )
...
* Align codecov actions
* Update post version command to include tag
* 🔖 Version 7.1.4
2019-10-23 10:27:53 +01:00
Josh Johnson
7e38f83b9e
Further ci tweaks ( #676 )
...
* Align codecov actions
* Remove preversion
* Remove npm conditional
* 🔖 Version 7.1.3
2019-10-23 10:00:14 +01:00
Josh Johnson
71e64e0f52
Further CI tweaks + vulnerability fix ( #675 )
...
* Update workflow job names
* Update csso-cli
* Add conditional to publish-npm
* 🔖 Version 7.1.2
2019-10-23 09:32:25 +01:00
Konstantin Vyatkin
4b9dd1efe3
Remove unused devDependencies ( #673 )
...
* remove `opn`
* remove `whatwg-fetch`
* remove `wrapper-webpack-plugin` in favor of built-in plugin
2019-10-23 08:45:49 +01:00
Konstantin Vyatkin
4acd6d6ca8
Improve GitHub actions and fix package.json
SCSS script ( #669 )
...
* run actions on dependencies change
* add bundlesize token to master run
* fix bundlesize commit number
* add cypress env
* also run on - '.browserslistrc' changes
* update node-sass to allow install on Node 12 and trigger events
* use script
* add group
* skip husky on cypress
* upgrade csso dependency to make it trim sourcemaps
* fix run-p / run-s use
* remove commited assets on check
* commit assets
* remove cypress record
* restore recording
* reduce bundlesize limits
* try to specify key implicity
* remove Cypress recording
* restore build in bundlesize
* regenerate package-json.lock
* commit generated assets
* handle no-js case in lint
* fix lint error
2019-10-22 22:20:40 +01:00
Konstantin Vyatkin
6848970fd9
improve Babel and webpack configurations --> reduce JS bundle size ( #670 )
...
* simplify babel config
* fix Cypress VSCode checks
* introduce webpack base config
* fix flacky cypress test
* fix class properties definition
* fix default export
* upgrade affected deps, decrease bundlesize
* run ESLint only on changed files
2019-10-22 17:08:43 +01:00
Josh Johnson
1285602b2f
Publish version after npm publish ( #672 )
...
* Add publish to github step
* Include file with release
* Supress logs if silent mode = true
* 🔖 Version 7.1.1
* Rejig console logs
* Update error log conditional
2019-10-22 12:50:40 +01:00
Josh Johnson
4de6e677d1
Fix css minifying ( #671 )
...
* Remove source maps from outputted CSS
* 🔖 Version 7.0.6
2019-10-22 07:02:48 +01:00
dependabot[bot]
2fca709814
Bump lodash-es from 4.17.8 to 4.17.15 ( #665 )
...
Bumps [lodash-es](https://github.com/lodash/lodash ) from 4.17.8 to 4.17.15.
- [Release notes](https://github.com/lodash/lodash/releases )
- [Commits](https://github.com/lodash/lodash/commits/4.17.15 )
Signed-off-by: dependabot[bot] <support@github.com>
2019-10-21 21:44:14 +01:00
Josh Johnson
ffc32df462
Resolve vulnerabilities + fix tests ( #668 )
...
* Remove GPR Github action (for now)
* Update test badge
* Remove stale.yml
* Upgrade cypress + fix failing tests
* Upgrade postcss-cli
* Update postcss command
* Remove space
* Add slight delay between scrolling animations
* Update test descriptions
* Remove signed commits/tagging (for now)
* chore(release): 🔖 version 7.0.5
* Update commit message
* Revert "Upgrade cypress + fix failing tests"
This reverts commit b6fbd0f51a
.
2019-10-21 21:43:38 +01:00
Josh Johnson
f597bc9aff
Remove travis ( #667 )
...
* Remove travis.yml
* Remove versioning from index file
* Resolve linting issues
* Resolve further linting issues
* Uppercase NPM_TOKEN
* Run audit fix
* Update postversion command
* Update @babel/core to latest
* Update post version command
* Housekeeping
* Revert cypress upgrade
* Enforce cypress version
* Update package.lock
* Add cypress project id
2019-10-21 20:03:57 +01:00
Konstantin Vyatkin
bc8a044ab1
Chore: Use GitHub actions ( #661 )
...
* run cypress on github action
* add lint action
* add test and coverage action
* upgrade testing dependencies
* upgrade linting dependencies
* add bundlesize action
* fix env name, prevent husky
* add npm publish step
* upgrade cypress to latest non-breaking version
* fix postversion script
* don't share full token with bundlesize
* nicer version commit
* add preversion script, use `--atomic` and don't publish tests
* enforce tagged and signed version
* restored bump-cache
2019-10-21 17:20:39 +01:00