unplugin-dingtalk 0.1.1 → 0.1.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/astro.cjs +1 -1
- package/dist/astro.js +1 -1
- package/dist/{chunk-KYZ5HD2N.js → chunk-BNQALGGL.js} +1 -1
- package/dist/{chunk-NRP2YPPZ.js → chunk-KEG2NDRE.js} +1 -1
- package/dist/{chunk-I4UPMGWK.js → chunk-QTZOG6NL.js} +1 -1
- package/dist/esbuild.cjs +1 -1
- package/dist/esbuild.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/nuxt.cjs +1 -1
- package/dist/nuxt.js +3 -3
- package/dist/rollup.cjs +1 -1
- package/dist/rollup.js +1 -1
- package/dist/rspack.cjs +1 -1
- package/dist/rspack.js +1 -1
- package/dist/vite.cjs +1 -1
- package/dist/vite.js +2 -2
- package/dist/webpack.cjs +1 -1
- package/dist/webpack.js +2 -2
- package/package.json +12 -13
package/dist/astro.cjs
CHANGED
|
@@ -238,7 +238,7 @@ var unpluginFactory = (options) => {
|
|
|
238
238
|
},
|
|
239
239
|
transform(_source) {
|
|
240
240
|
var _a2, _b, _c;
|
|
241
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
241
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
242
242
|
const code = `/* eslint-disable */;
|
|
243
243
|
import { devtools } from '@vue/devtools'
|
|
244
244
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/astro.js
CHANGED
|
@@ -232,7 +232,7 @@ var unpluginFactory = (options) => {
|
|
|
232
232
|
},
|
|
233
233
|
transform(_source) {
|
|
234
234
|
var _a2, _b, _c;
|
|
235
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
235
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
236
236
|
const code = `/* eslint-disable */;
|
|
237
237
|
import { devtools } from '@vue/devtools'
|
|
238
238
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/esbuild.cjs
CHANGED
|
@@ -239,7 +239,7 @@ var unpluginFactory = (options) => {
|
|
|
239
239
|
},
|
|
240
240
|
transform(_source) {
|
|
241
241
|
var _a2, _b, _c;
|
|
242
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
242
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
243
243
|
const code = `/* eslint-disable */;
|
|
244
244
|
import { devtools } from '@vue/devtools'
|
|
245
245
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/esbuild.js
CHANGED
package/dist/index.cjs
CHANGED
|
@@ -238,7 +238,7 @@ var unpluginFactory = (options) => {
|
|
|
238
238
|
},
|
|
239
239
|
transform(_source) {
|
|
240
240
|
var _a2, _b, _c;
|
|
241
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
241
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
242
242
|
const code = `/* eslint-disable */;
|
|
243
243
|
import { devtools } from '@vue/devtools'
|
|
244
244
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/index.js
CHANGED
package/dist/nuxt.cjs
CHANGED
|
@@ -242,7 +242,7 @@ var unpluginFactory = (options) => {
|
|
|
242
242
|
},
|
|
243
243
|
transform(_source) {
|
|
244
244
|
var _a2, _b, _c;
|
|
245
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
245
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
246
246
|
const code = `/* eslint-disable */;
|
|
247
247
|
import { devtools } from '@vue/devtools'
|
|
248
248
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/nuxt.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webpack_default
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-BNQALGGL.js";
|
|
4
4
|
import {
|
|
5
5
|
vite_default
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-KEG2NDRE.js";
|
|
7
|
+
import "./chunk-QTZOG6NL.js";
|
|
8
8
|
|
|
9
9
|
// src/nuxt.ts
|
|
10
10
|
import { addVitePlugin, addWebpackPlugin, defineNuxtModule } from "@nuxt/kit";
|
package/dist/rollup.cjs
CHANGED
|
@@ -239,7 +239,7 @@ var unpluginFactory = (options) => {
|
|
|
239
239
|
},
|
|
240
240
|
transform(_source) {
|
|
241
241
|
var _a2, _b, _c;
|
|
242
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
242
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
243
243
|
const code = `/* eslint-disable */;
|
|
244
244
|
import { devtools } from '@vue/devtools'
|
|
245
245
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/rollup.js
CHANGED
package/dist/rspack.cjs
CHANGED
|
@@ -239,7 +239,7 @@ var unpluginFactory = (options) => {
|
|
|
239
239
|
},
|
|
240
240
|
transform(_source) {
|
|
241
241
|
var _a2, _b, _c;
|
|
242
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
242
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
243
243
|
const code = `/* eslint-disable */;
|
|
244
244
|
import { devtools } from '@vue/devtools'
|
|
245
245
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/rspack.js
CHANGED
package/dist/vite.cjs
CHANGED
|
@@ -239,7 +239,7 @@ var unpluginFactory = (options) => {
|
|
|
239
239
|
},
|
|
240
240
|
transform(_source) {
|
|
241
241
|
var _a2, _b, _c;
|
|
242
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
242
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
243
243
|
const code = `/* eslint-disable */;
|
|
244
244
|
import { devtools } from '@vue/devtools'
|
|
245
245
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/vite.js
CHANGED
package/dist/webpack.cjs
CHANGED
|
@@ -239,7 +239,7 @@ var unpluginFactory = (options) => {
|
|
|
239
239
|
},
|
|
240
240
|
transform(_source) {
|
|
241
241
|
var _a2, _b, _c;
|
|
242
|
-
if ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable) {
|
|
242
|
+
if ((options == null ? void 0 : options.enable) && ((_a2 = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _a2.enable)) {
|
|
243
243
|
const code = `/* eslint-disable */;
|
|
244
244
|
import { devtools } from '@vue/devtools'
|
|
245
245
|
devtools.connect(${(_b = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _b.host}, ${(_c = options == null ? void 0 : options.vueDevtools) == null ? void 0 : _c.port})
|
package/dist/webpack.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "unplugin-dingtalk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.6",
|
|
5
5
|
"description": "",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"homepage": "https://github.com/zcf0508/unplugin-dingtalk#readme",
|
|
@@ -81,17 +81,6 @@
|
|
|
81
81
|
"files": [
|
|
82
82
|
"dist"
|
|
83
83
|
],
|
|
84
|
-
"scripts": {
|
|
85
|
-
"build": "tsup",
|
|
86
|
-
"dev": "tsup --watch src",
|
|
87
|
-
"build:fix": "esno scripts/postbuild.ts",
|
|
88
|
-
"lint": "eslint .",
|
|
89
|
-
"play": "npm -C playground run dev",
|
|
90
|
-
"prepublishOnly": "npm run build",
|
|
91
|
-
"release": "bumpp && npm publish",
|
|
92
|
-
"start": "esno src/index.ts",
|
|
93
|
-
"test": "vitest"
|
|
94
|
-
},
|
|
95
84
|
"peerDependencies": {
|
|
96
85
|
"@nuxt/kit": "^3",
|
|
97
86
|
"@nuxt/schema": "^3",
|
|
@@ -151,5 +140,15 @@
|
|
|
151
140
|
"vite-plugin-vconsole": "^2.1.1",
|
|
152
141
|
"vitest": "^0.34.6",
|
|
153
142
|
"webpack": "^5.89.0"
|
|
143
|
+
},
|
|
144
|
+
"scripts": {
|
|
145
|
+
"build": "tsup",
|
|
146
|
+
"dev": "tsup --watch src",
|
|
147
|
+
"build:fix": "esno scripts/postbuild.ts",
|
|
148
|
+
"lint": "eslint .",
|
|
149
|
+
"play": "npm -C playground run dev",
|
|
150
|
+
"release": "bumpp",
|
|
151
|
+
"start": "esno src/index.ts",
|
|
152
|
+
"test": "vitest"
|
|
154
153
|
}
|
|
155
|
-
}
|
|
154
|
+
}
|