-
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
Showing
40 changed files
with
2,712 additions
and
2,497 deletions.
There are no files selected for viewing
16 changes: 10 additions & 6 deletions
16
.github/workflows/deploy.yaml → .github/workflows/based-create-env.yml
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
20 changes: 13 additions & 7 deletions
20
.github/workflows/delete.yaml → .github/workflows/based-delete-env.yml
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.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/****************************************************************** | ||
* * | ||
* The 'based.ts' file is the entry point of your project * | ||
* in the Based Cloud. * | ||
* * | ||
* This file specifies where the '@based/client' should connect. * | ||
* * | ||
* As a TypeScript file, you can define multiple exports for * | ||
* different environments, such as development, tests, or * | ||
* production. Use 'process.env' to dynamically control which * | ||
* environment the '@based/client' connects to. * | ||
* * | ||
* Alternatively, you can use a plain JavaScript file or even * | ||
* a JSON file if preferred. * | ||
* * | ||
******************************************************************/ | ||
|
||
export default { | ||
/**************************************************************** | ||
* The 'organization' you created in the Based Cloud Dashboard. * | ||
****************************************************************/ | ||
org: 'hello-world', | ||
/**************************************************************** | ||
* The 'project' you created in this organization. * | ||
****************************************************************/ | ||
project: 'example', | ||
/**************************************************************** | ||
* * | ||
* The 'environment' you created in the project. * | ||
* * | ||
* You can also use '#branch' to dynamically point the * | ||
* '@based/client' to the branch you are currently working on. * | ||
* * | ||
****************************************************************/ | ||
env: 'main', | ||
} |
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,40 @@ | ||
{ | ||
"$schema": "https://biomejs.dev/schemas/1.9.4/schema.json", | ||
"vcs": { | ||
"enabled": false, | ||
"clientKind": "git", | ||
"useIgnoreFile": true | ||
}, | ||
"files": { | ||
"ignoreUnknown": false, | ||
"ignore": ["dist", "node_modules"] | ||
}, | ||
"formatter": { | ||
"enabled": true, | ||
"indentStyle": "space" | ||
}, | ||
"organizeImports": { | ||
"enabled": true | ||
}, | ||
"linter": { | ||
"enabled": true, | ||
"rules": { | ||
"recommended": true, | ||
"correctness": { | ||
"noUnusedVariables": "warn", | ||
"noUnusedFunctionParameters": "warn", | ||
"noUnusedImports": "warn" | ||
}, | ||
"style": { | ||
"noParameterAssign": "off", | ||
"noInferrableTypes": "off" | ||
} | ||
} | ||
}, | ||
"javascript": { | ||
"formatter": { | ||
"quoteStyle": "single", | ||
"semicolons": "asNeeded" | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.