@syware/jlib 0.1.0 → 0.1.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 +23 -6
- package/package.json +9 -3
package/README.md
CHANGED
|
@@ -97,14 +97,31 @@ component. Conventions for contributors are in [CLAUDE.md](CLAUDE.md).
|
|
|
97
97
|
|
|
98
98
|
## Releasing
|
|
99
99
|
|
|
100
|
-
|
|
101
|
-
|
|
100
|
+
Pushing a version tag releases the package: the `Publish to npm` workflow checks and builds it, stages it on npm
|
|
101
|
+
through trusted publishing (no token; the package gets a provenance statement), then creates the GitHub release with
|
|
102
|
+
the package attached. The staged version becomes public once a maintainer approves it with their two-factor
|
|
103
|
+
authentication.
|
|
102
104
|
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
105
|
+
```bash
|
|
106
|
+
npm version patch
|
|
107
|
+
```
|
|
108
|
+
|
|
109
|
+
```bash
|
|
110
|
+
git push --follow-tags
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
`npm version` (or `minor`, `major`) bumps package.json and the lockfile, commits and tags `vX.Y.Z`. The workflow
|
|
114
|
+
refuses a tag that is not the version in package.json.
|
|
106
115
|
|
|
107
|
-
|
|
116
|
+
When the run is done (its summary page shows what was staged), approve the version:
|
|
117
|
+
|
|
118
|
+
```bash
|
|
119
|
+
npm stage list @syware/jlib
|
|
120
|
+
```
|
|
121
|
+
|
|
122
|
+
```bash
|
|
123
|
+
npm stage approve <stage-id>
|
|
124
|
+
```
|
|
108
125
|
|
|
109
126
|
## Made by SyWare
|
|
110
127
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@syware/jlib",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.3",
|
|
4
4
|
"description": "A tree-shakeable component library on Jadis and native Web Components, organised in atomic design",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"web-components",
|
|
@@ -23,7 +23,9 @@
|
|
|
23
23
|
"bugs": {
|
|
24
24
|
"url": "https://github.com/bioleyl/jlib/issues"
|
|
25
25
|
},
|
|
26
|
-
"files": [
|
|
26
|
+
"files": [
|
|
27
|
+
"dist"
|
|
28
|
+
],
|
|
27
29
|
"main": "./dist/index.js",
|
|
28
30
|
"module": "./dist/index.js",
|
|
29
31
|
"types": "./dist/index.d.ts",
|
|
@@ -55,7 +57,11 @@
|
|
|
55
57
|
"./tokens.css": "./dist/tokens.css",
|
|
56
58
|
"./package.json": "./package.json"
|
|
57
59
|
},
|
|
58
|
-
"sideEffects": [
|
|
60
|
+
"sideEffects": [
|
|
61
|
+
"./dist/all.js",
|
|
62
|
+
"./dist/*.css",
|
|
63
|
+
"./src/all.ts"
|
|
64
|
+
],
|
|
59
65
|
"publishConfig": {
|
|
60
66
|
"access": "public"
|
|
61
67
|
},
|