Merge pull request #10 from Microsoft/version-bump

[nodejs] Dependency and version bump.
This commit is contained in:
Mmdixon 2018-11-06 13:48:25 -05:00 коммит произвёл GitHub
Родитель 62fc593e94 0cdaa3c3b8
Коммит 13f18f1331
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
3 изменённых файлов: 35 добавлений и 46 удалений

Просмотреть файл

@ -84,7 +84,7 @@
</ul> </ul>
<p>(Run <code>node -p &quot;process.versions.modules&quot;</code> to see which Node-ABI in use.)</p> <p>(Run <code>node -p &quot;process.versions.modules&quot;</code> to see which Node-ABI in use.)</p>
<h1 id="getting-started">Getting Started</h1> <h1 id="getting-started">Getting Started</h1>
<p>This repository consists of TypeScript and native dependencies built with <code>node-gyp</code>. See <code>package.json</code> for various scripts for the developement process.</p> <p>This repository consists of TypeScript and native dependencies built with <code>node-gyp</code>. See <code>package.json</code> for various scripts for the development process.</p>
<p>For first time building remember to <code>npm install</code></p> <p>For first time building remember to <code>npm install</code></p>
<p>This repository uses git submodules. If paths are outdated or non-existent run <code>git submodule update --init --recursive</code></p> <p>This repository uses git submodules. If paths are outdated or non-existent run <code>git submodule update --init --recursive</code></p>
<h2 id="install">Install</h2> <h2 id="install">Install</h2>
@ -96,7 +96,7 @@
<p><strong>EnPronouncer</strong> Pronounces a string, as a General English speaker, into its IPA string or array of Phones format.</p> <p><strong>EnPronouncer</strong> Pronounces a string, as a General English speaker, into its IPA string or array of Phones format.</p>
<p><strong>matchers</strong> module:</p> <p><strong>matchers</strong> module:</p>
<ul> <ul>
<li><p><strong>FuzzyMatcher</strong> Main use case for this library. Returns matches against a list of targets for a given query. The comparisions are not remembered and therefore better for one-off use cases.</p> <li><p><strong>FuzzyMatcher</strong> Main use case for this library. Returns matches against a list of targets for a given query. The comparisons are not remembered and therefore better for one-off use cases.</p>
</li> </li>
<li><p><strong>AcceleratedFuzzyMatcher</strong> Same interface as <code>FuzzyMatcher</code> but the list of targets are precomputed, so beneficial for multiple queries at the cost of a higher initialization time.</p> <li><p><strong>AcceleratedFuzzyMatcher</strong> Same interface as <code>FuzzyMatcher</code> but the list of targets are precomputed, so beneficial for multiple queries at the cost of a higher initialization time.</p>
</li> </li>
@ -210,7 +210,7 @@ JOBS=X npm run rebuild
<span class="hljs-comment"># For incremental builds.</span> <span class="hljs-comment"># For incremental builds.</span>
JOBS=X npm run build</code></pre> JOBS=X npm run build</code></pre>
<h2 id="test">Test</h2> <h2 id="test">Test</h2>
<pre><code class="language-py"><span class="hljs-comment"># Requires native depedencies built, but TypeScript transpiling not required.</span> <pre><code class="language-py"><span class="hljs-comment"># Requires native dependencies built, but TypeScript transpiling not required.</span>
npm test</code></pre> npm test</code></pre>
<h2 id="docs">Docs</h2> <h2 id="docs">Docs</h2>
<pre><code class="language-py"><span class="hljs-comment"># Generate the doc files from the docstrings.</span> <pre><code class="language-py"><span class="hljs-comment"># Generate the doc files from the docstrings.</span>
@ -219,8 +219,8 @@ npm run build-docs</code></pre>
<pre><code class="language-py"><span class="hljs-comment"># Builds everything, TypeScript &amp; native &amp; docs, as a release build.</span> <pre><code class="language-py"><span class="hljs-comment"># Builds everything, TypeScript &amp; native &amp; docs, as a release build.</span>
npm run release</code></pre> npm run release</code></pre>
<h2 id="deployment-upload">Deployment/Upload</h2> <h2 id="deployment-upload">Deployment/Upload</h2>
<p>Note that the .js library code and native dependencies will be deployed separately. Npm regsitries will be used for the .js code, <code>node-pre-gyp</code> will be used for prebuilt dependencies while falling back to building on the client.</p> <p>Note that the .js library code and native dependencies will be deployed separately. Npm registries will be used for the .js code, <code>node-pre-gyp</code> will be used for prebuilt dependencies while falling back to building on the client.</p>
<pre><code class="language-py"><span class="hljs-comment"># Pushes pack to npmjs.com or a private registry if a .npmrc exisits.</span> <pre><code class="language-py"><span class="hljs-comment"># Pushes pack to npmjs.com or a private registry if a .npmrc exists.</span>
npm publish</code></pre> npm publish</code></pre>
<pre><code class="language-py"><span class="hljs-comment"># Packages a ./build/stage/{version}/maluubaspeech-{node_abi}-{platform}-{arch}.tar.gz.</span> <pre><code class="language-py"><span class="hljs-comment"># Packages a ./build/stage/{version}/maluubaspeech-{node_abi}-{platform}-{arch}.tar.gz.</span>
<span class="hljs-comment"># See package.json:binary.host on where to put it.</span> <span class="hljs-comment"># See package.json:binary.host on where to put it.</span>

61
package-lock.json сгенерированный
Просмотреть файл

@ -1,6 +1,6 @@
{ {
"name": "phoneticmatching", "name": "phoneticmatching",
"version": "0.3.0", "version": "0.3.1",
"lockfileVersion": 1, "lockfileVersion": 1,
"requires": true, "requires": true,
"dependencies": { "dependencies": {
@ -71,9 +71,9 @@
"dev": true "dev": true
}, },
"@types/jest": { "@types/jest": {
"version": "23.3.2", "version": "23.3.9",
"resolved": "https://registry.npmjs.org/@types/jest/-/jest-23.3.2.tgz", "resolved": "https://registry.npmjs.org/@types/jest/-/jest-23.3.9.tgz",
"integrity": "sha512-D1xlXHZpDonVX+VJ28XtcD5xlu8ex6Fc4cQNnrm2wJvlQnbec9RedhCrhQr6kRAE9XWHSec+JPuTmqJ9jC0qsA==", "integrity": "sha512-wNMwXSUcwyYajtbayfPp55tSayuDVU6PfY5gzvRSj80UvxdXEJOVPnUVajaOp7NgXLm+1e2ZDLULmpsU9vDvQw==",
"dev": true "dev": true
}, },
"@types/lodash": { "@types/lodash": {
@ -95,9 +95,9 @@
"dev": true "dev": true
}, },
"@types/node": { "@types/node": {
"version": "10.11.3", "version": "10.12.2",
"resolved": "https://registry.npmjs.org/@types/node/-/node-10.11.3.tgz", "resolved": "https://registry.npmjs.org/@types/node/-/node-10.12.2.tgz",
"integrity": "sha512-3AvcEJAh9EMatxs+OxAlvAEs7OTy6AG94mcH1iqyVDwVVndekLxzwkWQ/Z4SDbY6GO2oyUXyWW8tQ4rENSSQVQ==", "integrity": "sha512-53ElVDSnZeFUUFIYzI8WLQ25IhWzb6vbddNp8UHlXQyU0ET2RhV5zg0NfubzU7iNMh5bBXb0htCzfvrSVNgzaQ==",
"dev": true "dev": true
}, },
"@types/shelljs": { "@types/shelljs": {
@ -1813,14 +1813,12 @@
"balanced-match": { "balanced-match": {
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"brace-expansion": { "brace-expansion": {
"version": "1.1.11", "version": "1.1.11",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"balanced-match": "^1.0.0", "balanced-match": "^1.0.0",
"concat-map": "0.0.1" "concat-map": "0.0.1"
@ -1835,20 +1833,17 @@
"code-point-at": { "code-point-at": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"concat-map": { "concat-map": {
"version": "0.0.1", "version": "0.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"console-control-strings": { "console-control-strings": {
"version": "1.1.0", "version": "1.1.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"core-util-is": { "core-util-is": {
"version": "1.0.2", "version": "1.0.2",
@ -1965,8 +1960,7 @@
"inherits": { "inherits": {
"version": "2.0.3", "version": "2.0.3",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"ini": { "ini": {
"version": "1.3.5", "version": "1.3.5",
@ -1978,7 +1972,6 @@
"version": "1.0.0", "version": "1.0.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"number-is-nan": "^1.0.0" "number-is-nan": "^1.0.0"
} }
@ -1993,7 +1986,6 @@
"version": "3.0.4", "version": "3.0.4",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"brace-expansion": "^1.1.7" "brace-expansion": "^1.1.7"
} }
@ -2105,8 +2097,7 @@
"number-is-nan": { "number-is-nan": {
"version": "1.0.1", "version": "1.0.1",
"bundled": true, "bundled": true,
"dev": true, "dev": true
"optional": true
}, },
"object-assign": { "object-assign": {
"version": "4.1.1", "version": "4.1.1",
@ -2118,7 +2109,6 @@
"version": "1.4.0", "version": "1.4.0",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"wrappy": "1" "wrappy": "1"
} }
@ -2240,7 +2230,6 @@
"version": "1.0.2", "version": "1.0.2",
"bundled": true, "bundled": true,
"dev": true, "dev": true,
"optional": true,
"requires": { "requires": {
"code-point-at": "^1.0.0", "code-point-at": "^1.0.0",
"is-fullwidth-code-point": "^1.0.0", "is-fullwidth-code-point": "^1.0.0",
@ -3724,9 +3713,9 @@
} }
}, },
"merge": { "merge": {
"version": "1.2.0", "version": "1.2.1",
"resolved": "https://registry.npmjs.org/merge/-/merge-1.2.0.tgz", "resolved": "https://registry.npmjs.org/merge/-/merge-1.2.1.tgz",
"integrity": "sha1-dTHjnUlJwoGma4xabgJl6LBYlNo=", "integrity": "sha512-VjFo4P5Whtj4vsLzsYBu5ayHhoHJ0UqNm7ibvShmbmoz7tGi0vXaoJbGdB+GmDMLUdg8DpQXEIeVDAe8MaABvQ==",
"dev": true "dev": true
}, },
"merge-stream": { "merge-stream": {
@ -5584,9 +5573,9 @@
"dev": true "dev": true
}, },
"ts-jest": { "ts-jest": {
"version": "23.10.3", "version": "23.10.4",
"resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-23.10.3.tgz", "resolved": "https://registry.npmjs.org/ts-jest/-/ts-jest-23.10.4.tgz",
"integrity": "sha512-Lgyfw1MYPfqAs1qrFBmqXu8LRrde8ItH70pmp1iQuRbkVXaap7QcaEpN+yiSxuppfvO8rqezVv8wOYZkKhR5wA==", "integrity": "sha512-oV/wBwGUS7olSk/9yWMiSIJWbz5xO4zhftnY3gwv6s4SMg6WHF1m8XZNBvQOKQRiTAexZ9754Z13dxBq3Zgssw==",
"dev": true, "dev": true,
"requires": { "requires": {
"bs-logger": "0.x", "bs-logger": "0.x",
@ -5621,9 +5610,9 @@
"dev": true "dev": true
}, },
"semver": { "semver": {
"version": "5.5.1", "version": "5.6.0",
"resolved": "https://registry.npmjs.org/semver/-/semver-5.5.1.tgz", "resolved": "https://registry.npmjs.org/semver/-/semver-5.6.0.tgz",
"integrity": "sha512-PqpAxfrEhlSUWge8dwIp4tZnQ25DIOthpiaHNIthsjEFQD6EvqUKUDM7L8O2rShkFccYo1VjJR0coWfNkCubRw==", "integrity": "sha512-RS9R6R35NYgQn++fkDWaOmqGoj4Ek9gGs+DPxNUZKuwE183xjJroKvyo1IzVFeXvUrvmALy6FWD5xrdJT25gMg==",
"dev": true "dev": true
}, },
"yargs-parser": { "yargs-parser": {
@ -5708,9 +5697,9 @@
"dev": true "dev": true
}, },
"typescript": { "typescript": {
"version": "3.1.1", "version": "3.1.6",
"resolved": "https://registry.npmjs.org/typescript/-/typescript-3.1.1.tgz", "resolved": "https://registry.npmjs.org/typescript/-/typescript-3.1.6.tgz",
"integrity": "sha512-Veu0w4dTc/9wlWNf2jeRInNodKlcdLgemvPsrNpfu5Pq39sgfFjvIIgTsvUHCoLBnMhPoUA+tFxsXjU6VexVRQ==", "integrity": "sha512-tDMYfVtvpb96msS1lDX9MEdHrW4yOuZ4Kdc4Him9oU796XldPYF/t2+uKoX0BBa0hXXwDlqYQbXY5Rzjzc5hBA==",
"dev": true "dev": true
}, },
"uglify-js": { "uglify-js": {

Просмотреть файл

@ -1,6 +1,6 @@
{ {
"name": "phoneticmatching", "name": "phoneticmatching",
"version": "0.3.0", "version": "0.3.1",
"description": "A text utility to do string comparisons at a phonetic level.", "description": "A text utility to do string comparisons at a phonetic level.",
"main": "./lib/index.js", "main": "./lib/index.js",
"types": "./lib/index.d.ts", "types": "./lib/index.d.ts",
@ -34,13 +34,13 @@
"node-pre-gyp" "node-pre-gyp"
], ],
"devDependencies": { "devDependencies": {
"@types/jest": "^23.3.2", "@types/jest": "^23.3.9",
"@types/node": "^10.11.3", "@types/node": "^10.12.2",
"@types/xregexp": "^3.0.29", "@types/xregexp": "^3.0.29",
"jest": "^23.6.0", "jest": "^23.6.0",
"ts-jest": "^23.10.3", "ts-jest": "^23.10.4",
"typedoc": "^0.12.0", "typedoc": "^0.12.0",
"typescript": "^3.1.1" "typescript": "^3.1.6"
}, },
"dependencies": { "dependencies": {
"node-pre-gyp": "^0.11.0", "node-pre-gyp": "^0.11.0",