@elementor/wp-lite-env 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- package/CHANGELOG.md +6 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.js +5 -0
- package/index.ts +1 -0
- package/package.json +1 -1
- package/src/run.ts +1 -1
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
@@ -1 +1,6 @@
|
|
1
1
|
#!/usr/bin/env node
|
2
|
+
declare const start: (port: string, runPath: string) => Promise<void>;
|
3
|
+
declare const stop: (port: string, runPath: string) => Promise<void>;
|
4
|
+
declare const cli: (port: string, runPath: string, command: string) => Promise<void>;
|
5
|
+
|
6
|
+
export { cli, start, stop };
|
package/dist/index.js
CHANGED
package/index.ts
CHANGED
package/package.json
CHANGED
package/src/run.ts
CHANGED
@@ -50,7 +50,7 @@ export const stop = async ( port: string, runPath: string ) => {
|
|
50
50
|
} );
|
51
51
|
};
|
52
52
|
|
53
|
-
const cli = async ( port: string, runPath: string, command: string ) => {
|
53
|
+
export const cli = async ( port: string, runPath: string, command: string ) => {
|
54
54
|
await run( 'cli', command, {
|
55
55
|
cwd: runPath,
|
56
56
|
commandOptions: [ '--rm' ],
|