Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .github/workflows/release-dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ jobs:
name: Run Workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup Dagger
uses: dagger/dagger-for-github@8.0.0
uses: dagger/dagger-for-github@v8.2.0
with:
version: 0.18.9
version: v0.20.3
verb: functions
workdir: ./etc/workflow-runtime

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24

- name: Install dependencies
run: yarn install
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release-prod.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ jobs:
name: Run Workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup Dagger
uses: dagger/dagger-for-github@8.0.0
uses: dagger/dagger-for-github@v8.2.0
with:
version: 0.18.9
version: v0.20.3
verb: functions
workdir: ./etc/workflow-runtime

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24

- name: Install dependencies
run: yarn install
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/release-stg.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ jobs:
name: Run Workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup Dagger
uses: dagger/dagger-for-github@8.0.0
uses: dagger/dagger-for-github@v8.2.0
with:
version: 0.18.9
version: v0.20.3
verb: functions
workdir: ./etc/workflow-runtime

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24

- name: Install dependencies
run: yarn install
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/validate-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,19 +10,21 @@ jobs:
name: Run Workflow
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: actions/checkout@v6
with:
fetch-depth: 0

- name: Setup Dagger
uses: dagger/dagger-for-github@8.0.0
uses: dagger/dagger-for-github@v8.2.0
with:
version: 0.18.9
version: v0.20.3
verb: functions
workdir: ./etc/workflow-runtime

- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 22
node-version: 24

- name: Install dependencies
run: yarn install
Expand Down
16 changes: 6 additions & 10 deletions .moon/tasks/tag-trunk.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,18 @@
$schema: "https://moonrepo.dev/schemas/tasks.json"

$schema: https://moonrepo.dev/schemas/tasks.json
tasks:
serve:
command: trunk serve
local: true
preset: server
mkTarget:
command: mkdir -p target/apps
build:
command: trunk
args:
- --no-color
- build
env:
# trunk doesn't support NO_COLOR=1
NO_COLOR: "true"
script: env -u NO_COLOR trunk build
toolchain: system
inputs:
- src/**/*
- "*.html"
- "*.toml"
deps:
- mkTarget
inheritedBy:
tag: trunk
5 changes: 3 additions & 2 deletions .moon/tasks/tag-typescript.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
$schema: "https://moonrepo.dev/schemas/tasks.json"

$schema: https://moonrepo.dev/schemas/tasks.json
tasks:
typecheck:
command: tsc --noEmit
inputs:
- src/**/*
inheritedBy:
tag: typescript
29 changes: 0 additions & 29 deletions .moon/toolchain.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .moon/toolchains.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
$schema: https://moonrepo.dev/schemas/toolchain.json
node:
version: ^24
yarn:
version: 4.10.3
typescript:
routeOutDirToCache: true
syncProjectReferencesToPaths: true
javascript:
packageManager: yarn
dedupeOnLockfileChange: true
inferTasksFromScripts: false
syncProjectWorkspaceDependencies: true
rust:
syncToolchainConfig: true
bins:
- trunk@0.21.14
targets:
- wasm32-unknown-unknown
components:
- rustfmt
- clippy
33 changes: 5 additions & 28 deletions .moon/workspace.yml
Original file line number Diff line number Diff line change
@@ -1,34 +1,11 @@
# yaml-language-server: $schema: 'https://moonrepo.dev/docs/config/workspace.json'
$schema: "https://moonrepo.dev/schemas/workspace.json"

# Require a specific version of moon while running commands, otherwise fail.
# versionConstraint: '>=1.0.0'

# Extend and inherit an external configuration file. Must be a valid HTTPS URL or file system path.
# extends: './shared/workspace.yml'

# REQUIRED: A map of all projects found within the workspace, or a list or file system globs.
# When using a map, each entry requires a unique project ID as the map key, and a file system
# path to the project folder as the map value. File paths are relative from the workspace root,
# and cannot reference projects located outside the workspace boundary.
$schema: https://moonrepo.dev/schemas/workspace.json
projects:
- "apps/*"
- "libs/*"
- "etc/*"

# Configures the version control system to utilize within the workspace. A VCS
# is required for determining touched (added, modified, etc) files, calculating file hashes,
# computing affected files, and much more.
- apps/*
- libs/*
- etc/*
vcs:
# The client to use when managing the repository.
# Accepts "git". Defaults to "git".
manager: git

# The default branch (master/main/trunk) in the repository for comparing the
# local branch against. For git, this is is typically "master" or "main",
# and must include the remote prefix (before /).
defaultBranch: main

client: git
generator:
templates:
- ./etc/templates
8 changes: 8 additions & 0 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,3 +3,11 @@ trailingComma: all
useTabs: true
semi: true
endOfLine: lf
overrides:
- files:
- tsconfig.json
- "apps/*/tsconfig.json"
- "etc/*/tsconfig.json"
- "libs/*/tsconfig.json"
options:
parser: json-stringify
8 changes: 4 additions & 4 deletions .prototools
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
dagger = "^0"
dagger = "^0.20.6"
go = "^1"
moon = "^1"
node = "^22"
moon = "^2"
node = "^24"
yarn = "^4"
rust = "^1.88"
rust = "1.90.0"

[plugins]
dagger = "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/dagger/plugin.toml"
Expand Down
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/eol-npm-0.9.1-62fc20ef06-9d3fd93bb2.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed .yarn/cache/qs-npm-6.13.0-53676ddc84-f548b376e6.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified .yarn/install-state.gz
Binary file not shown.
942 changes: 942 additions & 0 deletions .yarn/releases/yarn-4.10.3.cjs

Large diffs are not rendered by default.

934 changes: 0 additions & 934 deletions .yarn/releases/yarn-4.6.0.cjs

This file was deleted.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@ enableGlobalCache: false

nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.6.0.cjs
yarnPath: .yarn/releases/yarn-4.10.3.cjs
15 changes: 8 additions & 7 deletions apps/app/moon.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,5 @@
# yaml-language-server: $schema: 'https://moonrepo.dev/schemas/project.json'
language: typescript
platform: node
type: application
tags:
- typescript
project:
name: "@n8v/app"
description: app
tasks:
dev:
command: gatsby develop
Expand Down Expand Up @@ -38,3 +31,11 @@ tasks:
- gatsby-node.ts
outputs:
- public
toolchains:
default: node
tags:
- typescript
project:
description: app
title: "@n8v/app"
layer: application
4 changes: 3 additions & 1 deletion apps/app/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@
"typecheck": "tsc --noEmit"
},
"devDependencies": {
"gatsby": "^5.14.5",
"gatsby": "^5.16.1",
"react": "^18.3.1",
"react-dom": "^18.3.1",
"typescript": "^5.7.3"
},
"resolutions": {
Expand Down
4 changes: 3 additions & 1 deletion apps/app/tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
"jsxImportSource": "@emotion/react",
"baseUrl": ".",
"paths": {
"@n8v/app/*": ["src/*"]
"@n8v/app/*": [
"src/*"
]
},
"outDir": "../../.moon/cache/types/apps/app"
},
Expand Down
11 changes: 6 additions & 5 deletions apps/counter/moon.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# yaml-language-server: $schema: 'https://moonrepo.dev/schemas/project.json'
platform: rust
type: application
project:
name: "@n8v/counter"
description: app
tags:
- trunk
toolchains:
default: rust
project:
description: app
title: "@n8v/counter"
layer: application
11 changes: 6 additions & 5 deletions apps/recorder/moon.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
# yaml-language-server: $schema: 'https://moonrepo.dev/schemas/project.json'
platform: rust
type: application
project:
name: "@n8v/recorder"
description: app
tags:
- trunk
toolchains:
default: rust
project:
description: app
title: "@n8v/recorder"
layer: application
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ import { cleanBuild } from "@n8v/scripts/utils/clean-build";
import { getBuildNumber } from "@n8v/scripts/utils/get-build-number";
import { getRev } from "@n8v/scripts/utils/get-rev";
import { workDirs } from "@n8v/scripts/utils/work-dirs";
import fs from "fs-extra";
import fse from "fs-extra";

$.verbose = true;

Expand All @@ -20,4 +20,7 @@ await $`moon run app:build`;

await $`moon run counter:build`;

await fs.copy(workDirs.apps.counter.target.path, workDirs.apps.app.public.path);
await fse.copy(
workDirs.apps.counter.target.path,
workDirs.apps.app.public.path,
);
File renamed without changes.
File renamed without changes.
File renamed without changes.
Loading
Loading