@meago/core 0.2.0 → 0.2.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.
Files changed (2) hide show
  1. package/README.md +9 -2
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -54,7 +54,15 @@ Consumer chỉ import từ `@meago/core`, không import `@meago/core/dist/...`.
54
54
  4. Chạy `npm publish` hoặc `npm run pub`.
55
55
  5. Nâng cùng version ở Server và Client, sau đó chạy test của cả hai repo.
56
56
 
57
- Package đang cấu hình `access: restricted`; registry/account deploy phải hỗ trợ scoped private package. Đổi sang `public` nếu chủ đích phát hành công khai.
57
+ Package được phát hành công khai với `publishConfig.access=public`. Npm account/token vẫn phải đáp ứng chính sách 2FA hoặc granular token quyền bypass 2FA khi publish tự động.
58
+
59
+ Trên Windows có thể chạy quy trình có kiểm soát:
60
+
61
+ ```powershell
62
+ .\commit.bat
63
+ ```
64
+
65
+ Script chạy `verify` trước khi commit, pull bằng rebase trên branch hiện tại và hỏi riêng trước khi publish. Khi phát hành, người dùng phải chọn `patch`/`minor`/`major`; `npm version` cập nhật cả `package.json`, lockfile, tạo release commit và Git tag. Package được publish rõ ràng với `--access public`, sau đó branch/tag mới được push. Script không force-push, không tự xử lý conflict và dừng ngay khi một gate thất bại.
58
66
 
59
67
  ## Compatibility
60
68
 
@@ -62,4 +70,3 @@ Package đang cấu hình `access: restricted`; registry/account deploy phải h
62
70
  - Minor: thêm export hoặc field optional.
63
71
  - Major: xóa/đổi export, thêm field required hoặc đổi semantics.
64
72
  - Entity database không phải contract và không được export từ library.
65
-
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@meago/core",
3
- "version": "0.2.0",
3
+ "version": "0.2.1",
4
4
  "description": "Framework-neutral contracts and core primitives for Meago applications",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -26,7 +26,7 @@
26
26
  "pub": "npm run build && npm publish"
27
27
  },
28
28
  "publishConfig": {
29
- "access": "restricted"
29
+ "access": "public"
30
30
  },
31
31
  "author": "Meago",
32
32
  "license": "MIT",