@astra-kit/rp 0.0.0-stage → 0.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +196 -0
- package/LICENSE.md +21 -0
- package/README.md +352 -2
- package/bin/astra-rp.js +51 -0
- package/package.json +93 -4
- package/src/build-gate.js +157 -0
- package/src/changelog-blocks.js +53 -0
- package/src/changelog.js +108 -0
- package/src/constants/build-gate.js +30 -0
- package/src/constants/changelog-draft.js +180 -0
- package/src/constants/changelog.js +74 -0
- package/src/constants/ci-release.js +346 -0
- package/src/constants/cli.js +12 -0
- package/src/constants/create-version.js +523 -0
- package/src/constants/guard-publish.js +29 -0
- package/src/constants/index.js +18 -0
- package/src/constants/monorepo.js +57 -0
- package/src/constants/package-manager.js +56 -0
- package/src/constants/registry.js +72 -0
- package/src/constants/terminal-ui.js +93 -0
- package/src/constants/version-files.js +63 -0
- package/src/constants/versions.js +60 -0
- package/src/create-version/artifact.js +343 -0
- package/src/create-version/changelog-draft-workspace.js +124 -0
- package/src/create-version/changelog-draft.js +380 -0
- package/src/create-version/changelog.js +264 -0
- package/src/create-version/ci-config.js +54 -0
- package/src/create-version/ci-publication-history.js +113 -0
- package/src/create-version/ci-release-identity-step.js +58 -0
- package/src/create-version/ci-setup.js +794 -0
- package/src/create-version/ci.js +555 -0
- package/src/create-version/committed-tree.js +75 -0
- package/src/create-version/config.js +489 -0
- package/src/create-version/errors.js +46 -0
- package/src/create-version/github-workflow.js +199 -0
- package/src/create-version/index.js +54 -0
- package/src/create-version/json.js +32 -0
- package/src/create-version/jsonc.js +76 -0
- package/src/create-version/jsr.js +96 -0
- package/src/create-version/local-changes.js +178 -0
- package/src/create-version/npm-auth.js +142 -0
- package/src/create-version/npm.js +812 -0
- package/src/create-version/plan.js +1200 -0
- package/src/create-version/process.js +334 -0
- package/src/create-version/registry-config.js +121 -0
- package/src/create-version/registry-http.js +62 -0
- package/src/create-version/registry.js +220 -0
- package/src/create-version/release-execution.js +45 -0
- package/src/create-version/release-tag-config.js +76 -0
- package/src/create-version/run.js +2087 -0
- package/src/create-version/state.js +461 -0
- package/src/create-version/strict-utf8.js +11 -0
- package/src/create-version/templates/release.yml +52 -0
- package/src/create-version/templates/vercel-ignore-build.mjs +66 -0
- package/src/guard-publish.js +77 -0
- package/src/index.js +42 -0
- package/src/monorepo/plan.js +475 -0
- package/src/monorepo/release-commit.js +46 -0
- package/src/monorepo/run.js +927 -0
- package/src/monorepo/state.js +206 -0
- package/src/monorepo/workspaces.js +327 -0
- package/src/package-manager.js +107 -0
- package/src/terminal-ui.js +548 -0
- package/src/testing.js +70 -0
- package/src/version-files.js +142 -0
- package/src/versions.js +303 -0
- package/types/build-gate.d.ts +43 -0
- package/types/changelog-blocks.d.ts +33 -0
- package/types/changelog.d.ts +61 -0
- package/types/constants/build-gate.d.ts +23 -0
- package/types/constants/changelog-draft.d.ts +138 -0
- package/types/constants/changelog.d.ts +56 -0
- package/types/constants/ci-release.d.ts +284 -0
- package/types/constants/cli.d.ts +11 -0
- package/types/constants/create-version.d.ts +397 -0
- package/types/constants/guard-publish.d.ts +25 -0
- package/types/constants/index.d.ts +17 -0
- package/types/constants/monorepo.d.ts +45 -0
- package/types/constants/package-manager.d.ts +40 -0
- package/types/constants/registry.d.ts +79 -0
- package/types/constants/terminal-ui.d.ts +73 -0
- package/types/constants/version-files.d.ts +51 -0
- package/types/constants/versions.d.ts +47 -0
- package/types/create-version/artifact.d.ts +113 -0
- package/types/create-version/changelog-draft-workspace.d.ts +33 -0
- package/types/create-version/changelog-draft.d.ts +127 -0
- package/types/create-version/changelog.d.ts +141 -0
- package/types/create-version/ci-config.d.ts +33 -0
- package/types/create-version/ci-publication-history.d.ts +51 -0
- package/types/create-version/ci-release-identity-step.d.ts +12 -0
- package/types/create-version/ci-setup.d.ts +148 -0
- package/types/create-version/ci.d.ts +145 -0
- package/types/create-version/committed-tree.d.ts +55 -0
- package/types/create-version/config.d.ts +128 -0
- package/types/create-version/errors.d.ts +39 -0
- package/types/create-version/github-workflow.d.ts +41 -0
- package/types/create-version/index.d.ts +28 -0
- package/types/create-version/json.d.ts +21 -0
- package/types/create-version/jsonc.d.ts +21 -0
- package/types/create-version/jsr.d.ts +52 -0
- package/types/create-version/local-changes.d.ts +52 -0
- package/types/create-version/npm-auth.d.ts +60 -0
- package/types/create-version/npm.d.ts +331 -0
- package/types/create-version/plan.d.ts +369 -0
- package/types/create-version/process.d.ts +151 -0
- package/types/create-version/registry-config.d.ts +56 -0
- package/types/create-version/registry-http.d.ts +22 -0
- package/types/create-version/registry.d.ts +86 -0
- package/types/create-version/release-execution.d.ts +22 -0
- package/types/create-version/release-tag-config.d.ts +18 -0
- package/types/create-version/run.d.ts +407 -0
- package/types/create-version/state.d.ts +204 -0
- package/types/create-version/strict-utf8.d.ts +10 -0
- package/types/guard-publish.d.ts +49 -0
- package/types/index.d.ts +23 -0
- package/types/monorepo/plan.d.ts +68 -0
- package/types/monorepo/release-commit.d.ts +29 -0
- package/types/monorepo/run.d.ts +68 -0
- package/types/monorepo/state.d.ts +96 -0
- package/types/monorepo/workspaces.d.ts +86 -0
- package/types/package-manager.d.ts +58 -0
- package/types/terminal-ui.d.ts +196 -0
- package/types/testing.d.ts +31 -0
- package/types/version-files.d.ts +59 -0
- package/types/versions.d.ts +158 -0
|
@@ -0,0 +1,138 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contract of the `[Unreleased]` entries `create-version` drafts with an agent CLI (Claude Code or
|
|
3
|
+
* Codex) when `changelogDraft` is configured and the release would stop for a missing changelog.
|
|
4
|
+
*
|
|
5
|
+
* @module constants/changelog-draft
|
|
6
|
+
*/
|
|
7
|
+
/** Configuration field that turns on the drafting and orders the agent CLIs it tries. */
|
|
8
|
+
export declare const CHANGELOG_DRAFT_FIELD = "changelogDraft";
|
|
9
|
+
/** Agent CLIs that can draft the entries. */
|
|
10
|
+
export declare const CHANGELOG_DRAFT_PROVIDER: Readonly<{
|
|
11
|
+
claude: "claude";
|
|
12
|
+
codex: "codex";
|
|
13
|
+
}>;
|
|
14
|
+
/** Order tried with `changelogDraft: true`: Claude Code first, Codex when Claude Code fails or has no quota left. */
|
|
15
|
+
export declare const DEFAULT_CHANGELOG_DRAFT_PROVIDERS: readonly ("claude" | "codex")[];
|
|
16
|
+
/** Names printed for each agent CLI. */
|
|
17
|
+
export declare const CHANGELOG_DRAFT_PROVIDER_LABELS: Readonly<{
|
|
18
|
+
claude: "Claude Code";
|
|
19
|
+
codex: "Codex";
|
|
20
|
+
}>;
|
|
21
|
+
/** Executable of each agent CLI, resolved from `PATH`. */
|
|
22
|
+
export declare const CHANGELOG_DRAFT_EXECUTABLES: Readonly<{
|
|
23
|
+
claude: "claude";
|
|
24
|
+
codex: "codex";
|
|
25
|
+
}>;
|
|
26
|
+
/**
|
|
27
|
+
* Prefix of the isolated workspace the agents run in: a temporary directory outside the repository,
|
|
28
|
+
* removed when the drafting ends.
|
|
29
|
+
*/
|
|
30
|
+
export declare const CHANGELOG_DRAFT_DIRECTORY_PREFIX = "astra-rp-changelog-draft-";
|
|
31
|
+
/**
|
|
32
|
+
* Directory of the workspace with the files Git tracks at `HEAD` (from `git checkout-index`): no `.git`,
|
|
33
|
+
* no untracked or ignored files, so local credentials such as an untracked `.env` or `.npmrc` stay
|
|
34
|
+
* out of the agents' reach.
|
|
35
|
+
*/
|
|
36
|
+
export declare const CHANGELOG_DRAFT_SNAPSHOT_DIRECTORY = "repository";
|
|
37
|
+
/** Directory of the workspace with the release context astra-rp writes for the agents. */
|
|
38
|
+
export declare const CHANGELOG_DRAFT_CONTEXT_DIRECTORY = "release-context";
|
|
39
|
+
/** Release context file with the diff of the release range, without the changelog itself. */
|
|
40
|
+
export declare const CHANGELOG_DRAFT_DIFF_FILE = "changes.diff";
|
|
41
|
+
/** Release context file with the `git log --stat` of the release range. */
|
|
42
|
+
export declare const CHANGELOG_DRAFT_LOG_FILE = "commits.log";
|
|
43
|
+
/** `rmSync` retries when removing the workspace, while Windows releases the files of a stopped agent. */
|
|
44
|
+
export declare const WORKSPACE_REMOVAL_RETRIES: Readonly<{
|
|
45
|
+
maxRetries: 10;
|
|
46
|
+
retryDelay: 100;
|
|
47
|
+
}>;
|
|
48
|
+
/**
|
|
49
|
+
* Settings file, at the workspace root, that Claude Code loads with `--settings`: its file tools
|
|
50
|
+
* refuse reads outside the working directory in every permission mode, even when the user's own
|
|
51
|
+
* settings allow them.
|
|
52
|
+
*/
|
|
53
|
+
export declare const CLAUDE_DRAFT_SETTINGS_FILE = "claude-settings.json";
|
|
54
|
+
/** Contents of {@link CLAUDE_DRAFT_SETTINGS_FILE}. */
|
|
55
|
+
export declare const CLAUDE_DRAFT_SETTINGS: Readonly<{
|
|
56
|
+
permissions: Readonly<{
|
|
57
|
+
blockReadsOutsideWorkingDirectories: true;
|
|
58
|
+
}>;
|
|
59
|
+
}>;
|
|
60
|
+
/**
|
|
61
|
+
* Claude Code in print mode, inside the isolated workspace, with only its file tools (`Read`,
|
|
62
|
+
* `Grep`, `Glob`): no Bash, so no command can write files, and `--strict-mcp-config` without
|
|
63
|
+
* `--mcp-config` loads no MCP server. Reads inside the working directory need no approval; reads
|
|
64
|
+
* outside it need one, which `dontAsk` denies instead of asking (Claude Code documentation,
|
|
65
|
+
* "Configure permissions"), and {@link CLAUDE_DRAFT_SETTINGS_FILE} also refuses them.
|
|
66
|
+
* `--restricted` (Claude Code v2.1.248 or later) loads only managed settings and `--settings`, not
|
|
67
|
+
* the user's or the project's, so an inherited `permissions.additionalDirectories` cannot widen the
|
|
68
|
+
* reads, and confines the file tools to the working directories (Claude Code documentation, "CLI
|
|
69
|
+
* reference", https://code.claude.com/docs/en/cli-reference). `--no-session-persistence` keeps the
|
|
70
|
+
* run, with its prompt and the repository excerpts it read, off the disk and not resumable, as
|
|
71
|
+
* `--ephemeral` does for Codex. Every argument is fixed, so a Windows `.cmd` shim receives no
|
|
72
|
+
* variable path on its command line. The answer comes back as JSON.
|
|
73
|
+
*/
|
|
74
|
+
export declare const CLAUDE_DRAFT_ARGUMENTS: readonly string[];
|
|
75
|
+
/** `--output-format json` result that reports a successful answer. */
|
|
76
|
+
export declare const CLAUDE_SUCCESS_SUBTYPE = "success";
|
|
77
|
+
/** File, at the workspace root, where Codex writes its last message (relative to its working directory). */
|
|
78
|
+
export declare const CODEX_LAST_MESSAGE_FILE = "last-message.md";
|
|
79
|
+
/**
|
|
80
|
+
* Codex in non-interactive mode inside the isolated workspace (its working directory, which is not
|
|
81
|
+
* a Git repository), sandboxed read-only, without saving the session. Its last message goes to
|
|
82
|
+
* {@link CODEX_LAST_MESSAGE_FILE} and the prompt comes from stdin (`-`). Every argument is fixed,
|
|
83
|
+
* so a Windows `.cmd` shim receives no variable path on its command line.
|
|
84
|
+
*
|
|
85
|
+
* Residual risk: Codex 0.162 documents no option that limits reads to one directory or turns off
|
|
86
|
+
* its shell tool, and `read-only` blocks writes but not reads. The workspace keeps the repository's
|
|
87
|
+
* untracked credentials away, yet Codex could still read other files of the host.
|
|
88
|
+
*/
|
|
89
|
+
export declare const CODEX_DRAFT_ARGUMENTS: readonly string[];
|
|
90
|
+
/** Time an agent CLI has to explore the repository and answer before the next one is tried. */
|
|
91
|
+
export declare const CHANGELOG_DRAFT_TIMEOUT_MS = 600000;
|
|
92
|
+
/** Characters of an agent failure shown to the user. */
|
|
93
|
+
export declare const CHANGELOG_DRAFT_MAX_FAILURE_CHARACTERS = 300;
|
|
94
|
+
/** Markdown code fence an agent may wrap its answer in. */
|
|
95
|
+
export declare const MARKDOWN_FENCE_PATTERN: RegExp;
|
|
96
|
+
/**
|
|
97
|
+
* A C0 or C1 control character other than a line break or a tab, such as the ESC that starts a
|
|
98
|
+
* terminal escape sequence (OSC, CSI): an agent answer holding one is rejected before it is shown
|
|
99
|
+
* or written.
|
|
100
|
+
*/
|
|
101
|
+
export declare const CONTROL_CHARACTER_PATTERN: RegExp;
|
|
102
|
+
/** Every character {@link CONTROL_CHARACTER_PATTERN} matches, to remove them from agent text shown in the terminal. */
|
|
103
|
+
export declare const CONTROL_CHARACTERS_PATTERN: RegExp;
|
|
104
|
+
/**
|
|
105
|
+
* A line a draft may hold: blank, a `### Section` heading or a complete `- ` entry. Each change is a
|
|
106
|
+
* single `- ` line, so an indented continuation of an entry is rejected.
|
|
107
|
+
*/
|
|
108
|
+
export declare const CHANGELOG_DRAFT_LINE_PATTERN: RegExp;
|
|
109
|
+
/** An indented line that is not an entry: an entry split across several lines, which a draft must not hold. */
|
|
110
|
+
export declare const CHANGELOG_DRAFT_CONTINUATION_LINE_PATTERN: RegExp;
|
|
111
|
+
/** A level-2 heading such as `## [Unreleased]` or `## [1.2.0] - 2026-01-01`, which the draft must not contain. */
|
|
112
|
+
export declare const RELEASE_LEVEL_HEADING_PATTERN: RegExp;
|
|
113
|
+
/** A single `### Section` line of a draft, capturing the section name. */
|
|
114
|
+
export declare const CHANGELOG_DRAFT_SECTION_PATTERN: RegExp;
|
|
115
|
+
/** A blank line of a draft. */
|
|
116
|
+
export declare const BLANK_LINE_PATTERN: RegExp;
|
|
117
|
+
/** Windows command that resolves an executable on `PATH`, including the `.cmd` shims npm installs. */
|
|
118
|
+
export declare const WINDOWS_EXECUTABLE_LOOKUP_COMMAND = "where";
|
|
119
|
+
/** Files Windows can run; `where` also lists the extensionless shell script next to an npm `.cmd` shim. */
|
|
120
|
+
export declare const WINDOWS_RUNNABLE_FILE_PATTERN: RegExp;
|
|
121
|
+
/** Windows scripts that only a shell can run, such as the `claude.cmd` shim npm installs. */
|
|
122
|
+
export declare const WINDOWS_SHELL_SCRIPT_PATTERN: RegExp;
|
|
123
|
+
/**
|
|
124
|
+
* Characters `cmd.exe` would interpret inside a double-quoted argument: `"` ends the quotes, `%`
|
|
125
|
+
* and `!` (with delayed expansion) expand variables, and `^&|<>` are its operators. The shim path
|
|
126
|
+
* and every agent argument on a Windows shell command line are checked against it.
|
|
127
|
+
*/
|
|
128
|
+
export declare const UNSAFE_SHELL_ARGUMENT_PATTERN: RegExp;
|
|
129
|
+
/**
|
|
130
|
+
* Temporary Git index (`GIT_INDEX_FILE`), inside the workspace, that checks out the snapshot
|
|
131
|
+
* without touching the repository index; removed once the snapshot is written.
|
|
132
|
+
*/
|
|
133
|
+
export declare const CHANGELOG_DRAFT_INDEX_FILE = "snapshot.index";
|
|
134
|
+
/**
|
|
135
|
+
* Release context file with the working tree changelog the agents will update, so they see it
|
|
136
|
+
* even when it is untracked or only changed locally.
|
|
137
|
+
*/
|
|
138
|
+
export declare const CHANGELOG_DRAFT_CURRENT_CHANGELOG_FILE = "CHANGELOG.md";
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Keep a Changelog contract used to read and release `CHANGELOG.md`.
|
|
3
|
+
*
|
|
4
|
+
* @module constants/changelog
|
|
5
|
+
*/
|
|
6
|
+
/** Changelog file released together with `package.json`. */
|
|
7
|
+
export declare const CHANGELOG_FILE = "CHANGELOG.md";
|
|
8
|
+
/** Blocking release condition that exits with failure until the manual changelog is updated and its `[Unreleased]` block has entries. */
|
|
9
|
+
export declare const CHANGELOG_UPDATE_REQUIRED_CODE = "changelog-update-required";
|
|
10
|
+
/** Default title when creating a changelog document. */
|
|
11
|
+
export declare const CHANGELOG_TITLE = "# Changelog";
|
|
12
|
+
/** Length of commit hashes displayed in changelog entries. */
|
|
13
|
+
export declare const COMMIT_SHORT_SHA_LENGTH = 7;
|
|
14
|
+
/** Heading of the block that collects changes not yet released. */
|
|
15
|
+
export declare const UNRELEASED_HEADING = "## [Unreleased]";
|
|
16
|
+
/** Change types allowed as `###` sections, in Keep a Changelog order. */
|
|
17
|
+
export declare const CHANGE_TYPES: readonly string[];
|
|
18
|
+
/** Any release-level heading: `## [Unreleased]`, `## [0.7.0] - 2026-09-26` or `## 0.6.0 - 2026-09-23`. */
|
|
19
|
+
export declare const RELEASE_HEADING_PATTERN: RegExp;
|
|
20
|
+
/** Unreleased heading, case-insensitive, as its own line. */
|
|
21
|
+
export declare const UNRELEASED_LINE_PATTERN: RegExp;
|
|
22
|
+
/** A change entry line. */
|
|
23
|
+
export declare const ENTRY_LINE_PATTERN: RegExp;
|
|
24
|
+
/** A change-type section heading inside a release block. */
|
|
25
|
+
export declare const SECTION_HEADING_PATTERN: RegExp;
|
|
26
|
+
/** Leading whitespace left before the next block after moving `[Unreleased]`. */
|
|
27
|
+
export declare const LEADING_WHITESPACE_PATTERN: RegExp;
|
|
28
|
+
/** Line break in a changelog written on any platform. */
|
|
29
|
+
export declare const LINE_BREAK_PATTERN: RegExp;
|
|
30
|
+
/** Line break of a changelog written on Windows, kept when closing `[Unreleased]`. */
|
|
31
|
+
export declare const CRLF_LINE_BREAK = "\r\n";
|
|
32
|
+
/** Line break of a changelog written on any other platform. */
|
|
33
|
+
export declare const LF_LINE_BREAK = "\n";
|
|
34
|
+
/** Separator between the year, month and day of a release date (`YYYY-MM-DD`). */
|
|
35
|
+
export declare const RELEASE_DATE_SEPARATOR = "-";
|
|
36
|
+
/** Digits of the month and the day of a release date. */
|
|
37
|
+
export declare const RELEASE_DATE_PART_LENGTH = 2;
|
|
38
|
+
/** Padding of a one-digit month or day in a release date. */
|
|
39
|
+
export declare const RELEASE_DATE_PAD = "0";
|
|
40
|
+
/**
|
|
41
|
+
* Locale whose `Intl.DateTimeFormat` parts are Gregorian with Latin digits, to read the year, month
|
|
42
|
+
* and day of a release in its configured time zone.
|
|
43
|
+
*/
|
|
44
|
+
export declare const RELEASE_DATE_LOCALE = "en-US";
|
|
45
|
+
/** `Intl.DateTimeFormat` fields of a `YYYY-MM-DD` release date. */
|
|
46
|
+
export declare const RELEASE_DATE_FORMAT_OPTIONS: Readonly<{
|
|
47
|
+
year: "numeric";
|
|
48
|
+
month: "2-digit";
|
|
49
|
+
day: "2-digit";
|
|
50
|
+
}>;
|
|
51
|
+
/** `Intl.DateTimeFormat` part types of a release date, in `YYYY-MM-DD` order. */
|
|
52
|
+
export declare const RELEASE_DATE_PART_ORDER: readonly string[];
|
|
53
|
+
/** Configuration field naming the IANA time zone that dates the closed `[Unreleased]` section. */
|
|
54
|
+
export declare const RELEASE_TIME_ZONE_FIELD = "releaseTimeZone";
|
|
55
|
+
/** IANA time zone suggested by the messages about `releaseTimeZone`. */
|
|
56
|
+
export declare const RELEASE_TIME_ZONE_EXAMPLE = "America/Argentina/Buenos_Aires";
|
|
@@ -0,0 +1,284 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Contracts shared by local release preparation and the GitHub Actions worker.
|
|
3
|
+
* @module constants/ci-release
|
|
4
|
+
*/
|
|
5
|
+
/** Release execution locations offered by the CLI. */
|
|
6
|
+
export declare const RELEASE_EXECUTION: Readonly<{
|
|
7
|
+
local: "local";
|
|
8
|
+
ci: "ci";
|
|
9
|
+
}>;
|
|
10
|
+
/** Choices offered when the repository has no CI release configuration. */
|
|
11
|
+
export declare const CI_SETUP_CHOICE: Readonly<{
|
|
12
|
+
configure: "configure";
|
|
13
|
+
local: "local";
|
|
14
|
+
cancel: "cancel";
|
|
15
|
+
}>;
|
|
16
|
+
/** Default workflow filename, relative to GitHub's workflow directory. */
|
|
17
|
+
export declare const DEFAULT_CI_WORKFLOW = "release.yml";
|
|
18
|
+
/** Directory GitHub reads for versioned workflows. */
|
|
19
|
+
export declare const CI_WORKFLOW_DIRECTORY = ".github/workflows";
|
|
20
|
+
/** Named configuration export used by automatic setup without rewriting existing hooks. */
|
|
21
|
+
export declare const CI_CONFIG_EXPORT = "ci";
|
|
22
|
+
/** Workflow filenames accepted as a configuration value or CLI argument. */
|
|
23
|
+
export declare const CI_WORKFLOW_NAME_PATTERN: RegExp;
|
|
24
|
+
/** Environment variable names allowed in generated secret and variable bindings. */
|
|
25
|
+
export declare const CI_ENVIRONMENT_NAME_PATTERN: RegExp;
|
|
26
|
+
/** Full Git commit identity passed to the worker. */
|
|
27
|
+
export declare const CI_COMMIT_SHA_PATTERN: RegExp;
|
|
28
|
+
/** Worker inputs exposed through environment variables instead of shell interpolation. */
|
|
29
|
+
export declare const CI_RELEASE_ENVIRONMENT: Readonly<{
|
|
30
|
+
version: "ASTRA_RP_RELEASE_VERSION";
|
|
31
|
+
sha: "ASTRA_RP_RELEASE_SHA";
|
|
32
|
+
}>;
|
|
33
|
+
/** Environment variable carrying the dispatched release tag into generated workflow steps. */
|
|
34
|
+
export declare const CI_RELEASE_TAG_ENVIRONMENT = "RELEASE_TAG";
|
|
35
|
+
/** Step that authenticates the dispatched tag, commit and `origin/main` ancestry before any project code runs. */
|
|
36
|
+
export declare const CI_RELEASE_IDENTITY_STEP_NAME = "Verificar identidad del release";
|
|
37
|
+
/** POSIX ERE equivalent of `RELEASE_VERSION_PATTERN` for the dependency-free identity step (Bash has no `\d`). */
|
|
38
|
+
export declare const CI_RELEASE_VERSION_SHELL_PATTERN = "^(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)\\.(0|[1-9][0-9]*)$";
|
|
39
|
+
/** Environment signals that prevent a CI worker from dispatching another workflow. */
|
|
40
|
+
export declare const CI_RUNTIME_ENVIRONMENT: readonly string[];
|
|
41
|
+
/** Normalized (trimmed, lowercase) CI signal values that explicitly mean "not a CI runtime"; any other non-empty value enables it. */
|
|
42
|
+
export declare const CI_RUNTIME_DISABLED_VALUES: readonly string[];
|
|
43
|
+
/** Relative template path from the CI setup module. */
|
|
44
|
+
export declare const CI_RELEASE_TEMPLATE_FILE = "./templates/release.yml";
|
|
45
|
+
/** Placeholders owned by the release workflow template. */
|
|
46
|
+
export declare const CI_TEMPLATE_PLACEHOLDER: Readonly<{
|
|
47
|
+
node: "__NODE_SETUP__";
|
|
48
|
+
install: "__PACKAGE_SETUP__";
|
|
49
|
+
environment: "__RELEASE_ENVIRONMENT__";
|
|
50
|
+
permissions: "__RELEASE_PERMISSIONS__";
|
|
51
|
+
command: "__RELEASE_COMMAND__";
|
|
52
|
+
deploymentSetup: "__DEPLOYMENT_SETUP__";
|
|
53
|
+
deployment: "__DEPLOYMENT_STEP__";
|
|
54
|
+
deno: "__DENO_SETUP__";
|
|
55
|
+
identity: "__RELEASE_IDENTITY_CHECK__";
|
|
56
|
+
}>;
|
|
57
|
+
/** Version pin formats safe to place in generated package manager setup commands. */
|
|
58
|
+
export declare const CI_PACKAGE_MANAGER_VERSION_PATTERN: RegExp;
|
|
59
|
+
/** Numeric Node.js pins (`22`, `22.14`, `v22.14.0` without its `v`) that setup-node resolves to a comparable release; aliases such as `lts/*` stay unverifiable. */
|
|
60
|
+
export declare const CI_NODE_VERSION_PIN_PATTERN: RegExp;
|
|
61
|
+
/** Git tree modes of regular files (non-executable and executable); symlinks (`120000`) and submodules are excluded. */
|
|
62
|
+
export declare const GIT_REGULAR_FILE_MODES: readonly string[];
|
|
63
|
+
/** Maximum external diagnostic length displayed by the CLI, in characters. */
|
|
64
|
+
export declare const CI_DIAGNOSTIC_LIMIT = 800;
|
|
65
|
+
/** Credentials that must be redacted from GitHub CLI diagnostics. */
|
|
66
|
+
export declare const CI_GITHUB_TOKEN_VARIABLES: readonly string[];
|
|
67
|
+
/** Maximum workflow runs considered when reconciling an uncertain dispatch. */
|
|
68
|
+
export declare const CI_RUN_LOOKUP_LIMIT = 100;
|
|
69
|
+
/**
|
|
70
|
+
* REST resources (under `repos/{owner}/{repo}/actions/`) listing organization bindings that GitHub
|
|
71
|
+
* exposes to one repository, keyed by `gh` binding kind. Unlike `gh secret list --org`, they honor
|
|
72
|
+
* each binding's repository visibility, so they match what `${{ secrets.* }}`/`${{ vars.* }}` resolve.
|
|
73
|
+
*/
|
|
74
|
+
export declare const CI_ORGANIZATION_BINDING_RESOURCE: Readonly<{
|
|
75
|
+
secret: Readonly<{
|
|
76
|
+
path: "organization-secrets";
|
|
77
|
+
collection: "secrets";
|
|
78
|
+
}>;
|
|
79
|
+
variable: Readonly<{
|
|
80
|
+
path: "organization-variables";
|
|
81
|
+
collection: "variables";
|
|
82
|
+
}>;
|
|
83
|
+
}>;
|
|
84
|
+
/** Page size requested when listing organization bindings shared with a repository. */
|
|
85
|
+
export declare const CI_ORGANIZATION_BINDING_PAGE_SIZE = 100;
|
|
86
|
+
/** Git override that delegates hooks to the worker during local CI preparation. */
|
|
87
|
+
export declare const CI_GIT_HOOKS_OPTION = "core.hooksPath=/dev/null";
|
|
88
|
+
/** Release step that submits the already-pushed release to GitHub Actions. */
|
|
89
|
+
export declare const DISPATCH_CI_RELEASE_STEP = "dispatch-ci-release";
|
|
90
|
+
/** Stable failure categories of the GitHub workflow boundary. */
|
|
91
|
+
export declare const CI_FAILURE_CODE: Readonly<{
|
|
92
|
+
preflight: "ci-preflight-failed";
|
|
93
|
+
lookup: "ci-run-lookup-failed";
|
|
94
|
+
dispatch: "ci-dispatch-unconfirmed";
|
|
95
|
+
}>;
|
|
96
|
+
/** Default Yarn Classic pin when the project does not declare a package manager version. */
|
|
97
|
+
export declare const CI_DEFAULT_YARN_VERSION = "1.22.22";
|
|
98
|
+
/** pnpm setup pin for repositories detected only through their lockfile. */
|
|
99
|
+
export declare const CI_DEFAULT_PNPM_VERSION = "12.6.0";
|
|
100
|
+
/** Deno runtime installed when JSR publication selects its native client. */
|
|
101
|
+
export declare const CI_DENO_VERSION = "v2.9.7";
|
|
102
|
+
/** Native JSR client that needs a Deno runtime in the generated workflow. */
|
|
103
|
+
export declare const CI_DENO_JSR_CLIENT = "deno";
|
|
104
|
+
/** Observable acceptance outcomes returned by the workflow adapter. */
|
|
105
|
+
export declare const CI_DISPATCH_STATUS: Readonly<{
|
|
106
|
+
submitted: "submitted";
|
|
107
|
+
existing: "existing";
|
|
108
|
+
}>;
|
|
109
|
+
/**
|
|
110
|
+
* Prefix of the temporary directory, created inside the repository's Git directory, where `--retry-ci`
|
|
111
|
+
* checks out the release tag to load the configuration stored in it; living under the checkout lets the
|
|
112
|
+
* tagged configuration resolve the project's installed dependencies while staying outside the working tree.
|
|
113
|
+
*/
|
|
114
|
+
export declare const CI_RELEASE_TAG_CONFIG_DIRECTORY_PREFIX = "astra-rp-release-tag-config-";
|
|
115
|
+
/** Early-build metadata; its version and the commit that changes it scope the decision to exactly one release commit. */
|
|
116
|
+
export declare const CI_RELEASE_METADATA_FILE = ".astra-rp/release.json";
|
|
117
|
+
/**
|
|
118
|
+
* Git trailer of the release commit naming where it was prepared (`local` or `ci`), so a resume after a
|
|
119
|
+
* failed push keeps that location for every release, not only those whose Vercel metadata records it.
|
|
120
|
+
*/
|
|
121
|
+
export declare const RELEASE_EXECUTION_TRAILER = "Astra-Rp-Execution";
|
|
122
|
+
/** Vercel project configuration used to offer deployment setup for applications. */
|
|
123
|
+
export declare const CI_VERCEL_CONFIG_FILE = "vercel.json";
|
|
124
|
+
/** Provider handled by the generated application deployment steps. */
|
|
125
|
+
export declare const CI_VERCEL_DEPLOYMENT = "vercel";
|
|
126
|
+
/** Generated step that lets dependency installs (including `vercel build`) read GitHub Packages. */
|
|
127
|
+
export declare const CI_GITHUB_PACKAGES_AUTHENTICATION_STEP = "Autenticar GitHub Packages";
|
|
128
|
+
/** Step-scoped variable carrying the built-in Actions token into the GitHub Packages authentication step. */
|
|
129
|
+
export declare const CI_GITHUB_PACKAGES_TOKEN_VARIABLE = "GITHUB_PACKAGES_TOKEN";
|
|
130
|
+
/**
|
|
131
|
+
* User npm config key bound to GitHub Packages. The user config (`~/.npmrc`) is read by npm and pnpm (which
|
|
132
|
+
* ignores credentials in the repository `.npmrc`), the only package managers the generated workflow authenticates.
|
|
133
|
+
*/
|
|
134
|
+
export declare const CI_GITHUB_PACKAGES_AUTH_TOKEN_KEY = "//npm.pkg.github.com/:_authToken";
|
|
135
|
+
/** Shell path of the runner's user npm config, where the generated step stores the GitHub Packages token. */
|
|
136
|
+
export declare const CI_RUNNER_NPM_USER_CONFIG_PATH = "$HOME/.npmrc";
|
|
137
|
+
/**
|
|
138
|
+
* Variables that locate the runner's user config outside the package managers' own settings: `HOME` (the
|
|
139
|
+
* generated step writes `$HOME/.npmrc`) and `XDG_CONFIG_HOME` (pnpm reads its global config under it). A job
|
|
140
|
+
* binding of one of them would hide the token the workflow stores there from the install.
|
|
141
|
+
*/
|
|
142
|
+
export declare const CI_NPM_USER_CONFIG_LOCATION_VARIABLES: readonly string[];
|
|
143
|
+
/**
|
|
144
|
+
* Uppercase prefixes of the variables through which npm and pnpm (`NPM_CONFIG_*`, `PNPM_CONFIG_*`, read in any
|
|
145
|
+
* casing) take any setting from the environment, outranking the committed `.npmrc`: the registry, the user or
|
|
146
|
+
* global config file, credentials, TLS and so on. None can be proven safe before dispatch, so the generated
|
|
147
|
+
* workflow rejects every job binding with one of them whenever it hands the package manager the Actions token.
|
|
148
|
+
*/
|
|
149
|
+
export declare const CI_PACKAGE_MANAGER_CONFIG_VARIABLE_PREFIXES: readonly string[];
|
|
150
|
+
/** Only URL protocol accepted for a GitHub Packages registry, so the workflow token never travels in clear text. */
|
|
151
|
+
export declare const CI_GITHUB_PACKAGES_REGISTRY_PROTOCOL = "https:";
|
|
152
|
+
/** Quote character whose wrapped `.npmrc` key or value npm's INI parser decodes as a JSON string. */
|
|
153
|
+
export declare const NPM_CONFIG_JSON_QUOTE = "\"";
|
|
154
|
+
/** `.npmrc` key selecting a registry, default (`registry`) or scoped (`@scope:registry`). */
|
|
155
|
+
export declare const NPM_CONFIG_REGISTRY_KEY_PATTERN: RegExp;
|
|
156
|
+
/**
|
|
157
|
+
* Every project `.npmrc` key bound to the GitHub Packages host, whatever its path or field (owner paths,
|
|
158
|
+
* `certfile`, pnpm's `:@scope:_authToken`, array keys...). The host must end right there (followed by `/`,
|
|
159
|
+
* `:` or nothing), so another host that only starts with the same name, such as `//npm.pkg.github.com.corp.example/`,
|
|
160
|
+
* is not bound to GitHub Packages. Only `CI_GITHUB_PACKAGES_AUTH_TOKEN_KEY` is accepted among them.
|
|
161
|
+
* The pattern spells {@link GITHUB_PACKAGES_HOST} literally, escaped for a regular expression.
|
|
162
|
+
*/
|
|
163
|
+
export declare const NPM_CONFIG_GITHUB_PACKAGES_KEY_PATTERN: RegExp;
|
|
164
|
+
/**
|
|
165
|
+
* Package managers whose GitHub Packages install the generated workflow authenticates through the runner's `~/.npmrc`.
|
|
166
|
+
* @type {readonly import("../package-manager.js").PackageManagerName[]}
|
|
167
|
+
*/
|
|
168
|
+
export declare const CI_GITHUB_PACKAGES_AUTHENTICATED_PACKAGE_MANAGERS: readonly import("../package-manager.js").PackageManagerName[];
|
|
169
|
+
/**
|
|
170
|
+
* Committed configuration files of the package managers the generated workflow does not authenticate, whose
|
|
171
|
+
* uncommented mention of the GitHub Packages host is a GitHub Packages signal: Yarn reads `.yarnrc` (Yarn 1) and
|
|
172
|
+
* `.yarnrc.yml` (Yarn 2+), Bun reads `bunfig.toml`. Other package managers never read them, so they are not inspected.
|
|
173
|
+
* @type {Readonly<Partial<Record<import("../package-manager.js").PackageManagerName, readonly string[]>>>}
|
|
174
|
+
*/
|
|
175
|
+
export declare const CI_UNAUTHENTICATED_PACKAGE_MANAGER_CONFIG_FILES: Readonly<Partial<Record<import("../package-manager.js").PackageManagerName, readonly string[]>>>;
|
|
176
|
+
/** Prefix of a comment line (after trimming) in `.yarnrc`, `.yarnrc.yml`, `bunfig.toml` and `pnpm-workspace.yaml`. */
|
|
177
|
+
export declare const PACKAGE_MANAGER_CONFIG_COMMENT_PREFIX = "#";
|
|
178
|
+
/** Mention of the GitHub Packages host ({@link GITHUB_PACKAGES_HOST}, spelled literally) in a package manager config line, in any casing. */
|
|
179
|
+
export declare const GITHUB_PACKAGES_HOST_MENTION_PATTERN: RegExp;
|
|
180
|
+
/** pnpm workspace config, from which pnpm 11+ reads registries and network settings besides the `.npmrc`. */
|
|
181
|
+
export declare const PNPM_WORKSPACE_CONFIG_FILE = "pnpm-workspace.yaml";
|
|
182
|
+
/**
|
|
183
|
+
* `pnpm-workspace.yaml` line defining a registry or network setting (`registry`, `registries`, TLS, certificates or
|
|
184
|
+
* proxies) as a key at the start of the line, with or without indentation or quotes, followed by `:`. The generated
|
|
185
|
+
* workflow only validates registries in the `.npmrc`, so any of them could send the token somewhere unchecked.
|
|
186
|
+
*/
|
|
187
|
+
export declare const PNPM_WORKSPACE_NETWORK_SETTING_LINE_PATTERN: RegExp;
|
|
188
|
+
/** GitHub Packages origin over plain HTTP, named in the error about a lockfile that resolves packages from it. */
|
|
189
|
+
export declare const LOCKFILE_GITHUB_PACKAGES_HTTP_URL = "http://npm.pkg.github.com";
|
|
190
|
+
/**
|
|
191
|
+
* {@link LOCKFILE_GITHUB_PACKAGES_HTTP_URL} inside a lockfile, matched as text in any casing. The host must end right
|
|
192
|
+
* there (followed by `/`, `:`, a quote, whitespace or the end of the text), so another host that only starts with the
|
|
193
|
+
* same name, such as `http://npm.pkg.github.com.corp.example/`, never receives the generated credential and is not matched.
|
|
194
|
+
* The pattern spells {@link GITHUB_PACKAGES_HOST} literally, escaped for a regular expression.
|
|
195
|
+
*/
|
|
196
|
+
export declare const LOCKFILE_GITHUB_PACKAGES_HTTP_URL_PATTERN: RegExp;
|
|
197
|
+
/** `.npmrc` key that turns TLS certificate verification on or off. */
|
|
198
|
+
export declare const NPM_CONFIG_STRICT_SSL_KEY = "strict-ssl";
|
|
199
|
+
/** Effective `.npmrc` value that turns a boolean setting such as {@link NPM_CONFIG_STRICT_SSL_KEY} off. */
|
|
200
|
+
export declare const NPM_CONFIG_DISABLED_VALUE = "false";
|
|
201
|
+
/** Environment variables that turn off Node.js TLS certificate verification for every request of the install. */
|
|
202
|
+
export declare const CI_TLS_VERIFICATION_DISABLING_VARIABLES: readonly string[];
|
|
203
|
+
/** Indentation and marker opening each job step in the generated workflow. */
|
|
204
|
+
export declare const CI_WORKFLOW_STEP_PREFIX = " - ";
|
|
205
|
+
/** Job-level binding of the built-in Actions token in the generated workflow. */
|
|
206
|
+
export declare const CI_GITHUB_TOKEN_JOB_BINDING = " GITHUB_TOKEN: ${{ github.token }}";
|
|
207
|
+
/** Permission line the generated workflow adds to read or publish GitHub Packages. */
|
|
208
|
+
export declare const CI_GITHUB_PACKAGES_PERMISSION_LINE_PATTERN: RegExp;
|
|
209
|
+
/** Value npm's INI parser gives a `.npmrc` key written without `=`. */
|
|
210
|
+
export declare const NPM_CONFIG_VALUELESS_KEY_VALUE = true;
|
|
211
|
+
/** Line terminators npm's INI parser splits a `.npmrc` on: CRLF, LF or a lone CR. */
|
|
212
|
+
export declare const NPM_CONFIG_LINE_BREAK_PATTERN: RegExp;
|
|
213
|
+
/** `.npmrc` value that is exactly one `${NAME}` environment reference; captures the variable name. */
|
|
214
|
+
export declare const NPM_CONFIG_ENVIRONMENT_REFERENCE_PATTERN: RegExp;
|
|
215
|
+
/** Every `${NAME}` environment reference inside a `.npmrc` value, as npm expands them; captures each variable name. */
|
|
216
|
+
export declare const NPM_CONFIG_ENVIRONMENT_REFERENCES_PATTERN: RegExp;
|
|
217
|
+
/** Start of an inline comment in an unquoted `.npmrc` value (INI syntax: an unescaped `;` or `#`). */
|
|
218
|
+
export declare const NPM_CONFIG_INLINE_COMMENT_PATTERN: RegExp;
|
|
219
|
+
/**
|
|
220
|
+
* `.npmrc` INI section header (`[name]`), matched against the raw, untrimmed line exactly as npm's INI parser
|
|
221
|
+
* does: the bracket must open the line, the name cannot contain `]` and only whitespace may follow. npm nests
|
|
222
|
+
* every later key under that section, so those keys never configure the top-level registries or credentials;
|
|
223
|
+
* any other bracketed line (indented or malformed) is a plain key.
|
|
224
|
+
*/
|
|
225
|
+
export declare const NPM_CONFIG_SECTION_HEADER_PATTERN: RegExp;
|
|
226
|
+
/**
|
|
227
|
+
* Suffix npm's INI parser removes from an array key (`key[]=value`), so the entry still configures `key`.
|
|
228
|
+
* Keys bound to GitHub Packages keep it, so they are always rejected instead of read as their last assignment.
|
|
229
|
+
*/
|
|
230
|
+
export declare const NPM_CONFIG_ARRAY_KEY_SUFFIX = "[]";
|
|
231
|
+
/** Prefixes of `.npmrc` comment lines. */
|
|
232
|
+
export declare const NPM_CONFIG_COMMENT_PREFIXES: readonly string[];
|
|
233
|
+
/** Quote characters that may wrap a whole `.npmrc` key or value. */
|
|
234
|
+
export declare const NPM_CONFIG_QUOTES: readonly string[];
|
|
235
|
+
/** Vercel CLI version used by generated workflows. */
|
|
236
|
+
export declare const CI_VERCEL_CLI_VERSION = "62.2.0";
|
|
237
|
+
/** Repository secrets required to deploy prebuilt output to Vercel. */
|
|
238
|
+
export declare const CI_VERCEL_SECRETS: readonly string[];
|
|
239
|
+
/** Paths the generated Vercel worker writes after checkout; they must stay untracked to keep the release tree clean. */
|
|
240
|
+
export declare const CI_VERCEL_WORKER_WRITTEN_PATHS: readonly string[];
|
|
241
|
+
/** Environment names explicitly mentioned by a project's migration target hint. */
|
|
242
|
+
export declare const CI_MIGRATION_ENVIRONMENT_PATTERN: RegExp;
|
|
243
|
+
/** Bindings owned by the worker protocol and unavailable for user overrides. */
|
|
244
|
+
export declare const CI_RESERVED_ENVIRONMENT_NAMES: readonly string[];
|
|
245
|
+
/** Generated Vercel gate; it runs before dependencies are installed. */
|
|
246
|
+
export declare const CI_VERCEL_GATE_FILE = ".astra-rp/vercel-ignore-build.mjs";
|
|
247
|
+
/** Relative template path for the dependency-free Vercel gate. */
|
|
248
|
+
export declare const CI_VERCEL_GATE_TEMPLATE = "./templates/vercel-ignore-build.mjs";
|
|
249
|
+
/** Template placeholder preserving the project's original ignoreCommand. */
|
|
250
|
+
export declare const CI_VERCEL_IGNORE_PLACEHOLDER = "__ORIGINAL_IGNORE_COMMAND__";
|
|
251
|
+
/** Rendered workflow lines quoted when a committed generated workflow drifted from the current configuration. */
|
|
252
|
+
export declare const CI_WORKFLOW_DRIFT_PREVIEW_LINES = 3;
|
|
253
|
+
/**
|
|
254
|
+
* Root-relative files that shape what the CI worker runs besides the configured workflow: the
|
|
255
|
+
* configuration modules, the manifest, the project npm config, the Node.js pin and every lockfile.
|
|
256
|
+
* Local preparation reads them from the working tree while the worker checks them out from the
|
|
257
|
+
* release tag, so `--ignore-local-changes` must not set changes to them aside during CI preparation.
|
|
258
|
+
*/
|
|
259
|
+
export declare const CI_WORKER_CONFIGURATION_FILES: readonly string[];
|
|
260
|
+
/** Prefix of the `run-name` the generated workflow gives each dispatched release, followed by its tag and commit. */
|
|
261
|
+
export declare const CI_RELEASE_RUN_TITLE_PREFIX = "astra-rp release";
|
|
262
|
+
/** Generated workflow step that runs `--ci-release`; its success proves checks, preparation and publication finished. */
|
|
263
|
+
export declare const CI_RELEASE_WORKER_STEP_NAME = "Checks y publicaci\u00F3n del release";
|
|
264
|
+
/**
|
|
265
|
+
* Environment the worker reads to query its own GitHub Actions history (set by Actions, plus the bound
|
|
266
|
+
* job token); the run id and attempt identify the attempt executing the worker, excluded from that history.
|
|
267
|
+
*/
|
|
268
|
+
export declare const CI_ACTIONS_HISTORY_ENVIRONMENT: Readonly<{
|
|
269
|
+
apiUrl: "GITHUB_API_URL";
|
|
270
|
+
repository: "GITHUB_REPOSITORY";
|
|
271
|
+
token: "GITHUB_TOKEN";
|
|
272
|
+
runId: "GITHUB_RUN_ID";
|
|
273
|
+
runAttempt: "GITHUB_RUN_ATTEMPT";
|
|
274
|
+
}>;
|
|
275
|
+
/** GitHub REST API used when the runner does not provide `GITHUB_API_URL`. */
|
|
276
|
+
export declare const CI_DEFAULT_GITHUB_API_URL = "https://api.github.com";
|
|
277
|
+
/** REST API version pinned for the worker's Actions history requests. */
|
|
278
|
+
export declare const CI_GITHUB_API_VERSION = "2022-11-28";
|
|
279
|
+
/** Page size of the worker's Actions history requests; one release has far fewer runs, attempts or jobs. */
|
|
280
|
+
export declare const CI_ACTIONS_HISTORY_PAGE_SIZE = 100;
|
|
281
|
+
/** Maximum wait for each Actions history request before the worker stops without publishing, in milliseconds. */
|
|
282
|
+
export declare const CI_ACTIONS_HISTORY_TIMEOUT_MS = 30000;
|
|
283
|
+
/** Step conclusion GitHub Actions reports for a step that finished successfully. */
|
|
284
|
+
export declare const CI_STEP_SUCCESS_CONCLUSION = "success";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Commands understood by the `astra-rp` command line.
|
|
3
|
+
*
|
|
4
|
+
* @module constants/cli
|
|
5
|
+
*/
|
|
6
|
+
/** Command names accepted as the first `astra-rp` argument. */
|
|
7
|
+
export declare const CLI_COMMAND: Readonly<{
|
|
8
|
+
ignoreBuild: "ignore-build";
|
|
9
|
+
createVersion: "create-version";
|
|
10
|
+
guardPublish: "guard-publish";
|
|
11
|
+
}>;
|