Skip to content

Commit

Permalink
npmignore fixes #29; prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
StoneCypher committed Jul 26, 2021
1 parent ee06876 commit 0559b8c
Show file tree
Hide file tree
Showing 10 changed files with 133 additions and 38 deletions.
114 changes: 114 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,114 @@
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
node_modules/
jspm_packages/

# TypeScript v1 declaration files
typings/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
### dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

build/

## npmignore specific stuff
docs/
jest.config.js
rollup.config.js
src/
tsconfig.json
.github/
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ All notable changes to this project will be documented in this file. Dates are d
#### [Unreleased](https://github.com/StoneCypher/is_a_ts/compare/v0.11.0...HEAD)

- Restore coverage. Fix testing in pipeline; restore node ci version. [`209c7c6`](https://github.com/StoneCypher/is_a_ts/commit/209c7c6b825c9fe0312ee98ce6117728b3ff6ef4)
- Clean was running after test, removing coverage after running it instead of before [`ee06876`](https://github.com/StoneCypher/is_a_ts/commit/ee0687689843266d76f49ac58f885fa4c61ec1ad)
- Temporarily disable stochastic tests for CI [`51f5e7c`](https://github.com/StoneCypher/is_a_ts/commit/51f5e7c4095f811a239792918f85afdbc62ffc34)
- debug step adding ls to build step to diagnose why coveralls can't see lcov [`28f6a84`](https://github.com/StoneCypher/is_a_ts/commit/28f6a846fecd2b361881df6fe4e75824aee0051b)
- could ... could regressing the node setup version restore coveralls? [`0bfd31d`](https://github.com/StoneCypher/is_a_ts/commit/0bfd31d53ec43610335455eff428e5a6db391ba5)
Expand Down
2 changes: 1 addition & 1 deletion dist/index.cjs.min.js

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

2 changes: 1 addition & 1 deletion dist/index.esm.min.js

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

6 changes: 3 additions & 3 deletions docs/docs/interfaces/is_a.typeMap.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ <h3>boolean</h3>
<div class="tsd-signature tsd-kind-icon">boolean<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">boolean</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/is_a.ts#L5">is_a.ts:5</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/is_a.ts#L5">is_a.ts:5</a></li>
</ul>
</aside>
</section>
Expand All @@ -109,7 +109,7 @@ <h3>number</h3>
<div class="tsd-signature tsd-kind-icon">number<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">number</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/is_a.ts#L4">is_a.ts:4</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/is_a.ts#L4">is_a.ts:4</a></li>
</ul>
</aside>
</section>
Expand All @@ -119,7 +119,7 @@ <h3>string</h3>
<div class="tsd-signature tsd-kind-icon">string<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">string</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/is_a.ts#L3">is_a.ts:3</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/is_a.ts#L3">is_a.ts:3</a></li>
</ul>
</aside>
</section>
Expand Down
10 changes: 5 additions & 5 deletions docs/docs/modules/generated_code_package_version.html
Original file line number Diff line number Diff line change
Expand Up @@ -85,10 +85,10 @@ <h2>Variables</h2>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
<a name="built" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> built</h3>
<div class="tsd-signature tsd-kind-icon">built<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1627249038844</span><span class="tsd-signature-symbol"> = 1627249038844</span></div>
<div class="tsd-signature tsd-kind-icon">built<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">1627250970404</span><span class="tsd-signature-symbol"> = 1627250970404</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/generated_code/package_version.ts#L5">generated_code/package_version.ts:5</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/generated_code/package_version.ts#L5">generated_code/package_version.ts:5</a></li>
</ul>
</aside>
</section>
Expand All @@ -98,17 +98,17 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> packagename</h3>
<div class="tsd-signature tsd-kind-icon">packagename<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;is_a_ts&quot;</span><span class="tsd-signature-symbol"> = &#x27;is_a_ts&#x27;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/generated_code/package_version.ts#L6">generated_code/package_version.ts:6</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/generated_code/package_version.ts#L6">generated_code/package_version.ts:6</a></li>
</ul>
</aside>
</section>
<section class="tsd-panel tsd-member tsd-kind-variable tsd-parent-kind-module">
<a name="version" class="tsd-anchor"></a>
<h3><span class="tsd-flag ts-flagConst">Const</span> version</h3>
<div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;0.11.5&quot;</span><span class="tsd-signature-symbol"> = &#x27;0.11.5&#x27;</span></div>
<div class="tsd-signature tsd-kind-icon">version<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">&quot;0.12.0&quot;</span><span class="tsd-signature-symbol"> = &#x27;0.12.0&#x27;</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/generated_code/package_version.ts#L4">generated_code/package_version.ts:4</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/generated_code/package_version.ts#L4">generated_code/package_version.ts:4</a></li>
</ul>
</aside>
</section>
Expand Down
8 changes: 4 additions & 4 deletions docs/docs/modules/is_a.html
Original file line number Diff line number Diff line change
Expand Up @@ -100,7 +100,7 @@ <h3>Guarded<wbr>Type</h3>
<div class="tsd-signature tsd-kind-icon">Guarded<wbr>Type&lt;T&gt;<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-type">T</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol"> ? </span><span class="tsd-signature-type">U</span><span class="tsd-signature-symbol"> : </span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol"> extends </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/is_a.typeMap.html" class="tsd-signature-type" data-tsd-kind="Interface">typeMap</a><span class="tsd-signature-symbol"> ? </span><a href="../interfaces/is_a.typeMap.html" class="tsd-signature-type" data-tsd-kind="Interface">typeMap</a><span class="tsd-signature-symbol">[</span><span class="tsd-signature-type">T</span><span class="tsd-signature-symbol">]</span><span class="tsd-signature-symbol"> : </span><span class="tsd-signature-type">never</span></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/is_a.ts#L21">is_a.ts:21</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/is_a.ts#L21">is_a.ts:21</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand All @@ -116,7 +116,7 @@ <h3>Primitive<wbr>OrConstructor</h3>
<div class="tsd-signature tsd-kind-icon">Primitive<wbr>OrConstructor<span class="tsd-signature-symbol">:</span> <span class="tsd-signature-symbol">{}</span><span class="tsd-signature-symbol"> | </span><span class="tsd-signature-symbol">keyof </span><a href="../interfaces/is_a.typeMap.html" class="tsd-signature-type" data-tsd-kind="Interface">typeMap</a></div>
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/is_a.ts#L12">is_a.ts:12</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/is_a.ts#L12">is_a.ts:12</a></li>
</ul>
</aside>
</section>
Expand All @@ -133,7 +133,7 @@ <h3>type<wbr>Guard</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/is_a.ts#L33">is_a.ts:33</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/is_a.ts#L33">is_a.ts:33</a></li>
</ul>
</aside>
<h4 class="tsd-type-parameters-title">Type parameters</h4>
Expand Down Expand Up @@ -165,7 +165,7 @@ <h3><span class="tsd-flag ts-flagConst">Const</span> z_<wbr>tutorial</h3>
<li class="tsd-description">
<aside class="tsd-sources">
<ul>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/28f6a84/src/ts/is_a.ts#L452">is_a.ts:452</a></li>
<li>Defined in <a href="https://github.com/StoneCypher/is_a_ts/blob/ee06876/src/ts/is_a.ts#L452">is_a.ts:452</a></li>
</ul>
</aside>
<div class="tsd-comment tsd-typography">
Expand Down
20 changes: 0 additions & 20 deletions jest-stoch.config.js

This file was deleted.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "is_a_ts",
"version": "0.11.5",
"version": "0.12.0",
"description": "Typescript implementation of is_a/2 dynamic typeguard by Krumpet, productionalized by StoneCypher",
"main": "dist/index.cjs.min.js",
"module": "dist/index.esm.min.js",
Expand All @@ -18,7 +18,7 @@
"site": "cp -r ./src/html/* ./docs && cp ./src/html/.nojekyll ./docs",
"changelog": "auto-changelog --hide-credit --commit-limit false --unreleased",
"build": "npm run test && npm run clean && npm run version && npm run typescript && npm run rollup && npm run terser && npm run dist && npm run docs && npm run site && npm run changelog",
"test": "rimraf -f coverage && jest --color --coverage --verbose && ls -la coverage && ls -la coverage/spec && echo jest -c jest-stoch.config.js --color --verbose"
"test": "rimraf -f coverage && jest --color --coverage --verbose && ls -la coverage && ls -la coverage/spec"
},
"repository": {
"type": "git",
Expand Down
4 changes: 2 additions & 2 deletions src/ts/generated_code/package_version.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@

// Generated by %proj%/src/build_js/write_version_file.js

const version = '0.11.5',
built = 1627249038844,
const version = '0.12.0',
built = 1627250970404,
packagename = 'is_a_ts';

export { version, packagename, built };

0 comments on commit 0559b8c

Please sign in to comment.