vue-sfc-rollup
Advanced tools
Comparing version 2.2.1 to 2.2.2
@@ -7,2 +7,7 @@ # Changelog | ||
## [2.2.2] - 2020-01-08 | ||
### Fixed | ||
- Fix eslint errors in files created by vue-sfc-rollup | ||
## [2.2.1] - 2019-12-31 | ||
@@ -9,0 +14,0 @@ |
@@ -6,3 +6,3 @@ { | ||
"license": "ISC", | ||
"version": "2.2.1", | ||
"version": "2.2.2", | ||
"bin": { | ||
@@ -9,0 +9,0 @@ "sfc-init": "./sfc-init.js" |
@@ -10,2 +10,3 @@ <% if (ts) { -%> | ||
// Define typescript interfaces for autoinstaller | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
interface InstallFunction extends PluginFunction<any> { | ||
@@ -35,3 +36,4 @@ installed?: boolean; | ||
// To auto-install when vue is found | ||
/* global window global */ | ||
// eslint-disable-next-line no-redeclare | ||
/* global window, global */ | ||
let GlobalVue = null; | ||
@@ -42,2 +44,3 @@ if (typeof window !== 'undefined') { | ||
<% if (ts) { -%> | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
GlobalVue = (global as any).Vue; | ||
@@ -44,0 +47,0 @@ <% } else { -%> |
@@ -0,2 +1,6 @@ | ||
<% if (ts) { -%> | ||
import Vue, { VNode } from 'vue'; | ||
<% } else { -%> | ||
import Vue from 'vue'; | ||
<% } -%> | ||
import Dev from '@/serve-dev.vue'; | ||
@@ -7,3 +11,7 @@ | ||
new Vue({ | ||
<% if (ts) { -%> | ||
render: (h): VNode => h(Dev), | ||
<% } else { -%> | ||
render: (h) => h(Dev), | ||
<% } -%> | ||
}).$mount('#app'); |
@@ -10,2 +10,3 @@ <% if (ts) { -%> | ||
// Define typescript interfaces for autoinstaller | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
interface InstallFunction extends PluginFunction<any> { | ||
@@ -36,3 +37,4 @@ installed?: boolean; | ||
// To auto-install when vue is found | ||
/* global window global */ | ||
// eslint-disable-next-line no-redeclare | ||
/* global window, global */ | ||
let GlobalVue = null; | ||
@@ -43,2 +45,3 @@ if (typeof window !== 'undefined') { | ||
<% if (ts) { -%> | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
GlobalVue = (global as any).Vue; | ||
@@ -60,2 +63,3 @@ <% } else { -%> | ||
<% if (ts) { -%> | ||
// eslint-disable-next-line @typescript-eslint/no-explicit-any | ||
(component as any as InstallableComponent).install = install; | ||
@@ -62,0 +66,0 @@ <% } else { -%> |
@@ -0,2 +1,6 @@ | ||
<% if (ts) { -%> | ||
import Vue, { VNode } from 'vue'; | ||
<% } else { -%> | ||
import Vue from 'vue'; | ||
<% } -%> | ||
import Dev from '@/serve-dev.vue'; | ||
@@ -7,3 +11,7 @@ | ||
new Vue({ | ||
<% if (ts) { -%> | ||
render: (h): VNode => h(Dev), | ||
<% } else { -%> | ||
render: (h) => h(Dev), | ||
<% } -%> | ||
}).$mount('#app'); |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
42936
819