From 1e5f55a4996a5e76739ba4b5194782da995f94d0 Mon Sep 17 00:00:00 2001 From: Matt Brophy Date: Sat, 20 Apr 2019 12:19:47 -0400 Subject: [PATCH] Remove committed dist folder --- .../dist/dummy-component.esm.js | 208 ----------------- .../dist/dummy-component.min.js | 1 - .../dist/dummy-component.umd.js | 218 ------------------ 3 files changed, 427 deletions(-) delete mode 100644 packages/vue-dummy-published-component/dist/dummy-component.esm.js delete mode 100644 packages/vue-dummy-published-component/dist/dummy-component.min.js delete mode 100644 packages/vue-dummy-published-component/dist/dummy-component.umd.js diff --git a/packages/vue-dummy-published-component/dist/dummy-component.esm.js b/packages/vue-dummy-published-component/dist/dummy-component.esm.js deleted file mode 100644 index 3ab33f5..0000000 --- a/packages/vue-dummy-published-component/dist/dummy-component.esm.js +++ /dev/null @@ -1,208 +0,0 @@ -// -// -// -// -// -// - -var script = { - name: 'DummyComponent', -}; - -function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier -/* server only */ -, shadowMode, createInjector, createInjectorSSR, createInjectorShadow) { - if (typeof shadowMode !== 'boolean') { - createInjectorSSR = createInjector; - createInjector = shadowMode; - shadowMode = false; - } // Vue.extend constructor export interop. - - - var options = typeof script === 'function' ? script.options : script; // render functions - - if (template && template.render) { - options.render = template.render; - options.staticRenderFns = template.staticRenderFns; - options._compiled = true; // functional template - - if (isFunctionalTemplate) { - options.functional = true; - } - } // scopedId - - - if (scopeId) { - options._scopeId = scopeId; - } - - var hook; - - if (moduleIdentifier) { - // server build - hook = function hook(context) { - // 2.3 injection - context = context || // cached call - this.$vnode && this.$vnode.ssrContext || // stateful - this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional - // 2.2 with runInNewContext: true - - if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { - context = __VUE_SSR_CONTEXT__; - } // inject component styles - - - if (style) { - style.call(this, createInjectorSSR(context)); - } // register component module identifier for async chunk inference - - - if (context && context._registeredComponents) { - context._registeredComponents.add(moduleIdentifier); - } - }; // used by ssr in case component is cached and beforeCreate - // never gets called - - - options._ssrRegister = hook; - } else if (style) { - hook = shadowMode ? function () { - style.call(this, createInjectorShadow(this.$root.$options.shadowRoot)); - } : function (context) { - style.call(this, createInjector(context)); - }; - } - - if (hook) { - if (options.functional) { - // register for functional component in vue file - var originalRender = options.render; - - options.render = function renderWithStyleInjection(h, context) { - hook.call(context); - return originalRender(h, context); - }; - } else { - // inject component registration as beforeCreate hook - var existing = options.beforeCreate; - options.beforeCreate = existing ? [].concat(existing, hook) : [hook]; - } - } - - return script; -} - -var normalizeComponent_1 = normalizeComponent; - -var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase()); -function createInjector(context) { - return function (id, style) { - return addStyle(id, style); - }; -} -var HEAD = document.head || document.getElementsByTagName('head')[0]; -var styles = {}; - -function addStyle(id, css) { - var group = isOldIE ? css.media || 'default' : id; - var style = styles[group] || (styles[group] = { - ids: new Set(), - styles: [] - }); - - if (!style.ids.has(id)) { - style.ids.add(id); - var code = css.source; - - if (css.map) { - // https://developer.chrome.com/devtools/docs/javascript-debugging - // this makes source maps inside style tags work properly in Chrome - code += '\n/*# sourceURL=' + css.map.sources[0] + ' */'; // http://stackoverflow.com/a/26603875 - - code += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) + ' */'; - } - - if (!style.element) { - style.element = document.createElement('style'); - style.element.type = 'text/css'; - if (css.media) { style.element.setAttribute('media', css.media); } - HEAD.appendChild(style.element); - } - - if ('styleSheet' in style.element) { - style.styles.push(code); - style.element.styleSheet.cssText = style.styles.filter(Boolean).join('\n'); - } else { - var index = style.ids.size - 1; - var textNode = document.createTextNode(code); - var nodes = style.element.childNodes; - if (nodes[index]) { style.element.removeChild(nodes[index]); } - if (nodes.length) { style.element.insertBefore(textNode, nodes[index]); }else { style.element.appendChild(textNode); } - } - } -} - -var browser = createInjector; - -/* script */ -var __vue_script__ = script; -// For security concerns, we use only base name in production mode. See https://github.com/vuejs/rollup-plugin-vue/issues/258 -script.__file = "DummyComponent.vue"; - -/* template */ -var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h1',{staticClass:"heading"},[_vm._v("\n Hello World!\n")])}; -var __vue_staticRenderFns__ = []; - - /* style */ - var __vue_inject_styles__ = function (inject) { - if (!inject) { return } - inject("data-v-fa8fd9e4_0", { source: ".heading{color:red}", map: undefined, media: undefined }); - - }; - /* scoped */ - var __vue_scope_id__ = undefined; - /* module identifier */ - var __vue_module_identifier__ = undefined; - /* functional template */ - var __vue_is_functional_template__ = false; - /* style inject SSR */ - - - - var DummyComponent = normalizeComponent_1( - { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ }, - __vue_inject_styles__, - __vue_script__, - __vue_scope_id__, - __vue_is_functional_template__, - __vue_module_identifier__, - browser, - undefined - ); - -function install(Vue) { - if (install.installed) { - return; - } - install.installed = true; - Vue.component('DummyComponent', DummyComponent); -} - -var plugin = { - install: install, -}; - -var GlobalVue = null; -if (typeof window !== 'undefined') { - GlobalVue = window.Vue; -} else if (typeof global !== 'undefined') { - GlobalVue = global.Vue; -} - -if (GlobalVue) { - GlobalVue.use(plugin); -} - -DummyComponent.install = install; - -export default DummyComponent; diff --git a/packages/vue-dummy-published-component/dist/dummy-component.min.js b/packages/vue-dummy-published-component/dist/dummy-component.min.js deleted file mode 100644 index 768a838..0000000 --- a/packages/vue-dummy-published-component/dist/dummy-component.min.js +++ /dev/null @@ -1 +0,0 @@ -var DummyComponent=function(e){"use strict";function n(e,n,t,o,i,s,a,r,d,l){"boolean"!=typeof a&&(d=r,r=a,a=!1);var u="function"==typeof t?t.options:t;e&&e.render&&(u.render=e.render,u.staticRenderFns=e.staticRenderFns,u._compiled=!0,i&&(u.functional=!0)),o&&(u._scopeId=o);var c;if(s?(c=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),n&&n.call(this,d(e)),e&&e._registeredComponents&&e._registeredComponents.add(s)},u._ssrRegister=c):n&&(c=a?function(){n.call(this,l(this.$root.$options.shadowRoot))}:function(e){n.call(this,r(e))}),c)if(u.functional){var m=u.render;u.render=function(e,n){return c.call(n),m(e,n)}}else{var f=u.beforeCreate;u.beforeCreate=f?[].concat(f,c):[c]}return t}function t(e){return function(e,n){return o(e,n)}}function o(e,n){var t=r?n.media||"default":e,o=l[t]||(l[t]={ids:new Set,styles:[]});if(!o.ids.has(e)){o.ids.add(e);var i=n.source;if(n.map&&(i+="\n/*# sourceURL="+n.map.sources[0]+" */",i+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(n.map))))+" */"),o.element||(o.element=document.createElement("style"),o.element.type="text/css",n.media&&o.element.setAttribute("media",n.media),d.appendChild(o.element)),"styleSheet"in o.element)o.styles.push(i),o.element.styleSheet.cssText=o.styles.filter(Boolean).join("\n");else{var s=o.ids.size-1,a=document.createTextNode(i),u=o.element.childNodes;u[s]&&o.element.removeChild(u[s]),u.length?o.element.insertBefore(a,u[s]):o.element.appendChild(a)}}}function i(e){i.installed||(i.installed=!0,e.component("DummyComponent",m))}var s={name:"DummyComponent"},a=n,r="undefined"!=typeof navigator&&/msie [6-9]\\b/.test(navigator.userAgent.toLowerCase()),d=document.head||document.getElementsByTagName("head")[0],l={},u=t,c=s;s.__file="DummyComponent.vue";var m=a({render:function(){var e=this,n=e.$createElement;return(e._self._c||n)("h1",{staticClass:"heading"},[e._v("\n Hello World!\n")])},staticRenderFns:[]},function(e){e&&e("data-v-fa8fd9e4_0",{source:".heading{color:red}",map:void 0,media:void 0})},c,void 0,!1,void 0,u,void 0),f={install:i},p=null;return"undefined"!=typeof window?p=window.Vue:"undefined"!=typeof global&&(p=global.Vue),p&&p.use(f),m.install=i,e.default=m,e}({}); diff --git a/packages/vue-dummy-published-component/dist/dummy-component.umd.js b/packages/vue-dummy-published-component/dist/dummy-component.umd.js deleted file mode 100644 index f59c33c..0000000 --- a/packages/vue-dummy-published-component/dist/dummy-component.umd.js +++ /dev/null @@ -1,218 +0,0 @@ -(function (global, factory) { - typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports) : - typeof define === 'function' && define.amd ? define(['exports'], factory) : - (global = global || self, factory(global.DummyComponent = {})); -}(this, function (exports) { 'use strict'; - - // - // - // - // - // - // - - var script = { - name: 'DummyComponent', - }; - - function normalizeComponent(template, style, script, scopeId, isFunctionalTemplate, moduleIdentifier - /* server only */ - , shadowMode, createInjector, createInjectorSSR, createInjectorShadow) { - if (typeof shadowMode !== 'boolean') { - createInjectorSSR = createInjector; - createInjector = shadowMode; - shadowMode = false; - } // Vue.extend constructor export interop. - - - var options = typeof script === 'function' ? script.options : script; // render functions - - if (template && template.render) { - options.render = template.render; - options.staticRenderFns = template.staticRenderFns; - options._compiled = true; // functional template - - if (isFunctionalTemplate) { - options.functional = true; - } - } // scopedId - - - if (scopeId) { - options._scopeId = scopeId; - } - - var hook; - - if (moduleIdentifier) { - // server build - hook = function hook(context) { - // 2.3 injection - context = context || // cached call - this.$vnode && this.$vnode.ssrContext || // stateful - this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext; // functional - // 2.2 with runInNewContext: true - - if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') { - context = __VUE_SSR_CONTEXT__; - } // inject component styles - - - if (style) { - style.call(this, createInjectorSSR(context)); - } // register component module identifier for async chunk inference - - - if (context && context._registeredComponents) { - context._registeredComponents.add(moduleIdentifier); - } - }; // used by ssr in case component is cached and beforeCreate - // never gets called - - - options._ssrRegister = hook; - } else if (style) { - hook = shadowMode ? function () { - style.call(this, createInjectorShadow(this.$root.$options.shadowRoot)); - } : function (context) { - style.call(this, createInjector(context)); - }; - } - - if (hook) { - if (options.functional) { - // register for functional component in vue file - var originalRender = options.render; - - options.render = function renderWithStyleInjection(h, context) { - hook.call(context); - return originalRender(h, context); - }; - } else { - // inject component registration as beforeCreate hook - var existing = options.beforeCreate; - options.beforeCreate = existing ? [].concat(existing, hook) : [hook]; - } - } - - return script; - } - - var normalizeComponent_1 = normalizeComponent; - - var isOldIE = typeof navigator !== 'undefined' && /msie [6-9]\\b/.test(navigator.userAgent.toLowerCase()); - function createInjector(context) { - return function (id, style) { - return addStyle(id, style); - }; - } - var HEAD = document.head || document.getElementsByTagName('head')[0]; - var styles = {}; - - function addStyle(id, css) { - var group = isOldIE ? css.media || 'default' : id; - var style = styles[group] || (styles[group] = { - ids: new Set(), - styles: [] - }); - - if (!style.ids.has(id)) { - style.ids.add(id); - var code = css.source; - - if (css.map) { - // https://developer.chrome.com/devtools/docs/javascript-debugging - // this makes source maps inside style tags work properly in Chrome - code += '\n/*# sourceURL=' + css.map.sources[0] + ' */'; // http://stackoverflow.com/a/26603875 - - code += '\n/*# sourceMappingURL=data:application/json;base64,' + btoa(unescape(encodeURIComponent(JSON.stringify(css.map)))) + ' */'; - } - - if (!style.element) { - style.element = document.createElement('style'); - style.element.type = 'text/css'; - if (css.media) { style.element.setAttribute('media', css.media); } - HEAD.appendChild(style.element); - } - - if ('styleSheet' in style.element) { - style.styles.push(code); - style.element.styleSheet.cssText = style.styles.filter(Boolean).join('\n'); - } else { - var index = style.ids.size - 1; - var textNode = document.createTextNode(code); - var nodes = style.element.childNodes; - if (nodes[index]) { style.element.removeChild(nodes[index]); } - if (nodes.length) { style.element.insertBefore(textNode, nodes[index]); }else { style.element.appendChild(textNode); } - } - } - } - - var browser = createInjector; - - /* script */ - var __vue_script__ = script; - // For security concerns, we use only base name in production mode. See https://github.com/vuejs/rollup-plugin-vue/issues/258 - script.__file = "DummyComponent.vue"; - - /* template */ - var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('h1',{staticClass:"heading"},[_vm._v("\n Hello World!\n")])}; - var __vue_staticRenderFns__ = []; - - /* style */ - var __vue_inject_styles__ = function (inject) { - if (!inject) { return } - inject("data-v-fa8fd9e4_0", { source: ".heading{color:red}", map: undefined, media: undefined }); - - }; - /* scoped */ - var __vue_scope_id__ = undefined; - /* module identifier */ - var __vue_module_identifier__ = undefined; - /* functional template */ - var __vue_is_functional_template__ = false; - /* style inject SSR */ - - - - var DummyComponent = normalizeComponent_1( - { render: __vue_render__, staticRenderFns: __vue_staticRenderFns__ }, - __vue_inject_styles__, - __vue_script__, - __vue_scope_id__, - __vue_is_functional_template__, - __vue_module_identifier__, - browser, - undefined - ); - - function install(Vue) { - if (install.installed) { - return; - } - install.installed = true; - Vue.component('DummyComponent', DummyComponent); - } - - var plugin = { - install: install, - }; - - var GlobalVue = null; - if (typeof window !== 'undefined') { - GlobalVue = window.Vue; - } else if (typeof global !== 'undefined') { - GlobalVue = global.Vue; - } - - if (GlobalVue) { - GlobalVue.use(plugin); - } - - DummyComponent.install = install; - - exports.default = DummyComponent; - - Object.defineProperty(exports, '__esModule', { value: true }); - -}));