neo-lite 0.1.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 (3) hide show
  1. package/LICENSE +21 -0
  2. package/README.md +15 -8
  3. package/package.json +7 -3
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2026 Lily Yang
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md CHANGED
@@ -42,7 +42,7 @@ React and React DOM are peer dependencies for library consumers. This repository
42
42
 
43
43
  ### Prerequisites
44
44
 
45
- - Node.js 20 or newer
45
+ - Node.js 20.19+ or Node.js 22.12+
46
46
  - npm
47
47
 
48
48
  ### Install dependencies
@@ -116,7 +116,11 @@ export function Example() {
116
116
  }
117
117
  ```
118
118
 
119
- The package is prepared for public npm publication but is not yet published. Until the first release is available from the registry, the same API can be tested by installing the tarball produced by `npm pack`.
119
+ Install the public package from npm:
120
+
121
+ ```bash
122
+ npm install neo-lite
123
+ ```
120
124
 
121
125
  ### Public Components
122
126
 
@@ -249,12 +253,11 @@ npm pack --dry-run
249
253
 
250
254
  `package-dist` contains the compiled ESM bundle, TypeScript declarations, declaration maps, and `neo-lite.css`. React and React DOM remain peer dependencies and are not bundled. Website pages, Storybook, specifications, and documentation assets are excluded by the package `files` allowlist.
251
255
 
252
- Before the first public release:
256
+ Before publishing a new release:
253
257
 
254
- 1. Choose a project license, add a root `LICENSE` file, and add the matching `license` field to `package.json`.
255
- 2. Confirm ownership of the `neo-lite` name on npm.
256
- 3. Test the generated tarball in a clean React project.
257
- 4. Sign in to npm and run `npm publish`.
258
+ 1. Update the package version.
259
+ 2. Test the generated tarball in a clean React project.
260
+ 3. Sign in to npm and run `npm publish`.
258
261
 
259
262
  The `prepack` script runs typechecking and rebuilds the package automatically before npm creates or publishes a tarball.
260
263
 
@@ -329,4 +332,8 @@ Before considering a change complete:
329
332
 
330
333
  ## Project Status
331
334
 
332
- Neo-Lite UI is a public repository under active development. The website is configured for Vercel deployment, and the `neo-lite` package is prepared for public npm publication but has not yet been released. APIs and documentation may evolve as components are refined against Figma and exercised in Storybook.
335
+ Neo-Lite UI is a public repository under active development. The website is configured for Vercel deployment, and `neo-lite@0.1.0` is publicly available from npm. APIs and documentation may evolve as components are refined against Figma and exercised in Storybook.
336
+
337
+ ## License
338
+
339
+ Neo-Lite is available under the [MIT License](LICENSE).
package/package.json CHANGED
@@ -1,8 +1,12 @@
1
1
  {
2
2
  "name": "neo-lite",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "Accessible React components with a lightweight neo-brutalist visual language.",
5
+ "license": "MIT",
5
6
  "type": "module",
7
+ "engines": {
8
+ "node": "^20.19.0 || >=22.12.0"
9
+ },
6
10
  "files": [
7
11
  "package-dist"
8
12
  ],
@@ -53,7 +57,7 @@
53
57
  "react-dom": ">=18"
54
58
  },
55
59
  "devDependencies": {
56
- "@storybook/react-vite": "^9.1.20",
60
+ "@storybook/react-vite": "^10.6.0",
57
61
  "@tailwindcss/vite": "^4.3.3",
58
62
  "@types/react": "^19.2.7",
59
63
  "@types/react-dom": "^19.2.3",
@@ -61,7 +65,7 @@
61
65
  "react": "^19.2.8",
62
66
  "react-dom": "^19.2.8",
63
67
  "shiki": "^4.4.3",
64
- "storybook": "^9.1.20",
68
+ "storybook": "^10.6.0",
65
69
  "tailwindcss": "^4.3.3",
66
70
  "typescript": "^5.9.3",
67
71
  "vite": "^6.4.3"