Skip to content

Commit 5c0e9dd

Browse files
Add (dev-)dependencies to build schema (#7892)
* Add (dev-)dependencies to build schema * Changelog
1 parent d93f51b commit 5c0e9dd

File tree

2 files changed

+12
-2
lines changed

2 files changed

+12
-2
lines changed

CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,8 @@
2626

2727
#### :nail_care: Polish
2828

29+
- Add (dev-)dependencies to build schema. https://github.com/rescript-lang/rescript/pull/7892
30+
2931
#### :house: Internal
3032

3133
# 12.0.0-beta.11

docs/docson/build-schema.json

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -377,11 +377,19 @@
377377
},
378378
"bs-dependencies": {
379379
"$ref": "#/definitions/dependencies",
380-
"description": "ReScript dependencies of the library, like in package.json. Currently searches in `node_modules`"
380+
"description": "ReScript dependencies of the library, like in package.json. Currently searches in `node_modules` (deprecated, use dependencies instead)."
381381
},
382382
"bs-dev-dependencies": {
383383
"$ref": "#/definitions/dependencies",
384-
"description": "ReScript dev dependencies of the library, like in package.json. Currently searches in `node_modules`"
384+
"description": "ReScript dev dependencies of the library, like in package.json. Currently searches in `node_modules` (deprecated, use dev-dependencies instead)."
385+
},
386+
"dependencies": {
387+
"$ref": "#/definitions/dependencies",
388+
"description": "ReScript dependencies of the library, like in package.json. Currently searches in `node_modules`."
389+
},
390+
"dev-dependencies": {
391+
"$ref": "#/definitions/dependencies",
392+
"description": "ReScript dev dependencies of the library, like in package.json. Currently searches in `node_modules`."
385393
},
386394
"generators": {
387395
"type": "array",

0 commit comments

Comments
 (0)