-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2bfbe59
commit 0437d6a
Showing
12 changed files
with
62 additions
and
73 deletions.
There are no files selected for viewing
File renamed without changes.
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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
COMPOSE_FILE= | ||
|
||
APP_TITLE= | ||
APP_GRAPHQL_CODEGEN_ENDPOINT= | ||
APP_GRAPHQL_ENDPOINT= |
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,9 +1,15 @@ | ||
import { | ||
defineConfig, | ||
Schema, | ||
} from '@julr/vite-plugin-validate-env'; | ||
import { Schema } from '@julr/vite-plugin-validate-env'; | ||
|
||
export default defineConfig({ | ||
COMPOSE_FILE: Schema.string.optional(), | ||
APP_TITLE: Schema.string.optional(), | ||
}); | ||
const envConfig = { | ||
validator: 'builtin', | ||
debug: true, | ||
schema: { | ||
// NOTE: We need to replace with URL | ||
APP_GRAPHQL_ENDPOINT: Schema.string(), | ||
|
||
// NOTE: It is not used for now | ||
APP_TITLE: Schema.string.optional(), | ||
}, | ||
}; | ||
|
||
export default envConfig; |
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 |
---|---|---|
|
@@ -21,8 +21,7 @@ | |
<title> | ||
%APP_TITLE% | ||
</title> | ||
<link href="https://fonts.googleapis.com/css2?family=Manrope:[email protected]&display=swap" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css2?family=Assistant:[email protected]&display=swap" rel="stylesheet"> | ||
<link href="https://fonts.googleapis.com/css2?family=Assistant:wght@300;400;600;700&family=Manrope:wght@300;400;600;700&display=swap" rel="stylesheet"> | ||
<style> | ||
html, body { | ||
margin: 0; | ||
|
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,18 @@ | ||
{ | ||
"$schema": "https://unpkg.com/knip@5/schema.json", | ||
/* NOTE: It is ignored because some of the files and types inside the generated will not be used but needed. */ | ||
"ignore": ["generated/**/*.ts"], | ||
"entry": [ | ||
"src/index.tsx!", | ||
"src/**/*.test.ts", | ||
"src/**/*.test.tsx" | ||
], | ||
"project": [ | ||
"src/**/*.tsx!", | ||
"src/**/*.ts!", | ||
"src/**/*.d.ts", | ||
"src/**/*.test.ts", | ||
"src/**/*.test.tsx", | ||
"generated/**/*.ts" | ||
] | ||
} |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.