@bloomreach/react-banana-ui 1.35.0 → 1.36.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +8 -0
- package/dist/bloomreach-react-banana-ui.es.js +4775 -4744
- package/dist/bloomreach-react-banana-ui.es.js.map +1 -1
- package/dist/bloomreach-react-banana-ui.umd.js +15 -15
- package/dist/bloomreach-react-banana-ui.umd.js.map +1 -1
- package/dist/components/date/date-time-range-picker/date-time-range-picker.stories.d.ts +2 -0
- package/dist/components/date/date-time-range-picker/date-time-range-picker.types.d.ts +30 -0
- package/dist/components/inputs/autocomplete/autocomplete.stories.d.ts +2 -0
- package/dist/components/inputs/autocomplete/autocomplete.types.d.ts +7 -0
- package/package.json +5 -3
package/README.md
CHANGED
|
@@ -159,6 +159,14 @@ npm run storybook:build
|
|
|
159
159
|
|
|
160
160
|
This command compiles the Storybook stories and generates a static Storybook build, which can be deployed to a web server. The output will be in the `storybook-static/` directory.
|
|
161
161
|
|
|
162
|
+
To build and publish the Storybook to the same S3 location used by GitLab CI, run:
|
|
163
|
+
|
|
164
|
+
```sh
|
|
165
|
+
npm run storybook:publish
|
|
166
|
+
```
|
|
167
|
+
|
|
168
|
+
This command first runs a quiet Storybook build, then uploads `storybook-static/` to `s3://brp-design-web/storybooks/react-banana-ui/<branch-name>` and deletes files that no longer exist locally. Before publishing locally, make sure your AWS credentials are configured and the AWS CLI is authenticated. You can override the defaults with `AWS_DEFAULT_REGION`, `S3_BUCKET`, `STORYBOOK_S3_PREFIX`, and `STORYBOOK_S3_BRANCH`. For a dry run, use `npm run storybook:publish -- --dry-run`. If you already have a fresh `storybook-static/` build, use `npm run storybook:upload` to skip the build step. The uploader keeps terminal output concise by showing a single colorized progress bar and a small summary instead of the full `aws s3 sync` log.
|
|
169
|
+
|
|
162
170
|
### Docker Services
|
|
163
171
|
|
|
164
172
|
We use Docker Compose to manage various services required for local development and testing. The `docker-compose.yml` file defines these services.
|