Skip to content

Commit 4eef64a

Browse files
committed
chore(sdk-commands): drop the quests command
Removes the quests CLI command and everything reachable only from it: - src/commands/quests/ (commands are discovered from the commands/ directory, so deleting the folder removes the CLI surface) - @dcl/quests-client and @dcl/quests-manager dependencies, plus their orphaned transitive tree in the package lockfile (a registry copy of @dcl/sdk, react/react-reconciler, @dcl/explorer, etc.) - Quest analytics events, quest locale strings, docs sections, the command's test suite, and the stale quests-client entry in jest transformIgnorePatterns The QUESTS_* members of CliErrorName are kept (documented as removed) so the exported union stays type-compatible for external consumers.
1 parent d3168c9 commit 4eef64a

19 files changed

Lines changed: 5 additions & 1599 deletions

File tree

docs/ai-agent-context.md

Lines changed: 2 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
- **ECS Runtime (`@dcl/ecs`)**: Core engine with entity/component/system lifecycle, CRDT-based state synchronization across peers, binary serialization for network transport, and built-in systems for physics, raycasts, tweens, and input.
1010
- **Main SDK (`@dcl/sdk`)**: High-level developer-facing package aggregating all sub-packages. Exposes pre-built components (`Transform`, `GltfContainer`, `Material`, `AudioSource`, `Animator`, `UiTransform`, etc.), math utilities, networking primitives, observables, and testing helpers.
1111
- **React Bindings (`@dcl/react-ecs`)**: Custom React reconciler that bridges React 18 functional components and JSX to the ECS. Implements a CSS Flexbox–subset layout system for UI, theme support, and mouse event handling.
12-
- **CLI (`@dcl/sdk-commands`)**: Node.js binary (`sdk-commands`) for `init`, `start` (dev server with hot reload), `build` (esbuild bundling), `deploy` (signed Catalyst publish), `export-static`, `pack-smart-wearable`, and `quests` commands.
12+
- **CLI (`@dcl/sdk-commands`)**: Node.js binary (`sdk-commands`) for `init`, `start` (dev server with hot reload), `build` (esbuild bundling), `deploy` (signed Catalyst publish), `export-static`, and `pack-smart-wearable` commands.
1313
- **Runtime Types (`@dcl/js-runtime`)**: Pure type-definition package (`.d.ts` only, no JS). Declares Web APIs (`fetch`, `WebSocket`, `console`), SDK runtime globals, and auto-generated RPC API types from Decentraland protocol buffers.
1414
- **Playground Assets (`@dcl/playground-assets`)**: Single browser-compatible bundle re-exporting the full SDK for use in the Decentraland web Playground IDE.
1515

@@ -35,7 +35,6 @@
3535
- **@dcl/inspector**: In-world scene inspector tool (used by `start` command)
3636
- **dcl-catalyst-client**: Publishes scene content to the Catalyst decentralized network
3737
- **@dcl/linker-dapp**: Wallet integration for signing deployment transactions
38-
- **@dcl/quests-client / @dcl/quests-manager**: Quest system integration in the CLI
3938
- **@dcl/gltf-validator-ts**: GLTF model validation during `build` and `deploy`
4039
- **@segment/analytics-node**: CLI usage analytics (opt-out supported)
4140
- **esbuild**: Scene code bundling in `build` and `start` commands
@@ -220,20 +219,6 @@ Validates the project, builds with `--production`, gathers all publishable files
220219

221220
---
222221

223-
**`sdk-commands quests`** — Manage Quests on the Decentraland Quests service.
224-
225-
| Flag | Description |
226-
| --- | --- |
227-
| `-m, --manager` | Open the Quests Manager web UI |
228-
| `--create` | Create a quest interactively |
229-
| `--create-from-json <path>` | Create a quest from a JSON file |
230-
| `-l, --list <address>` | List quests by creator address |
231-
| `--activate <questId>` | Activate a deactivated quest |
232-
| `--deactivate <questId>` | Deactivate an active quest |
233-
| `-t, --target <url>` | Target Quests server (default: `https://quests.decentraland.org`) |
234-
235-
---
236-
237222
**`sdk-commands get-context-files`** — Download AI coding-assistant context files from the Decentraland documentation repo into `./dclcontext/`.
238223

239224
---
@@ -317,7 +302,7 @@ js-sdk-toolchain/
317302
│ │ └── apis.d.ts # Auto-generated from @dcl/protocol
318303
│ ├── sdk-commands/ # CLI binary
319304
│ │ └── src/
320-
│ │ ├── commands/ # init, start, build, deploy, quests, etc.
305+
│ │ ├── commands/ # init, start, build, deploy, etc.
321306
│ │ ├── logic/ # Bundling, validation, project file handling
322307
│ │ ├── components/ # Analytics, logging, workspace introspection
323308
│ │ └── locales/ # i18n translation files

jest.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ module.exports = {
1414
}
1515
]
1616
},
17-
transformIgnorePatterns: ['node_modules/(?!(@dcl/(ecs-math|quests-client))/)'],
17+
transformIgnorePatterns: ['node_modules/(?!(@dcl/ecs-math)/)'],
1818
coverageDirectory: 'coverage',
1919
coverageThreshold: {
2020
global: {

packages/@dcl/sdk-commands/README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -58,12 +58,6 @@ npx @dcl/sdk-commands export-static
5858
npx @dcl/sdk-commands pack-smart-wearable
5959
```
6060

61-
### Manage Quests
62-
63-
```bash
64-
npx @dcl/sdk-commands quests
65-
```
66-
6761
## Development
6862

6963
### Building the Package

0 commit comments

Comments
 (0)