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
2 changes: 1 addition & 1 deletion .claude/skills/bump-coana/SKILL.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ PRs.

🚨 **Do NOT touch `package.json`'s top-level `version` field.** The release workflow owns it:
between releases the manifest holds the last released version, and
`scripts/release/bump.mts` derives and writes the next one in-run. Hand-writing
`scripts/release/prepare.mts` derives and writes the next one in-run. Hand-writing
it invents a version that never releases and breaks the next release — a manifest
already sitting on the version being released has no line for the bump to
advance.
Expand Down
6 changes: 6 additions & 0 deletions .config/release.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
{
"mode": "prerelease-only",
"versionHint": "2.1.0",
"identifier": "rc",
"distTag": "rc-2.1.0"
}
16 changes: 15 additions & 1 deletion .config/rollup.base.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ import {
isBuiltin,
normalizeId,
} from '../scripts/utils/packages.js'
import { includedModulesInventoryPlugin } from '../src/sea/rollup-provenance.mjs'

const {
INLINED_SOCKET_CLI_CYCLONEDX_CDXGEN_VERSION,
Expand Down Expand Up @@ -229,7 +230,11 @@ export default function baseConfig(extendConfig = {}) {
],
[
INLINED_SOCKET_CLI_VERSION,
() => JSON.stringify(getRootPkgJsonSync().version),
() =>
JSON.stringify(
constants.ENV.INLINED_SOCKET_CLI_VERSION ||
getRootPkgJsonSync().version,
),
Comment thread
cursor[bot] marked this conversation as resolved.
Resolved
],
[
INLINED_SOCKET_CLI_VERSION_HASH,
Expand Down Expand Up @@ -289,6 +294,15 @@ export default function baseConfig(extendConfig = {}) {
},
}),
...extendPlugins,
...(process.env.SOCKET_SEA_BUILD === 'true'
? [
includedModulesInventoryPlugin({
root: rootPath,
inventoryFile: 'THIRD-PARTY-NOTICES.json',
bundleId: 'core-rollup',
}),
]
: []),
],
}
}
Loading
Loading