unplugin-cloudflare-tunnel 0.0.1 → 0.0.2

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.
@@ -1,4 +1,4 @@
1
- import { r as CloudflareTunnel } from "./index-BK_mUExr.js";
1
+ import { CloudflareTunnel } from "./index.mjs";
2
2
 
3
3
  //#region src/vite.d.ts
4
4
 
@@ -1,7 +1,12 @@
1
- import { t as CloudflareTunnel } from "./src-CVRdCQUT.js";
1
+ import { CloudflareTunnel } from "./index.mjs";
2
2
 
3
3
  //#region src/vite.ts
4
4
  /**
5
+ * This entry file is for Vite plugin.
6
+ *
7
+ * @module
8
+ */
9
+ /**
5
10
  * Vite plugin
6
11
  *
7
12
  * @example
@@ -1,4 +1,4 @@
1
- import { r as CloudflareTunnel } from "./index-BK_mUExr.js";
1
+ import { CloudflareTunnel } from "./index.mjs";
2
2
 
3
3
  //#region src/webpack.d.ts
4
4
 
@@ -1,7 +1,12 @@
1
- import { t as CloudflareTunnel } from "./src-CVRdCQUT.js";
1
+ import { CloudflareTunnel } from "./index.mjs";
2
2
 
3
3
  //#region src/webpack.ts
4
4
  /**
5
+ * This entry file is for webpack plugin.
6
+ *
7
+ * @module
8
+ */
9
+ /**
5
10
  * Webpack plugin
6
11
  *
7
12
  * @example
package/package.json CHANGED
@@ -1,7 +1,6 @@
1
1
  {
2
2
  "name": "unplugin-cloudflare-tunnel",
3
- "version": "0.0.1",
4
- "packageManager": "bun@1.3.5",
3
+ "version": "0.0.2",
5
4
  "description": "A plugin that automatically creates and manages Cloudflare tunnels for local development",
6
5
  "type": "module",
7
6
  "imports": {
@@ -12,22 +11,21 @@
12
11
  "dist",
13
12
  "package.json"
14
13
  ],
15
- "main": "./dist/index.js",
16
- "module": "./dist/index.js",
17
- "types": "./dist/index.d.ts",
14
+ "main": "./dist/index.mjs",
15
+ "module": "./dist/index.mjs",
16
+ "types": "./dist/index.d.mts",
18
17
  "exports": {
19
- ".": "./dist/index.js",
20
- "./astro": "./dist/astro.js",
21
- "./vite": "./dist/vite.js",
22
- "./webpack": "./dist/webpack.js",
23
- "./rspack": "./dist/rspack.js",
24
- "./rollup": "./dist/rollup.js",
25
- "./rolldown": "./dist/rolldown.js",
26
- "./esbuild": "./dist/esbuild.js",
27
- "./farm": "./dist/farm.js",
28
- "./api": "./dist/api.js",
29
- "./*": "./*",
30
- "./virtual": "./dist/virtual.d.ts"
18
+ ".": "./dist/index.mjs",
19
+ "./api": "./dist/api.mjs",
20
+ "./astro": "./dist/astro.mjs",
21
+ "./esbuild": "./dist/esbuild.mjs",
22
+ "./farm": "./dist/farm.mjs",
23
+ "./rolldown": "./dist/rolldown.mjs",
24
+ "./rollup": "./dist/rollup.mjs",
25
+ "./rspack": "./dist/rspack.mjs",
26
+ "./vite": "./dist/vite.mjs",
27
+ "./webpack": "./dist/webpack.mjs",
28
+ "./*": "./*"
31
29
  },
32
30
  "typesVersions": {
33
31
  "*": {
@@ -38,48 +36,47 @@
38
36
  }
39
37
  },
40
38
  "scripts": {
41
- "build": "tsdown --config='tsdown.config.ts'",
39
+ "build": "tsdown",
42
40
  "check": "biome check . --fix --unsafe",
43
- "check:types": "tsc --project tsconfig.json --noEmit",
44
- "publint": "bun x publint@latest run --pack bun --strict",
45
- "attw": "bun x @arethetypeswrong/cli@latest --pack . --ignore-rules='false-cjs' --ignore-rules='cjs-resolves-to-esm'",
41
+ "check:types": "bun tsgo --project tsconfig.json --noEmit",
46
42
  "changeset:version": "changeset version && biome format . --write",
47
43
  "changeset:publish": "bun ./scripts/publish.ts --registry='https://registry.npmjs.org'",
48
- "*": "bun run build && bun check && bun check:types",
44
+ "publint": "bun x publint@latest run --pack bun --strict",
45
+ "attw": "bun x @arethetypeswrong/cli@latest --pack . --ignore-rules='false-cjs' --ignore-rules='cjs-resolves-to-esm'",
49
46
  "prepublishOnly": "bun run build"
50
47
  },
51
48
  "dependencies": {
52
49
  "cloudflared": "^0.7.1",
53
- "unplugin": "^2.3.10",
54
- "zod": "^4.2.1"
50
+ "unplugin": "^2.3.11"
55
51
  },
56
52
  "devDependencies": {
57
53
  "@arethetypeswrong/core": "^0.18.2",
58
54
  "@biomejs/biome": "^2.3.10",
59
55
  "@changesets/changelog-github": "^0.5.2",
60
56
  "@changesets/cli": "^2.29.8",
61
- "@rspack/core": "^1.5.7",
57
+ "@rspack/core": "^1.7.0",
62
58
  "@sxzz/test-utils": "^0.5.15",
63
59
  "@total-typescript/ts-reset": "^0.6.1",
64
60
  "@types/bun": "^1.3.5",
65
61
  "@types/node": "^25.0.3",
66
- "execa": "^9.6.1",
62
+ "@typescript/native-preview": "^7.0.0-dev.20251231.1",
67
63
  "publint": "^0.3.16",
68
- "rollup": "^4.52.3",
69
- "tsdown": "^0.15.12",
64
+ "rollup": "^4.54.0",
65
+ "tsdown": "^0.18.4",
70
66
  "tsx": "^4.21.0",
71
67
  "typescript": "^5.9.3",
72
68
  "unplugin-unused": "^0.5.6",
73
- "vite": "^7.1.12",
69
+ "vite": "^7.3.0",
74
70
  "vitest": "^4.0.16",
75
- "webpack-dev-server": "^5.2.2"
71
+ "webpack-dev-server": "^5.2.2",
72
+ "zod": "^4.3.3"
76
73
  },
77
74
  "peerDependencies": {
78
75
  "vite": ">=3",
79
76
  "esbuild": ">=0.2",
80
- "rollup": "^3",
77
+ "rollup": ">=3",
81
78
  "@farmfe/core": ">=1",
82
- "webpack": "^5",
79
+ "webpack": ">=5",
83
80
  "@rspack/core": ">=1",
84
81
  "astro": ">=5"
85
82
  },
@@ -109,6 +106,12 @@
109
106
  "optional": true
110
107
  }
111
108
  },
109
+ "resolutions": {
110
+ "zod": "^4.3.3"
111
+ },
112
+ "overrides": {
113
+ "zod": "^4.3.3"
114
+ },
112
115
  "engines": {
113
116
  "node": ">=20.0"
114
117
  },
@@ -123,6 +126,7 @@
123
126
  "farm",
124
127
  "astro"
125
128
  ],
129
+ "packageManager": "bun@1.3.5",
126
130
  "license": "MIT",
127
131
  "repository": "o-az/unplugin-cloudflare-tunnel",
128
132
  "readme": "https://github.com/o-az/unplugin-cloudflare-tunnel/blob/main/.github/README.md",
package/dist/index.d.ts DELETED
@@ -1,2 +0,0 @@
1
- import { a as DNSRecord, i as CloudflareTunnelOptions, n as CloudflareApiResponse, o as Tunnel, r as CloudflareTunnel, s as Zone, t as Account } from "./index-BK_mUExr.js";
2
- export { Account, CloudflareApiResponse, CloudflareTunnel, CloudflareTunnel as default, CloudflareTunnelOptions, DNSRecord, Tunnel, Zone };
package/dist/index.js DELETED
@@ -1,3 +0,0 @@
1
- import { n as src_default, t as CloudflareTunnel } from "./src-CVRdCQUT.js";
2
-
3
- export { CloudflareTunnel, src_default as default };
File without changes
File without changes
File without changes
File without changes