vue-fillable-text 0.1.0 → 0.1.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 +15 -0
- package/package.json +34 -7
package/README.md
CHANGED
|
@@ -72,6 +72,21 @@ npm run build
|
|
|
72
72
|
npm pack --dry-run
|
|
73
73
|
```
|
|
74
74
|
|
|
75
|
+
## Publishing
|
|
76
|
+
|
|
77
|
+
Releases are handled by GitLab CI with the same token-based flow as `react-fillable-text`:
|
|
78
|
+
|
|
79
|
+
- pushes produced by merges into `develop` stage a unique prerelease such as `0.1.1-develop.123` under the `develop` tag;
|
|
80
|
+
- pushes produced by merges into `main` automatically increment the latest published patch version and publish it, for example `0.1.0` → `0.1.1`.
|
|
81
|
+
|
|
82
|
+
Release versions are calculated from the current `latest` version in the npm registry. CI changes the manifests only inside the ephemeral runner; generated version changes are not committed back to the repository.
|
|
83
|
+
|
|
84
|
+
GitLab must provide a protected, masked `NPM_TOKEN` variable with `Read and write (publish and stage)` permission. Both `main` and `develop` must be protected branches so their release jobs can access the protected variable.
|
|
85
|
+
|
|
86
|
+
After a successful stable publication, CI creates a merge request from `main` into `develop`. Configure a second protected, masked variable named `GITLAB_API_TOKEN` using a GitLab project access token (Developer or higher) or a personal access token with the `api` scope. If an open `main` → `develop` merge request already exists, CI reuses it instead of creating a duplicate.
|
|
87
|
+
|
|
88
|
+
The `prepublishOnly` hook runs tests, type checking, and the production build before publishing.
|
|
89
|
+
|
|
75
90
|
## License
|
|
76
91
|
|
|
77
92
|
MIT
|
package/package.json
CHANGED
|
@@ -1,12 +1,26 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vue-fillable-text",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.1",
|
|
4
4
|
"description": "Typed Vue components for documents with interactive input and select gaps.",
|
|
5
5
|
"author": "Evgeniia Iaroslavtseva",
|
|
6
6
|
"license": "MIT",
|
|
7
|
+
"repository": {
|
|
8
|
+
"type": "git",
|
|
9
|
+
"url": "git+https://gitlab.com/iaroslavtseva-evgeniia/vue-fillable-text.git"
|
|
10
|
+
},
|
|
11
|
+
"bugs": {
|
|
12
|
+
"url": "https://gitlab.com/iaroslavtseva-evgeniia/vue-fillable-text/-/issues"
|
|
13
|
+
},
|
|
14
|
+
"homepage": "https://fillable-text-67f08a.gitlab.io/vue/",
|
|
7
15
|
"type": "module",
|
|
8
|
-
"sideEffects": [
|
|
9
|
-
|
|
16
|
+
"sideEffects": [
|
|
17
|
+
"**/*.css"
|
|
18
|
+
],
|
|
19
|
+
"files": [
|
|
20
|
+
"dist",
|
|
21
|
+
"README.md",
|
|
22
|
+
"LICENSE"
|
|
23
|
+
],
|
|
10
24
|
"main": "./dist/vue-fillable-text.cjs",
|
|
11
25
|
"module": "./dist/vue-fillable-text.js",
|
|
12
26
|
"types": "./dist/index.d.ts",
|
|
@@ -24,7 +38,9 @@
|
|
|
24
38
|
"typecheck": "vue-tsc --noEmit",
|
|
25
39
|
"prepublishOnly": "npm test && npm run typecheck && npm run build"
|
|
26
40
|
},
|
|
27
|
-
"peerDependencies": {
|
|
41
|
+
"peerDependencies": {
|
|
42
|
+
"vue": ">=3.3 <4"
|
|
43
|
+
},
|
|
28
44
|
"devDependencies": {
|
|
29
45
|
"@vitejs/plugin-vue": "^6.0.1",
|
|
30
46
|
"@vue/test-utils": "^2.4.6",
|
|
@@ -35,7 +51,18 @@
|
|
|
35
51
|
"vue": "^3.5.22",
|
|
36
52
|
"vue-tsc": "^3.0.8"
|
|
37
53
|
},
|
|
38
|
-
"publishConfig": {
|
|
39
|
-
|
|
40
|
-
|
|
54
|
+
"publishConfig": {
|
|
55
|
+
"access": "public"
|
|
56
|
+
},
|
|
57
|
+
"engines": {
|
|
58
|
+
"node": ">=20.19"
|
|
59
|
+
},
|
|
60
|
+
"keywords": [
|
|
61
|
+
"vue",
|
|
62
|
+
"fillable-text",
|
|
63
|
+
"fill-in-the-blank",
|
|
64
|
+
"forms",
|
|
65
|
+
"editor",
|
|
66
|
+
"typescript"
|
|
67
|
+
]
|
|
41
68
|
}
|