wave 8 refactor

This commit is contained in:
2026-05-08 00:54:56 -04:00
parent 6c232e62e5
commit 463750c669
9 changed files with 35 additions and 16 deletions
+15 -2
View File
@@ -6,6 +6,7 @@
# macos-arm64 -> Apple Silicon macOS host runner with Xcode CLT
#
# Artifact note: keep upload-artifact@v3 for Gitea/GHES compatibility.
# Artifact names use <major>.<minor>.<run_number> (see scripts/artifact-suffix.mjs).
name: Release Builds
@@ -62,9 +63,15 @@ jobs:
}
Get-ChildItem -Recurse "out/make"
- name: Artifact name suffix (major.minor.run_number)
id: artifact_ver
env:
GITHUB_RUN_NUMBER: ${{ github.run_number }}
run: node scripts/artifact-suffix.mjs
- uses: actions/upload-artifact@v3
with:
name: bytedraft-windows-${{ github.sha }}
name: bytedraft-windows-${{ steps.artifact_ver.outputs.suffix }}
path: out/make/
if-no-files-found: error
@@ -108,8 +115,14 @@ jobs:
test -d out/make
find out/make -maxdepth 4 -type f -print
- name: Artifact name suffix (major.minor.run_number)
id: artifact_ver
env:
GITHUB_RUN_NUMBER: ${{ github.run_number }}
run: node scripts/artifact-suffix.mjs
- uses: actions/upload-artifact@v3
with:
name: bytedraft-macos-arm64-${{ github.sha }}
name: bytedraft-macos-arm64-${{ steps.artifact_ver.outputs.suffix }}
path: out/make/
if-no-files-found: error
Generated
+2 -2
View File
@@ -31,7 +31,7 @@ checksum = "5d20789868f4b01b2f2caec9f5c4e0213b41e3e5702a50157d699ae31ced2fcb"
[[package]]
name = "byte_draft"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"encoding_rs",
"quick-xml",
@@ -49,7 +49,7 @@ dependencies = [
[[package]]
name = "byte_draft_desktop"
version = "0.2.0"
version = "0.3.0"
dependencies = [
"byte_draft",
"serde",
+5
View File
@@ -5,6 +5,11 @@ members = [
"crates/byte_draft_desktop",
]
[workspace.package]
version = "0.3.0"
edition = "2021"
license = "MIT OR Apache-2.0"
[workspace.lints.rust]
unsafe_code = "forbid"
+3 -3
View File
@@ -1,8 +1,8 @@
[package]
name = "byte_draft"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
version.workspace = true
edition.workspace = true
license.workspace = true
[dependencies]
encoding_rs = "0.8.35"
+3 -3
View File
@@ -1,8 +1,8 @@
[package]
name = "byte_draft_desktop"
version = "0.2.0"
edition = "2021"
license = "MIT OR Apache-2.0"
version.workspace = true
edition.workspace = true
license.workspace = true
default-run = "ByteDraft"
[[bin]]
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "byte-draft",
"version": "0.2.0",
"version": "0.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "byte-draft",
"version": "0.2.0",
"version": "0.3.0",
"hasInstallScript": true,
"dependencies": {
"uiohook-napi": "^1.5.5"
+2 -1
View File
@@ -1,10 +1,11 @@
{
"name": "byte-draft",
"version": "0.2.0",
"version": "0.3.0",
"description": "ByteDraft — cross-platform text editor",
"main": "dist-electron/main.js",
"private": true,
"scripts": {
"version:set": "node scripts/set-version.mjs",
"electron:compile": "tsc -p electron/tsconfig.json",
"electron:dev": "concurrently -k -n ui,electron \"npm --prefix ui run dev\" \"wait-on http://localhost:5173 -t 60000 && npm run electron:compile && electron . --dev\"",
"electron:build": "cargo build --release -p byte_draft_desktop && npm --prefix ui run build && npm run electron:compile && electron-forge make",
+2 -2
View File
@@ -1,12 +1,12 @@
{
"name": "byte-draft-ui",
"version": "0.2.0",
"version": "0.3.0",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "byte-draft-ui",
"version": "0.2.0",
"version": "0.3.0",
"dependencies": {
"@codemirror/commands": "^6",
"@codemirror/lang-css": "^6",
+1 -1
View File
@@ -1,6 +1,6 @@
{
"name": "byte-draft-ui",
"version": "0.2.0",
"version": "0.3.0",
"private": true,
"type": "module",
"scripts": {