@imposium-hub/components 1.44.0 → 1.44.1
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 +4 -4
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -46,14 +46,14 @@ To build the project without watching for changes, run:
|
|
|
46
46
|
npm run build
|
|
47
47
|
```
|
|
48
48
|
|
|
49
|
-
# How to
|
|
49
|
+
# How to release a new version of to NPM
|
|
50
50
|
|
|
51
|
-
To
|
|
51
|
+
To release a new version of the library, make sure you are on the master branch, and then use the `release` script:
|
|
52
52
|
```console
|
|
53
|
-
npm run
|
|
53
|
+
npm run release
|
|
54
54
|
```
|
|
55
55
|
|
|
56
|
-
This will lint & build the library, then use [np](https://www.npmjs.com/package/np) to deploy a new version to npm & github. Follow the steps in np to finish the
|
|
56
|
+
This will lint & build the library, then use [np](https://www.npmjs.com/package/np) to deploy a new version to npm & github. Follow the steps in np to finish the release. If either the `build` or the `lint` fails, the release will be cancelled.
|
|
57
57
|
|
|
58
58
|
# How to bundle components in your project
|
|
59
59
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@imposium-hub/components",
|
|
3
|
-
"version": "1.44.
|
|
3
|
+
"version": "1.44.1",
|
|
4
4
|
"description": "React & Typescript component / asset library for Imposium front-ends",
|
|
5
5
|
"main": "./dist/cjs/index.js",
|
|
6
6
|
"types": "./dist/cjs/index.d.ts",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"watch-ts": "npx tsc --watch",
|
|
15
15
|
"lint": "npx eslint \"./src/**/*.*\"",
|
|
16
16
|
"lint-fix": "npm run lint --fix",
|
|
17
|
-
"
|
|
18
|
-
"
|
|
17
|
+
"deploy": "npx np --no-tests",
|
|
18
|
+
"release": "npm run lint && npm run build && npm run deploy"
|
|
19
19
|
},
|
|
20
20
|
"repository": {
|
|
21
21
|
"type": "git",
|