Commit Graph

295 Commits (420fa78abe98440d24e2c5af2f683e040409e0a6)

Author SHA1 Message Date
Jan van Brügge f30fa33707
chore(deps): update devDependencies (#1036) 2 years ago
Jan van Brügge 3be76a428b
chore(release): v3.5.1 3 years ago
Jan van Brügge fed2f31b89
chore(release): v3.5.0 3 years ago
Jan van Brügge 9d9275467a
chore(deps): update devDependencies 3 years ago
Jan van Brügge 23b842256f
chore(release): v3.4.0 3 years ago
Jan van Brügge aa4dc9c3a9
chore(deps): update devDependencies 3 years ago
Jan van Brügge b130c26cc1
chore(release): v3.3.1 3 years ago
Jan van Brügge 9de2307dd9
chore(release): v3.3.0 3 years ago
Jan van Brügge 77d6753dd4
chore(test): remove snabbdom benchmarks
The benchmark code was not yet updated to version 3 of snabbdom and
thus cannot be run at the moment. Further, it depends on faker, which is
not available any more. So for now, the benchmark code and all its
dependencies have been removed. In the future we should again add
benchmarks and can reference this commit for some code.
3 years ago
Jan van Brügge cf3e6ac038
chore(deps): update dev dependencies
This also converts the lockfile from version 1 to version 2
3 years ago
Jan van Brügge ce95a24e73
chore(release): v3.2.0 3 years ago
Jan van Brügge 6696e627df
chore(deps): update dev dependencies 3 years ago
shanyue 60832ac91b
chore(tools): add npm run example (#982) 3 years ago
Jan van Brügge b22e46a9a9
chore(release): v3.1.0 3 years ago
Jan van Brügge 27e9c4d5dc
chore(release): v3.0.3 4 years ago
Jan van Brügge b8707ad68e
fix: build and test code before release 4 years ago
Jan van Brügge ca33a03142
chore(release): v3.0.2 4 years ago
Jan van Brügge 9e7db265ee
chore(deps): update dev dependencies (#968) 4 years ago
Jan van Brügge 7c93d793f9
chore(deps): update dev dependencies (#962) 4 years ago
Jan van Brügge 014ad7e74d
chore(deps): update devDependencies (#956) 4 years ago
Jan van Brügge adbdf229d2
chore(release): v3.0.1 4 years ago
Jan van Brügge 995b983f04
fix: reference type declarations in package.json 4 years ago
Jan van Brügge a16b47e947
chore(release): v3.0.0 4 years ago
Jan van Brügge 852401345e
feat: mark the snabbdom package as side effect free
This is useful for bundlers. When dealing with reexports, this setting
allows e.g. webpack to optimize reexports. See the webpack documentation
for more information about this setting
4 years ago
Jan van Brügge f2d49f1658
chore(deps): update devDependencies 4 years ago
Jan van Brügge 0e34828632
chore(test): make tests run again on older browsers
When removing unnecessary dependencies, polyfills like core-js were
removed, as well as webpack which bundled the tests to es5. With this
commit, tests that need specific browser features are skipped if the
browser does not support them and the code is compiled to es5 by
karma-typescript
4 years ago
Jan van Brügge afec1f609f
chore(tools): replace standard-version with release-it
release-it automates all the steps defined in CONTRIBUTING.md. In
addition to that it can also create GitHub releases with the relevant
part of the CHANGELOG
4 years ago
Jan van Brügge 91b9f13c85
chore(tools): remove remark
Now that we use prettier, we can automatically format the README
anyways. The only difference then would be the automatic table of
contents, but the structure of the README does not change often and is
not very complex, so there is not really a need to automate this
4 years ago
Jan van Brügge 02dffe1060
chore(deps): update dependencies 4 years ago
Jan van Brügge a973885c8a
chore(docs): reorder fields in package.json
This puts the fields a user of snabbdom would be interested in at the
very top (including stuff like license information, homepage etc). After
that come the fields interesting to a snabbdom developer like scripts
and devDependencies. Lastly is the configuration for dev tooling
4 years ago
Jan van Brügge 7a0606c424
chore(deps): remove unused dependencies 4 years ago
Jan van Brügge 821d12af27
chore(tools): use commithelper instead of commitlint
commitlint can't provide the user with a convenient prompt to create a
fitting commit message, while commitizen is not able to lint an existing
commit message. The newly released commithelper does both
4 years ago
Jan van Brügge aad70ebb8c
chore(tools): do not run tests on pre-commit 4 years ago
Jan van Brügge 5d5fc5a362
feat: add JSX namespace to jsx factory
This allows the user to use multiple different JSX factory functions in
the same project as each one brings their own types
4 years ago
Jan van Brügge 8d0a666182
chore(tools): enable eslint with prettier config
ISSUES CLOSED: #709
4 years ago
Jan van Brügge b7ddb94583
chore(tools): replace webpack with karma-typescript for unit tests
ISSUES CLOSED: #538, #801
4 years ago
Jan van Brügge ebf6915794
feat: offer esm and commonjs bundles
This makes it easier to use snabbdom with tools like mocha that do not
support ES modules
4 years ago
Jan van Brügge 7af7e3f684
feat: export everything from 'snabbdom'
ISSUES CLOSED: #913, #748
BREAKING CHANGE:
The imports of snabbdom functions have changed. Every file in the
project had to be imported on its own, e.g.
```
import { h } from 'snabbdom/h'
import { VNode } from 'snabbdom/vnode'
```
Now, the main snabbdom package exports all of the public API like
```
import { h, VNode } from 'snabbdom'
```
This means consumers of the snabbdom package need to update their
imports. The change makes the use of the `exports` field in
`package.json` unnecessary, which caused issues for TypeScript users
4 years ago
Jan van Brügge a1e505370d
chore(refactor): move tests to own folder 4 years ago
Jan van Brügge 3f428cf808
chore(tools): remove custom compiler plugin 4 years ago
Shahar Or (mightyiam) 8741f90d06 chore(deps): update webpack packages 4 years ago
Shahar Or (mightyiam) 373572ec41 chore(deps): update dependency karma-firefox-launcher to v2 4 years ago
Shahar Or (mightyiam) 2d88e73c13 chore(deps): update eslint packages 4 years ago
Renovate Bot f4e0b1a12a chore(deps): update dependency @types/faker to v5.1.6 4 years ago
Renovate Bot 9d031ad7eb chore(deps): pin dependencies 4 years ago
Shahar Or (mightyiam) d1582aa60a chore(deps): update dependency faker to v5.4.0 4 years ago
Shahar Or (mightyiam) 0b4607b678 chore(deps): update dependency mathjs to v9 4 years ago
Shahar Or (mightyiam) ca4483438e chore(deps): update dependency husky to v5 4 years ago
Shahar Or (mightyiam) d74b8478cd fix(package): rm script mark-pr-head-as-trusted 4 years ago
Shahar Or (mightyiam) d04b7ad435 chore(ci): replace travis with gh actions 4 years ago