-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: junoDevConfig for docker cli (#122)
* feat: junoDevConfig * 🤖 Documentation auto-update --------- Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com>
- Loading branch information
1 parent
61f7301
commit c935ec0
Showing
4 changed files
with
40 additions
and
15 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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import type {JunoDevConfig} from './juno.dev.config'; | ||
|
||
export type JunoDevConfigFn = () => JunoDevConfig; | ||
|
||
export type JunoDevConfigFnOrObject = JunoDevConfig | JunoDevConfigFn; | ||
|
||
export function defineDevConfig(config: JunoDevConfig): JunoDevConfig; | ||
export function defineDevConfig(config: JunoDevConfigFn): JunoDevConfigFn; | ||
export function defineDevConfig(config: JunoDevConfigFnOrObject): JunoDevConfigFnOrObject; | ||
export function defineDevConfig(config: JunoDevConfigFnOrObject): JunoDevConfigFnOrObject { | ||
return config; | ||
} |
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 |
---|---|---|
@@ -0,0 +1,13 @@ | ||
import type {JunoConfig} from './juno.config'; | ||
import type {JunoConfigEnv} from './juno.env'; | ||
|
||
export type JunoConfigFn = (config: JunoConfigEnv) => JunoConfig; | ||
|
||
export type JunoConfigFnOrObject = JunoConfig | JunoConfigFn; | ||
|
||
export function defineConfig(config: JunoConfig): JunoConfig; | ||
export function defineConfig(config: JunoConfigFn): JunoConfigFn; | ||
export function defineConfig(config: JunoConfigFnOrObject): JunoConfigFnOrObject; | ||
export function defineConfig(config: JunoConfigFnOrObject): JunoConfigFnOrObject { | ||
return config; | ||
} |