@stacksjs/rpx 0.2.0 → 0.3.0
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/README.md +1 -0
- package/dist/cli.js +423 -216
- package/dist/hosts.d.ts +5 -0
- package/dist/https.d.ts +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +441 -230
- package/dist/start.d.ts +1 -1
- package/dist/types.d.ts +1 -0
- package/package.json +2 -2
package/dist/hosts.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export declare const hostsFilePath: string;
|
|
2
|
+
declare function sudoWrite(operation: 'append' | 'write', content: string): Promise<void>;
|
|
3
|
+
export declare function addHosts(hosts: string[]): Promise<void>;
|
|
4
|
+
export declare function removeHosts(hosts: string[]): Promise<void>;
|
|
5
|
+
export declare function checkHosts(hosts: string[]): Promise<boolean[]>;
|
package/dist/https.d.ts
CHANGED