Skip to content

Releases: types/_generator-typings

Update tsconfig

02 May 06:57
Compare
Choose a tag to compare

Fix npm install

30 Apr 05:25
Compare
Choose a tag to compare
  • Fix npm install when the package name does not match repo name
  • Remove nodegit and github dependency. They are not used in main. Will be using github and simplegit in 1.0

Misc update

06 Apr 00:49
Compare
Choose a tag to compare

Fix v0.14.8 that npm actual ignores the .npmignore file itself.

Add .npmignore

06 Apr 00:23
Compare
Choose a tag to compare

Thanks for @OlsonDev pointing out npm/npm#1862, the .gitignore is being renamed to .npmignore, causing files in node_modules, typings to be included in the git repo by default.

Added .npmignore to avoid that conversion.

tslint 3.7.0

04 Apr 16:46
Compare
Choose a tag to compare

Finally landed.

Now we will be using the official tslint.

Minor release

03 Apr 19:47
Compare
Choose a tag to compare

Discover a test code in beta gets into the current workflow.
Separated them into different generator so this won't happen next time. :)

Update section update and beta

02 Apr 19:14
Compare
Choose a tag to compare

This release fix an important mistake in the Updating section of the generated repo.
The version you should be filling in is typings.json/version, not package.json/version.

Also fixed a typo by @Fank .

In this release, I created a beta section to test the flow for 1.0 release.
You can access it by running yo typings --beta.
It simply asks questions. Does not perform any actually scaffolding yet.

Please let me know what do you think about the questions.
Are they clear, any room for improvement, any way to better structure them.

Ideas welcome!

Reliability

02 Apr 19:09
Compare
Choose a tag to compare

When I switch back to use my version of tslint. I tried again using github:unional/tslint instead of git+https://github.com/unional/tslint.git.

It turns out it is still not stable. To avoid installation failure, in this release I switch back to git+https://github.com/unional/tslint.git

Misc before the big one

02 Apr 02:20
Compare
Choose a tag to compare

Applies to 0.14.0 to 0.14.3.

In 0.14.0, I tried to upgrade to tslint 3.7.0 as it supports the extends feature. But it turns out 3.7.0 is not released yet (although it is tagged on github).

So to avoid breakage, I need to revert it back to my own version.

In the meantime, this release contains some minor fixes:

  • Remove is-callable from typings.json
  • Fix several places when the npm name is not the same as the repository name.

A new version will be released as soon as tslint 3.7.0 is released.

Disable npm install

28 Mar 07:36
Compare
Choose a tag to compare

In this release onward, generator-typings will not automatically run npm install as part of the scaffolding process.

This is because currently the devDependencies takes about 1 minutes to run and I don't want that to slow you down.

So instead, it will ask you to run npm install manually. You can open your editor before running npm install or you can run npm install & and open your editor.
This way, you can start writing typings immediately.
Once the installation completes, you can run npm run watch and it will monitor your change, build and run tests for you.

Also in this release there are some minor fixes on test and linting.