Skip to content

Commit

Permalink
Merge pull request #11 from sineverba/release-1.0.0
Browse files Browse the repository at this point in the history
Release 1.0.0
  • Loading branch information
sineverba committed Feb 25, 2021
2 parents 630d12f + 8fc8e8f commit cd61f8b
Show file tree
Hide file tree
Showing 8 changed files with 1,234 additions and 240 deletions.
17 changes: 17 additions & 0 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2.1
jobs:

test:
docker:
- image: cimg/node:12.21.0

steps:
- checkout
- run: npm ci
- run: npm run test

workflows:
version: 2
test:
jobs:
- test
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,5 @@ build
npm-debug.log
.env
.DS_Store
.npmrc
.npmrc
.nyc_output
2 changes: 1 addition & 1 deletion .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ blocks:
commands:
- checkout
- cache restore
- npm install
- npm ci
- cache store

- name: Test
Expand Down
6 changes: 5 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
# 0.2.0
# 1.0.0
+ Change suite test
+ Add Circle CI

## 0.2.0
+ Move to Semaphore CI
+ Bump dependencies
+ Skip test on tagging
Expand Down
2 changes: 0 additions & 2 deletions Makefile

This file was deleted.

7 changes: 4 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Date Convert
| ------- | ------ |
| NPM | [![npm version](https://badge.fury.io/js/%40sineverba%2Fdate-convert.svg)](https://badge.fury.io/js/%40sineverba%2Fdate-convert) |
| Semaphore CI | [![Build Status](https://sineverba.semaphoreci.com/badges/npm-pkg-date-convert/branches/master.svg)](https://sineverba.semaphoreci.com/projects/npm-pkg-date-convert) |
| Circle CI | [![CircleCI](https://circleci.com/gh/sineverba/npm-pkg-date-convert.svg?style=svg)](https://circleci.com/gh/sineverba/npm-pkg-date-convert) |
| Coverall | [![Coverage Status](https://coveralls.io/repos/github/sineverba/npm-pkg-date-convert/badge.svg?branch=master)](https://coveralls.io/github/sineverba/npm-pkg-date-convert?branch=master) |

`date-convert` converts a 8-digit, ISO format YYYYMMDD, string "19820405" to "05/04/1982" (where 05 is day and 04 is April).
Expand All @@ -29,13 +30,13 @@ console.log(isoDate); // returns 20200102

## Tests

`npm test` for simple test
`npm run test` for simple test

`npm cover` for coverage
`npm run cover` for coverage

### Multiple npm accounts in system

+ Copy `.npmrc.txt` to `.npmrc`
+ Copy `npmrc.txt` to `.npmrc`
+ Add token inside

### Use SSH Git key per-project
Expand Down

0 comments on commit cd61f8b

Please sign in to comment.