nuclo 0.2.13 → 0.2.14
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/LICENSE.md +2 -2
- package/README.md +35 -0
- package/package.json +5 -5
package/LICENSE.md
CHANGED
|
@@ -28,7 +28,7 @@ When using this library, please include attribution in one of the following ways
|
|
|
28
28
|
|
|
29
29
|
### In Your Documentation or README:
|
|
30
30
|
```
|
|
31
|
-
Built with nuclo
|
|
31
|
+
Built with nuclo
|
|
32
32
|
https://github.com/dan2dev/nuclo
|
|
33
33
|
```
|
|
34
34
|
|
|
@@ -42,4 +42,4 @@ Retain the original copyright notice and license text in the source files.
|
|
|
42
42
|
|
|
43
43
|
---
|
|
44
44
|
|
|
45
|
-
**Thank you for using nuclo!** Your attribution helps support continued development and lets others discover this library.
|
|
45
|
+
**Thank you for using nuclo!** Your attribution helps support continued development and lets others discover this library.
|
package/README.md
CHANGED
|
@@ -33,8 +33,43 @@ render(counter, document.body);
|
|
|
33
33
|
|
|
34
34
|
---
|
|
35
35
|
|
|
36
|
+
## Quick Start
|
|
37
|
+
|
|
38
|
+
Scaffold a new Nuclo + Vite project with a single command:
|
|
39
|
+
|
|
40
|
+
```bash
|
|
41
|
+
# npm
|
|
42
|
+
npm create nuclo@latest
|
|
43
|
+
|
|
44
|
+
# pnpm
|
|
45
|
+
pnpm create nuclo
|
|
46
|
+
|
|
47
|
+
# yarn
|
|
48
|
+
yarn create nuclo
|
|
49
|
+
|
|
50
|
+
# bun
|
|
51
|
+
bun create nuclo
|
|
52
|
+
|
|
53
|
+
# deno
|
|
54
|
+
deno run -A npm:create-nuclo
|
|
55
|
+
```
|
|
56
|
+
|
|
57
|
+
Then follow the prompts for a project name and template, or skip them:
|
|
58
|
+
|
|
59
|
+
```bash
|
|
60
|
+
npm create nuclo@latest my-app -- --template basic --yes
|
|
61
|
+
```
|
|
62
|
+
|
|
63
|
+
```bash
|
|
64
|
+
cd my-app
|
|
65
|
+
npm install
|
|
66
|
+
npm run dev
|
|
67
|
+
```
|
|
68
|
+
|
|
36
69
|
## Installation
|
|
37
70
|
|
|
71
|
+
Already have a project and just want to add Nuclo to it?
|
|
72
|
+
|
|
38
73
|
```bash
|
|
39
74
|
npm install nuclo
|
|
40
75
|
```
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "nuclo",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.2.
|
|
4
|
+
"version": "0.2.14",
|
|
5
5
|
"description": "Lightweight reactive DOM library with global tag builders, SSR, hydration, and atomic CSS — no virtual DOM, no compiler.",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"author": "Danilo Celestino de Castro (https://github.com/dan2dev)",
|
|
@@ -66,15 +66,15 @@
|
|
|
66
66
|
"@eslint/js": "^10.0.1",
|
|
67
67
|
"@eslint/json": "^2.0.1",
|
|
68
68
|
"@eslint/markdown": "^8.0.3",
|
|
69
|
-
"@types/node": "^25.9.
|
|
69
|
+
"@types/node": "^25.9.5",
|
|
70
70
|
"@vitest/coverage-v8": "4.1.7",
|
|
71
|
-
"eslint": "^10.
|
|
71
|
+
"eslint": "^10.7.0",
|
|
72
72
|
"globals": "^17.7.0",
|
|
73
73
|
"jiti": "^2.7.0",
|
|
74
74
|
"jsdom": "^29.1.1",
|
|
75
|
-
"tsdown": "^0.22.
|
|
75
|
+
"tsdown": "^0.22.7",
|
|
76
76
|
"typescript": "^6.0.3",
|
|
77
|
-
"typescript-eslint": "^8.
|
|
77
|
+
"typescript-eslint": "^8.64.0",
|
|
78
78
|
"vitest": "^4.1.10"
|
|
79
79
|
},
|
|
80
80
|
"repository": {
|