vite-plugin-rpx 0.11.0 → 0.11.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.
- package/dist/index.d.ts +3 -1
- package/dist/index.js +4833 -9903
- package/dist/simplified-plugin.d.ts +1 -3
- package/dist/types.d.ts +1 -9
- package/dist/utils.d.ts +1 -1
- package/package.json +3 -3
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
import type { Plugin } from 'vite';
|
|
2
2
|
import type { VitePluginRpxOptions } from './types';
|
|
3
3
|
export declare function SimplifiedVitePlugin(options?: SimplifiedPluginOptions): Plugin;
|
|
4
|
-
export declare interface SimplifiedPluginOptions extends VitePluginRpxOptions {
|
|
5
|
-
|
|
6
|
-
}
|
|
4
|
+
export declare interface SimplifiedPluginOptions extends VitePluginRpxOptions {}
|
package/dist/types.d.ts
CHANGED
|
@@ -6,19 +6,11 @@ export declare interface VitePluginRpxOptions {
|
|
|
6
6
|
https?: boolean | TlsConfig
|
|
7
7
|
cleanUrls?: boolean
|
|
8
8
|
cleanup?: boolean | {
|
|
9
|
-
/**
|
|
10
|
-
* Whether to clean up hosts file entries
|
|
11
|
-
* @default true
|
|
12
|
-
*/
|
|
13
9
|
hosts?: boolean
|
|
14
|
-
/**
|
|
15
|
-
* Whether to clean up SSL certificates
|
|
16
|
-
* @default false
|
|
17
|
-
*/
|
|
18
10
|
certs?: boolean
|
|
19
11
|
}
|
|
20
12
|
changeOrigin?: boolean
|
|
21
13
|
verbose?: boolean
|
|
22
14
|
regenerateUntrustedCerts?: boolean
|
|
23
15
|
enableHmr?: boolean
|
|
24
|
-
}
|
|
16
|
+
}
|
package/dist/utils.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import type { SingleReverseProxyConfig } from '@stacksjs/rpx';
|
|
2
2
|
import type { VitePluginRpxOptions } from './types';
|
|
3
3
|
export declare function getDefaultSSLConfig(): { caCertPath: string, certPath: string, keyPath: string };
|
|
4
|
-
export declare function buildConfig(options: VitePluginRpxOptions, serverUrl?: string): SingleReverseProxyConfig;
|
|
4
|
+
export declare function buildConfig(options: VitePluginRpxOptions, serverUrl?: string): SingleReverseProxyConfig;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vite-plugin-rpx",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.11.
|
|
4
|
+
"version": "0.11.2",
|
|
5
5
|
"description": "A modern and smart reverse proxy. Vite plugin.",
|
|
6
6
|
"author": "Chris Breuer <chris@stacksjs.org>",
|
|
7
7
|
"license": "MIT",
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"typecheck": "bunx tsc --noEmit"
|
|
48
48
|
},
|
|
49
49
|
"dependencies": {
|
|
50
|
-
"@stacksjs/rpx": "0.11.
|
|
51
|
-
"@stacksjs/tlsx": "^0.
|
|
50
|
+
"@stacksjs/rpx": "0.11.2",
|
|
51
|
+
"@stacksjs/tlsx": "^0.13.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"bun-plugin-dtsx": "^0.21.17"
|