nitro5 1.0.0 → 1.0.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.
package/CHANGELOG.md ADDED
@@ -0,0 +1,5 @@
1
+ ## v1.0.1
2
+ - Fix scripts in `package.json`
3
+
4
+ v1.0.0
5
+ - Initial Release
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "nitro5",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Nitro5 is a next-generation hybrid web server framework built with Node.js and C++ that delivers ultra-fast performance, low latency, TypeScript/TSX support, ESBuild-powered builds, caching, Hot Module Replacement (HMR), and a scalable architecture designed for modern production web applications.",
5
5
  "type": "module",
6
6
  "main": "./index.js",
@@ -11,6 +11,7 @@
11
11
  "start": "node index.js",
12
12
  "dev": "node index.js --dev",
13
13
  "build": "node index.js --build",
14
+ "install": "echo 'Replace to Postinstall'",
14
15
  "postinstall": "node .install.js",
15
16
  "test": "node index.js --test",
16
17
  "lint": "node index.js --lint"
package/nitro5.config.js DELETED
@@ -1,8 +0,0 @@
1
- export default {
2
- server: { port: 3000 },
3
- dev: { useVite: false },
4
- cache: { enabled: true, ttl: 60 },
5
- cors: { enabled: true, origin: "*" },
6
- cacheTs: true,
7
- dashboard: true
8
- };
package/public/app.tsx DELETED
@@ -1,10 +0,0 @@
1
- import React from "react";
2
-
3
- export function App() {
4
- return (
5
- <div>
6
- <h1>Nitro5 + React 19 🚀</h1>
7
- <p>Web server ready!</p>
8
- </div>
9
- );
10
- }
package/public/index.html DELETED
@@ -1,10 +0,0 @@
1
- <!DOCTYPE html>
2
- <html>
3
- <head>
4
- <title>Nitro5 + React 19</title>
5
- </head>
6
- <body>
7
- <div id="app"></div>
8
- <script type="module" src="./main.tsx"></script>
9
- </body>
10
- </html>
package/public/main.tsx DELETED
@@ -1,5 +0,0 @@
1
- import React from "react";
2
- import { createRoot } from "react-dom/client";
3
- import { App } from "./app";
4
-
5
- createRoot(document.getElementById("app")!).render(<App />);