@intrig/react 0.0.1 → 0.0.2

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
@@ -1,82 +1,7 @@
1
- # Intrig
1
+ # @intrig/react
2
2
 
3
- <a alt="Nx logo" href="https://nx.dev" target="_blank" rel="noreferrer"><img src="https://raw.githubusercontent.com/nrwl/nx/master/images/nx-logo.png" width="45"></a>
3
+ This library was generated with [Nx](https://nx.dev).
4
4
 
5
- Your new, shiny [Nx workspace](https://nx.dev) is almost ready ✨.
5
+ ## Running unit tests
6
6
 
7
- [Learn more about this workspace setup and its capabilities](https://nx.dev/nx-api/node?utm_source=nx_project&amp;utm_medium=readme&amp;utm_campaign=nx_projects) or run `npx nx graph` to visually explore what was created. Now, let's get you up to speed!
8
-
9
- ## Finish your CI setup
10
-
11
- [Click here to finish setting up your workspace!](https://cloud.nx.app/connect/e4mOmAhulO)
12
-
13
-
14
- ## Run tasks
15
-
16
- To run the dev server for your app, use:
17
-
18
- ```sh
19
- npx nx serve intrig
20
- ```
21
-
22
- To create a production bundle:
23
-
24
- ```sh
25
- npx nx build intrig
26
- ```
27
-
28
- To see all available targets to run for a project, run:
29
-
30
- ```sh
31
- npx nx show project intrig
32
- ```
33
-
34
- These targets are either [inferred automatically](https://nx.dev/concepts/inferred-tasks?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) or defined in the `project.json` or `package.json` files.
35
-
36
- [More about running tasks in the docs &raquo;](https://nx.dev/features/run-tasks?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
37
-
38
- ## Add new projects
39
-
40
- While you could add new projects to your workspace manually, you might want to leverage [Nx plugins](https://nx.dev/concepts/nx-plugins?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) and their [code generation](https://nx.dev/features/generate-code?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) feature.
41
-
42
- Use the plugin's generator to create new projects.
43
-
44
- To generate a new application, use:
45
-
46
- ```sh
47
- npx nx g @nx/node:app demo
48
- ```
49
-
50
- To generate a new library, use:
51
-
52
- ```sh
53
- npx nx g @nx/node:lib mylib
54
- ```
55
-
56
- You can use `npx nx list` to get a list of installed plugins. Then, run `npx nx list <plugin-name>` to learn about more specific capabilities of a particular plugin. Alternatively, [install Nx Console](https://nx.dev/getting-started/editor-setup?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) to browse plugins and generators in your IDE.
57
-
58
- [Learn more about Nx plugins &raquo;](https://nx.dev/concepts/nx-plugins?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects) | [Browse the plugin registry &raquo;](https://nx.dev/plugin-registry?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
59
-
60
-
61
- [Learn more about Nx on CI](https://nx.dev/ci/intro/ci-with-nx#ready-get-started-with-your-provider?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
62
-
63
- ## Install Nx Console
64
-
65
- Nx Console is an editor extension that enriches your developer experience. It lets you run tasks, generate code, and improves code autocompletion in your IDE. It is available for VSCode and IntelliJ.
66
-
67
- [Install Nx Console &raquo;](https://nx.dev/getting-started/editor-setup?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
68
-
69
- ## Useful links
70
-
71
- Learn more:
72
-
73
- - [Learn more about this workspace setup](https://nx.dev/nx-api/node?utm_source=nx_project&amp;utm_medium=readme&amp;utm_campaign=nx_projects)
74
- - [Learn about Nx on CI](https://nx.dev/ci/intro/ci-with-nx?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
75
- - [Releasing Packages with Nx release](https://nx.dev/features/manage-releases?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
76
- - [What are Nx plugins?](https://nx.dev/concepts/nx-plugins?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
77
-
78
- And join the Nx community:
79
- - [Discord](https://go.nx.dev/community)
80
- - [Follow us on X](https://twitter.com/nxdevtools) or [LinkedIn](https://www.linkedin.com/company/nrwl)
81
- - [Our Youtube channel](https://www.youtube.com/@nxdevtools)
82
- - [Our blog](https://nx.dev/blog?utm_source=nx_project&utm_medium=readme&utm_campaign=nx_projects)
7
+ Run `nx test @intrig/react` to execute the unit tests via [Jest](https://jestjs.io).
package/package.json CHANGED
@@ -1,32 +1,47 @@
1
1
  {
2
2
  "name": "@intrig/react",
3
- "version": "0.0.1",
4
- "main": "./index.js",
5
- "types": "./index.d.ts",
6
- "private": false,
7
- "exports": {
8
- ".": {
9
- "import": "./index.mjs",
10
- "require": "./index.js"
11
- }
12
- },
3
+ "version": "0.0.2",
4
+ "type": "module",
5
+ "main": "./index.esm.js",
6
+ "module": "./index.esm.js",
7
+ "types": "./index.esm.d.ts",
13
8
  "dependencies": {
14
- "module-alias": "^2.2.2",
15
9
  "axios": "^1.7.7",
10
+ "date-fns": "^4.1.0",
11
+ "eventsource-parser": "^3.0.2",
12
+ "fast-xml-parser": "^4.5.0",
16
13
  "immer": "^10.1.1",
17
- "zod": "^3.23.8",
18
- "fast-xml-parser": "^4.5.0"
19
- },
20
- "peerDependencies": {
21
- "react": "18.3.1",
22
- "react-dom": "18.3.1"
14
+ "loglevel": "1.8.1",
15
+ "module-alias": "^2.2.2",
16
+ "zod": "^3.23.8"
23
17
  },
24
18
  "devDependencies": {
25
- "@types/glob": "^8.1.0"
19
+ "@swc/cli": "^0.7.7",
20
+ "@swc/core": "^1.12.1",
21
+ "@types/node": "^24.0.3",
22
+ "@types/react": "^18.0.0",
23
+ "@types/react-dom": "^18.0.0",
24
+ "react": "^18.0.0",
25
+ "react-dom": "^18.0.0"
26
+ },
27
+ "peerDependencies": {
28
+ "react": "^18.0.0 || ^19.0.0",
29
+ "react-dom": "^18.0.0 || ^19.0.0"
26
30
  },
27
31
  "_moduleAliases": {
28
32
  "@intrig/react": "./src"
29
33
  },
30
- "type": "module",
31
- "module": "./index.esm.js"
32
- }
34
+ "exports": {
35
+ "./package.json": "./package.json",
36
+ ".": {
37
+ "development": "./src/index.ts",
38
+ "types": "./index.esm.d.ts",
39
+ "import": "./index.esm.js",
40
+ "default": "./index.esm.js"
41
+ }
42
+ },
43
+ "files": [
44
+ ".",
45
+ "!**/*.tsbuildinfo"
46
+ ]
47
+ }
package/index.esm.d.ts DELETED
@@ -1 +0,0 @@
1
- export * from "./src/index";