@theholocron/cli 5.0.0-alpha.62 → 5.0.0-alpha.64
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/dist/index.d.mts +30 -1
- package/dist/index.mjs +40 -1
- package/package.json +5 -5
package/dist/index.d.mts
CHANGED
|
@@ -711,4 +711,33 @@ interface LoadedConfig {
|
|
|
711
711
|
*/
|
|
712
712
|
declare function loadConfig(cwd: string): Promise<LoadedConfig>;
|
|
713
713
|
//#endregion
|
|
714
|
-
|
|
714
|
+
//#region src/inclusive-language/config.d.ts
|
|
715
|
+
/**
|
|
716
|
+
* The org's canonical `alex` (inclusive-language) config, as raw parsed
|
|
717
|
+
* data rather than the pre-rendered file strings `createRcConfig()`/
|
|
718
|
+
* `createIgnoreConfig()` produce for `holocron setup` to write into a
|
|
719
|
+
* repo's own `.alexrc.json`/`.alexignore`.
|
|
720
|
+
*
|
|
721
|
+
* `.alexrc.json` is explicitly "generated by `holocron setup` — do not
|
|
722
|
+
* edit manually" (this repo's own `AGENTS.md`) — the real source of truth
|
|
723
|
+
* is this JSON file, one canonical copy, not each repo's synced one. A
|
|
724
|
+
* central Sentinel check (holocron#769/#793) reads it directly rather
|
|
725
|
+
* than fetching each repo's own copy via the Contents API — the same "one
|
|
726
|
+
* config, not N copies" reasoning `@theholocron/commitlint-config` already
|
|
727
|
+
* established for commit-message linting.
|
|
728
|
+
*/
|
|
729
|
+
declare const ALEX_CONFIG: {
|
|
730
|
+
allow: string[];
|
|
731
|
+
};
|
|
732
|
+
/**
|
|
733
|
+
* Glob-ish path patterns `alex` skips. Kept as a literal here rather than
|
|
734
|
+
* importing `../templates/configs/alexjs/alexignore` directly — that file
|
|
735
|
+
* (like `commit-msg`/`pre-push`) is deliberately extensionless, matching
|
|
736
|
+
* the real filename `holocron setup` writes, which ECMAScript's own
|
|
737
|
+
* module resolution (`moduleResolution: "nodenext"`) can't import across
|
|
738
|
+
* a package boundary without an extension. Keep in sync with that file by
|
|
739
|
+
* hand; it changes rarely.
|
|
740
|
+
*/
|
|
741
|
+
declare const ALEX_IGNORE_PATTERNS: string[];
|
|
742
|
+
//#endregion
|
|
743
|
+
export { ALEX_CONFIG, ALEX_IGNORE_PATTERNS, Analytics, AppConfig, Auth, AuthDescription, AuthError, AuthEvent, AuthEventType, AuthIdentity, AuthUser, CARDINALITY, Capability, CapabilityConfigPackage, CapabilityImpls, CapabilityKey, Cardinality, CardinalityFor, ChromaticProjectConfig, Ci, CiRun, CiRunFilter, CiRunStatus, CommitMessageViolation, ComposedPreset, ConfigError, ConfigFileError, ConnectionStringOptions, CreateAuthUserInput, DeployFunctionConfig, DeployFunctionResult, DeployScriptConfig, DeployScriptResult, Deployment, DeploymentProject, DeploymentProjectSettings, DeploymentRecord, DeploymentTarget, DeploymentTrigger, DeriveProfileInput, Dns, DnsRecord, DnsRecordRequest, DnsRecordType, DocsConfig, DoctorConfig, EnsureResult, EnvConfig, Environment, EnvironmentReviewer, Environments, Errors, FeatureResolverConfig, HolocronConfig, HolocronProfile, Issue, IssueSearchFilter, Issues, LabelDef, LifecycleResult, LifecycleSlot, LintCommitMsgFileResult, LoadedConfig, LogConfig, Logs, MultiEntry, NormalizedAuthUser, Notifications, PackageJsonLike, PagesConfig, ParseWebhookInput, ProviderApiError, ProviderIdentity, ProviderOptions, PullRequest, REQUIRED_CAPABILITIES, RawProviderEntry, RawProvidersConfig, RepoConfig, RepoProperties, RepoProtection, RepoRef, RepoSettings, type RequestOptions, ResolveTokenConfig, type ResolveTokenInput, ResolvedCapability, ResolvedHolocronConfig, ResolvedProviderEntry, ResolvedProvidersConfig, ResolvedTuple, type RestClient, type RestClientConfig, Ruleset, SecretScope, Secrets, SingleEntry, Source, StatusCategory, Storage, StorageBranch, StorybookDeployProject, TaskEntryConfig, TeamEntry, TeamPermission, TelemetryConfig, Tooling, ToolingDoctorReport, TrackerDoctorReport, TrackerUser, Vault, WebhookDashboardInfo, WebhookVerificationError, Wiki, WikiProvisionOpts, WikiProxyConfig, Workers, WorkflowWithConfig, compose, createFeatureResolver, createResolveToken, createRestClient, defineConfig, deleteToken, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, getToken, isMulti, lintCommitMessage, lintCommitMsgFile, listStoredProviders, loadConfig, missingCapabilities, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, setToken };
|
package/dist/index.mjs
CHANGED
|
@@ -555,4 +555,43 @@ function parseGitRemoteUrl(url) {
|
|
|
555
555
|
if (sshMatch) return sshMatch[1];
|
|
556
556
|
}
|
|
557
557
|
//#endregion
|
|
558
|
-
|
|
558
|
+
//#region src/inclusive-language/config.ts
|
|
559
|
+
/**
|
|
560
|
+
* The org's canonical `alex` (inclusive-language) config, as raw parsed
|
|
561
|
+
* data rather than the pre-rendered file strings `createRcConfig()`/
|
|
562
|
+
* `createIgnoreConfig()` produce for `holocron setup` to write into a
|
|
563
|
+
* repo's own `.alexrc.json`/`.alexignore`.
|
|
564
|
+
*
|
|
565
|
+
* `.alexrc.json` is explicitly "generated by `holocron setup` — do not
|
|
566
|
+
* edit manually" (this repo's own `AGENTS.md`) — the real source of truth
|
|
567
|
+
* is this JSON file, one canonical copy, not each repo's synced one. A
|
|
568
|
+
* central Sentinel check (holocron#769/#793) reads it directly rather
|
|
569
|
+
* than fetching each repo's own copy via the Contents API — the same "one
|
|
570
|
+
* config, not N copies" reasoning `@theholocron/commitlint-config` already
|
|
571
|
+
* established for commit-message linting.
|
|
572
|
+
*/
|
|
573
|
+
const ALEX_CONFIG = { allow: [
|
|
574
|
+
"dead",
|
|
575
|
+
"failure",
|
|
576
|
+
"failures",
|
|
577
|
+
"hook",
|
|
578
|
+
"hooks",
|
|
579
|
+
"husky",
|
|
580
|
+
"period"
|
|
581
|
+
] };
|
|
582
|
+
/**
|
|
583
|
+
* Glob-ish path patterns `alex` skips. Kept as a literal here rather than
|
|
584
|
+
* importing `../templates/configs/alexjs/alexignore` directly — that file
|
|
585
|
+
* (like `commit-msg`/`pre-push`) is deliberately extensionless, matching
|
|
586
|
+
* the real filename `holocron setup` writes, which ECMAScript's own
|
|
587
|
+
* module resolution (`moduleResolution: "nodenext"`) can't import across
|
|
588
|
+
* a package boundary without an extension. Keep in sync with that file by
|
|
589
|
+
* hand; it changes rarely.
|
|
590
|
+
*/
|
|
591
|
+
const ALEX_IGNORE_PATTERNS = [
|
|
592
|
+
".github/*",
|
|
593
|
+
"CHANGELOG.md",
|
|
594
|
+
"LICENSE"
|
|
595
|
+
];
|
|
596
|
+
//#endregion
|
|
597
|
+
export { ALEX_CONFIG, ALEX_IGNORE_PATTERNS, AuthError, CARDINALITY, ConfigError, ConfigFileError, ProviderApiError, REQUIRED_CAPABILITIES, WebhookVerificationError, compose, createFeatureResolver, createResolveToken, createRestClient, defineConfig, deleteToken, deriveCapabilities, deriveCompliance, deriveProfile, deriveStack, getToken, isMulti, lintCommitMessage, lintCommitMsgFile, listStoredProviders, loadConfig, missingCapabilities, readWorkspacePackageJsons, resolveConfig, resolveEntry, resolvePluginPackage, setToken };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@theholocron/cli",
|
|
3
|
-
"version": "5.0.0-alpha.
|
|
3
|
+
"version": "5.0.0-alpha.64",
|
|
4
4
|
"description": "The Holocron CLI - a pluggable, capability-based orchestrator for spinning up and operating software projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"cli",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"@sentry/node": "^10.70.0",
|
|
51
51
|
"@theholocron/components-doc": "^1.6.0",
|
|
52
52
|
"@theholocron/env-utils": "^1.6.0",
|
|
53
|
-
"@theholocron/github-client": "^1.
|
|
53
|
+
"@theholocron/github-client": "^1.30.0",
|
|
54
54
|
"@theholocron/http-client": "^1.25.0",
|
|
55
55
|
"@theholocron/observability": "^0.4.0",
|
|
56
56
|
"@theholocron/registry-doc": "^1.12.0",
|
|
@@ -60,8 +60,8 @@
|
|
|
60
60
|
"pino-pretty": "^13.1.3",
|
|
61
61
|
"posthog-node": "^5.51.6",
|
|
62
62
|
"yargs": "^18.1.0",
|
|
63
|
-
"@theholocron/
|
|
64
|
-
"@theholocron/
|
|
63
|
+
"@theholocron/astromech": "5.0.0-alpha.64",
|
|
64
|
+
"@theholocron/datapad": "5.0.0-alpha.64"
|
|
65
65
|
},
|
|
66
66
|
"devDependencies": {
|
|
67
67
|
"@commitlint/config-conventional": "^21.2.3",
|
|
@@ -80,7 +80,7 @@
|
|
|
80
80
|
"tsx": "4.23.12",
|
|
81
81
|
"typescript": "^5.9.3",
|
|
82
82
|
"vitest": "^4.1.11",
|
|
83
|
-
"@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.
|
|
83
|
+
"@theholocron/rollup-plugin-transform-template": "5.0.0-alpha.64"
|
|
84
84
|
},
|
|
85
85
|
"engines": {
|
|
86
86
|
"node": ">=22.0.0"
|