Add .idea/ dir to npmignore (#489)

* add .idea/ dir to npmignore

* bump version
This commit is contained in:
Taly 2018-11-11 01:31:57 +03:00 committed by GitHub
parent f5c4a8db37
commit 7901bbb7e6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 4 additions and 3 deletions

View file

@ -1,3 +1,4 @@
.idea/
build/sprite.svg
docs/
example/

View file

@ -1235,7 +1235,7 @@ e.exports=function(){var e=t(6),o=null;return{show:function(t){if(t.message){!fu
/*!**********************!*\
!*** ./src/codex.js ***!
\**********************/
/*! no static exports found */function(e,o,t){var n,s,r;s=[o,t(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),t(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),t(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),t(/*! @babel/register */"./node_modules/@babel/register/lib/index.js"),t(/*! components/polyfills */"./src/components/polyfills.ts"),t(/*! ./components/core */"./src/components/core.js")],void 0===(r="function"==typeof(n=function(n,s,r,i,l,u,d){"use strict";var a=t(/*! @babel/runtime/helpers/interopRequireDefault */"./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,s=a(s),r=a(r),i=a(i),d=a(d),window&&window._babelPolyfill||t(/*! @babel/polyfill */"./node_modules/@babel/polyfill/lib/index.js");var c=function(){function e(o){var t=this;(0,r.default)(this,e);var n=function(){};"object"===(0,s.default)(o)&&"function"==typeof o.onReady&&(n=o.onReady);var i=new d.default(o);this.isReady=i.isReady.then(function(){t.exportAPI(i),n()})}return(0,i.default)(e,null,[{key:"version",get:function(){return"2.4.1"}}]),(0,i.default)(e,[{key:"exportAPI",value:function(e){var o=this;["configuration"].forEach(function(t){o[t]=e[t]}),this.destroy=function(){for(var t in e.moduleInstances.Listeners.removeAll(),e.moduleInstances.UI.destroy(),e.moduleInstances.ModificationsObserver.destroy(),e=null,o)delete o[t];Object.setPrototypeOf(o,null)},Object.setPrototypeOf(this,e.moduleInstances.API.methods),delete this.exportAPI}}]),e}();n.default=c,c.displayName="CodexEditor",e.exports=o.default})?n.apply(o,s):n)||(e.exports=r)},"./src/components/__module.ts":
/*! no static exports found */function(e,o,t){var n,s,r;s=[o,t(/*! @babel/runtime/helpers/typeof */"./node_modules/@babel/runtime/helpers/typeof.js"),t(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),t(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),t(/*! @babel/register */"./node_modules/@babel/register/lib/index.js"),t(/*! components/polyfills */"./src/components/polyfills.ts"),t(/*! ./components/core */"./src/components/core.js")],void 0===(r="function"==typeof(n=function(n,s,r,i,l,u,d){"use strict";var a=t(/*! @babel/runtime/helpers/interopRequireDefault */"./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0,s=a(s),r=a(r),i=a(i),d=a(d),window&&window._babelPolyfill||t(/*! @babel/polyfill */"./node_modules/@babel/polyfill/lib/index.js");var c=function(){function e(o){var t=this;(0,r.default)(this,e);var n=function(){};"object"===(0,s.default)(o)&&"function"==typeof o.onReady&&(n=o.onReady);var i=new d.default(o);this.isReady=i.isReady.then(function(){t.exportAPI(i),n()})}return(0,i.default)(e,null,[{key:"version",get:function(){return"2.4.2"}}]),(0,i.default)(e,[{key:"exportAPI",value:function(e){var o=this;["configuration"].forEach(function(t){o[t]=e[t]}),this.destroy=function(){for(var t in e.moduleInstances.Listeners.removeAll(),e.moduleInstances.UI.destroy(),e.moduleInstances.ModificationsObserver.destroy(),e=null,o)delete o[t];Object.setPrototypeOf(o,null)},Object.setPrototypeOf(this,e.moduleInstances.API.methods),delete this.exportAPI}}]),e}();n.default=c,c.displayName="CodexEditor",e.exports=o.default})?n.apply(o,s):n)||(e.exports=r)},"./src/components/__module.ts":
/*!************************************!*\
!*** ./src/components/__module.ts ***!
\************************************/
@ -1375,7 +1375,7 @@ e.exports=function(){var e=t(6),o=null;return{show:function(t){if(t.message){!fu
/*!*****************************************!*\
!*** ./src/components/modules/saver.ts ***!
\*****************************************/
/*! no static exports found */function(e,o,t){(function(n){var s,r,i;r=[o,t(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),t(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),t(/*! @babel/runtime/helpers/possibleConstructorReturn */"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),t(/*! @babel/runtime/helpers/getPrototypeOf */"./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),t(/*! @babel/runtime/helpers/inherits */"./node_modules/@babel/runtime/helpers/inherits.js")],void 0===(i="function"==typeof(s=function(s,r,i,l,u,d){"use strict";var a=t(/*! @babel/runtime/helpers/interopRequireDefault */"./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0,r=a(r),i=a(i),l=a(l),u=a(u),d=a(d);var c=function(e){function o(e){var t,n=e.config;return(0,r.default)(this,o),(t=(0,l.default)(this,(0,u.default)(o).call(this,{config:n}))).output=null,t.blocksData=[],t}return(0,d.default)(o,e),(0,i.default)(o,[{key:"save",value:function(){var e=this,o=this.Editor.BlockManager.blocks,t=[];return o.forEach(function(e){t.push(e.data)}),Promise.all(t).then(function(o){return e.Editor.Sanitizer.sanitizeBlocks(o)}).then(function(o){return e.makeOutput(o)}).then(function(e){return e})}},{key:"makeOutput",value:function(e){var o=0,t=[];return console.groupCollapsed("[CodexEditor saving]:"),e.forEach(function(e){console.log("«".concat(e.tool,"» saving info"),e),o+=e.time,t.push({type:e.tool,data:e.data})}),console.log("Total",o),console.groupEnd(),{time:+new Date,version:"2.4.1",blocks:t}}}]),o}(n);s.default=c,c.displayName="Saver",e.exports=o.default})?s.apply(o,r):s)||(e.exports=i)}).call(this,t(/*! ./../__module.ts */"./src/components/__module.ts"))},"./src/components/modules/shortcuts.ts":
/*! no static exports found */function(e,o,t){(function(n){var s,r,i;r=[o,t(/*! @babel/runtime/helpers/classCallCheck */"./node_modules/@babel/runtime/helpers/classCallCheck.js"),t(/*! @babel/runtime/helpers/createClass */"./node_modules/@babel/runtime/helpers/createClass.js"),t(/*! @babel/runtime/helpers/possibleConstructorReturn */"./node_modules/@babel/runtime/helpers/possibleConstructorReturn.js"),t(/*! @babel/runtime/helpers/getPrototypeOf */"./node_modules/@babel/runtime/helpers/getPrototypeOf.js"),t(/*! @babel/runtime/helpers/inherits */"./node_modules/@babel/runtime/helpers/inherits.js")],void 0===(i="function"==typeof(s=function(s,r,i,l,u,d){"use strict";var a=t(/*! @babel/runtime/helpers/interopRequireDefault */"./node_modules/@babel/runtime/helpers/interopRequireDefault.js");Object.defineProperty(s,"__esModule",{value:!0}),s.default=void 0,r=a(r),i=a(i),l=a(l),u=a(u),d=a(d);var c=function(e){function o(e){var t,n=e.config;return(0,r.default)(this,o),(t=(0,l.default)(this,(0,u.default)(o).call(this,{config:n}))).output=null,t.blocksData=[],t}return(0,d.default)(o,e),(0,i.default)(o,[{key:"save",value:function(){var e=this,o=this.Editor.BlockManager.blocks,t=[];return o.forEach(function(e){t.push(e.data)}),Promise.all(t).then(function(o){return e.Editor.Sanitizer.sanitizeBlocks(o)}).then(function(o){return e.makeOutput(o)}).then(function(e){return e})}},{key:"makeOutput",value:function(e){var o=0,t=[];return console.groupCollapsed("[CodexEditor saving]:"),e.forEach(function(e){console.log("«".concat(e.tool,"» saving info"),e),o+=e.time,t.push({type:e.tool,data:e.data})}),console.log("Total",o),console.groupEnd(),{time:+new Date,version:"2.4.2",blocks:t}}}]),o}(n);s.default=c,c.displayName="Saver",e.exports=o.default})?s.apply(o,r):s)||(e.exports=i)}).call(this,t(/*! ./../__module.ts */"./src/components/__module.ts"))},"./src/components/modules/shortcuts.ts":
/*!*********************************************!*\
!*** ./src/components/modules/shortcuts.ts ***!
\*********************************************/

View file

@ -1,6 +1,6 @@
{
"name": "codex.editor",
"version": "2.4.1",
"version": "2.4.2",
"description": "Codex Editor. Native JS, based on API and Open Source",
"main": "build/codex-editor.js",
"scripts": {