-
-
Notifications
You must be signed in to change notification settings - Fork 3
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
Showing
30 changed files
with
2,111 additions
and
550 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
# Make a local copy `.env.example` as `.env` in your project root | ||
# This will have environment variables for production environment | ||
# Use .env.local to override environment variables in `.env` (like API keys) | ||
|
||
## dynamic public | ||
PUBLIC_BASE_URL=https://spectacular-console.vercel.app | ||
PUBLIC_DEFAULT_ORGANIZATION=chinthagunta | ||
PUBLIC_GRAPHQL_ENDPOINT=http://localhost:8080/v1/graphql | ||
|
||
PUBLIC_NHOST_SUBDOMAIN=local | ||
PUBLIC_NHOST_REGION= | ||
|
||
## dynamic private | ||
HASURA_GRAPHQL_ADMIN_SECRET=nhost-admin-secret | ||
|
||
## static public | ||
|
||
## static private | ||
|
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,3 +1,2 @@ | ||
# Hasura | ||
# HASURA_GRAPHQL_ENDPOINT=https://twirbianfvhmxhqfjtvi.hasura.us-east-1.nhost.run | ||
# HASURA_GRAPHQL_ADMIN_SECRET=8bb4e5a897d29a9821348e19546152ec | ||
PUBLIC_GRAPHQL_ENDPOINT=https://bggkthwysdvphygfecpa.hasura.us-east-1.nhost.run | ||
HASURA_GRAPHQL_ADMIN_SECRET= |
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,8 @@ | ||
/* jshint esversion: 9 */ | ||
|
||
module.exports = { | ||
'*.{js,ts,json,svelte}': ['pnpm run format', 'git add'], | ||
'./src/**/*.{svelte,ts}': ['pnpm run format', 'git add', 'pnpm run lint:fix'], | ||
'./.{ts,cjs,js}': ['pnpm run lint:fix'] | ||
'*': ['cspell --no-must-find-files', 'prettier --ignore-unknown --write'], | ||
'*.{js,cjs,mjs,jsx,ts,tsx}': ['eslint --fix'], | ||
'*.svelte': ['markuplint', 'eslint --fix'], | ||
'*.html': ['markuplint'] | ||
}; |
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,41 @@ | ||
module.exports = { | ||
parser: { | ||
'\\.svelte$': '@markuplint/svelte-parser' | ||
}, | ||
extends: ['markuplint:recommended'], | ||
excludeFiles: [ | ||
// TODO: Once the overrides option is fixed, remove these lines | ||
// ref: https://github.com/markuplint/markuplint/issues/1119 | ||
'./apps/web/src/app.html', | ||
'./apps/web/src/routes/CommentForm.svelte' | ||
], | ||
rules: { | ||
'character-reference': false, | ||
'ineffective-attr': false, | ||
'label-has-control': false, | ||
'require-accessible-name': false | ||
}, | ||
nodeRules: [ | ||
// For Svelte | ||
{ | ||
selector: 'textarea', | ||
rules: { | ||
'invalid-attr': { | ||
options: { | ||
allowAttrs: ['value'] | ||
} | ||
} | ||
} | ||
}, | ||
{ | ||
selector: 'input[type="file"]', | ||
rules: { | ||
'invalid-attr': { | ||
options: { | ||
allowAttrs: ['files'] | ||
} | ||
} | ||
} | ||
} | ||
] | ||
}; |
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,18 @@ | ||
.DS_Store | ||
node_modules | ||
/build | ||
/.svelte-kit | ||
/package | ||
.env | ||
.env.* | ||
!.env.example | ||
|
||
# Ignore files for PNPM, NPM and YARN | ||
pnpm-lock.yaml | ||
pnpm-workspace.yaml | ||
package-lock.json | ||
yarn.lock | ||
|
||
# custom | ||
/apps/ | ||
/packages/ |
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
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
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
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
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
Oops, something went wrong.