Skip to content

Commit

Permalink
Merge pull request #35 from sineverba/typescript
Browse files Browse the repository at this point in the history
Move to TypeScript
  • Loading branch information
sineverba committed Feb 23, 2023
2 parents 1636c3e + c455176 commit 5a1bed3
Show file tree
Hide file tree
Showing 12 changed files with 4,311 additions and 2,135 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:

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

steps:
- checkout
Expand Down
4 changes: 3 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -6,4 +6,6 @@ npm-debug.log
.DS_Store
.nyc_output
.scannerwork/
data/
data/
lib/
dist/
5 changes: 2 additions & 3 deletions .semaphore/semaphore.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ blocks:
- name: Test
matrix:
- env_var: NODE_VERSION
values: [ "12", "14", "16", "18" ]
values: [ "14", "16", "18" ]
commands:
- sem-version node $NODE_VERSION
- npm run test
Expand All @@ -49,15 +49,14 @@ blocks:
commands:
- checkout
- cache restore
- npm run coverage
jobs:
- name: Coverage
commands:
- export COVERALLS_REPO_TOKEN=$COVERALLS_NPM_PKG_SHORTFIELD
- npm run cover
- cat coverage/lcov.info | node_modules/coveralls/bin/coveralls.js
- name: Sonarcloud
commands:
- npm run cover
- >-
docker run
--rm
Expand Down
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Next version
+ Upgrade dependencies
+ Move to TypeScript

## 1.2.0
+ Refactor Semaphore
Expand Down
5 changes: 5 additions & 0 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
/** @type {import('ts-jest').JestConfigWithTsJest} */
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node',
};

0 comments on commit 5a1bed3

Please sign in to comment.