Skip to content

Commit bfc3f03

Browse files
authored
👷 fix: resolve npm package name conflict
2 parents 2d9b948 + 5500b08 commit bfc3f03

File tree

2 files changed

+17
-8
lines changed

2 files changed

+17
-8
lines changed

‎README.md‎

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -96,11 +96,12 @@ Each phase includes clear specifications, working implementations, and extensive
9696

9797
**📦 npm Package (Coming Soon):**
9898

99+
# Installation
100+
99101
```bash
100-
# Will be available soon on npm registry
101-
npm install mini-react
102+
npm install @marcelolsen/mini-react
102103
# or
103-
bun add mini-react
104+
bun add @marcelolsen/mini-react
104105
```
105106

106107
**🔧 Development Installation (Current):**
@@ -123,8 +124,8 @@ bun run build
123124
### Basic Usage
124125

125126
```typescript
126-
import { createElement, render } from "./src/MiniReact";
127-
import type { FunctionalComponent } from "./src/types";
127+
import { createElement, render } from "@marcelolsen/mini-react";
128+
import type { FunctionalComponent } from "@marcelolsen/mini-react";
128129

129130
// Simple host element
130131
const simpleElement = createElement("h1", { id: "title" }, "Hello MiniReact!");

‎package.json‎

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
2-
"name": "mini-react",
3-
"version": "0.0.0",
2+
"name": "@marcelolsen/mini-react",
3+
"version": "0.1.0",
44
"description": "A minimal React implementation with JSX support",
55
"main": "./dist/index.js",
66
"module": "./dist/index.js",
@@ -49,5 +49,13 @@
4949
"type": "module",
5050
"keywords": ["react", "jsx", "virtual-dom", "ui-library"],
5151
"author": "Marcel Olsen",
52-
"license": "MIT"
52+
"license": "MIT",
53+
"repository": {
54+
"type": "git",
55+
"url": "https://github.com/MarcelOlsen/mini-react.git"
56+
},
57+
"homepage": "https://github.com/MarcelOlsen/mini-react#readme",
58+
"bugs": {
59+
"url": "https://github.com/MarcelOlsen/mini-react/issues"
60+
}
5361
}

0 commit comments

Comments
 (0)