Skip to content

Commit ea14d90

Browse files
authored
Merge pull request #1 from forzagreen/feature/turkish
Feature/turkish
2 parents b33df78 + 0691fe1 commit ea14d90

File tree

17 files changed

+1776
-1303
lines changed

17 files changed

+1776
-1303
lines changed

.github/workflows/nodejs.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on: [push]
44

55
jobs:
66
build:
7-
87
runs-on: ubuntu-latest
98

109
strategy:
@@ -22,5 +21,7 @@ jobs:
2221
npm install
2322
npm run build --if-present
2423
npm test
24+
npm publish --dry-run
2525
env:
2626
CI: true
27+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.github/workflows/npm-publish.yml

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
name: npm publish
2+
3+
on:
4+
push:
5+
tags:
6+
- v*
7+
8+
jobs:
9+
build:
10+
runs-on: ubuntu-latest
11+
12+
strategy:
13+
matrix:
14+
node-version: [8.x, 10.x, 12.x]
15+
16+
steps:
17+
- uses: actions/checkout@v1
18+
- name: Use Node.js ${{ matrix.node-version }}
19+
uses: actions/setup-node@v1
20+
with:
21+
node-version: ${{ matrix.node-version }}
22+
- name: npm install, build, test, and publish
23+
run: |
24+
npm install
25+
npm run build --if-present
26+
npm test
27+
npm publish
28+
env:
29+
CI: true
30+
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}

.npmignore

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,70 @@
1+
.github
2+
.travis.yml
3+
test/
4+
5+
###### Copied from .gitignore ######
6+
7+
# custom
8+
.coveralls.yml
9+
10+
# Logs
11+
logs
12+
*.log
13+
npm-debug.log*
14+
yarn-debug.log*
15+
yarn-error.log*
16+
17+
# Runtime data
18+
pids
19+
*.pid
20+
*.seed
21+
*.pid.lock
22+
23+
# Directory for instrumented libs generated by jscoverage/JSCover
24+
lib-cov
25+
26+
# Coverage directory used by tools like istanbul
27+
coverage
28+
29+
# nyc test coverage
30+
.nyc_output
31+
32+
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files)
33+
.grunt
34+
35+
# Bower dependency directory (https://bower.io/)
36+
bower_components
37+
38+
# node-waf configuration
39+
.lock-wscript
40+
41+
# Compiled binary addons (https://nodejs.org/api/addons.html)
42+
build/Release
43+
44+
# Dependency directories
45+
node_modules/
46+
jspm_packages/
47+
48+
# TypeScript v1 declaration files
49+
typings/
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional REPL history
58+
.node_repl_history
59+
60+
# Output of 'npm pack'
61+
*.tgz
62+
63+
# Yarn Integrity file
64+
.yarn-integrity
65+
66+
# dotenv environment variables file
67+
.env
68+
69+
# next.js build output
70+
.next

CHANGELOG.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,15 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1414
### Fixed
1515
- N/A
1616

17+
## [1.3.0] - 2019-12-28
18+
### Added
19+
- Support for language: `tr`.
20+
- CI/CD with GitHub Actions.
21+
- `.npmignore` and publish from CI/CD.
22+
### Changed
23+
- Split tests to a file per languague
24+
- Update dev packages
25+
1726
## [1.2.0] - 2019-03-23
1827
### Added
1928
- Support for language: `it`.

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,4 +33,4 @@ n2words(123, {lang: 'es'}) // 'ciento veintitrés'
3333
- `fr` (French)
3434
- `it` (Italian)
3535
- `pt` (Portuguese)
36-
36+
- `tr` (Turkish)

0 commit comments

Comments
 (0)