@thomasfarineau/anvil 0.0.1 → 0.0.2
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 +6 -5
- package/package.json +37 -37
package/README.md
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
<div align="center">
|
|
2
|
-
<img src="
|
|
2
|
+
<img src="https://raw.githubusercontent.com/ThomasFarineau/anvil/refs/heads/main/logo.svg" width="96" height="96" alt="anvil" />
|
|
3
3
|
<h1>anvil</h1>
|
|
4
4
|
<p>Build a native Minecraft launcher by writing only HTML.<br>The Rust backend handles everything else.</p>
|
|
5
5
|
|
|
6
|
+
[](https://www.npmjs.com/package/@thomasfarineau/anvil)
|
|
6
7
|
[](https://github.com/ThomasFarineau/anvil/releases)
|
|
7
8
|
[](./LICENSE)
|
|
8
9
|
[](https://github.com/ThomasFarineau/anvil/actions)
|
|
@@ -29,7 +30,7 @@ You only touch the **frontend**.
|
|
|
29
30
|
## Quick start
|
|
30
31
|
|
|
31
32
|
```bash
|
|
32
|
-
npx anvil create my-launcher
|
|
33
|
+
npx @thomasfarineau/anvil create my-launcher
|
|
33
34
|
cd my-launcher
|
|
34
35
|
npm install
|
|
35
36
|
npm run dev
|
|
@@ -38,7 +39,7 @@ npm run dev
|
|
|
38
39
|
Or in an existing project:
|
|
39
40
|
|
|
40
41
|
```bash
|
|
41
|
-
npm install -D anvil
|
|
42
|
+
npm install -D @thomasfarineau/anvil
|
|
42
43
|
npx anvil init
|
|
43
44
|
npm run dev
|
|
44
45
|
```
|
|
@@ -47,7 +48,7 @@ npm run dev
|
|
|
47
48
|
|
|
48
49
|
| Command | Description |
|
|
49
50
|
|---|---|
|
|
50
|
-
| `npx anvil create <name>` | Scaffold a new project in `<name>/` |
|
|
51
|
+
| `npx @thomasfarineau/anvil create <name>` | Scaffold a new project in `<name>/` |
|
|
51
52
|
| `npx anvil init` | Initialize anvil in the current folder |
|
|
52
53
|
| `npx anvil dev` | Start the launcher in development mode |
|
|
53
54
|
| `npx anvil build` | Compile the launcher for distribution |
|
|
@@ -69,7 +70,7 @@ my-launcher/
|
|
|
69
70
|
|
|
70
71
|
```json
|
|
71
72
|
{
|
|
72
|
-
"$schema": "node_modules/anvil/src/client/config.schema.json",
|
|
73
|
+
"$schema": "node_modules/@thomasfarineau/anvil/src/client/config.schema.json",
|
|
73
74
|
"identifier": "com.mycompany.launcher",
|
|
74
75
|
"app_name": "My Launcher",
|
|
75
76
|
"data_folder": ".my-launcher",
|
package/package.json
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@thomasfarineau/anvil",
|
|
3
|
-
"version": "0.0.
|
|
4
|
-
"description": "Zero-config Minecraft launcher framework built on Tauri",
|
|
5
|
-
"keywords": [
|
|
6
|
-
"launcher",
|
|
7
|
-
"minecraft",
|
|
8
|
-
"tauri"
|
|
9
|
-
],
|
|
10
|
-
"license": "MIT",
|
|
11
|
-
"bin": {
|
|
12
|
-
"anvil": "src/cli.cjs",
|
|
13
|
-
"create-anvil": "src/cli.cjs"
|
|
14
|
-
},
|
|
15
|
-
"files": [
|
|
16
|
-
"src/"
|
|
17
|
-
],
|
|
18
|
-
"type": "module",
|
|
19
|
-
"scripts": {
|
|
20
|
-
"test": "bun test",
|
|
21
|
-
"lint": "oxlint .",
|
|
22
|
-
"format": "oxfmt .",
|
|
23
|
-
"check": "bun run lint && bun run format"
|
|
24
|
-
},
|
|
25
|
-
"dependencies": {
|
|
26
|
-
"@tauri-apps/cli": "^2",
|
|
27
|
-
"sharp": "^0.33.0"
|
|
28
|
-
},
|
|
29
|
-
"devDependencies": {
|
|
30
|
-
"@types/node": "^26.1.0",
|
|
31
|
-
"oxfmt": "^0.57.0",
|
|
32
|
-
"oxlint": "^1.72.0"
|
|
33
|
-
},
|
|
34
|
-
"engines": {
|
|
35
|
-
"node": ">=18"
|
|
36
|
-
}
|
|
37
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "@thomasfarineau/anvil",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"description": "Zero-config Minecraft launcher framework built on Tauri",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"launcher",
|
|
7
|
+
"minecraft",
|
|
8
|
+
"tauri"
|
|
9
|
+
],
|
|
10
|
+
"license": "MIT",
|
|
11
|
+
"bin": {
|
|
12
|
+
"anvil": "src/cli.cjs",
|
|
13
|
+
"create-anvil": "src/cli.cjs"
|
|
14
|
+
},
|
|
15
|
+
"files": [
|
|
16
|
+
"src/"
|
|
17
|
+
],
|
|
18
|
+
"type": "module",
|
|
19
|
+
"scripts": {
|
|
20
|
+
"test": "bun test",
|
|
21
|
+
"lint": "oxlint .",
|
|
22
|
+
"format": "oxfmt .",
|
|
23
|
+
"check": "bun run lint && bun run format"
|
|
24
|
+
},
|
|
25
|
+
"dependencies": {
|
|
26
|
+
"@tauri-apps/cli": "^2",
|
|
27
|
+
"sharp": "^0.33.0"
|
|
28
|
+
},
|
|
29
|
+
"devDependencies": {
|
|
30
|
+
"@types/node": "^26.1.0",
|
|
31
|
+
"oxfmt": "^0.57.0",
|
|
32
|
+
"oxlint": "^1.72.0"
|
|
33
|
+
},
|
|
34
|
+
"engines": {
|
|
35
|
+
"node": ">=18"
|
|
36
|
+
}
|
|
37
|
+
}
|