Skip to content

Commit

Permalink
Merge pull request #519 from tylingsoft/master
Browse files Browse the repository at this point in the history
Modernize mermaid
  • Loading branch information
knsv authored Apr 17, 2017
2 parents ca5a96f + 2fa4df2 commit 189758c
Show file tree
Hide file tree
Showing 104 changed files with 56,773 additions and 269,609 deletions.
4 changes: 4 additions & 0 deletions .ackrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
--ignore-dir=dist
--ignore-dir=docs
--ignore-dir=editor
--ignore-file=match:/^yarn\.lock$/
12 changes: 12 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
{
"presets": [
[
"env",
{
"targets": {
"node": "current"
}
}
]
]
}
22 changes: 11 additions & 11 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
engines:
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: true
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: true
ratings:
paths:
- "**.js"
paths:
- "**.js"
exclude_paths:
- node_modules/
- dist/
- node_modules/
- dist/
11 changes: 11 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
root = true

[*]
indent_style = space
indent_size = 2
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
indent_size = 4
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

229 changes: 0 additions & 229 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .gitattributes
Original file line number Diff line number Diff line change
@@ -1 +1 @@
*.js text eol=lf
*.js text eol=lf
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,6 @@ bower_components
coverage

test/tmp_*
test/fixtures/samples/*.actual.*
test/fixtures/samples/*.actual*

dist/*.js
36 changes: 21 additions & 15 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
language: node_js
osx_image: xcode7.3
os:
- linux
- osx
sudo: false
node_js:
- "6.2"
- "4.4"
- "5.9"
addons:
code_climate:
repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091
after_script:
- cat coverage/lcov.info | codeclimate
language: node_js
osx_image: xcode8.1
os:
- linux
- osx
sudo: false
node_js:
- "6.9"
- "7.9"
env:
- CXX=g++-4.8
addons:
code_climate:
repo_token: e87e6bf1c253e0555437ebd23235fdfe2749b889358e7c6d100e4ea5b4f2e091
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-4.8
after_script:
- cat coverage/lcov.info | codeclimate
10 changes: 5 additions & 5 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ a pull request, we will love you forever if you include jasmine tests. We can al
Always write a clear log message for your commits. One-line messages are fine for small changes, but bigger changes should look like this:

$ git commit -m "A brief summary of the commit
>
>
> A paragraph describing what changed and its impact."
Coding conventions
Start reading our code and you'll get the hang of it. We optimize for readability:
Expand All @@ -50,10 +50,10 @@ url('/images/blah.gif'), use url('../images/blah.gif').
Fork, then:

```
npm install
yarn install
```

Then the dependencies will have been installed. You use gulp and npm calls as build tools.
Then the dependencies will have been installed. You use gulp and yarn calls as build tools.

The following targets are probably interesting:

Expand All @@ -65,12 +65,12 @@ gulp jison
```
To run the tests:
```
npm run karma
yarn run karma
```

To build the /dist directory
```
npm run dist
yarn run dist
```

Thanks, Knut Sveidqvist
1 change: 0 additions & 1 deletion LICENSE
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,3 @@ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

mermaid [![Build Status](https://travis-ci.org/knsv/mermaid.svg?branch=master)](https://travis-ci.org/knsv/mermaid) [![Code Climate](https://codeclimate.com/github/knsv/mermaid/badges/gpa.svg)](https://codeclimate.com/github/knsv/mermaid)
=======

Expand Down
Loading

0 comments on commit 189758c

Please sign in to comment.