-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
QOLOE-514 Expand readme, add watch ability as well as manifest namesp…
…ace replacement for releases
- Loading branch information
Showing
10 changed files
with
294 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,52 @@ | ||
## QGDS Bootstrap 5 - Squiz DXP Component System | ||
|
||
This library is for dxp.squiz.cloud to generate the required html structure to use the QGDS Bootstrap5 css/javascript. | ||
|
||
|
||
Squiz DXP Compoint System Restrictions | ||
### Quick start | ||
|
||
Use namespace and version on each component. | ||
|
||
```bash | ||
npm install | ||
npm run serve | ||
``` | ||
Go to http://localhost:3000 | ||
|
||
|
||
### Dev Deployment | ||
|
||
|
||
```bash | ||
npm run build | ||
``` | ||
|
||
#### What does it do | ||
* Overrides namespace to qgds-bs5-dev | ||
|
||
* Use package.json version + date/current time appended to end of version for per min to allow unique deployments into DXP CS | ||
|
||
|
||
### Release Deployment | ||
|
||
```bash | ||
npm run release | ||
``` | ||
|
||
#### What does it do | ||
* To update namespace to qgds-bs5 | ||
* Use package.json version as manifest version | ||
|
||
|
||
### Manifest spec | ||
|
||
You can find the manifest spec in the [./spec](./spec) folder. | ||
|
||
Please be aware one major restriction is that manifest version; | ||
* It can't be longer than 14 characters. | ||
* It can't have a number starting with 0, regex pattern is as follows: | ||
|
||
Regex: ``^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$`` | ||
|
||
i.e. 1.0.0 is allowed, but 1.01.1 is not, 1.1.1 is valid but 1.2.120240921418 is too long | ||
|
||
At the time of writing (2024 Sept ) | ||
Version: | ||
should have a maximum length of `14`. Must match regex: ^(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)\.(?:0|[1-9]\d*)$ | ||
i.e. 1.0.0 is illegal, 1.1.1 is valid but 1.2.120240921418 is too long |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.