Skip to content

Commit

Permalink
adapt to sgratzl organization and new plugin name
Browse files Browse the repository at this point in the history
  • Loading branch information
sgratzl committed Jan 4, 2020
1 parent 15226ee commit 5d7e4e6
Show file tree
Hide file tree
Showing 17 changed files with 3,042 additions and 6,428 deletions.
29 changes: 0 additions & 29 deletions .circleci/config.yml

This file was deleted.

4 changes: 0 additions & 4 deletions .editorconfig
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,6 @@ charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[gulpfile.js]
indent_style = space
indent_size = 2

[*.yml]
indent_style = space
indent_size = 2
6 changes: 4 additions & 2 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,10 @@ env:
es6: true
jquery: true
node: true
jest: true

parserOptions:
ecmaVersion: 2018
sourceType: module

# http://eslint.org/docs/rules/
Expand Down Expand Up @@ -43,7 +45,7 @@ rules:
accessor-pairs: 2
array-callback-return: 0
block-scoped-var: 0
complexity: [2, 20]
complexity: [2, 15]
consistent-return: 0
curly: [2, all]
default-case: 2
Expand Down Expand Up @@ -152,7 +154,7 @@ rules:
max-nested-callbacks: 0
max-params: 0
max-statements-per-line: 0
max-statements: [2, 40]
max-statements: [2, 43]
multiline-ternary: 0
new-cap: 0
new-parens: 2
Expand Down
3 changes: 3 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# These are supported funding model platforms

github: [sgratzl]
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
---
name: Bug report
about: Create a report to help us improve
title: ''
labels: 'bug'
assignees: ''

---

**Describe the bug**
A clear and concise description of what the bug is.

**To Reproduce**
Steps to reproduce the behavior:
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error

**Expected behavior**
A clear and concise description of what you expected to happen.

**Screenshots**
If applicable, add screenshots to help explain your problem.

**Desktop (please complete the following information):**
- OS: [e.g. iOS]
- Browser [e.g. chrome, safari]
- Version [e.g. 22]

**Smartphone (please complete the following information):**
- Device: [e.g. iPhone6]
- OS: [e.g. iOS8.1]
- Browser [e.g. stock browser, safari]
- Version [e.g. 22]

**Additional context**
Add any other context about the problem here.
20 changes: 20 additions & 0 deletions .github/ISSUE_TEMPLATE/feature_request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
name: Feature request
about: Suggest an idea for this project
title: ''
labels: 'enhancement'
assignees: ''

---

**Is your feature request related to a problem? Please describe.**
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

**Describe the solution you'd like**
A clear and concise description of what you want to happen.

**Describe alternatives you've considered**
A clear and concise description of any alternative solutions or features you've considered.

**Additional context**
Add any other context or screenshots about the feature request here.
19 changes: 19 additions & 0 deletions .github/workflows/nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
name: nodeci

on: [push]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v1
- uses: actions/setup-node@v1
with:
node-version: '10.x'
- name: npm install, build, and test
run: |
npm install
npm test
npm run build --if-present
env:
CI: true
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -42,4 +42,7 @@ jspm_packages
# Idea
.idea

# Build files
/build

*.tgz
4 changes: 2 additions & 2 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"hooks": {
"before:init": "npm test",
"before:release": "npm run build",
"before:release": "npm run build & npm pack",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
},
"git": {
Expand All @@ -12,6 +12,6 @@
},
"github": {
"release": true,
"assets": ["build/*.js", "build/*.mjs"]
"assets": ["build/*.js", "*.tgz"]
}
}
7 changes: 0 additions & 7 deletions .travis.yml

This file was deleted.

18 changes: 0 additions & 18 deletions .vscode/settings.json

This file was deleted.

18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,11 +7,11 @@ Chart.js module for adding a new categorical scale which mimics a hierarchical t

## Install
```bash
npm install --save chart.js chartjs-scale-hierarchical
npm install --save chart.js chartjs-plugin-hierarchical
```

## Usage
see [Samples](https://github.com/datavisyn/chartjs-scale-hierarchical/tree/master/samples) on Github
see [Samples](https://github.com/sgratzl/chartjs-plugin-hierarchical/tree/master/samples) on Github

or at this [CodePen](https://codepen.io/sgratzl/pen/vrVXae)

Expand Down Expand Up @@ -104,14 +104,14 @@ npm run build
***

<div style="display:flex;align-items:center">
<a href="http://datavisyn.io"><img src="https://user-images.githubusercontent.com/1711080/37700685-bcbb18c6-2cec-11e8-9b6f-f49c9ef6c167.png" align="left" width="50px" hspace="10" vspace="6"></a>
Developed by&nbsp;<strong><a href="http://datavisyn.io">datavisyn</a></strong>.
<a href="https://www.datavisyn.io"><img src="https://user-images.githubusercontent.com/1711080/37700685-bcbb18c6-2cec-11e8-9b6f-f49c9ef6c167.png" align="left" width="50px" hspace="10" vspace="6"></a>
Developed by&nbsp;<strong><a href="https://www.datavisyn.io">datavisyn</a></strong>.
</div>

[datavisyn-image]: https://img.shields.io/badge/datavisyn-io-black.svg
[datavisyn-url]: http://datavisyn.io
[npm-image]: https://badge.fury.io/js/chartjs-scale-hierarchical.svg
[npm-url]: https://npmjs.org/package/chartjs-scale-hierarchical
[circleci-image]: https://circleci.com/gh/datavisyn/chartjs-scale-hierarchical.svg?style=shield
[circleci-url]: https://circleci.com/gh/datavisyn/chartjs-scale-hierarchical
[datavisyn-url]: https://www.datavisyn.io
[npm-image]: https://badge.fury.io/js/chartjs-plugin-hierarchical.svg
[npm-url]: https://npmjs.org/package/chartjs-plugin-hierarchical
[circleci-image]: https://circleci.com/gh/sgratzl/chartjs-plugin-hierarchical.svg?style=shield
[circleci-url]: https://circleci.com/gh/sgratzl/chartjs-plugin-hierarchical

2 changes: 1 addition & 1 deletion .babelrc → babel.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
module.exports = {
"presets": [
[
"@babel/preset-env",
Expand Down
3 changes: 3 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
module.exports = {
transformIgnorePatterns: []
};
Loading

0 comments on commit 5d7e4e6

Please sign in to comment.