This repository has been archived by the owner on Jun 27, 2018. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #84 from teppeis/types
fix: support `types` option with TypeScript 2.4.1
- Loading branch information
Showing
9 changed files
with
111 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
workflows: | ||
version: 2 | ||
node-multi-build: | ||
jobs: | ||
- node-v4 | ||
- node-v6 | ||
- node-v8 | ||
|
||
version: 2 | ||
jobs: | ||
node-base: &node-base | ||
docker: | ||
- image: node | ||
environment: | ||
working_directory: ~/working_directory | ||
steps: | ||
- run: | ||
name: Versions | ||
command: | | ||
yarn versions | ||
echo "npm: $(npm --version)" | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }} | ||
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-npm-lock-master-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }} | ||
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }} | ||
- v{{ .Environment.CIRCLE_CACHE_VERSION }}-npm-cache-master-{{ .Environment.CIRCLE_JOB }} | ||
- run: | ||
name: Install dependencies | ||
command: npm install | ||
- run: | ||
name: Test with TypeScript 2.2 | ||
command: | | ||
npm install --no-save [email protected] | ||
npm test | ||
- run: | ||
name: Test with TypeScript 2.3 | ||
command: | | ||
npm install --no-save [email protected] | ||
npm test | ||
- run: | ||
name: Test with TypeScript 2.4 | ||
command: | | ||
npm install --no-save [email protected] | ||
npm test | ||
- save_cache: | ||
key: v{{ .Environment.CIRCLE_CACHE_VERSION }}-npm-lock-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }} | ||
paths: | ||
- node_modules | ||
- save_cache: | ||
key: v{{ .Environment.CIRCLE_CACHE_VERSION }}-npm-cache-{{ .Branch }}-{{ .Environment.CIRCLE_JOB }}-{{ checksum "package-lock.json" }} | ||
paths: | ||
- /usr/local/share/.cache/yarn | ||
- ~/.npm/_cacache | ||
|
||
node-v4: | ||
<<: *node-base | ||
docker: | ||
- image: node:4 | ||
node-v6: | ||
<<: *node-base | ||
docker: | ||
- image: node:6 | ||
node-v8: | ||
<<: *node-base | ||
docker: | ||
- image: node:8 |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -6,7 +6,7 @@ Simple API to compile TypeScript code string to JavaScript. That's all! | |
[![npm version][npm-image]][npm-url] | ||
[![npm downloads][npm-downloads-image]][npm-url] | ||
![Node.js Version Support][node-version] | ||
[![build status][travis-image]][travis-url] | ||
[![build status][circleci-image]][circleci-url] | ||
[![windows build status][appveyor-image]][appveyor-url] | ||
[![dependency status][deps-image]][deps-url] | ||
![License][license] | ||
|
@@ -156,3 +156,5 @@ MIT License: Teppei Sato <[email protected]> | |
[license]: https://img.shields.io/npm/l/typescript-simple.svg | ||
[appveyor-image]: https://ci.appveyor.com/api/projects/status/22nwyfaf5p0yw54j/branch/master?svg=true | ||
[appveyor-url]: https://ci.appveyor.com/project/teppeis/typescript-simple/branch/master | ||
[circleci-image]: https://circleci.com/gh/teppeis/typescript-simple.svg?style=svg | ||
[circleci-url]: https://circleci.com/gh/teppeis/typescript-simple |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,6 +20,11 @@ test_script: | |
- node --version | ||
- npm --version | ||
# run tests | ||
- npm install --no-save [email protected] | ||
- npm test | ||
- npm install --no-save [email protected] | ||
- npm test | ||
- npm install --no-save [email protected] | ||
- npm test | ||
|
||
# Don't actually build. | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
{ | ||
"env": { | ||
"mocha": true | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters