Skip to content

Commit 1a1bf42

Browse files
committed
Update dependencies and improve documentation
Bumped several production and dev dependencies to their latest versions (apollo/server, graphql, mongoose, react, eslint, etc.) and removed the unused rxjs dependency. Added demo mode documentation to Options.md and added the missing import-x/no-named-as-default ESLint rule to AGENTS.md.
1 parent 2794897 commit 1a1bf42

File tree

4 files changed

+1162
-1165
lines changed

4 files changed

+1162
-1165
lines changed

AGENTS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -203,6 +203,7 @@ Base config: `@electerious/eslint-config`
203203
Disabled rules for this project:
204204

205205
- `import-x/dynamic-import-chunkname`
206+
- `import-x/no-named-as-default`
206207
- `unicorn/filename-case`
207208
- `unicorn/consistent-function-scoping`
208209
- `unicorn/no-await-expression-member`

docs/Options.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -72,6 +72,14 @@ Set the environment to `development` to see additional details in the console an
7272
NODE_ENV=development
7373
```
7474

75+
## Demo mode
76+
77+
Set to `true` to enable demo mode. In demo mode, all mutations (creating, updating, deleting) are blocked, and the GraphQL Playground is enabled.
78+
79+
```
80+
ACKEE_DEMO=true
81+
```
82+
7583
## CORS headers
7684

7785
Quick solution for setting [CORS headers](CORS%20headers.md) instead of using a [reverse proxy](SSL%20and%20HTTPS.md). This is helpful if you are running Ackee on a platform that handles SSL for you.

0 commit comments

Comments
 (0)