@intrig/next 0.0.5 → 0.0.7

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 +38 -3
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,7 +1,42 @@
1
1
  # @intrig/next
2
2
 
3
- This library was generated with [Nx](https://nx.dev).
3
+ This library serves as the placeholder for Intrig generated Next.js content. It provides the necessary infrastructure and utilities for integrating with Next.js applications.
4
4
 
5
- ## Running unit tests
5
+ ## Overview
6
6
 
7
- Run `nx test @intrig/next` to execute the unit tests via [Jest](https://jestjs.io).
7
+ @intrig/next is designed to work seamlessly with the Intrig Core ecosystem, providing specialized support for Next.js applications. When you generate code using Intrig with the Next.js generator, this library provides the foundation for that generated code.
8
+
9
+ ## Features
10
+
11
+ - **Next.js Integration**: Specialized utilities for Next.js applications
12
+ - **Server-Side Rendering Support**: Optimized for Next.js SSR capabilities
13
+ - **API Route Helpers**: Utilities for working with Next.js API routes
14
+ - **Type Safety**: Full TypeScript support for all components
15
+
16
+ ## Installation
17
+
18
+ ```bash
19
+ npm install @intrig/next
20
+ ```
21
+
22
+ ## Usage
23
+
24
+ The library is primarily used as a dependency for Intrig generated code. When you generate code using Intrig with the Next.js generator, it will automatically use this library.
25
+
26
+ ```typescript
27
+ // Example of importing from the library
28
+ import { createNextClient } from '@intrig/next';
29
+
30
+ // Usage in your Next.js application
31
+ const client = createNextClient({
32
+ // Configuration options
33
+ });
34
+ ```
35
+
36
+ ## Documentation
37
+
38
+ For more detailed documentation, please refer to the [Intrig Core documentation](https://docs.intrig.io).
39
+
40
+ ## License
41
+
42
+ This project is licensed under the MIT License - see the LICENSE file for details.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intrig/next",
3
- "version": "0.0.5",
3
+ "version": "0.0.7",
4
4
  "type": "module",
5
5
  "main": "./index.esm.js",
6
6
  "module": "./index.esm.js",