@entifix/next-shell 0.1.0-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.
Files changed (2) hide show
  1. package/README.md +26 -3
  2. package/package.json +10 -9
package/README.md CHANGED
@@ -1,7 +1,30 @@
1
1
  # @entifix/next-shell
2
2
 
3
- This library was generated with [Nx](https://nx.dev).
3
+ The Next.js application shell. `makeEntityCrud` derives the list, detail and edit screens for an entity from its metadata; `BackOfficeShell` and `WorkspaceShell` provide the chrome, sidebar navigation, breadcrumbs, workspace tabs and command palette around them. Drafts and pending writes persist in IndexedDB.
4
4
 
5
- ## Running unit tests
5
+ The `server` entry holds the route handlers a Next backend needs: a same-origin proxy to your services, session refresh and cookies, health, and record search across services.
6
6
 
7
- Run `nx test @entifix/next-shell` to execute the unit tests via [Jest](https://jestjs.io).
7
+ ## Install
8
+
9
+ ```sh
10
+ pnpm add @entifix/next-shell @tanstack/react-query effect next react react-dom zustand
11
+ ```
12
+
13
+ ## Entry points
14
+
15
+ | Import | What it holds |
16
+ | ---------------------------- | ----------------------------------------------------------------------------------------------------------------------- |
17
+ | `@entifix/next-shell` | Client shell: `makeEntityCrud`, `BackOfficeShell`, `WorkspaceShell`, tabs, drafts, `shellCatalogs` |
18
+ | `@entifix/next-shell/server` | `createServiceProxyRoute`, `createRefreshRoute`, `applySessionCookies`, `createHealthRoutes`, `createRecordSearchRoute` |
19
+
20
+ ## Optional peers
21
+
22
+ Install these only if you use what needs them.
23
+
24
+ | Peer | Needed by |
25
+ | --------- | ----------------------------------- |
26
+ | `i18next` | translation through `@entifix/i18n` |
27
+
28
+ ---
29
+
30
+ Tier 4 (app framework) of entifix — a package depends only on its own tier or below. See [the tiers](https://github.com/r10c-technologies/entifix#the-tiers-and-what-you-are-allowed-to-install). MIT licensed.
package/package.json CHANGED
@@ -24,7 +24,8 @@
24
24
  }
25
25
  }
26
26
  },
27
- "version": "0.1.0-0",
27
+ "version": "0.1.1",
28
+ "description": "Next.js application shell: back-office chrome, workspace tabs, CRUD screens derived from entity metadata, and session and proxy routes.",
28
29
  "license": "MIT",
29
30
  "repository": {
30
31
  "type": "git",
@@ -61,17 +62,17 @@
61
62
  "react": "19.2.8",
62
63
  "react-dom": "19.2.8",
63
64
  "zustand": "^5.0.15",
64
- "@entifix/testing-unit": "0.1.0-0"
65
+ "@entifix/testing-unit": "0.1.1"
65
66
  },
66
67
  "dependencies": {
67
68
  "idb": "^8.0.3",
68
- "@entifix/authz": "0.1.0-0",
69
- "@entifix/business": "0.1.0-0",
70
- "@entifix/transactions": "0.1.0-0",
71
- "@entifix/i18n": "0.1.0-0",
72
- "@entifix/react-integration": "0.1.0-0",
73
- "@entifix/react-controls": "0.1.0-0",
74
- "@entifix/core": "0.1.0-0"
69
+ "@entifix/authz": "0.1.1",
70
+ "@entifix/react-controls": "0.1.1",
71
+ "@entifix/react-integration": "0.1.1",
72
+ "@entifix/transactions": "0.1.1",
73
+ "@entifix/business": "0.1.1",
74
+ "@entifix/core": "0.1.1",
75
+ "@entifix/i18n": "0.1.1"
75
76
  },
76
77
  "files": [
77
78
  "dist",