-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(react): add custom domain (#190)
Implement of winglang/wing#6178 I also deleted `get-port` from the code, it causes a compilation error (in addition to not being used at the moment): ``` Error: require() of ES Module /Users/meir/Documents/GitHub/winglibs2/react/node_modules/get-port/index.js from /Users/meir/Documents/GitHub/winglibs2/react/utils.js not supported. Instead change the require of index.js in /Users/meir/Documents/GitHub/winglibs2/react/utils.js to a dynamic import() which is available in all CommonJS modules. ```
- Loading branch information
Showing
7 changed files
with
4 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
{ | ||
"name": "@winglibs/react", | ||
"description": "React library for Wing", | ||
"version": "0.0.1", | ||
"version": "0.0.2", | ||
"author": { | ||
"name": "Meir Elbaz", | ||
"email": "[email protected]" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
export default interface extern { | ||
exec: (command: string, env: Record<string, string>, cwd: string) => Promise<() => Promise<void>>, | ||
execSync: (command: string, env: Record<string, string>, cwd: string) => void, | ||
getPort: () => Promise<number>, | ||
serveStaticFiles: (path: string, port: number) => Promise<() => Promise<void>>, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters