-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.craft.yml
More file actions
33 lines (33 loc) · 1.2 KB
/
.craft.yml
File metadata and controls
33 lines (33 loc) · 1.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
minVersion: '2.21.1'
changelog:
policy: auto
versioning:
policy: auto
# Custom version bump script — bypasses craft's built-in npm-based auto-bumping
# which fails on our `workspace:*` deps. See scripts/bump-version.sh for details.
preReleaseCommand: bash scripts/bump-version.sh
artifactProvider:
name: github
config:
artifacts:
CI: npm-tarball
targets:
# Publish the 3 workspace packages (@loreai/core, @loreai/opencode, @loreai/pi).
# Craft discovers these from the root package.json `workspaces` field and
# auto-generates per-package targets with `includeNames` set to the default
# artifact regex (e.g. `/^loreai-opencode-\d.*\.tgz$/`).
- name: npm
access: public
oidc: true
workspaces: true
# Mirror @loreai/opencode as the legacy `opencode-lore` package name.
# The CI pack step produces `opencode-lore-<version>.tgz` with identical
# content to `loreai-opencode-<version>.tgz` but a different `name` in
# package.json. This is a non-workspace target so Craft doesn't try to
# auto-discover it — we scope it with `includeNames`.
- name: npm
id: opencode-lore
access: public
oidc: true
includeNames: /^opencode-lore-\d.*\.tgz$/
- name: github