# configuration/constants/stage.constants.ts

> 50 lines of code and 33 definitions.

Tree: GovLab Pipeline
Language: typescript
Layer: infrastructure
Canonical: https://banes-lab.com/anatomy/pipeline#file-pipeline-configuration-constants-stage-constants-ts
Source text: https://banes-lab.com/source/pipeline/configuration/constants/stage.constants.ts.txt

Listed in [configuration/constants](https://banes-lab.com/api/source/pipeline/configuration/constants.md), after [configuration/constants/shell.constants.ts](https://banes-lab.com/source/pipeline/configuration/constants/shell.constants.ts.md) and before [configuration/constants/violation.constants.ts](https://banes-lab.com/source/pipeline/configuration/constants/violation.constants.ts.md).

## Definitions

- `QUALITY_ENTRYPOINTS` (lexical_declaration, line 3, exported)
- `DOCS_ENTRYPOINTS` (lexical_declaration, line 5, exported)
- `CONTEXT_ENTRYPOINTS` (lexical_declaration, line 7, exported)
- `PATTERNS_ENTRYPOINTS` (lexical_declaration, line 9, exported)
- `STATS_ENTRYPOINTS` (lexical_declaration, line 11, exported)
- `SCRIPT_ENTRYPOINTS` (lexical_declaration, line 13, exported)
- `BUILD_ENTRYPOINTS` (lexical_declaration, line 15, exported)
- `CONTENT_ENTRYPOINTS` (lexical_declaration, line 17, exported)
- `SOCIAL_ENTRYPOINTS` (lexical_declaration, line 19, exported)
- `CODEMOD_ENTRYPOINTS` (lexical_declaration, line 21, exported)
- `CODEMOD_VALIDATORS` (lexical_declaration, line 23, exported)
- `RULE_ENTRYPOINTS` (lexical_declaration, line 25, exported)
- `VITEST_COMMAND` (lexical_declaration, line 27, exported)
- `LOCKFILE_COMMAND` (lexical_declaration, line 29, exported)
- `MOCKS_MARKER` (lexical_declaration, line 32, exported)
- `GATE_LABEL` (lexical_declaration, line 34, exported)
- `ESLINT_GLOB` (lexical_declaration, line 36, exported)
- `SPELLING_EXTENSIONS` (lexical_declaration, line 38, exported)
- `DOCUMENT_SPELLING_ROOTS` (lexical_declaration, line 40, exported)
- `TSCONFIG` (lexical_declaration, line 46, exported)
- `APP_ID` (lexical_declaration, line 48, exported)
- `MEMBER_MANIFEST` (lexical_declaration, line 50, exported)
- `SELF_GOVERNED_KEY` (lexical_declaration, line 52, exported)
- `PACKAGE_FILE` (lexical_declaration, line 54, exported)
- `SCRIPTS_KEY` (lexical_declaration, line 56, exported)
- `DELEGATED_SCRIPTS` (lexical_declaration, line 58, exported)
- `LIST_SEPARATOR` (lexical_declaration, line 63, exported)
- `MESSAGE_SEPARATOR` (lexical_declaration, line 65, exported)
- `COMMAND_JOIN` (lexical_declaration, line 67, exported)
- `MS_PER_SECOND` (lexical_declaration, line 69, exported)
- `DURATION_DECIMALS` (lexical_declaration, line 71, exported)
- `NUMBER_LOCALE` (lexical_declaration, line 73, exported)
- `GATE_FLAGS` (lexical_declaration, line 75, exported)

## Contained in

- [configuration/constants](https://banes-lab.com/anatomy/pipeline/folder-pipeline-configuration-constants.md)

## Source

```typescript
import { relativePath } from "@ssot/paths";

export const QUALITY_ENTRYPOINTS = relativePath("govlab.quality.entrypoints");

export const DOCS_ENTRYPOINTS = relativePath("govlab.docs.entrypoints");

export const CONTEXT_ENTRYPOINTS = relativePath("govlab.context.entrypoints");

export const PATTERNS_ENTRYPOINTS = relativePath("govlab.patterns.entrypoints");

export const STATS_ENTRYPOINTS = `${relativePath("govlab.stats")}/runtime/entrypoints`;

export const SCRIPT_ENTRYPOINTS = `${relativePath("project.scripts")}/runtime/entrypoints`;

export const BUILD_ENTRYPOINTS = `${relativePath("app.build")}/runtime/entrypoints`;

export const CONTENT_ENTRYPOINTS = `${relativePath("app.content")}/runtime/entrypoints`;

export const SOCIAL_ENTRYPOINTS = `${relativePath("app.social")}/runtime/entrypoints`;

export const CODEMOD_ENTRYPOINTS = `${relativePath("govlabHost.codemods")}/entrypoints`;

export const CODEMOD_VALIDATORS = `${relativePath("govlabHost.codemods")}/validators`;

export const RULE_ENTRYPOINTS = `${relativePath("govlabHost.root")}/rules/entrypoints`;

export const VITEST_COMMAND = `vitest run --config ${relativePath("codebase.testing")}/vitest.config.ts --reporter=default --reporter=json --outputFile.json=${relativePath("govlabHost.reports.lint.test")}`;

export const LOCKFILE_COMMAND =
    "lockfile-lint --path package-lock.json --type npm --allowed-hosts npm --validate-https --validate-integrity";

export const MOCKS_MARKER = "__mocks__";

export const GATE_LABEL = "verify-codebase";

export const ESLINT_GLOB = "**/*.{ts,mts,cts,json}";

export const SPELLING_EXTENSIONS: readonly string[] = [".ts", ".md", ".json"];

export const DOCUMENT_SPELLING_ROOTS: readonly string[] = [
    relativePath("docArch.root"),
    relativePath("claude.root"),
    relativePath("claudePolicy"),
];

export const TSCONFIG = "tsconfig.json";

export const APP_ID = "app";

export const MEMBER_MANIFEST = "_manifest.json";

export const SELF_GOVERNED_KEY = "selfGoverned";

export const PACKAGE_FILE = "package.json";

export const SCRIPTS_KEY = "scripts";

export const DELEGATED_SCRIPTS: readonly (readonly [string, string])[] = [
    ["checker", "Govern"],
    ["tests", "Test"],
];

export const LIST_SEPARATOR = ",";

export const MESSAGE_SEPARATOR = "\n";

export const COMMAND_JOIN = "  &&  ";

export const MS_PER_SECOND = 1000;

export const DURATION_DECIMALS = 1;

export const NUMBER_LOCALE = "en-US";

export const GATE_FLAGS = {
    bypass: "--bypass",
    member: "--member",
    only: "--only",
    report: "--report",
    run: "--run",
    skipTag: "--skip-tag",
    tag: "--tag",
} as const;
```
