Skip to content

Commit 33805ef

Browse files
committed
fix: fixing broken / updated config schema to use updated props, minor schema updates
1 parent eb7b0c7 commit 33805ef

File tree

3 files changed

+349
-29
lines changed

3 files changed

+349
-29
lines changed

apps/pattern-lab--workshop/.boltrc.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ module.exports = {
7777
'@bolt/components-button-group',
7878
'@bolt/components-chip',
7979
'@bolt/components-chip-list',
80-
'@bolt/components-color-swatch'
80+
'@bolt/components-color-swatch',
8181
'@bolt/components-figure',
8282
'@bolt/components-link',
8383
'@bolt/components-ordered-list',
@@ -96,6 +96,6 @@ module.exports = {
9696

9797
// Dev-server specific config settings (ex. port to use)
9898
devServer: {
99-
open: true // was: openServerAtStart
99+
open: true
100100
}
101101
};

packages/build-tools/utils/config.schema.yml

Lines changed: 13 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
type: object
44
required:
55
- env
6-
- dist
6+
- buildDir
77
- components
88
additionalProperties: true
99
properties:
@@ -16,13 +16,17 @@
1616
plConfigFile:
1717
type: string
1818
title: Pattern Lab Config File Path
19-
dist:
19+
buildDir:
2020
type: string
2121
description: Where it all builds too
22-
server:
22+
wwwDir:
2323
type: string
2424
title: Path to server root
2525
description: Where static files are served from.
26+
publicPath:
27+
type: string
28+
title: Path to publicPath directory
29+
description: Sets the client-side base path for all built / asynchronously loaded assets
2630
verbosity:
2731
type: integer
2832
enum:
@@ -49,7 +53,9 @@
4953
items:
5054
-
5155
type: string
52-
openServerAtStart:
53-
type: boolean
54-
description: If, after starting `npm start`, a Browser opens.
55-
56+
devServer:
57+
type: object
58+
properties:
59+
open:
60+
type: boolean
61+
description: If, after starting `npm start`, a Browser opens.

0 commit comments

Comments
 (0)