Skip to content

Commit c4b5532

Browse files
authored
Merge pull request #25 from tago-io/APPD-414_Update_Deno
APPD-414 Update to Deno
2 parents a24aa48 + 1900c90 commit c4b5532

35 files changed

Lines changed: 455 additions & 388 deletions

README.md

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -70,8 +70,8 @@ List of commands of the CLI
7070
| list-env | list all your environment and show current default |
7171
| | |
7272
| **Analysis** | |
73-
| deploy, analysis-deploy [name] | deploy your analysis to TagoIO |
74-
| run, analysis-run [name] | run your TagoIO analysis from your machine. |
73+
| deploy, analysis-deploy [name] | deploy your analysis to TagoIO (supports `--deno`, `--node` runtime flags) |
74+
| run, analysis-run [name] | run your TagoIO analysis from your machine (supports `--deno` and `--node` runtime flags) |
7575
| at, analysis-trigger [name] | send a signal to trigger your analysis TagoIO |
7676
| ac, analysis-console [name] | connect to your Analysis Console |
7777
| ad, analysis-duplicate [ID] | duplicate your Analysis |
@@ -172,7 +172,9 @@ Having a `tagoconfig.json` file is essential for executing several commands, suc
172172
- **tagoio deploy**: This command deploys your project to the TagoIO platform.
173173

174174
```sh
175-
tagoio deploy
175+
tagoio deploy # Detect the current runtime
176+
tagoio deploy --deno # Force Deno runtime
177+
tagoio deploy --node # Force Node.js runtime
176178
```
177179

178180
- **tagoio trigger**: Use this command to trigger specific actions or events in your project.
@@ -184,7 +186,9 @@ Having a `tagoconfig.json` file is essential for executing several commands, suc
184186
- **tagoio run**: This command allows you to run your project locally for testing and development.
185187

186188
```sh
187-
tagoio run
189+
tagoio run # Detect the current runtime
190+
tagoio run --deno # Force Deno runtime
191+
tagoio run --node # Force Node.js runtime
188192
```
189193

190194

biome.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"$schema": "https://biomejs.dev/schemas/1.9.3/schema.json",
2+
"$schema": "https://biomejs.dev/schemas/2.1.4/schema.json",
33
"formatter": {
44
"enabled": true,
55
"formatWithErrors": false,
@@ -14,21 +14,20 @@
1414
"enabled": true,
1515
"useIgnoreFile": true
1616
},
17-
"organizeImports": { "enabled": true },
17+
"assist": { "actions": { "source": { "organizeImports": "on" } } },
1818
"linter": {
19-
"ignore": ["node_modules", ".tagoio", "build"],
19+
"includes": ["**", "!**/node_modules", "!**/.tagoio", "!**/build"],
2020
"enabled": true,
2121
"rules": {
2222
"recommended": false,
2323
"complexity": {
2424
"noBannedTypes": "warn",
2525
"noExtraBooleanCast": "error",
2626
"noForEach": "warn",
27-
"noMultipleSpacesInRegularExpressionLiterals": "error",
2827
"noUselessCatch": "error",
2928
"noUselessTypeConstraint": "error",
30-
"noWith": "error",
31-
"useFlatMap": "warn"
29+
"useFlatMap": "warn",
30+
"noAdjacentSpacesInRegex": "error"
3231
},
3332
"correctness": {
3433
"noConstAssign": "error",
@@ -38,7 +37,6 @@
3837
"noGlobalObjectCalls": "error",
3938
"noInnerDeclarations": "error",
4039
"noInvalidConstructorSuper": "error",
41-
"noNewSymbol": "error",
4240
"noNonoctalDecimalEscape": "error",
4341
"noPrecisionLoss": "error",
4442
"noSelfAssign": "error",
@@ -53,7 +51,9 @@
5351
"noUnusedVariables": "error",
5452
"useIsNan": "error",
5553
"useValidForDirection": "error",
56-
"useYield": "error"
54+
"useYield": "error",
55+
"noInvalidBuiltinInstantiation": "error",
56+
"useValidTypeof": "error"
5757
},
5858
"style": {
5959
"noDefaultExport": "warn",
@@ -96,7 +96,7 @@
9696
"useAwait": "off",
9797
"useGetterReturn": "error",
9898
"useIsArray": "error",
99-
"useValidTypeof": "error"
99+
"noWith": "error"
100100
}
101101
}
102102
}

0 commit comments

Comments
 (0)