Skip to content

Commit

Permalink
chore: convert to TypeScript (#214)
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinBeckwith authored May 3, 2018
1 parent 5110c2f commit 783cb88
Show file tree
Hide file tree
Showing 35 changed files with 1,185 additions and 171 deletions.
65 changes: 34 additions & 31 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,20 +19,20 @@ workflows:
filters:
tags:
only: /.*/
# - lint:
# requires:
# - node4
# - node6
# - node8
# - node9
# - node10
# filters:
# tags:
# only: /.*/
- node10:
filters:
tags:
only: /.*/
- lint:
requires:
- node4
- node6
- node8
- node9
- node10
filters:
tags:
only: /.*/
- docs:
requires:
- node4
Expand All @@ -45,7 +45,7 @@ workflows:
only: /.*/
- publish_npm:
requires:
- lint
# - lint
- docs
filters:
branches:
Expand Down Expand Up @@ -108,26 +108,26 @@ jobs:
- image: 'node:10'
user: node
steps: *unit_tests_steps
lint:
docker:
- image: 'node:8'
user: node
steps:
- checkout
- run: *remove_package_lock
- run:
name: Install modules and dependencies.
command: |
mkdir -p /home/node/.npm-global
npm install
npm link
environment:
NPM_CONFIG_PREFIX: /home/node/.npm-global
- run:
name: Run linting.
command: npm run lint
environment:
NPM_CONFIG_PREFIX: /home/node/.npm-global
# lint:
# docker:
# - image: 'node:8'
# user: node
# steps:
# - checkout
# - run: *remove_package_lock
# - run:
# name: Install modules and dependencies.
# command: |
# mkdir -p /home/node/.npm-global
# npm install
# npm link
# environment:
# NPM_CONFIG_PREFIX: /home/node/.npm-global
# - run:
# name: Run linting.
# command: npm run lint
# environment:
# NPM_CONFIG_PREFIX: /home/node/.npm-global
docs:
docker:
- image: 'node:8'
Expand All @@ -150,6 +150,9 @@ jobs:
- run:
name: Set NPM authentication.
command: 'echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc'
- run:
name: Install dependencies
command: npm install --unsafe-perm
- run:
name: Publish the module to npm.
command: npm publish
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,5 @@ doc/
out/
system-test/secrets.js
system-test/*key.json
build
.vscode
2 changes: 1 addition & 1 deletion .jsdoc.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ module.exports = {
source: {
excludePattern: '(^|\\/|\\\\)[._]',
include: [
'lib'
'build/src'
],
includePattern: '\\.js$'
},
Expand Down
Loading

0 comments on commit 783cb88

Please sign in to comment.