Compare commits
9 Commits
Author | SHA1 | Date | |
---|---|---|---|
e0f208ba41 | |||
d2cf4346d4 | |||
b769dcae4f | |||
7b58535dda | |||
f16103a632 | |||
befed099c5 | |||
6c0fa380a9 | |||
22de2c784f | |||
e8fe4f1720 |
11
CHANGELOG
11
CHANGELOG
@ -1,11 +0,0 @@
|
|||||||
Please view this file on the master branch, on stable branches it's out of date.
|
|
||||||
|
|
||||||
v 6.0.0 (released)
|
|
||||||
- remove TypeDoc, please look at npmpage
|
|
||||||
- check package.json
|
|
||||||
|
|
||||||
v 7.0.0
|
|
||||||
- switch from mocha to tap
|
|
||||||
- run tests in SubProcesses with coverage
|
|
||||||
- improve ES6 handling
|
|
||||||
- add smartanalytics
|
|
38
docs/getstarted.md
Normal file
38
docs/getstarted.md
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
---
|
||||||
|
name: Get Started
|
||||||
|
description: learn how to quickly write npm TypeScript modules
|
||||||
|
---
|
||||||
|
# Get Started with NPMTS
|
||||||
|
and learn how to quickly write npm TypeScript modules
|
||||||
|
|
||||||
|
## Step1: Install the tools
|
||||||
|
|
||||||
|
To use npmts install it using npm or yarn:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install -g npmts # install with npm
|
||||||
|
yarn global add npmts # install with yarn
|
||||||
|
```
|
||||||
|
|
||||||
|
For the purpose of getting started quickly please also install **gitzone**.
|
||||||
|
It'll proovide awesome scaffolding for new npmts maintained modules and also updates them later on.
|
||||||
|
|
||||||
|
```sh
|
||||||
|
npm install -g gitzone # install with npm
|
||||||
|
yarn global add gitzone # install with yarn
|
||||||
|
```
|
||||||
|
|
||||||
|
You can make sure npmts and gitzone are installed correctly by typing `npmts -v && gitzone -v`.
|
||||||
|
|
||||||
|
## Scaffold a new module
|
||||||
|
|
||||||
|
To scaffold a new module type
|
||||||
|
|
||||||
|
```shell
|
||||||
|
gitzone template npm
|
||||||
|
```
|
||||||
|
|
||||||
|
This will run you through a series of question to get gitzone to know the specifics of your module.
|
||||||
|
Enter all information accordingly.
|
||||||
|
|
||||||
|
## Run NPMTS for the first time
|
@ -1,8 +1,9 @@
|
|||||||
---
|
---
|
||||||
name: Start
|
name: Index
|
||||||
|
description: best practice npm TypeScript modules
|
||||||
---
|
---
|
||||||
# npmts
|
# npmts
|
||||||
Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.
|
best practice npm TypeScript modules
|
||||||
|
|
||||||
## Availabililty
|
## Availabililty
|
||||||
[](https://www.npmjs.com/package/npmts)
|
[](https://www.npmjs.com/package/npmts)
|
||||||
|
4911
package-lock.json
generated
4911
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
@ -1,7 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "npmts",
|
"name": "npmts",
|
||||||
"version": "8.0.1",
|
"version": "8.0.5",
|
||||||
"description": "Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.",
|
"description": "best practice npm TypeScript modules",
|
||||||
"main": "dist/index.js",
|
"main": "dist/index.js",
|
||||||
"bin": {
|
"bin": {
|
||||||
"npmts": "assets/cliNpmts.js"
|
"npmts": "assets/cliNpmts.js"
|
||||||
@ -51,13 +51,13 @@
|
|||||||
"smartcli": "^2.0.7",
|
"smartcli": "^2.0.7",
|
||||||
"smartcov": "^1.0.2",
|
"smartcov": "^1.0.2",
|
||||||
"smarterror": "^1.0.3",
|
"smarterror": "^1.0.3",
|
||||||
"smartfile": "^4.2.17",
|
"smartfile": "^4.2.20",
|
||||||
"smartgulp": "^1.0.6",
|
"smartgulp": "^1.0.6",
|
||||||
"smartpath": "^3.2.8",
|
"smartpath": "^3.2.8",
|
||||||
"smartq": "^1.1.6",
|
"smartq": "^1.1.6",
|
||||||
"smartstream": "^1.0.10",
|
"smartstream": "^1.0.10",
|
||||||
"smartstring": "^2.0.24",
|
"smartstring": "^2.0.24",
|
||||||
"smartsystem": "^1.0.18",
|
"smartsystem": "^2.0.2",
|
||||||
"tapbuffer": "^1.0.29",
|
"tapbuffer": "^1.0.29",
|
||||||
"through2": "^2.0.3",
|
"through2": "^2.0.3",
|
||||||
"tsn": "^2.0.15",
|
"tsn": "^2.0.15",
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
# npmts
|
# npmts
|
||||||
Write npm modules with TypeScript without hassle. TypeScript ready. Fully ES6.
|
best practice npm TypeScript modules
|
||||||
|
|
||||||
## Availabililty
|
## Availabililty
|
||||||
[](https://www.npmjs.com/package/npmts)
|
[](https://www.npmjs.com/package/npmts)
|
||||||
|
95
yarn.lock
95
yarn.lock
@ -33,8 +33,8 @@
|
|||||||
"@types/chai" "*"
|
"@types/chai" "*"
|
||||||
|
|
||||||
"@types/chai@*":
|
"@types/chai@*":
|
||||||
version "4.0.1"
|
version "4.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.1.tgz#37fea779617cfec3fd2b19a0247e8bbdd5133bf6"
|
resolved "https://registry.yarnpkg.com/@types/chai/-/chai-4.0.2.tgz#cce9666f5ee2fa27ffd505d2dfaf53bb02ed2584"
|
||||||
|
|
||||||
"@types/chai@^3.4.35":
|
"@types/chai@^3.4.35":
|
||||||
version "3.5.2"
|
version "3.5.2"
|
||||||
@ -56,9 +56,9 @@
|
|||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
"@types/fs-extra@3.x.x":
|
"@types/fs-extra@4.x.x":
|
||||||
version "3.0.3"
|
version "4.0.0"
|
||||||
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-3.0.3.tgz#1d66eb670ebf657e57c0fda014df340c19d8aa0c"
|
resolved "https://registry.yarnpkg.com/@types/fs-extra/-/fs-extra-4.0.0.tgz#1dd742ad5c9bce308f7a52d02ebc01421bc9102f"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/node" "*"
|
"@types/node" "*"
|
||||||
|
|
||||||
@ -81,8 +81,8 @@
|
|||||||
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-2.0.29.tgz#5002e14f75e2d71e564281df0431c8c1b4a2a36a"
|
resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-2.0.29.tgz#5002e14f75e2d71e564281df0431c8c1b4a2a36a"
|
||||||
|
|
||||||
"@types/node@*", "@types/node@^8.0.10":
|
"@types/node@*", "@types/node@^8.0.10":
|
||||||
version "8.0.17"
|
version "8.0.19"
|
||||||
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.17.tgz#677bc8c118cfb76013febb62ede1f31d2c7222a1"
|
resolved "https://registry.yarnpkg.com/@types/node/-/node-8.0.19.tgz#e46e2b0243de7d03f15b26b45c59ebb84f657a4e"
|
||||||
|
|
||||||
"@types/promises-a-plus@*":
|
"@types/promises-a-plus@*":
|
||||||
version "0.0.27"
|
version "0.0.27"
|
||||||
@ -789,10 +789,10 @@ duplexer2@0.0.2:
|
|||||||
readable-stream "~1.1.9"
|
readable-stream "~1.1.9"
|
||||||
|
|
||||||
duplexify@^3.2.0:
|
duplexify@^3.2.0:
|
||||||
version "3.5.0"
|
version "3.5.1"
|
||||||
resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.5.0.tgz#1aa773002e1578457e9d9d4a50b0ccaaebcbd604"
|
resolved "https://registry.yarnpkg.com/duplexify/-/duplexify-3.5.1.tgz#4e1516be68838bc90a49994f0b39a6e5960befcd"
|
||||||
dependencies:
|
dependencies:
|
||||||
end-of-stream "1.0.0"
|
end-of-stream "^1.0.0"
|
||||||
inherits "^2.0.1"
|
inherits "^2.0.1"
|
||||||
readable-stream "^2.0.0"
|
readable-stream "^2.0.0"
|
||||||
stream-shift "^1.0.0"
|
stream-shift "^1.0.0"
|
||||||
@ -811,11 +811,11 @@ ecc-jsbn@~0.1.1:
|
|||||||
dependencies:
|
dependencies:
|
||||||
jsbn "~0.1.0"
|
jsbn "~0.1.0"
|
||||||
|
|
||||||
end-of-stream@1.0.0:
|
end-of-stream@^1.0.0:
|
||||||
version "1.0.0"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.0.0.tgz#d4596e702734a93e40e9af864319eabd99ff2f0e"
|
resolved "https://registry.yarnpkg.com/end-of-stream/-/end-of-stream-1.4.0.tgz#7a90d833efda6cfa6eac0f4949dbb0fad3a63206"
|
||||||
dependencies:
|
dependencies:
|
||||||
once "~1.3.0"
|
once "^1.4.0"
|
||||||
|
|
||||||
error-ex@^1.2.0:
|
error-ex@^1.2.0:
|
||||||
version "1.3.1"
|
version "1.3.1"
|
||||||
@ -841,8 +841,8 @@ es-to-primitive@^1.1.1:
|
|||||||
is-symbol "^1.0.1"
|
is-symbol "^1.0.1"
|
||||||
|
|
||||||
es5-ext@^0.10.12, es5-ext@^0.10.13, es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14, es5-ext@~0.10.2:
|
es5-ext@^0.10.12, es5-ext@^0.10.13, es5-ext@^0.10.14, es5-ext@^0.10.9, es5-ext@~0.10.14, es5-ext@~0.10.2:
|
||||||
version "0.10.24"
|
version "0.10.26"
|
||||||
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.24.tgz#a55877c9924bc0c8d9bd3c2cbe17495ac1709b14"
|
resolved "https://registry.yarnpkg.com/es5-ext/-/es5-ext-0.10.26.tgz#51b2128a531b70c4f6764093a73cbebb82186372"
|
||||||
dependencies:
|
dependencies:
|
||||||
es6-iterator "2"
|
es6-iterator "2"
|
||||||
es6-symbol "~3.1"
|
es6-symbol "~3.1"
|
||||||
@ -1061,9 +1061,9 @@ fs-extra@^2.0.0, fs-extra@^2.1.2:
|
|||||||
graceful-fs "^4.1.2"
|
graceful-fs "^4.1.2"
|
||||||
jsonfile "^2.1.0"
|
jsonfile "^2.1.0"
|
||||||
|
|
||||||
fs-extra@^3.0.1:
|
fs-extra@^4.0.0:
|
||||||
version "3.0.1"
|
version "4.0.1"
|
||||||
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-3.0.1.tgz#3794f378c58b342ea7dbbb23095109c4b3b62291"
|
resolved "https://registry.yarnpkg.com/fs-extra/-/fs-extra-4.0.1.tgz#7fc0c6c8957f983f57f306a24e5b9ddd8d0dd880"
|
||||||
dependencies:
|
dependencies:
|
||||||
graceful-fs "^4.1.2"
|
graceful-fs "^4.1.2"
|
||||||
jsonfile "^3.0.0"
|
jsonfile "^3.0.0"
|
||||||
@ -1175,7 +1175,7 @@ glob@^5.0.15, glob@^5.0.3:
|
|||||||
once "^1.3.0"
|
once "^1.3.0"
|
||||||
path-is-absolute "^1.0.0"
|
path-is-absolute "^1.0.0"
|
||||||
|
|
||||||
glob@^7.0.0, glob@^7.0.5, glob@^7.1.1:
|
glob@^7.0.0, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2:
|
||||||
version "7.1.2"
|
version "7.1.2"
|
||||||
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
|
resolved "https://registry.yarnpkg.com/glob/-/glob-7.1.2.tgz#c19c9df9a028702d678612384a6552404c636d15"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -1591,7 +1591,7 @@ js-tokens@^3.0.0:
|
|||||||
version "3.0.2"
|
version "3.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
|
resolved "https://registry.yarnpkg.com/js-tokens/-/js-tokens-3.0.2.tgz#9866df395102130e38f7f996bceb65443209c25b"
|
||||||
|
|
||||||
js-yaml@3.x, js-yaml@^3.2.7, js-yaml@^3.3.1, js-yaml@^3.4.2, js-yaml@^3.7.0, js-yaml@^3.8.3:
|
js-yaml@3.x, js-yaml@^3.2.7, js-yaml@^3.3.1, js-yaml@^3.4.2, js-yaml@^3.7.0, js-yaml@^3.9.1:
|
||||||
version "3.9.1"
|
version "3.9.1"
|
||||||
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.1.tgz#08775cebdfdd359209f0d2acd383c8f86a6904a0"
|
resolved "https://registry.yarnpkg.com/js-yaml/-/js-yaml-3.9.1.tgz#08775cebdfdd359209f0d2acd383c8f86a6904a0"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2106,18 +2106,12 @@ object.omit@^2.0.0:
|
|||||||
for-own "^0.1.4"
|
for-own "^0.1.4"
|
||||||
is-extendable "^0.1.1"
|
is-extendable "^0.1.1"
|
||||||
|
|
||||||
once@1.x, once@^1.3.0, once@^1.3.3:
|
once@1.x, once@^1.3.0, once@^1.3.3, once@^1.4.0:
|
||||||
version "1.4.0"
|
version "1.4.0"
|
||||||
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
resolved "https://registry.yarnpkg.com/once/-/once-1.4.0.tgz#583b1aa775961d4b113ac17d9c50baef9dd76bd1"
|
||||||
dependencies:
|
dependencies:
|
||||||
wrappy "1"
|
wrappy "1"
|
||||||
|
|
||||||
once@~1.3.0:
|
|
||||||
version "1.3.3"
|
|
||||||
resolved "https://registry.yarnpkg.com/once/-/once-1.3.3.tgz#b2e261557ce4c314ec8304f3fa82663e4297ca20"
|
|
||||||
dependencies:
|
|
||||||
wrappy "1"
|
|
||||||
|
|
||||||
onetime@^1.0.0:
|
onetime@^1.0.0:
|
||||||
version "1.1.0"
|
version "1.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789"
|
resolved "https://registry.yarnpkg.com/onetime/-/onetime-1.1.0.tgz#a1f7838f8314c516f05ecefcbc4ccfe04b4ed789"
|
||||||
@ -2724,21 +2718,20 @@ smartfile@4.1.6:
|
|||||||
vinyl "^2.0.1"
|
vinyl "^2.0.1"
|
||||||
vinyl-file "^3.0.0"
|
vinyl-file "^3.0.0"
|
||||||
|
|
||||||
smartfile@^4.1.4, smartfile@^4.2.15, smartfile@^4.2.17:
|
smartfile@^4.1.4, smartfile@^4.2.15, smartfile@^4.2.17, smartfile@^4.2.20:
|
||||||
version "4.2.17"
|
version "4.2.20"
|
||||||
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.17.tgz#9eba8f65eea7e4db51aa30562f6039815a88b125"
|
resolved "https://registry.yarnpkg.com/smartfile/-/smartfile-4.2.20.tgz#abc37c04fb7b3afea68fa295dfb80083361a8028"
|
||||||
dependencies:
|
dependencies:
|
||||||
"@types/fs-extra" "3.x.x"
|
"@types/fs-extra" "4.x.x"
|
||||||
"@types/vinyl" "^2.0.0"
|
"@types/vinyl" "^2.0.0"
|
||||||
fs-extra "^3.0.1"
|
fs-extra "^4.0.0"
|
||||||
glob "^7.1.1"
|
glob "^7.1.2"
|
||||||
js-yaml "^3.8.3"
|
js-yaml "^3.9.1"
|
||||||
require-reload "0.2.2"
|
require-reload "0.2.2"
|
||||||
smartpath "^3.2.8"
|
smartpath "^3.2.8"
|
||||||
smartq "^1.1.1"
|
smartq "^1.1.6"
|
||||||
smartrequest "^1.0.4"
|
smartrequest "^1.0.6"
|
||||||
typings-global "^1.0.16"
|
typings-global "^1.0.20"
|
||||||
vinyl "^2.0.2"
|
|
||||||
vinyl-file "^3.0.0"
|
vinyl-file "^3.0.0"
|
||||||
|
|
||||||
smartgulp@^1.0.6:
|
smartgulp@^1.0.6:
|
||||||
@ -2808,7 +2801,7 @@ smartq@^1.0.4, smartq@^1.1.0, smartq@^1.1.1, smartq@^1.1.6:
|
|||||||
typings-global "^1.0.19"
|
typings-global "^1.0.19"
|
||||||
util.promisify "^1.0.0"
|
util.promisify "^1.0.0"
|
||||||
|
|
||||||
smartrequest@^1.0.4:
|
smartrequest@^1.0.4, smartrequest@^1.0.6:
|
||||||
version "1.0.6"
|
version "1.0.6"
|
||||||
resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.6.tgz#a006454332453b0a70d38a003a29963d039a7783"
|
resolved "https://registry.yarnpkg.com/smartrequest/-/smartrequest-1.0.6.tgz#a006454332453b0a70d38a003a29963d039a7783"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -2842,14 +2835,14 @@ smartstring@2.0.24, smartstring@^2.0.24:
|
|||||||
js-base64 "^2.1.9"
|
js-base64 "^2.1.9"
|
||||||
typings-global "^1.0.14"
|
typings-global "^1.0.14"
|
||||||
|
|
||||||
smartsystem@^1.0.18:
|
smartsystem@^2.0.2:
|
||||||
version "1.0.18"
|
version "2.0.2"
|
||||||
resolved "https://registry.yarnpkg.com/smartsystem/-/smartsystem-1.0.18.tgz#f1e9a19d1a6048d3e99c5ee95e64f728147da901"
|
resolved "https://registry.yarnpkg.com/smartsystem/-/smartsystem-2.0.2.tgz#89f94ff74cd6c5fae33d82bf0ef80233ef521215"
|
||||||
dependencies:
|
dependencies:
|
||||||
lik "^1.0.30"
|
lik "^1.0.38"
|
||||||
smartq "^1.1.1"
|
smartq "^1.1.6"
|
||||||
systemjs "^0.20.12"
|
systemjs "^0.20.17"
|
||||||
typings-global "^1.0.19"
|
typings-global "^1.0.20"
|
||||||
|
|
||||||
sntp@1.x.x:
|
sntp@1.x.x:
|
||||||
version "1.0.9"
|
version "1.0.9"
|
||||||
@ -3052,7 +3045,7 @@ symbol-observable@^1.0.1:
|
|||||||
version "1.0.4"
|
version "1.0.4"
|
||||||
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
resolved "https://registry.yarnpkg.com/symbol-observable/-/symbol-observable-1.0.4.tgz#29bf615d4aa7121bdd898b22d4b3f9bc4e2aa03d"
|
||||||
|
|
||||||
systemjs@^0.20.12:
|
systemjs@^0.20.17:
|
||||||
version "0.20.17"
|
version "0.20.17"
|
||||||
resolved "https://registry.yarnpkg.com/systemjs/-/systemjs-0.20.17.tgz#b3143bb7e02d2f41b9a640351a06024b7b63ae59"
|
resolved "https://registry.yarnpkg.com/systemjs/-/systemjs-0.20.17.tgz#b3143bb7e02d2f41b9a640351a06024b7b63ae59"
|
||||||
|
|
||||||
@ -3375,7 +3368,7 @@ vinyl@^0.5.0:
|
|||||||
clone-stats "^0.0.1"
|
clone-stats "^0.0.1"
|
||||||
replace-ext "0.0.1"
|
replace-ext "0.0.1"
|
||||||
|
|
||||||
vinyl@^2.0.1, vinyl@^2.0.2:
|
vinyl@^2.0.1:
|
||||||
version "2.1.0"
|
version "2.1.0"
|
||||||
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.1.0.tgz#021f9c2cf951d6b939943c89eb5ee5add4fd924c"
|
resolved "https://registry.yarnpkg.com/vinyl/-/vinyl-2.1.0.tgz#021f9c2cf951d6b939943c89eb5ee5add4fd924c"
|
||||||
dependencies:
|
dependencies:
|
||||||
@ -3399,8 +3392,8 @@ which-module@^2.0.0:
|
|||||||
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
|
resolved "https://registry.yarnpkg.com/which-module/-/which-module-2.0.0.tgz#d9ef07dce77b9902b8a3a8fa4b31c3e3f7e6e87a"
|
||||||
|
|
||||||
which@^1.1.1, which@^1.2.14, which@^1.2.4, which@^1.2.9:
|
which@^1.1.1, which@^1.2.14, which@^1.2.4, which@^1.2.9:
|
||||||
version "1.2.14"
|
version "1.3.0"
|
||||||
resolved "https://registry.yarnpkg.com/which/-/which-1.2.14.tgz#9a87c4378f03e827cecaf1acdf56c736c01c14e5"
|
resolved "https://registry.yarnpkg.com/which/-/which-1.3.0.tgz#ff04bdfc010ee547d780bec38e1ac1c2777d253a"
|
||||||
dependencies:
|
dependencies:
|
||||||
isexe "^2.0.0"
|
isexe "^2.0.0"
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user