@vnejs/docs 0.2.75 → 0.2.77

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 CHANGED
@@ -34,7 +34,7 @@ The package has two scenario entries. Compare them and pick one. Both link to `p
34
34
 
35
35
  | Directory | Role |
36
36
  | --------------------------------------------------- | ---------------------------------------- |
37
- | [`packages/`](./architecture/packages.md) | Runtime: `shared`, `observer`, `core`, … |
37
+ | [`packages/`](./architecture/packages.md) | Runtime: `registry`, `observer`, `core`, … |
38
38
  | [`modules_extensions/`](./architecture/modules.md) | Module base classes |
39
39
  | [`configs/`](./architecture/configs.md) | Shared TypeScript configs |
40
40
  | [`contracts/`](./architecture/contracts.md) | Public plugin API |
@@ -12,7 +12,7 @@
12
12
 
13
13
  Контракт расширяет типы через `declare module`:
14
14
 
15
- - `@vnejs/shared` — `VnePluginEventsMap`, `VnePluginConstantsMap`, …
15
+ - `@vnejs/registry` — `VnePluginEventsMap`, `VnePluginConstantsMap`, …
16
16
  - `@vnejs/module` — `ModuleGlobalState`, `ModuleShared`
17
17
  - другие контракты — при cross-cutting типах
18
18
 
@@ -28,7 +28,7 @@ flowchart TD
28
28
  | `games/` | `backends/` | HTTP к воркерам токена и меток, без импорта пакетов |
29
29
  | `bundles/` | `plugins/`, `compatibility/` | Только импорт нужного набора |
30
30
  | `plugins/` | `contracts/` | Реализация следует объявленному API |
31
- | `plugins/` | `modules_extensions/` → `packages/` | Модули наследуют базы, базы опираются на shared/observer |
31
+ | `plugins/` | `modules_extensions/` → `packages/` | Модули наследуют базы, базы опираются на registry/observer |
32
32
  | `compatibility/` | `contracts/` (2+) | Связка по событиям, без импорта реализаций |
33
33
  | `plugins/` | `helpers/`, `uis/` | Горизонтальные утилиты и UI |
34
34
  | `plugins/` | — другой `plugins/` | **Напрямую не зависит** |
@@ -83,5 +83,5 @@ flowchart TD
83
83
  | | `packages/` | `modules_extensions/` |
84
84
  | ----------------- | ------------------------ | ---------------------------- |
85
85
  | Роль | Runtime и инфраструктура | Шаблоны для модулей плагинов |
86
- | Регистрация в VNE | да (`shared`, `core`) | нет |
86
+ | Регистрация в VNE | да (`registry`, `core`) | нет |
87
87
  | Наследование | — | `plugins/` наследуют базы |
@@ -8,7 +8,7 @@
8
8
  flowchart BT
9
9
  CONST["constants"]
10
10
  OBS["observer"]
11
- SH["shared"]
11
+ SH["registry"]
12
12
  SS["sources-set"]
13
13
  SEM["semaphore"]
14
14
  HELP["helpers/"]
@@ -27,7 +27,7 @@ flowchart BT
27
27
 
28
28
  | Пакет | Назначение |
29
29
  | ------------------------ | ----------------------------------------------------------------------------------------------------------------------- |
30
- | **`@vnejs/shared`** | Реестр **`VNE`**, массив **`VNE_MODULES`**, **`regPlugin`** / **`regModule`**, типы для module augmentation |
30
+ | **`@vnejs/registry`** | Реестр **`VNE`**, массив **`VNE_MODULES`**, **`regPlugin`** / **`regModule`**, типы для module augmentation |
31
31
  | **`@vnejs/observer`** | **`Observer`** — pub/sub: `subscribe` / `emit` с `priority` (группы по возрастанию), `emitOne`, `emitReal`, `emitReals` |
32
32
  | **`@vnejs/core`** | **`VneCore`**: модули из `VNE_MODULES`, lifecycle, загрузка `mods.json` / `media_info/`, `reset` |
33
33
  | **`@vnejs/constants`** | Общие константы-заглушки (`EMPTY_OBJECT`, `EMPTY_ARRAY`) |
@@ -37,7 +37,7 @@ flowchart BT
37
37
 
38
38
  ### Принципы
39
39
 
40
- - **`shared` + `observer`** — фундамент; почти все плагины и модули зависят от них.
40
+ - **`registry` + `observer`** — фундамент; почти все плагины и модули зависят от них.
41
41
  - **`core`** — точка сборки runtime; `games/` создают `new VneCore()` после импорта `bundles/`.
42
42
  - **`test-utils`** — только для тестов workspace-пакетов; не часть игрового runtime.
43
43
  - Пакеты **не содержат** игровой логики и **не привязаны** к конкретному `bundles/`.
@@ -0,0 +1,3 @@
1
+ # 0.2.76
2
+
3
+ - `cli/monorepo` — batch publish builds every changed package before the first `npm publish`. `run-changed --prepare` runs `package --clean` in graph order, then sets `VNEJS_PUBLISH_SKIP_BUILD=1` for the script and clears it afterwards. `publish --skip-build` skips the same build. `publish:changed:patch`, `publish:changed:minor`, and bump phase 3 pass `--prepare`. A single `publish` still builds. API: `--prepare`, `--skip-build`, `VNEJS_PUBLISH_SKIP_BUILD`.
@@ -0,0 +1,3 @@
1
+ # 0.2.77
2
+
3
+ - `packages/registry` — the registry package is `@vnejs/registry`. `@vnejs/shared` is removed. Import `VNE`, `regPlugin`, and `regModule` from `@vnejs/registry`. Contracts augment `declare module "@vnejs/registry"`.
@@ -2,6 +2,8 @@
2
2
 
3
3
  Engine and public API changes. One file per `@vnejs/docs` release. Newest first.
4
4
 
5
+ - [0.2.77](./0.2.77.md)
6
+ - [0.2.76](./0.2.76.md)
5
7
  - [0.2.74](./0.2.74.md)
6
8
  - [0.2.73](./0.2.73.md)
7
9
  - [0.2.72](./0.2.72.md)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vnejs/docs",
3
- "version": "0.2.75",
3
+ "version": "0.2.77",
4
4
  "description": "VNEJS documentation for engine consumers and coding agents",
5
5
  "files": [
6
6
  "*.md",