Skip to content

Commit

Permalink
fix typescript definition creation
Browse files Browse the repository at this point in the history
  • Loading branch information
ryansh100 committed May 5, 2022
1 parent 351f8d8 commit a40e080
Show file tree
Hide file tree
Showing 5 changed files with 19 additions and 19 deletions.
2 changes: 1 addition & 1 deletion docs/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -4830,7 +4830,7 @@
},
{
"kind": "packageJSON",
"content": "{\r\n \"name\": \"bricklink-api\",\r\n \"version\": \"1.2.8\",\r\n \"description\": \"A node module for connecting to the Bricklink API.\",\r\n \"main\": \"./dist/index.js\",\r\n \"types\": \"./dist/index.d.ts\",\r\n \"files\": [\r\n \"dist/*\"\r\n ],\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"git+https://github.com/ryansh100/bricklink-api.git\"\r\n },\r\n \"keywords\": [\r\n \"node\",\r\n \"js\",\r\n \"javascript\",\r\n \"module\",\r\n \"bricklink\",\r\n \"api\",\r\n \"oauth2\"\r\n ],\r\n \"author\": \"Ryan Hafer\",\r\n \"license\": \"SEE LICENCE IN LICENSE\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/ryansh100/bricklink-api/issues\"\r\n },\r\n \"homepage\": \"https://github.com/ryansh100/bricklink-api#readme\",\r\n \"scripts\": {\r\n \"test\": \"nyc ava\",\r\n \"test:ci\": \"nyc ava -c 1\",\r\n \"build\": \"npm run compile:src & npm run build:definitions\",\r\n \"compile:src\": \"babel src -d dist\",\r\n \"build:definitions\": \"tsc\",\r\n \"prepare\": \"husky install\",\r\n \"docs\": \"esdoc2\",\r\n \"prepublish\": \"npm run build\",\r\n \"report\": \"nyc report --reporter=html\"\r\n },\r\n \"devDependencies\": {\r\n \"@ava/babel\": \"^1.0.1\",\r\n \"@babel/cli\": \"^7.15.7\",\r\n \"@babel/core\": \"^7.15.5\",\r\n \"@babel/plugin-transform-modules-commonjs\": \"^7.15.4\",\r\n \"@babel/preset-env\": \"^7.15.6\",\r\n \"@babel/register\": \"^7.15.3\",\r\n \"ava\": \"^3.15.0\",\r\n \"dotenv\": \"^8.6.0\",\r\n \"esdoc2\": \"^2.1.5\",\r\n \"esdoc2-standard-plugin\": \"^2.1.2\",\r\n \"husky\": \"^6.0.0\",\r\n \"nyc\": \"^15.1.0\",\r\n \"prettier\": \"^2.4.1\",\r\n \"pretty-quick\": \"^3.1.1\",\r\n \"typescript\": \"^4.6.4\"\r\n },\r\n \"dependencies\": {\r\n \"debug\": \"^4.3.2\",\r\n \"node-fetch\": \"^2.6.7\",\r\n \"oauth-signature\": \"^1.3.1\"\r\n },\r\n \"ava\": {\r\n \"babel\": true,\r\n \"files\": [\r\n \"spec/**/*spec.js\"\r\n ],\r\n \"source\": [\r\n \"src/**/*.js\"\r\n ],\r\n \"concurrency\": 3,\r\n \"failFast\": true,\r\n \"tap\": true,\r\n \"powerAssert\": false,\r\n \"require\": [\r\n \"@babel/register\"\r\n ]\r\n },\r\n \"engines\": {\r\n \"node\": \">=5\"\r\n },\r\n \"husky\": {\r\n \"hooks\": {\r\n \"pre-commit\": \"pretty-quick --staged\"\r\n }\r\n },\r\n \"nyc\": {\r\n \"extension\": [\r\n \".js\"\r\n ]\r\n }\r\n}\r\n",
"content": "{\r\n \"name\": \"bricklink-api\",\r\n \"version\": \"1.2.9\",\r\n \"description\": \"A node module for connecting to the Bricklink API.\",\r\n \"main\": \"./dist/index.js\",\r\n \"types\": \"./dist/index.d.ts\",\r\n \"files\": [\r\n \"dist/*\"\r\n ],\r\n \"repository\": {\r\n \"type\": \"git\",\r\n \"url\": \"git+https://github.com/ryansh100/bricklink-api.git\"\r\n },\r\n \"keywords\": [\r\n \"node\",\r\n \"js\",\r\n \"javascript\",\r\n \"module\",\r\n \"bricklink\",\r\n \"api\",\r\n \"oauth2\"\r\n ],\r\n \"author\": \"Ryan Hafer\",\r\n \"license\": \"SEE LICENCE IN LICENSE\",\r\n \"bugs\": {\r\n \"url\": \"https://github.com/ryansh100/bricklink-api/issues\"\r\n },\r\n \"homepage\": \"https://github.com/ryansh100/bricklink-api#readme\",\r\n \"scripts\": {\r\n \"test\": \"nyc ava\",\r\n \"test:ci\": \"nyc ava -c 1\",\r\n \"build\": \"npm run compile:src & npm run build:definitions\",\r\n \"compile:src\": \"babel src -d dist\",\r\n \"build:definitions\": \"tsc\",\r\n \"prepare\": \"husky install\",\r\n \"docs\": \"esdoc2\",\r\n \"prepublish\": \"npm run build\",\r\n \"report\": \"nyc report --reporter=html\"\r\n },\r\n \"devDependencies\": {\r\n \"@ava/babel\": \"^1.0.1\",\r\n \"@babel/cli\": \"^7.15.7\",\r\n \"@babel/core\": \"^7.15.5\",\r\n \"@babel/plugin-transform-modules-commonjs\": \"^7.15.4\",\r\n \"@babel/preset-env\": \"^7.15.6\",\r\n \"@babel/register\": \"^7.15.3\",\r\n \"ava\": \"^3.15.0\",\r\n \"dotenv\": \"^8.6.0\",\r\n \"esdoc2\": \"^2.1.5\",\r\n \"esdoc2-standard-plugin\": \"^2.1.2\",\r\n \"husky\": \"^6.0.0\",\r\n \"nyc\": \"^15.1.0\",\r\n \"prettier\": \"^2.4.1\",\r\n \"pretty-quick\": \"^3.1.1\",\r\n \"typescript\": \"^4.6.4\"\r\n },\r\n \"dependencies\": {\r\n \"debug\": \"^4.3.2\",\r\n \"node-fetch\": \"^2.6.7\",\r\n \"oauth-signature\": \"^1.3.1\"\r\n },\r\n \"ava\": {\r\n \"babel\": true,\r\n \"files\": [\r\n \"spec/**/*spec.js\"\r\n ],\r\n \"source\": [\r\n \"src/**/*.js\"\r\n ],\r\n \"concurrency\": 3,\r\n \"failFast\": true,\r\n \"tap\": true,\r\n \"powerAssert\": false,\r\n \"require\": [\r\n \"@babel/register\"\r\n ]\r\n },\r\n \"engines\": {\r\n \"node\": \">=5\"\r\n },\r\n \"husky\": {\r\n \"hooks\": {\r\n \"pre-commit\": \"pretty-quick --staged\"\r\n }\r\n },\r\n \"nyc\": {\r\n \"extension\": [\r\n \".js\"\r\n ]\r\n }\r\n}\r\n",
"longname": "C:\\Projects\\bricklink-api\\package.json",
"name": "package.json",
"static": true,
Expand Down
30 changes: 15 additions & 15 deletions docs/source.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,23 +75,23 @@
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">18/18</span></td>
<td style="display: none;" data-ice="size">2146 byte</td>
<td style="display: none;" data-ice="lines">69</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:45:37 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/catalogItem/itemImage.js.html">src/catalogItem/itemImage.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="class/src/catalogItem/itemImage.js~ItemImage.html">ItemImage</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">7/7</span></td>
<td style="display: none;" data-ice="size">1549 byte</td>
<td style="display: none;" data-ice="lines">49</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:47:24 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/catalogItem/knownColor.js.html">src/catalogItem/knownColor.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="class/src/catalogItem/knownColor.js~KnownColor.html">KnownColor</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">5/5</span></td>
<td style="display: none;" data-ice="size">1280 byte</td>
<td style="display: none;" data-ice="lines">43</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:47:20 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/catalogItem/priceGuide.js.html">src/catalogItem/priceGuide.js</a></span></td>
Expand All @@ -101,7 +101,7 @@
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">30/30</span></td>
<td style="display: none;" data-ice="size">4914 byte</td>
<td style="display: none;" data-ice="lines">124</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:47:13 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/catalogItem/subsets.js.html">src/catalogItem/subsets.js</a></span></td>
Expand All @@ -111,7 +111,7 @@
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">19/19</span></td>
<td style="display: none;" data-ice="size">3833 byte</td>
<td style="display: none;" data-ice="lines">103</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:47:09 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/catalogItem/supersets.js.html">src/catalogItem/supersets.js</a></span></td>
Expand All @@ -121,71 +121,71 @@
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">13/13</span></td>
<td style="display: none;" data-ice="size">2714 byte</td>
<td style="display: none;" data-ice="lines">87</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:47:04 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/category/category.js.html">src/category/category.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="class/src/category/category.js~Category.html">Category</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">7/7</span></td>
<td style="display: none;" data-ice="size">1772 byte</td>
<td style="display: none;" data-ice="lines">63</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:47:00 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/client.js.html">src/client.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="class/src/client.js~Client.html">Client</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">16/16</span></td>
<td style="display: none;" data-ice="size">7328 byte</td>
<td style="display: none;" data-ice="lines">196</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:46:33 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/color/color.js.html">src/color/color.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="class/src/color/color.js~Color.html">Color</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">8/8</span></td>
<td style="display: none;" data-ice="size">1882 byte</td>
<td style="display: none;" data-ice="lines">67</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:46:53 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/condition.js.html">src/condition.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="class/src/condition.js~Condition.html">Condition</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">3/3</span></td>
<td style="display: none;" data-ice="size">306 byte</td>
<td style="display: none;" data-ice="lines">17</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:48:25 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/index.js.html">src/index.js</a></span></td>
<td data-ice="identifier" class="identifiers">-</td>
<td class="coverage"><span data-ice="coverage">-</span></td>
<td style="display: none;" data-ice="size">539 byte</td>
<td style="display: none;" data-ice="lines">14</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:48:21 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/itemType.js.html">src/itemType.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="class/src/itemType.js~ItemType.html">ItemType</a></span></td>
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">10/10</span></td>
<td style="display: none;" data-ice="size">824 byte</td>
<td style="display: none;" data-ice="lines">41</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:48:18 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/logger.js.html#errorLines=3">src/logger.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="variable/index.html#static-variable-logger">logger</a></span></td>
<td class="coverage"><span data-ice="coverage">0 %</span><span data-ice="coverageCount" class="coverage-count">0/1</span></td>
<td style="display: none;" data-ice="size">77 byte</td>
<td style="display: none;" data-ice="lines">3</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:48:13 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/oAuthHelper.js.html#errorLines=26,37,52">src/oAuthHelper.js</a></span></td>
<td data-ice="identifier" class="identifiers"><span><a href="class/src/oAuthHelper.js~OAuthHelper.html">OAuthHelper</a></span></td>
<td class="coverage"><span data-ice="coverage">72 %</span><span data-ice="coverageCount" class="coverage-count">8/11</span></td>
<td style="display: none;" data-ice="size">1937 byte</td>
<td style="display: none;" data-ice="lines">73</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:48:04 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
<tr data-ice="file">
<td data-ice="filePath"><span><a href="file/src/request.js.html">src/request.js</a></span></td>
Expand All @@ -194,7 +194,7 @@
<td class="coverage"><span data-ice="coverage">100 %</span><span data-ice="coverageCount" class="coverage-count">13/13</span></td>
<td style="display: none;" data-ice="size">2165 byte</td>
<td style="display: none;" data-ice="lines">84</td>
<td style="display: none;" data-ice="updated">2022-05-05 12:47:33 (UTC)</td>
<td style="display: none;" data-ice="updated">2022-05-05 13:01:49 (UTC)</td>
</tr>
</tbody>
</table>
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "bricklink-api",
"version": "1.2.8",
"version": "1.2.9",
"description": "A node module for connecting to the Bricklink API.",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
Expand Down
2 changes: 1 addition & 1 deletion tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"emitDeclarationOnly": true,
"allowJs": true,
"checkJs": true,
"outFile": "dist/index.d.ts"
"outDir": "dist"
},
"include": [
"src/**/*"
Expand Down

0 comments on commit a40e080

Please sign in to comment.