Releases: types/_generator-typings
Update tsconfig
Fix npm install
- Fix npm install when the package name does not match repo name
- Remove
nodegit
andgithub
dependency. They are not used in main. Will be usinggithub
andsimplegit
in 1.0
Misc update
Fix v0.14.8
that npm actual ignores the .npmignore
file itself.
Add .npmignore
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
Finally landed.
Now we will be using the official tslint
.
Minor release
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
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
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
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
fromtypings.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
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.