Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
f32e8af
add CODEOWNERS file (#262)
acmei Jul 29, 2020
e34c8ac
Bump elliptic from 6.5.2 to 6.5.3 (#266)
dependabot[bot] Aug 25, 2020
17a07bd
bar chart gradient example in docs (#268)
iezer Sep 22, 2020
ceead23
Sankey sorting (#269)
iezer Oct 30, 2020
df46156
3.2.0
siezerp Oct 30, 2020
8609370
v3.2.0 release
siezerp Oct 30, 2020
c777d0c
Fix YAxisLabels formatting example (#271)
mbonaci Dec 4, 2020
6bc0145
3.2.1
siezerp Dec 4, 2020
d1d919d
3.2.1 release
siezerp Dec 4, 2020
dd1c004
[A11y] add aria-hidden attributes to XYPlot (#273)
ekh64 Dec 10, 2020
d02bd31
3.2.2
acmei Dec 10, 2020
3315513
Add changelog edit for 3.2.2
acmei Dec 10, 2020
b27cf03
v3.2.2 release
acmei Dec 10, 2020
e57f4c7
v3.2.2 release
acmei Dec 10, 2020
eb6dd4d
Upgrade D3 6.3.1 (#276)
iezer Jan 7, 2021
3b75f73
4.0.0
siezerp Jan 7, 2021
5f5fad3
v4.0.0 release
siezerp Jan 7, 2021
081aea0
remove old node versions. Support >=12 (#287)
iezer May 18, 2021
20108fe
Bump lodash from 4.17.15 to 4.17.21 (#285)
dependabot[bot] May 18, 2021
c2eea0e
Bump elliptic from 6.5.3 to 6.5.4 (#278)
dependabot[bot] May 18, 2021
ab11bf6
5.0.0
siezerp May 20, 2021
0295eef
v5.0.0 release
siezerp May 20, 2021
f0e5ae7
Migrate jsdom tests to jest (#291)
PRTTMPRPHT Jul 12, 2021
744b650
Create dependabot.yml
siezerp Jul 29, 2021
3da0d38
[Infra] Enable a Github Action for CI (#308)
ekh64 Sep 1, 2021
0527b6f
Feature/arackis/make work with d3 v7 (#307)
arackaf Sep 1, 2021
8567b7c
fix lockfile
ekh64 Sep 1, 2021
5841c62
6.0.0
ekh64 Sep 1, 2021
d012990
v6.0.0 release
ekh64 Sep 10, 2021
2a456ec
Merge branch 'master' into gh-pages-v6
ekh64 Sep 10, 2021
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 0 additions & 23 deletions .babelrc

This file was deleted.

12 changes: 12 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://help.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/" # Location of package manifests
open-pull-requests-limit: 10
schedule:
interval: "daily"
30 changes: 30 additions & 0 deletions .github/workflows/node.js.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
# This workflow will do a clean install of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://help.github.com/actions/language-and-framework-guides/using-nodejs-with-github-actions

name: Node.js CI

on:
push:
branches: [master]
pull_request:
branches: [master]

jobs:
build:
runs-on: ubuntu-latest

strategy:
matrix:
node-version: [12.x, 14.x, 16.x]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v2
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run build --if-present
- run: npm test
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,4 @@ node_modules
.DS_Store
Thumbs.db
npm-debug.log
/coverage
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
## 6.0.0 (2021-09-10)

- [#307](https://github.com/spotify/reactochart/pull/307) Enable support for d3 7, and still support 6
- [#308](https://github.com/spotify/reactochart/pull/308) Enable GitHub Actions for CI

## 5.0.0 (2021-05-20)

- Remove support for Node 8-10. Support 12 and up.
Expand Down
26 changes: 26 additions & 0 deletions babel.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
module.exports = {
presets: [
[
'@babel/preset-env',
{
targets: {
browsers: '> 3%',
},
},
],
'@babel/preset-react',
'@babel/preset-flow',
],
plugins: [
'@babel/plugin-proposal-class-properties',
'@babel/plugin-proposal-object-rest-spread',
],
env: {
production: {
plugins: ['lodash'],
},
test: {
plugins: ['babel-plugin-rewire'],
},
},
};
6 changes: 5 additions & 1 deletion docs/build/bundle.acc0f65bd6d7a7f77161.js.map

Large diffs are not rendered by default.

90 changes: 90 additions & 0 deletions docs/build/bundle.d017589e49b4f7214f9e.js

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions docs/build/bundle.d017589e49b4f7214f9e.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/build/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -31,5 +31,5 @@
</div>

<div class="container-fluid" id="container">Loading...</div>
<script type="text/javascript" src="bundle.9c47c8b78dfea8972d44.js"></script></body>
<script type="text/javascript" src="bundle.d017589e49b4f7214f9e.js"></script></body>
</html>
14 changes: 14 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
const dontTranspiledThese = ['internmap', 'delaunator', 'robust-predicates'];
const dontTranspile = dontTranspiledThese.join('|');

const config = {
collectCoverage: true,
collectCoverageFrom: ['src/**/*.js'],
setupFiles: ['<rootDir>/tests/jsdom/setup.js'],
setupFilesAfterEnv: ['./node_modules/jest-enzyme/lib/index.js'],
transformIgnorePatterns: [
`[/\\\\]node_modules[/\\\\]((?!(?<=[/\\\\])(d3-?|${dontTranspile})).)+\\.(js|jsx|ts|tsx)$`,
],
};

module.exports = config;
Loading