Skip to content

Commit 64916a7

Browse files
authored
content: dbr local (#61)
1 parent c2c7cf5 commit 64916a7

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+911
-403
lines changed

.github/workflows/release-dev.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
- name: Setup Dagger
1616
uses: dagger/dagger-for-github@v5
17+
with:
18+
verb: functions
1719

1820
- name: Setup Node.js
1921
uses: actions/setup-node@v4

.github/workflows/release-prod.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
- name: Setup Dagger
1616
uses: dagger/dagger-for-github@v5
17+
with:
18+
verb: functions
1719

1820
- name: Setup Node.js
1921
uses: actions/setup-node@v4

.github/workflows/release-stg.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
- name: Setup Dagger
1616
uses: dagger/dagger-for-github@v5
17+
with:
18+
verb: functions
1719

1820
- name: Setup Node.js
1921
uses: actions/setup-node@v4

.github/workflows/validate-pr.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ jobs:
1414

1515
- name: Setup Dagger
1616
uses: dagger/dagger-for-github@v5
17+
with:
18+
verb: functions
1719

1820
- name: Setup Node.js
1921
uses: actions/setup-node@v4

.gitignore

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,9 @@ node_modules/
99
!.yarn/plugins
1010
!.yarn/releases
1111
!.yarn/sdks
12-
!.yarn/versions
12+
!.yarn/versions
13+
# moon
14+
.moon/cache
15+
.moon/docker
16+
17+
public/

.moon/tasks.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
# yaml-language-server: $schema: 'https://moonrepo.dev/schemas/tasks.json'

.moon/toolchain.yml

Lines changed: 81 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,81 @@
1+
# yaml-language-server: $schema: 'https://moonrepo.dev/schemas/toolchain.json'
2+
$schema: "https://moonrepo.dev/schemas/toolchain.json"
3+
4+
# Extend and inherit an external configuration file. Must be a valid HTTPS URL or file system path.
5+
# extends: './shared/toolchain.yml'
6+
7+
# Configures how moon integrates with TypeScript.
8+
typescript:
9+
# When `syncProjectReferences` is enabled and a dependent project reference
10+
# *does not* have a `tsconfig.json`, automatically create one.
11+
createMissingConfig: false
12+
13+
# Append the sources of each project reference to the `include` field
14+
# of each applicable project's `tsconfig.json`.
15+
includeProjectReferenceSources: false
16+
17+
# Append shared types (from the TypeScript root) to the `include` field
18+
# of every project's `tsconfig.json`.
19+
includeSharedTypes: false
20+
21+
# Name of `tsconfig.json` file in each project root.
22+
# projectConfigFileName: 'tsconfig.json'
23+
24+
# Path to the TypeScript root, relative from the workspace root.
25+
# root: '.'
26+
27+
# Name of `tsconfig.json` file in the TypeScript root.
28+
# rootConfigFileName: 'tsconfig.json'
29+
30+
# Name of the config file in the workspace root that defines shared compiler
31+
# options for all project reference based config files.
32+
# rootOptionsConfigFileName: 'tsconfig.options.json'
33+
34+
# Update a project's `tsconfig.json` to route the `outDir` compiler option
35+
# to moon's `.moon/cache` directory.
36+
routeOutDirToCache: false
37+
38+
# Sync a project's dependencies as project references within the
39+
# project's `tsconfig.json` and the workspace root `tsconfig.json`.
40+
syncProjectReferences: false
41+
42+
# Sync a project's project references as import aliases to the `paths`
43+
# compiler option in each applicable project.
44+
syncProjectReferencesToPaths: false
45+
46+
# Configures Node.js within the toolchain.
47+
node:
48+
# The version to use. Must be a semantic version that includes major, minor, and patch.
49+
# We suggest using the latest active LTS version: https://nodejs.org/en/about/releases
50+
version: "22.2.0"
51+
52+
# The package manager to use when managing dependencies.
53+
# Accepts "npm" (default), "pnpm", "yarn", or "bun".
54+
packageManager: "yarn"
55+
56+
# The version of the package manager (above) to use.
57+
yarn:
58+
version: "4.2.2"
59+
60+
# Add `node.version` as a constraint in the root `package.json` `engines`.
61+
addEnginesConstraint: true
62+
63+
# Dedupe dependencies after the lockfile has changed.
64+
dedupeOnLockfileChange: true
65+
66+
# Version format to use when syncing dependencies within the project's `package.json`.
67+
# dependencyVersionFormat: 'workspace'
68+
69+
# Infer and automatically create moon tasks from `package.json` scripts, per project.
70+
# BEWARE: Tasks and scripts are not 1:1 in functionality, so please refer to the documentation.
71+
inferTasksFromScripts: false
72+
73+
# Support the "one version policy" by only declaring dependencies in the root `package.json`.
74+
# rootPackageOnly: true
75+
76+
# Sync a project's relationships as `dependencies` within the project's `package.json`.
77+
syncProjectWorkspaceDependencies: true
78+
79+
# Sync `node.version` to a 3rd-party version manager's config file.
80+
# Accepts "nodenv" (.node-version), "nvm" (.nvmrc), or none.
81+
# syncVersionManagerConfig: 'nvm'

.moon/workspace.yml

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
# yaml-language-server: $schema: 'https://moonrepo.dev/docs/config/workspace.json'
2+
$schema: "https://moonrepo.dev/schemas/workspace.json"
3+
4+
# Require a specific version of moon while running commands, otherwise fail.
5+
# versionConstraint: '>=1.0.0'
6+
7+
# Extend and inherit an external configuration file. Must be a valid HTTPS URL or file system path.
8+
# extends: './shared/workspace.yml'
9+
10+
# REQUIRED: A map of all projects found within the workspace, or a list or file system globs.
11+
# When using a map, each entry requires a unique project ID as the map key, and a file system
12+
# path to the project folder as the map value. File paths are relative from the workspace root,
13+
# and cannot reference projects located outside the workspace boundary.
14+
projects:
15+
- "apps/*"
16+
- "packages/*"
17+
- app
18+
- scripts
19+
- dagger
20+
21+
# Configures the version control system to utilize within the workspace. A VCS
22+
# is required for determining touched (added, modified, etc) files, calculating file hashes,
23+
# computing affected files, and much more.
24+
vcs:
25+
# The client to use when managing the repository.
26+
# Accepts "git". Defaults to "git".
27+
manager: "git"
28+
29+
# The default branch (master/main/trunk) in the repository for comparing the
30+
# local branch against. For git, this is is typically "master" or "main",
31+
# and must include the remote prefix (before /).
32+
defaultBranch: "main"

.prototools

Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,9 @@
1-
node = "^20.0.0"
2-
yarn = "^1.0.0"
3-
go = "~1.21.7"
4-
dagger = "latest"
1+
dagger = "^0.11.5"
2+
go = "~1.21.10"
3+
moon = "^1.25.1"
4+
node = "^22.2.0"
5+
yarn = "^1.22.22"
6+
7+
[plugins]
8+
dagger = "source:https://raw.githubusercontent.com/Phault/proto-toml-plugins/main/dagger/plugin.toml"
9+
moon = "source:https://raw.githubusercontent.com/moonrepo/moon/master/proto-plugin.toml"
3.78 MB
Binary file not shown.

0 commit comments

Comments
 (0)