Skip to content
This repository has been archived by the owner on Dec 19, 2024. It is now read-only.

Commit

Permalink
Update and/or configure type declarations.
Browse files Browse the repository at this point in the history
  • Loading branch information
tedium-bot committed Feb 7, 2018
1 parent 014747b commit 8a5b6f2
Show file tree
Hide file tree
Showing 3 changed files with 141 additions and 59 deletions.
6 changes: 5 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ sudo: required
before_script:
- npm install -g polymer-cli
- polymer install --variants
- >-
npm run update-types && git diff --exit-code || (echo -e
'\n\033[31mERROR:\033[0m Typings are stale. Please run "npm run
update-types".' &&false)
env:
global:
- secure: >-
Expand All @@ -23,4 +27,4 @@ script:
- >-
if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then polymer test -s 'default';
fi
dist: trusty
dist: trusty
190 changes: 134 additions & 56 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@
},
"license": "BSD-3-Clause",
"devDependencies": {
"@polymer/gen-typescript-declarations": "^1.0.1",
"@polymer/gen-typescript-declarations": "^1.1.1",
"bower": "^1.8.0"
},
"scripts": {
"update-types": "rm -f *.d.ts **/*.d.ts && bower install && gen-typescript-declarations --outDir ."
"update-types": "bower install && gen-typescript-declarations --deleteExisting --outDir ."
}
}

0 comments on commit 8a5b6f2

Please sign in to comment.