@wolfstar/http-framework 6.1.1-next-20261004131917 → 6.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -9
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -549,15 +549,15 @@ export default defineConfig({
|
|
|
549
549
|
});
|
|
550
550
|
```
|
|
551
551
|
|
|
552
|
-
| Option | Type
|
|
553
|
-
| ---------- |
|
|
554
|
-
| `enabled` | `boolean`
|
|
555
|
-
| `path` | `string`
|
|
556
|
-
| `env` | `string`
|
|
557
|
-
| `prefix` | `string`
|
|
558
|
-
| `loader` | `'dotenv' \| 'varlock'` |
|
|
559
|
-
| `debug` | `boolean`
|
|
560
|
-
| `encoding` | `string`
|
|
552
|
+
| Option | Type | Default |
|
|
553
|
+
| ---------- | --------------------------------- | ------------------------- |
|
|
554
|
+
| `enabled` | `boolean` | see below |
|
|
555
|
+
| `path` | `string` | `src/.env*`, then `.env*` |
|
|
556
|
+
| `env` | `string` | `NODE_ENV` |
|
|
557
|
+
| `prefix` | `string` | none |
|
|
558
|
+
| `loader` | `'node' \| 'dotenv' \| 'varlock'` | detected |
|
|
559
|
+
| `debug` | `boolean` | `false` |
|
|
560
|
+
| `encoding` | `string` | `'utf8'` |
|
|
561
561
|
|
|
562
562
|
- `env: false` turns the registration off; `env: true` turns it on with the defaults. Any option at all is an opt-in
|
|
563
563
|
as well, which requires `@wolfstar/env-utilities` in the project's dependencies (`ENV_REQUIRES_ENV_UTILITIES`).
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wolfstar/http-framework",
|
|
3
|
-
"version": "6.1.1
|
|
3
|
+
"version": "6.1.1",
|
|
4
4
|
"description": "The framework for Star Network's HTTP-only bots",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"api",
|
|
@@ -77,8 +77,8 @@
|
|
|
77
77
|
"@sapphire/result": "^2.8.0",
|
|
78
78
|
"@sapphire/utilities": "^3.18.2",
|
|
79
79
|
"@vladfrangu/async_event_emitter": "^2.4.7",
|
|
80
|
-
"@wolfstar/cli": "^2.3.0
|
|
81
|
-
"@wolfstar/schema": "^0.6.0
|
|
80
|
+
"@wolfstar/cli": "^2.3.0",
|
|
81
|
+
"@wolfstar/schema": "^0.6.0",
|
|
82
82
|
"chokidar": "^5.0.0",
|
|
83
83
|
"discord-api-types": "^0.38.8",
|
|
84
84
|
"mlly": "^1.8.2",
|