Skip to content

Releases: types/_generator-typings

Exclude source-test

27 Mar 07:38
Compare
Choose a tag to compare

source-test contains files ported from source. They should not be linted during build.

Add watch and friends

27 Mar 03:28
Compare
Choose a tag to compare

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

24 Mar 08:29
Compare
Choose a tag to compare

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

23 Mar 22:47
Compare
Choose a tag to compare
  • 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

23 Mar 09:22
Compare
Choose a tag to compare

Mostly Update README

Add source

23 Mar 09:04
Compare
Choose a tag to compare

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

23 Mar 08:19
Compare
Choose a tag to compare

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

23 Mar 08:15
Compare
Choose a tag to compare

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

21 Mar 00:52
Compare
Choose a tag to compare

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

10 Mar 00:02
Compare
Choose a tag to compare

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.