Releases: types/_generator-typings
Exclude source-test
source-test
contains files ported from source. They should not be linted during build.
Add watch and friends
npm run watch
is now available.
To work on the typings, you simply run npm run watch
and start coding. It will handle build and test for you.
The commands are simplified and will echo itself so you know which task is executing.
is-callable
is removed as the tests can rely of typeof X === 'function'
directly.
Add prepublish and remaining test scripts
Prepublish is added so anyone who fork the typings repo will have plumbing ready. Thanks @nevir .
Remaining tests are added: test-all
, tdd
, tdd-all
. source-test
currently is a placeholder.
User can update it to work with respective source package test harness.
Misc update
- The scripts folder is removed as I can run
onchange
directly in NPM script - Fix test to run at root with project (reading
tsconfig.json
) - Misc update for development.
Minor update
Mostly Update README
Add source
Now it will automatically add the source as a submodule under source
folder.
So that you can easily access the source code and grep their tests (more on that later).
Add watch
Now you can run npm run watch
to watch for index.d.ts
changes and automatically update the bundle files.
The tsconfig.json
is also improved to work for both writing and testing.
is-callable
is added as a test tool as it is very common to use it in writing typings.
Typings for the test tools are installed so you don't need to do it manually.
Better bundling
Now bundle will bundle files to out
instead of in test
. This make it more neutral for future.
Also updated custom tslint
to use git+https
, solving some reliability issue.
Standardize coding style
In this release the coding style is standardized using tslint-config-typings
. Currently the extends
feature of tslint
is still in discussion but I'm using my branch in this release so that we can start using it sooner.
Also updated the generated README.md
to include Contributing section.
Use local typings
The generated repository will now use a local copy of typings
to avoid version mismatch.
Also the Ambient question is default to false instead of true.