@vercube/devkit 0.0.34 → 0.0.35

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,34 +1,40 @@
1
1
  <div align="center">
2
- <a href="https://vercube.dev/"><img src="https://github.com/OskarLebuda/vue-lazy-hydration/raw/main/.github/assets/logo.png?raw=true" alt="Vite logo" width="200"></a>
2
+ <img src="https://raw.githubusercontent.com/vercube/vercube/refs/heads/main/.github/assets/cover.png" width="100%" alt="Vercube - Unleash your server development." />
3
3
  <br>
4
4
  <br>
5
5
 
6
- # Vercube
7
-
8
- Next generation HTTP framework
9
-
10
- <a href="https://www.npmjs.com/package/@vercube/cli">
11
- <img src="https://img.shields.io/npm/v/%40vercube%2Fdevkit?style=for-the-badge&logo=npm&color=%23767eff" alt="npm"/>
12
- </a>
13
- <a href="https://www.npmjs.com/package/@vercube/cli">
14
- <img src="https://img.shields.io/npm/dm/%40vercube%2Fdevkit?style=for-the-badge&logo=npm&color=%23767eff" alt="npm"/>
15
- </a>
16
- <a href="https://github.com/vercube/vercube/blob/main/LICENSE" target="_blank">
17
- <img src="https://img.shields.io/npm/l/%40vercube%2Fdevkit?style=for-the-badge&color=%23767eff" alt="License"/>
18
- </a>
19
- <a href="https://codecov.io/gh/vercube/vercube" target="_blank">
20
- <img src="https://img.shields.io/codecov/c/github/vercube/vercube?style=for-the-badge&color=%23767eff" alt="Coverage"/>
21
- </a>
22
- <br/>
23
- <br/>
6
+ # @vercube/devkit
7
+
8
+ ### Build tools for Vercube
9
+
10
+ [![Ask DeepWiki](<https://img.shields.io/badge/ask-deepwiki-%20blue?style=for-the-badge&logo=bookstack&logoColor=rgba(255%2C%20255%2C%20255%2C%200.6)&labelColor=%23000&color=%232f2f2f>)](https://deepwiki.com/vercube/vercube)
11
+ ![NPM Version](<https://img.shields.io/npm/v/%40vercube%2Fdevkit?style=for-the-badge&logo=npm&logoColor=rgba(255%2C%20255%2C%20255%2C%200.6)&labelColor=%23000&color=%232e2e2e&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40vercube%2Fdevkit>)
12
+ ![GitHub License](<https://img.shields.io/github/license/vercube/vercube?style=for-the-badge&logo=gitbook&logoColor=rgba(255%2C%20255%2C%20255%2C%200.6)&labelColor=%23000&color=%232f2f2f>)
13
+ ![Codecov](<https://img.shields.io/codecov/c/github/vercube/vercube?style=for-the-badge&logo=vitest&logoColor=rgba(255%2C%20255%2C%20255%2C%200.6)&labelColor=%23000&color=%232f2f2f>)
14
+
15
+ **The engine behind `@vercube/cli` - bundling, dev server, config loading. You probably don't need this directly, but it's here if you do.**
16
+
17
+ [Website](https://vercube.dev) • [Documentation](https://vercube.dev/docs/getting-started)
18
+
24
19
  </div>
25
20
 
26
- An ultra-efficient JavaScript server framework that runs anywhere - Node.js, Bun, or Deno - with unmatched flexibility and complete configurability for developers who refuse to sacrifice speed or control.
21
+ ## Features
22
+
23
+ - **Rolldown bundler** - fast builds with tree-shaking
24
+ - **Dev server** - hot-reload for development
25
+ - **TypeScript** - full compilation support
26
+ - **Config merging** - loads and merges `vercube.config.ts`
27
+
28
+ ## 📦 Installation
29
+
30
+ ```bash
31
+ pnpm add @vercube/devkit
32
+ ```
27
33
 
28
- ## <a name="module">DevKit Module</a>
34
+ ## 📖 Usage
29
35
 
30
- The DevKit module provides essential development tools and utilities for building and maintaining Vercube applications. It includes a powerful CLI interface, build tools, testing utilities, and development server capabilities. The module streamlines the development workflow by offering features like hot reloading, debugging tools, and project scaffolding. It's designed to enhance developer productivity while maintaining flexibility for custom build configurations and development environments.
36
+ Check out the full docs at **[vercube.dev](https://vercube.dev)**
31
37
 
32
- ## <a name="documentation">📖 Documentation</a>
38
+ ## 📜 License
33
39
 
34
- Comprehensive documentation is available at [vercube.dev](https://vercube.dev). There you'll find detailed module descriptions, project information, guides, and everything else you need to know about Vercube.
40
+ [MIT](https://github.com/vercube/vercube/blob/main/LICENSE)
package/dist/index.mjs CHANGED
@@ -85,9 +85,9 @@ async function getRolldownConfig(ctx) {
85
85
  */
86
86
  async function build$1(ctx) {
87
87
  const bundlerConfig = await getRolldownConfig(ctx);
88
- const build$2 = await rolldown({ ...bundlerConfig });
88
+ const build = await rolldown({ ...bundlerConfig });
89
89
  const outputs = Array.isArray(bundlerConfig.output) ? bundlerConfig.output : [bundlerConfig.output];
90
- for (const output of outputs) await build$2.write(output);
90
+ for (const output of outputs) await build.write(output);
91
91
  }
92
92
 
93
93
  //#endregion
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercube/devkit",
3
- "version": "0.0.34",
3
+ "version": "0.0.35",
4
4
  "description": "Devkit module for Vercube framework",
5
5
  "repository": {
6
6
  "type": "git",
@@ -22,18 +22,18 @@
22
22
  "README.md"
23
23
  ],
24
24
  "dependencies": {
25
- "@oxc-project/runtime": "0.99.0",
25
+ "@oxc-project/runtime": "0.111.0",
26
+ "c12": "3.3.3",
26
27
  "chokidar": "5.0.0",
27
- "c12": "3.3.2",
28
28
  "consola": "3.4.2",
29
29
  "dotenv": "17.2.3",
30
- "hookable": "5.5.3",
31
- "oxc-parser": "0.99.0",
32
- "oxc-transform": "0.99.0",
30
+ "hookable": "6.0.1",
31
+ "oxc-parser": "0.111.0",
32
+ "oxc-transform": "0.111.0",
33
33
  "pathe": "2.0.3",
34
- "rolldown": "1.0.0-beta.52",
35
- "unplugin-isolated-decl": "0.15.6",
36
- "@vercube/core": "0.0.34"
34
+ "rolldown": "1.0.0-rc.1",
35
+ "unplugin-isolated-decl": "0.15.7",
36
+ "@vercube/core": "0.0.35"
37
37
  },
38
38
  "publishConfig": {
39
39
  "access": "public"