Skip to content

Commit

Permalink
Fix error on CardKitServer regarding svgRef, add new
Browse files Browse the repository at this point in the history
Usage: npm <command>

where <command> is one of:
    access, adduser, audit, bin, bugs, c, cache, ci, cit,
    clean-install, clean-install-test, completion, config,
    create, ddp, dedupe, deprecate, dist-tag, docs, doctor,
    edit, explore, fund, get, help, help-search, hook, i, init,
    install, install-ci-test, install-test, it, link, list, ln,
    login, logout, ls, org, outdated, owner, pack, ping, prefix,
    profile, prune, publish, rb, rebuild, repo, restart, root,
    run, run-script, s, se, search, set, shrinkwrap, star,
    stars, start, stop, t, team, test, token, tst, un,
    uninstall, unpublish, unstar, up, update, v, version, view,
    whoami

npm <command> -h  quick help on <command>
npm -l            display full usage info
npm help <term>   search for help on <term>
npm help npm      involved overview

Specify configs in the ini-formatted file:
    /Users/chris/.npmrc
or on the command line via: npm <command> --key value
Config info can be viewed via: npm help config

[email protected] /Users/chris/.nvm/versions/node/v14.16.1/lib/node_modules/npm

Did you mean this?
    create script
  • Loading branch information
chrishutchinson committed May 3, 2021
1 parent 8bf8b81 commit b984c62
Show file tree
Hide file tree
Showing 17 changed files with 22 additions and 18 deletions.
2 changes: 1 addition & 1 deletion dist/dom.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion docs/bundle.js
Original file line number Diff line number Diff line change
Expand Up @@ -18526,7 +18526,7 @@ module.exports = Array.isArray || function (arr) {
fonts: PropTypes.object,
layers: PropTypes.object
}),
svgRef: PropTypes.any.isRequired
svgRef: PropTypes.any
}; // Export

module.exports = Card;
Expand Down
2 changes: 1 addition & 1 deletion docs/code/Card.html
Original file line number Diff line number Diff line change
Expand Up @@ -1155,7 +1155,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/CardKit.html
Original file line number Diff line number Diff line change
Expand Up @@ -3487,7 +3487,7 @@ <h5>Parameters:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/CardKitDOM.html
Original file line number Diff line number Diff line change
Expand Up @@ -1775,7 +1775,7 @@ <h4 class="name" id="rerender"><span class="type-signature"></span>rerender<span
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/CardKitServer.html
Original file line number Diff line number Diff line change
Expand Up @@ -853,7 +853,7 @@ <h5>Returns:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/SVGToImage.html
Original file line number Diff line number Diff line change
Expand Up @@ -1907,7 +1907,7 @@ <h5>Parameters:</h5>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/cardkit.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -284,7 +284,7 @@ <h1 class="page-title">cardkit.js</h1>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ <h2>Tests</h2>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/renderers_dom_SVGToImage.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ <h1 class="page-title">renderers/dom/SVGToImage.js</h1>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/renderers_dom_dom.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -224,7 +224,7 @@ <h1 class="page-title">renderers/dom/dom.js</h1>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion docs/code/renderers_server_server.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ <h1 class="page-title">renderers/server/server.js</h1>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
4 changes: 2 additions & 2 deletions docs/code/renderers_shared_Card.js.html
Original file line number Diff line number Diff line change
Expand Up @@ -392,7 +392,7 @@ <h1 class="page-title">renderers/shared/Card.js</h1>
fonts: PropTypes.object,
layers: PropTypes.object,
}),
svgRef: PropTypes.any.isRequired,
svgRef: PropTypes.any,
};

// Export
Expand All @@ -409,7 +409,7 @@ <h1 class="page-title">renderers/shared/Card.js</h1>
<br class="clear">

<footer>
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:46:06 GMT+0100 (British Summer Time) using the Minami theme.
Generated by <a href="https://github.com/jsdoc3/jsdoc">JSDoc 3.6.6</a> on Mon May 03 2021 17:49:47 GMT+0100 (British Summer Time) using the Minami theme.
</footer>

<script>prettyPrint();</script>
Expand Down
2 changes: 1 addition & 1 deletion dom.js
Original file line number Diff line number Diff line change
Expand Up @@ -1070,7 +1070,7 @@ Card.propTypes = {
fonts: PropTypes.object,
layers: PropTypes.object
}),
svgRef: PropTypes.any.isRequired
svgRef: PropTypes.any
}; // Export

module.exports = Card;
Expand Down
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@
"type": "git",
"url": "https://github.com/chrishutchinson/cardkit.git"
},
"engines": {
"node": ">14"
},
"scripts": {
"test": "istanbul cover --dir test/coverage _mocha -- --require @babel/register --require ignore-styles",
"jsdoc": "jsdoc -c ./jsdoc.config.json -d ./docs/code -t ./node_modules/minami --verbose -R ./README.md",
Expand All @@ -23,7 +26,8 @@
"build-server": "webpack --env=dist-server",
"build-core": "webpack --env=dist-core",
"build-dom-script": "webpack --env=dist-dom-script",
"build-core-script": "webpack --env=dist-core-script"
"build-core-script": "webpack --env=dist-core-script",
"prepare": "npm test; npm run build; npm run demo; npm run docs"
},
"author": "Chris Hutchinson <[email protected]>",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion server.js
Original file line number Diff line number Diff line change
Expand Up @@ -732,7 +732,7 @@ Card.propTypes = {
fonts: PropTypes.object,
layers: PropTypes.object
}),
svgRef: PropTypes.any.isRequired
svgRef: PropTypes.any
}; // Export

module.exports = Card;
Expand Down
2 changes: 1 addition & 1 deletion src/renderers/shared/Card.js
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ Card.propTypes = {
fonts: PropTypes.object,
layers: PropTypes.object,
}),
svgRef: PropTypes.any.isRequired,
svgRef: PropTypes.any,
};

// Export
Expand Down

0 comments on commit b984c62

Please sign in to comment.