Skip to content

Commit

Permalink
Merge pull request #83 from hexenq/dev
Browse files Browse the repository at this point in the history
* upgrade to babel 7

* attempt to fix errors occurring when converting っ to romaji (#61)

* fix: wrong regex pattern fixed

* build: bump deps

* build(npm): add husky and lint-staged for pre-commit check

* Esperanto docs (#71)

* Update docs

* add ready to use code in readme (#77)

* build: bump deps

Co-authored-by: Omar Diab <me@omardiab.com>
Co-authored-by: erdOne <36414270+erdOne@users.noreply.github.com>
Co-authored-by: bbible3 <46682358+bbible3@users.noreply.github.com>
Co-authored-by: Richard Osmar Leon Ingaruca <import.linet@gmail.com>
  • Loading branch information
5 people committed Jun 7, 2021
2 parents 5dae49f + 764ce90 commit 39531b1
Show file tree
Hide file tree
Showing 15 changed files with 351 additions and 91 deletions.
46 changes: 16 additions & 30 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -1,24 +1,21 @@
{
"presets": [
"env"
"@babel/preset-env"
],
"plugins": [
"add-module-exports",
[
"transform-runtime",
"@babel/plugin-transform-runtime",
{
"helpers": false,
"polyfill": false,
"regenerator": true,
"moduleName": "babel-runtime"
"regenerator": true
}
]
],
"env": {
"cjs": {
"presets": [
[
"env",
"@babel/preset-env",
{
"targets": {
"node": "6"
Expand All @@ -27,22 +24,19 @@
]
],
"plugins": [
"add-module-exports",
[
"transform-runtime",
"@babel/plugin-transform-runtime",
{
"helpers": false,
"polyfill": false,
"regenerator": true,
"moduleName": "babel-runtime"
"regenerator": true
}
]
]
},
"es": {
"presets": [
[
"env",
"@babel/preset-env",
{
"targets": {
"browsers": [
Expand All @@ -57,20 +51,18 @@
],
"plugins": [
[
"transform-runtime",
"@babel/plugin-transform-runtime",
{
"helpers": false,
"polyfill": false,
"regenerator": true,
"moduleName": "babel-runtime"
"regenerator": true
}
]
]
},
"umd": {
"presets": [
[
"env",
"@babel/preset-env",
{
"targets": {
"browsers": [
Expand All @@ -83,22 +75,19 @@
]
],
"plugins": [
"add-module-exports",
[
"transform-runtime",
"@babel/plugin-transform-runtime",
{
"helpers": false,
"polyfill": false,
"regenerator": true,
"moduleName": "babel-runtime"
"regenerator": true
}
]
]
},
"test": {
"presets": [
[
"env",
"@babel/preset-env",
{
"targets": {
"node": "6"
Expand All @@ -107,17 +96,14 @@
]
],
"plugins": [
"add-module-exports",
[
"transform-runtime",
"@babel/plugin-transform-runtime",
{
"helpers": false,
"polyfill": false,
"regenerator": true,
"moduleName": "babel-runtime"
"regenerator": true
}
]
]
}
}
}
}
1 change: 1 addition & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@
"no-console": 0,
"padded-blocks": 0,
"indent": ["error", 4, {"SwitchCase": 1}],
"arrow-parens": ["error", "as-needed",{ "requireForBlockBody": true }],
"spaced-comment": 1,
"quotes": ["error", "double", { "allowTemplateLiterals": true }],
"import/prefer-default-export": "off",
Expand Down
22 changes: 22 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,25 @@
<a name="1.2.0"></a>
## [1.2.0](https://github.com/hexenq/kuroshiro/compare/1.1.2...1.2.0) (2021-6-7)

### Bug Fixes

* fix errors occurring when converting っ to romaji ([#61](https://github.com/hexenq/kuroshiro/issues/61))
* fix wrong regex pattern ([#60](https://github.com/hexenq/kuroshiro/issues/60))

### Dependencies

* Upgrade to babel 7
* Update other dependencies

### Documents

* Add ready to use code in readme
* Add Esperanto docs

### Miscellaneous

* Add husky and lint-staged for pre-commit check

<a name="1.1.2"></a>
## [1.1.2](https://github.com/hexenq/kuroshiro/compare/1.1.1...1.1.2) (2018-10-19)

Expand Down
2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2015-2019 Hexen Qi <hexenq@gmail.com>
Copyright (c) 2015-2021 Hexen Qi <hexenq@gmail.com>

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 39531b1

Please sign in to comment.