Skip to content

Commit 3e5921b

Browse files
bpamiriclaude
andcommitted
docs: remove stale WireBox references from documentation
WireBox was replaced by a custom Injector.cfc in v3 but several docs still listed it as a standalone dependency. Updated README project structure, upgrading guide box.json examples, CLI deps command examples, app generator docs, and starter-app README. Also removed commented-out wirebox mapping from test Application.cfc. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 6664396 commit 3e5921b

File tree

6 files changed

+17
-41
lines changed

6 files changed

+17
-41
lines changed

README.md

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,7 @@ your-app/
5757
├── public/
5858
├── tests/
5959
├── vendor/
60-
│ ├── wheels/
61-
│ ├── wirebox/
62-
│ └── testbox/
60+
│ └── wheels/
6361
└── ...
6462
```
6563

docs/src/command-line-tools/commands/core/deps.md

Lines changed: 10 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -44,12 +44,10 @@ Output shows:
4444
Example output:
4545
```
4646
Dependencies:
47-
wirebox @ ^7.0.0 (Production) - Installed
48-
testbox @ ^6.0.0 (Production) - Installed
49-
wheels-core @ ^3.1.0-SNAPSHOT.rc.1 (Production) - Installed
47+
wheels-core @ ^3.1.0 (Production) - Installed
5048
5149
Dev Dependencies:
52-
shortcodes @ ^0.0.4 (Production) - Not Installed
50+
commandbox-cfformat @ * (Development) - Installed
5351
```
5452

5553
### Install
@@ -84,7 +82,7 @@ wheels deps update <name>
8482

8583
Example:
8684
```bash
87-
wheels deps update wirebox
85+
wheels deps update wheels-core
8886
```
8987

9088
The command will:
@@ -141,13 +139,11 @@ CFML Engine: Lucee 5.4.6.9
141139
142140
Dependencies:
143141
--------------------------------------------------
144-
cbvalidation @ ^4.6.0+28 - Installed: No
145-
shortcodes @ ^0.0.4 - Installed: No
146-
wirebox @ ^7.4.2+24 - Installed: No
142+
wheels-core @ ^3.1.0 - Installed: Yes
147143
148144
Dev Dependencies:
149145
--------------------------------------------------
150-
testbox @ ^6.4.0+17 - Installed: Yes
146+
commandbox-cfformat @ * - Installed: Yes
151147
152148
Checking for outdated packages...
153149
┌────────────────┬───────────┬──────────┬──────────┬─────────────────────┐
@@ -182,8 +178,7 @@ The command manages two dependency sections in box.json:
182178
```json
183179
{
184180
"dependencies": {
185-
"wheels-core": "^3.1.0",
186-
"wirebox": "^7"
181+
"wheels-core": "^3.1.0"
187182
}
188183
}
189184
```
@@ -207,15 +202,14 @@ The command checks for installed packages using the `installPaths` defined in bo
207202
2. **Fallback**: Checks standard locations like `/modules` directory
208203

209204
### Supported Package Formats:
210-
- Simple names: `wirebox`
211-
- Namespaced: `forgebox:wirebox`
212-
- Versioned: `wirebox@7.0.0`
205+
- Simple names: `cbvalidation`
206+
- Namespaced: `forgebox:cbvalidation`
207+
- Versioned: `cbvalidation@4.6.0`
213208

214209
### Example Install Paths:
215210
```json
216211
"installPaths": {
217-
"testbox": "testbox/",
218-
"wirebox": "wirebox/",
212+
"wheels-core": "vendor/wheels/",
219213
"cbvalidation": "modules/cbvalidation/",
220214
"shortcodes": "plugins/Shortcodes/"
221215
}

docs/src/command-line-tools/commands/generate/app.md

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -199,14 +199,10 @@ myapp/
199199
"version": "1.0.0",
200200
"author": "Wheels Core Team and Community",
201201
"installPaths": {
202-
"wheels-core": "vendor/wheels/",
203-
"wirebox": "vendor/wirebox/",
204-
"testbox": "vendor/testbox/"
202+
"wheels-core": "vendor/wheels/"
205203
},
206204
"dependencies": {
207-
"wheels-core": "3.1.0",
208-
"wirebox": "^7",
209-
"testbox": "^6",
205+
"wheels-core": "3.1.0"
210206
}
211207
}
212208
```

docs/src/introduction/upgrading.md

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -128,13 +128,9 @@ At your project root, define dependencies and where they should be installed:
128128
"name": "wheels-app",
129129
"version": "1.0.0",
130130
"dependencies": {
131-
"wirebox": "^7.0.0",
132-
"testbox": "^6.0.0",
133-
"wheels-core": "^3.1.0-SNAPSHOT"
131+
"wheels-core": "^3.1.0"
134132
},
135133
"installPaths": {
136-
"wirebox": "vendor/wirebox/",
137-
"testbox": "vendor/testbox/",
138134
"wheels-core": "vendor/wheels/"
139135
}
140136
}
@@ -155,8 +151,8 @@ box install
155151

156152
This will:
157153

158-
* Download `wheels-core`, `wirebox`, and `testbox`
159-
* Place them into the correct `vendor/` subfolders based on `installPaths`
154+
* Download `wheels-core` (which includes TestBox and a built-in DI container)
155+
* Place it into the `vendor/wheels/` folder based on `installPaths`
160156

161157
#### 3.3 Check Application Mappings
162158

@@ -169,8 +165,6 @@ Ensure `Application.cfc` includes mappings for the new locations:
169165
/public
170166
/vendor
171167
/wheels
172-
/wirebox
173-
/testbox
174168
/tests
175169
```
176170

@@ -214,8 +208,6 @@ urlrewrite.xml
214208
urlrewrite.xml
215209
/vendor
216210
/wheels
217-
/wirebox
218-
/testbox
219211
.env
220212
box.json
221213
server.json

examples/starter-app/README.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -125,8 +125,7 @@ plugins/ # Third-party plugins
125125
- **3.1.0-snapshot** - MVC Framework
126126
- **Lucee 5,6,7, Adobe 2018-2025, Boxlang** - CFML Engine
127127
- **Database** - MySQL, PostgreSQL, Microsoft SQL Server, Oracle, SQLite, H2
128-
- **WireBox** - Dependency injection
129-
- **TestBox** - Testing framework
128+
- **TestBox** - Testing framework (vendored with Wheels)
130129

131130
### Frontend
132131

vendor/wheels/tests/Application.cfc

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,6 @@ component {
1616
this.appDir = getCanonicalPath("_assets");
1717

1818
this.mappings['/app'] = this.appDir;
19-
// this.mappings['/tests'] = this.testDir;
20-
// this.mappings['/testbox'] = this.vendorDir & 'testbox';
21-
// this.mappings['/wirebox'] = this.vendorDir & 'wheels/vendor/wirebox';
2219
this.mappings['/wheels'] = this.webrootDir & 'wheels';
2320

2421
//If a plugin has a jar or class file, automatically add the mapping to this.javasettings.

0 commit comments

Comments
 (0)