@civicactions/cmsds-open-data-components 3.7.0-alpha.1 → 3.7.0-alpha.3
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 +17 -1
- package/dist/main.css +708 -411
- package/dist/main.css.map +1 -1
- package/dist/main.js +5209 -4892
- package/dist/main.js.map +1 -1
- package/dist/types.d.ts +258 -92
- package/dist/types.d.ts.map +1 -1
- package/package.json +2 -1
- package/dist/CMSGovLogo-O.3e657bfb.png +0 -0
- package/dist/CMSGovLogo-O.3fac6f9b.png +0 -0
- package/dist/CMSGovLogo-O.90ce815c.png +0 -0
- package/dist/CMSgov@2x-white-O.5655e842.png +0 -0
- package/dist/CMSgov@2x-white-O.78cd05d3.png +0 -0
- package/dist/CMSgov@2x-white-O.a5f4312c.png +0 -0
package/README.md
CHANGED
|
@@ -11,9 +11,25 @@ In the root folder for this project, run `npm run watch` to build local code. En
|
|
|
11
11
|
|
|
12
12
|
## Publishing new versions
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
### Clear out caches and previous build
|
|
15
|
+
|
|
16
|
+
Before running a build, it is recommended to clear out the old build and cache files to avoid publishing a stale build.
|
|
17
|
+
|
|
18
|
+
Run ```rm -rf dist/``` to delete the previous build\
|
|
19
|
+
Run ```rm -rf .parcel-cache/``` to clear out the parcel build caches
|
|
20
|
+
|
|
21
|
+
### Create a new release
|
|
22
|
+
|
|
23
|
+
Run ```npm run build``` to create a production version of the library before publishing to npm.\
|
|
15
24
|
Run ```npm publish``` to publish to npm
|
|
16
25
|
|
|
26
|
+
### Create an alpha/testing release
|
|
27
|
+
|
|
28
|
+
When creating an alpha release or any other release intended for testing purposes, add a tag to the publish command. This will prevent the testing release from showing up as the latest release in NPM.
|
|
29
|
+
|
|
30
|
+
After running ```npm run build```,\
|
|
31
|
+
Run ```npm publish --tag <tag name>``` example (npm publish --tag "alpha")
|
|
32
|
+
|
|
17
33
|
## Testing
|
|
18
34
|
|
|
19
35
|
Jest tests can be run using:
|