@vercube/devkit 0.0.34 → 0.0.36
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 +30 -24
- package/dist/index.mjs +2 -2
- package/package.json +9 -9
package/README.md
CHANGED
|
@@ -1,34 +1,40 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<
|
|
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
|
-
#
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
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
|
+
[&labelColor=%23000&color=%232f2f2f>)](https://deepwiki.com/vercube/vercube)
|
|
11
|
+
&labelColor=%23000&color=%232e2e2e&link=https%3A%2F%2Fwww.npmjs.com%2Fpackage%2F%40vercube%2Fdevkit>)
|
|
12
|
+
&labelColor=%23000&color=%232f2f2f>)
|
|
13
|
+
&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
|
-
|
|
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
|
-
##
|
|
34
|
+
## 📖 Usage
|
|
29
35
|
|
|
30
|
-
|
|
36
|
+
Check out the full docs at **[vercube.dev](https://vercube.dev)**
|
|
31
37
|
|
|
32
|
-
##
|
|
38
|
+
## 📜 License
|
|
33
39
|
|
|
34
|
-
|
|
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
|
|
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
|
|
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.
|
|
3
|
+
"version": "0.0.36",
|
|
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.
|
|
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": "
|
|
31
|
-
"oxc-parser": "0.
|
|
32
|
-
"oxc-transform": "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-
|
|
35
|
-
"unplugin-isolated-decl": "0.15.
|
|
36
|
-
"@vercube/core": "0.0.
|
|
34
|
+
"rolldown": "1.0.0-rc.1",
|
|
35
|
+
"unplugin-isolated-decl": "0.15.7",
|
|
36
|
+
"@vercube/core": "0.0.36"
|
|
37
37
|
},
|
|
38
38
|
"publishConfig": {
|
|
39
39
|
"access": "public"
|