repopo 0.9.0 → 0.12.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 +81 -0
- package/README.md +41 -2
- package/THIRD-PARTY-LICENSES.txt +71 -11
- package/bin/dev.js +5 -1
- package/esm/baseCommand.d.ts +1 -1
- package/esm/baseCommand.d.ts.map +1 -1
- package/esm/baseCommand.js +6 -9
- package/esm/baseCommand.js.map +1 -1
- package/esm/commands/check-native.d.ts +25 -0
- package/esm/commands/check-native.d.ts.map +1 -0
- package/esm/commands/check-native.js +137 -0
- package/esm/commands/check-native.js.map +1 -0
- package/esm/commands/check.d.ts +8 -19
- package/esm/commands/check.d.ts.map +1 -1
- package/esm/commands/check.js +97 -169
- package/esm/commands/check.js.map +1 -1
- package/esm/commands/list.d.ts.map +1 -1
- package/esm/commands/list.js +5 -6
- package/esm/commands/list.js.map +1 -1
- package/esm/config.d.ts +19 -4
- package/esm/config.d.ts.map +1 -1
- package/esm/config.js +2 -3
- package/esm/config.js.map +1 -1
- package/esm/context.d.ts +13 -3
- package/esm/context.d.ts.map +1 -1
- package/esm/context.js +11 -1
- package/esm/context.js.map +1 -1
- package/esm/index.d.ts +7 -2
- package/esm/index.d.ts.map +1 -1
- package/esm/index.js +9 -1
- package/esm/index.js.map +1 -1
- package/esm/makePolicy.d.ts +77 -8
- package/esm/makePolicy.d.ts.map +1 -1
- package/esm/makePolicy.js +108 -4
- package/esm/makePolicy.js.map +1 -1
- package/esm/perf.d.ts +7 -2
- package/esm/perf.d.ts.map +1 -1
- package/esm/perf.js.map +1 -1
- package/esm/policies/CargoLicenceValidated.d.ts +41 -0
- package/esm/policies/CargoLicenceValidated.d.ts.map +1 -0
- package/esm/policies/CargoLicenceValidated.js +45 -0
- package/esm/policies/CargoLicenceValidated.js.map +1 -0
- package/esm/policies/CargoLintsConfigured.d.ts +30 -0
- package/esm/policies/CargoLintsConfigured.d.ts.map +1 -0
- package/esm/policies/CargoLintsConfigured.js +61 -0
- package/esm/policies/CargoLintsConfigured.js.map +1 -0
- package/esm/policies/CargoLockPolicy.d.ts +34 -0
- package/esm/policies/CargoLockPolicy.d.ts.map +1 -0
- package/esm/policies/CargoLockPolicy.js +57 -0
- package/esm/policies/CargoLockPolicy.js.map +1 -0
- package/esm/policies/CargoTomlRequired.d.ts +34 -0
- package/esm/policies/CargoTomlRequired.d.ts.map +1 -0
- package/esm/policies/CargoTomlRequired.js +77 -0
- package/esm/policies/CargoTomlRequired.js.map +1 -0
- package/esm/policies/CargoTomlSorted.d.ts +20 -0
- package/esm/policies/CargoTomlSorted.d.ts.map +1 -0
- package/esm/policies/CargoTomlSorted.js +164 -0
- package/esm/policies/CargoTomlSorted.js.map +1 -0
- package/esm/policies/ConditionalScripts.d.ts +94 -0
- package/esm/policies/ConditionalScripts.d.ts.map +1 -0
- package/esm/policies/ConditionalScripts.js +145 -0
- package/esm/policies/ConditionalScripts.js.map +1 -0
- package/esm/policies/ExactScripts.d.ts +51 -0
- package/esm/policies/ExactScripts.d.ts.map +1 -0
- package/esm/policies/ExactScripts.js +108 -0
- package/esm/policies/ExactScripts.js.map +1 -0
- package/esm/policies/GleamDepVersions.d.ts +25 -0
- package/esm/policies/GleamDepVersions.d.ts.map +1 -0
- package/esm/policies/GleamDepVersions.js +67 -0
- package/esm/policies/GleamDepVersions.js.map +1 -0
- package/esm/policies/GleamDocExists.d.ts +24 -0
- package/esm/policies/GleamDocExists.d.ts.map +1 -0
- package/esm/policies/GleamDocExists.js +39 -0
- package/esm/policies/GleamDocExists.js.map +1 -0
- package/esm/policies/GleamInternalModulesConfigured.d.ts +21 -0
- package/esm/policies/GleamInternalModulesConfigured.d.ts.map +1 -0
- package/esm/policies/GleamInternalModulesConfigured.js +30 -0
- package/esm/policies/GleamInternalModulesConfigured.js.map +1 -0
- package/esm/policies/GleamLicenceConfigured.d.ts +29 -0
- package/esm/policies/GleamLicenceConfigured.d.ts.map +1 -0
- package/esm/policies/GleamLicenceConfigured.js +34 -0
- package/esm/policies/GleamLicenceConfigured.js.map +1 -0
- package/esm/policies/GleamManifestCommitted.d.ts +9 -0
- package/esm/policies/GleamManifestCommitted.d.ts.map +1 -0
- package/esm/policies/GleamManifestCommitted.js +26 -0
- package/esm/policies/GleamManifestCommitted.js.map +1 -0
- package/esm/policies/GleamMonorepoConsistency.d.ts +30 -0
- package/esm/policies/GleamMonorepoConsistency.d.ts.map +1 -0
- package/esm/policies/GleamMonorepoConsistency.js +74 -0
- package/esm/policies/GleamMonorepoConsistency.js.map +1 -0
- package/esm/policies/GleamNameRestrictions.d.ts +25 -0
- package/esm/policies/GleamNameRestrictions.d.ts.map +1 -0
- package/esm/policies/GleamNameRestrictions.js +44 -0
- package/esm/policies/GleamNameRestrictions.js.map +1 -0
- package/esm/policies/GleamNoPathDepsInPublished.d.ts +22 -0
- package/esm/policies/GleamNoPathDepsInPublished.d.ts.map +1 -0
- package/esm/policies/GleamNoPathDepsInPublished.js +43 -0
- package/esm/policies/GleamNoPathDepsInPublished.js.map +1 -0
- package/esm/policies/GleamPathDepsValid.d.ts +9 -0
- package/esm/policies/GleamPathDepsValid.d.ts.map +1 -0
- package/esm/policies/GleamPathDepsValid.js +59 -0
- package/esm/policies/GleamPathDepsValid.js.map +1 -0
- package/esm/policies/GleamProjectStructure.d.ts +25 -0
- package/esm/policies/GleamProjectStructure.d.ts.map +1 -0
- package/esm/policies/GleamProjectStructure.js +33 -0
- package/esm/policies/GleamProjectStructure.js.map +1 -0
- package/esm/policies/GleamSharedDependencyVersions.d.ts +29 -0
- package/esm/policies/GleamSharedDependencyVersions.d.ts.map +1 -0
- package/esm/policies/GleamSharedDependencyVersions.js +101 -0
- package/esm/policies/GleamSharedDependencyVersions.js.map +1 -0
- package/esm/policies/GleamTomlRequired.d.ts +30 -0
- package/esm/policies/GleamTomlRequired.d.ts.map +1 -0
- package/esm/policies/GleamTomlRequired.js +37 -0
- package/esm/policies/GleamTomlRequired.js.map +1 -0
- package/esm/policies/GleamTomlSorted.d.ts +20 -0
- package/esm/policies/GleamTomlSorted.d.ts.map +1 -0
- package/esm/policies/GleamTomlSorted.js +153 -0
- package/esm/policies/GleamTomlSorted.js.map +1 -0
- package/esm/policies/GleamVersionConstraint.d.ts +20 -0
- package/esm/policies/GleamVersionConstraint.d.ts.map +1 -0
- package/esm/policies/GleamVersionConstraint.js +64 -0
- package/esm/policies/GleamVersionConstraint.js.map +1 -0
- package/esm/policies/HtmlFileHeaders.d.ts +1 -1
- package/esm/policies/HtmlFileHeaders.d.ts.map +1 -1
- package/esm/policies/HtmlFileHeaders.js +1 -1
- package/esm/policies/HtmlFileHeaders.js.map +1 -1
- package/esm/policies/JsTsFileHeaders.d.ts +1 -1
- package/esm/policies/JsTsFileHeaders.d.ts.map +1 -1
- package/esm/policies/MutuallyExclusiveScripts.d.ts +46 -0
- package/esm/policies/MutuallyExclusiveScripts.d.ts.map +1 -0
- package/esm/policies/MutuallyExclusiveScripts.js +52 -0
- package/esm/policies/MutuallyExclusiveScripts.js.map +1 -0
- package/esm/policies/NoBuildDirectory.d.ts +9 -0
- package/esm/policies/NoBuildDirectory.d.ts.map +1 -0
- package/esm/policies/NoBuildDirectory.js +29 -0
- package/esm/policies/NoBuildDirectory.js.map +1 -0
- package/esm/policies/NoPrivateWorkspaceDependencies.d.ts +1 -1
- package/esm/policies/NoPrivateWorkspaceDependencies.d.ts.map +1 -1
- package/esm/policies/NoTargetArtifacts.d.ts +8 -0
- package/esm/policies/NoTargetArtifacts.d.ts.map +1 -0
- package/esm/policies/NoTargetArtifacts.js +42 -0
- package/esm/policies/NoTargetArtifacts.js.map +1 -0
- package/esm/policies/NoUnsafeWithoutJustification.d.ts +24 -0
- package/esm/policies/NoUnsafeWithoutJustification.d.ts.map +1 -0
- package/esm/policies/NoUnsafeWithoutJustification.js +80 -0
- package/esm/policies/NoUnsafeWithoutJustification.js.map +1 -0
- package/esm/policies/NoWildcardDependencies.d.ts +30 -0
- package/esm/policies/NoWildcardDependencies.d.ts.map +1 -0
- package/esm/policies/NoWildcardDependencies.js +83 -0
- package/esm/policies/NoWildcardDependencies.js.map +1 -0
- package/esm/policies/PackageAllowedScopes.d.ts +1 -1
- package/esm/policies/PackageAllowedScopes.d.ts.map +1 -1
- package/esm/policies/PackageEsmType.d.ts +1 -1
- package/esm/policies/PackageEsmType.d.ts.map +1 -1
- package/esm/policies/PackageEsmType.js +7 -5
- package/esm/policies/PackageEsmType.js.map +1 -1
- package/esm/policies/PackageFolderName.d.ts +1 -1
- package/esm/policies/PackageFolderName.d.ts.map +1 -1
- package/esm/policies/PackageJsonProperties.d.ts +1 -1
- package/esm/policies/PackageJsonProperties.d.ts.map +1 -1
- package/esm/policies/PackageJsonProperties.js +12 -4
- package/esm/policies/PackageJsonProperties.js.map +1 -1
- package/esm/policies/PackageJsonRepoDirectoryProperty.d.ts +1 -1
- package/esm/policies/PackageJsonRepoDirectoryProperty.d.ts.map +1 -1
- package/esm/policies/PackageJsonRepoDirectoryProperty.js +3 -2
- package/esm/policies/PackageJsonRepoDirectoryProperty.js.map +1 -1
- package/esm/policies/PackageJsonSorted.d.ts +1 -1
- package/esm/policies/PackageJsonSorted.d.ts.map +1 -1
- package/esm/policies/PackageJsonSorted.js +42 -7
- package/esm/policies/PackageJsonSorted.js.map +1 -1
- package/esm/policies/PackageLicense.d.ts +1 -1
- package/esm/policies/PackageLicense.d.ts.map +1 -1
- package/esm/policies/PackageLicense.js +1 -2
- package/esm/policies/PackageLicense.js.map +1 -1
- package/esm/policies/PackagePrivateField.d.ts +1 -1
- package/esm/policies/PackagePrivateField.d.ts.map +1 -1
- package/esm/policies/PackagePrivateField.js +3 -2
- package/esm/policies/PackagePrivateField.js.map +1 -1
- package/esm/policies/PackageReadme.d.ts +1 -1
- package/esm/policies/PackageReadme.d.ts.map +1 -1
- package/esm/policies/PackageReadme.js +2 -2
- package/esm/policies/PackageReadme.js.map +1 -1
- package/esm/policies/PackageScripts.d.ts +1 -1
- package/esm/policies/PackageScripts.d.ts.map +1 -1
- package/esm/policies/PackageScripts.js +3 -2
- package/esm/policies/PackageScripts.js.map +1 -1
- package/esm/policies/PackageTestScripts.d.ts +1 -1
- package/esm/policies/PackageTestScripts.d.ts.map +1 -1
- package/esm/policies/PackageTestScripts.js +3 -3
- package/esm/policies/PackageTestScripts.js.map +1 -1
- package/esm/policies/PublicApiDocumented.d.ts +21 -0
- package/esm/policies/PublicApiDocumented.d.ts.map +1 -0
- package/esm/policies/PublicApiDocumented.js +36 -0
- package/esm/policies/PublicApiDocumented.js.map +1 -0
- package/esm/policies/RequiredScripts.d.ts +71 -0
- package/esm/policies/RequiredScripts.d.ts.map +1 -0
- package/esm/policies/RequiredScripts.js +121 -0
- package/esm/policies/RequiredScripts.js.map +1 -0
- package/esm/policies/RustDocExists.d.ts +24 -0
- package/esm/policies/RustDocExists.d.ts.map +1 -0
- package/esm/policies/RustDocExists.js +49 -0
- package/esm/policies/RustDocExists.js.map +1 -0
- package/esm/policies/RustToolchainExists.d.ts +20 -0
- package/esm/policies/RustToolchainExists.d.ts.map +1 -0
- package/esm/policies/RustToolchainExists.js +27 -0
- package/esm/policies/RustToolchainExists.js.map +1 -0
- package/esm/policies/RustfmtConfigExists.d.ts +20 -0
- package/esm/policies/RustfmtConfigExists.d.ts.map +1 -0
- package/esm/policies/RustfmtConfigExists.js +27 -0
- package/esm/policies/RustfmtConfigExists.js.map +1 -0
- package/esm/policies/ScriptContains.d.ts +64 -0
- package/esm/policies/ScriptContains.d.ts.map +1 -0
- package/esm/policies/ScriptContains.js +62 -0
- package/esm/policies/ScriptContains.js.map +1 -0
- package/esm/policies/SharedDependencyVersions.d.ts +24 -0
- package/esm/policies/SharedDependencyVersions.d.ts.map +1 -0
- package/esm/policies/SharedDependencyVersions.js +135 -0
- package/esm/policies/SharedDependencyVersions.js.map +1 -0
- package/esm/policies/WorkspaceInheritance.d.ts +24 -0
- package/esm/policies/WorkspaceInheritance.d.ts.map +1 -0
- package/esm/policies/WorkspaceInheritance.js +94 -0
- package/esm/policies/WorkspaceInheritance.js.map +1 -0
- package/esm/policies/WorkspaceMembersValid.d.ts +20 -0
- package/esm/policies/WorkspaceMembersValid.d.ts.map +1 -0
- package/esm/policies/WorkspaceMembersValid.js +88 -0
- package/esm/policies/WorkspaceMembersValid.js.map +1 -0
- package/esm/policies/constants.d.ts +8 -0
- package/esm/policies/constants.d.ts.map +1 -1
- package/esm/policies/constants.js +8 -0
- package/esm/policies/constants.js.map +1 -1
- package/esm/policies.d.ts +36 -1
- package/esm/policies.d.ts.map +1 -1
- package/esm/policies.js +68 -0
- package/esm/policies.js.map +1 -1
- package/esm/policy.d.ts +202 -84
- package/esm/policy.d.ts.map +1 -1
- package/esm/policy.js +103 -21
- package/esm/policy.js.map +1 -1
- package/esm/policyDefiners/defineCargoPolicy.d.ts +66 -0
- package/esm/policyDefiners/defineCargoPolicy.d.ts.map +1 -0
- package/esm/policyDefiners/defineCargoPolicy.js +60 -0
- package/esm/policyDefiners/defineCargoPolicy.js.map +1 -0
- package/esm/policyDefiners/defineFileHeaderPolicy.d.ts +7 -2
- package/esm/policyDefiners/defineFileHeaderPolicy.d.ts.map +1 -1
- package/esm/policyDefiners/defineFileHeaderPolicy.js +11 -7
- package/esm/policyDefiners/defineFileHeaderPolicy.js.map +1 -1
- package/esm/policyDefiners/defineGleamPolicy.d.ts +65 -0
- package/esm/policyDefiners/defineGleamPolicy.d.ts.map +1 -0
- package/esm/policyDefiners/defineGleamPolicy.js +59 -0
- package/esm/policyDefiners/defineGleamPolicy.js.map +1 -0
- package/esm/policyDefiners/definePackagePolicy.d.ts +18 -5
- package/esm/policyDefiners/definePackagePolicy.d.ts.map +1 -1
- package/esm/policyDefiners/definePackagePolicy.js +14 -4
- package/esm/policyDefiners/definePackagePolicy.js.map +1 -1
- package/esm/policyDefiners/spdxValidator.d.ts +74 -0
- package/esm/policyDefiners/spdxValidator.d.ts.map +1 -0
- package/esm/policyDefiners/spdxValidator.js +127 -0
- package/esm/policyDefiners/spdxValidator.js.map +1 -0
- package/esm/policyDefiners/tomlParser.d.ts +8 -0
- package/esm/policyDefiners/tomlParser.d.ts.map +1 -0
- package/esm/policyDefiners/tomlParser.js +17 -0
- package/esm/policyDefiners/tomlParser.js.map +1 -0
- package/esm/runner.d.ts +60 -0
- package/esm/runner.d.ts.map +1 -0
- package/esm/runner.js +174 -0
- package/esm/runner.js.map +1 -0
- package/esm/tsdoc-metadata.json +1 -1
- package/oclif.manifest.json +100 -3
- package/package.json +46 -31
- package/scripts/postinstall.mjs +154 -0
- package/sidecar/sidecar.mjs +468 -0
package/esm/policies.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policies.d.ts","sourceRoot":"","sources":["../src/policies.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"policies.d.ts","sourceRoot":"","sources":["../src/policies.ts"],"names":[],"mappings":"AAEA,OAAO,EACN,qBAAqB,EACrB,KAAK,2BAA2B,GAChC,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,oBAAoB,EACpB,KAAK,0BAA0B,GAC/B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACN,eAAe,EACf,KAAK,qBAAqB,GAC1B,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACN,iBAAiB,EACjB,KAAK,uBAAuB,GAC5B,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACN,eAAe,EACf,KAAK,qBAAqB,GAC1B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACN,KAAK,sBAAsB,EAC3B,KAAK,qBAAqB,EAC1B,kBAAkB,EAClB,KAAK,wBAAwB,GAC7B,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACN,YAAY,EACZ,KAAK,kBAAkB,GACvB,MAAM,4BAA4B,CAAC;AAEpC,OAAO,EACN,gBAAgB,EAChB,KAAK,sBAAsB,GAC3B,MAAM,gCAAgC,CAAC;AAExC,OAAO,EACN,cAAc,EACd,KAAK,oBAAoB,GACzB,MAAM,8BAA8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ACN,KAAK,mBAAmB,EACxB,eAAe,EACf,KAAK,qBAAqB,GAC1B,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EACN,aAAa,EACb,KAAK,mBAAmB,GACxB,MAAM,6BAA6B,CAAC;AAErC,OAAO,EACN,mBAAmB,EACnB,KAAK,yBAAyB,GAC9B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACN,mBAAmB,EACnB,KAAK,yBAAyB,GAC9B,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACN,cAAc,EACd,KAAK,oBAAoB,EACzB,KAAK,kBAAkB,GACvB,MAAM,8BAA8B,CAAC;AAEtC,OAAO,EACN,wBAAwB,EACxB,KAAK,8BAA8B,GACnC,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,oBAAoB,EACpB,KAAK,0BAA0B,GAC/B,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACN,qBAAqB,EACrB,KAAK,2BAA2B,GAChC,MAAM,qCAAqC,CAAC;AAE7C,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC"}
|
package/esm/policies.js
CHANGED
|
@@ -1,21 +1,89 @@
|
|
|
1
|
+
// Cargo.toml / Rust policies
|
|
1
2
|
// biome-ignore lint/performance/noBarrelFile: intentional public API entry point for policies
|
|
3
|
+
export { CargoLicenceValidated, } from "./policies/CargoLicenceValidated.js";
|
|
4
|
+
export { CargoLintsConfigured, } from "./policies/CargoLintsConfigured.js";
|
|
5
|
+
export { CargoLockPolicy, } from "./policies/CargoLockPolicy.js";
|
|
6
|
+
export { CargoTomlRequired, } from "./policies/CargoTomlRequired.js";
|
|
7
|
+
export { CargoTomlSorted, } from "./policies/CargoTomlSorted.js";
|
|
8
|
+
// New focused script policies (replacements for PackageScripts)
|
|
9
|
+
export { ConditionalScripts, } from "./policies/ConditionalScripts.js";
|
|
10
|
+
export { ExactScripts, } from "./policies/ExactScripts.js";
|
|
11
|
+
// Gleam dependency policies
|
|
12
|
+
export { GleamDepVersions, } from "./policies/GleamDepVersions.js";
|
|
13
|
+
// Gleam documentation policies
|
|
14
|
+
export { GleamDocExists, } from "./policies/GleamDocExists.js";
|
|
15
|
+
// Gleam internal modules policies
|
|
16
|
+
export { GleamInternalModulesConfigured, } from "./policies/GleamInternalModulesConfigured.js";
|
|
17
|
+
// Gleam licence policies
|
|
18
|
+
export { GleamLicenceConfigured, } from "./policies/GleamLicenceConfigured.js";
|
|
19
|
+
// Gleam project structure policies
|
|
20
|
+
export { GleamManifestCommitted } from "./policies/GleamManifestCommitted.js";
|
|
21
|
+
// Gleam monorepo policies
|
|
22
|
+
export { GleamMonorepoConsistency, } from "./policies/GleamMonorepoConsistency.js";
|
|
23
|
+
// Gleam naming policies
|
|
24
|
+
export { GleamNameRestrictions, } from "./policies/GleamNameRestrictions.js";
|
|
25
|
+
// Gleam path dependency policies
|
|
26
|
+
export { GleamNoPathDepsInPublished, } from "./policies/GleamNoPathDepsInPublished.js";
|
|
27
|
+
export { GleamPathDepsValid } from "./policies/GleamPathDepsValid.js";
|
|
28
|
+
export { GleamProjectStructure, } from "./policies/GleamProjectStructure.js";
|
|
29
|
+
// Gleam shared dependency version policies
|
|
30
|
+
export { GleamSharedDependencyVersions, } from "./policies/GleamSharedDependencyVersions.js";
|
|
31
|
+
// Gleam toml field policies
|
|
32
|
+
export { GleamTomlRequired, } from "./policies/GleamTomlRequired.js";
|
|
33
|
+
export { GleamTomlSorted, } from "./policies/GleamTomlSorted.js";
|
|
34
|
+
// Gleam version constraint policies
|
|
35
|
+
export { GleamVersionConstraint, } from "./policies/GleamVersionConstraint.js";
|
|
36
|
+
// File header policies
|
|
2
37
|
export { HtmlFileHeaders } from "./policies/HtmlFileHeaders.js";
|
|
3
38
|
export { JsTsFileHeaders } from "./policies/JsTsFileHeaders.js";
|
|
39
|
+
// License policies
|
|
4
40
|
export { LicenseFileExists } from "./policies/LicenseFileExists.js";
|
|
41
|
+
export { MutuallyExclusiveScripts, } from "./policies/MutuallyExclusiveScripts.js";
|
|
42
|
+
// Build directory policies
|
|
43
|
+
export { NoBuildDirectory } from "./policies/NoBuildDirectory.js";
|
|
44
|
+
// File extension policies
|
|
5
45
|
export { NoJsFileExtensions } from "./policies/NoJsFileExtensions.js";
|
|
46
|
+
// File size policies
|
|
6
47
|
export { NoLargeBinaryFiles } from "./policies/NoLargeBinaryFiles.js";
|
|
48
|
+
// Dependency policies
|
|
7
49
|
export { NoPrivateWorkspaceDependencies } from "./policies/NoPrivateWorkspaceDependencies.js";
|
|
50
|
+
// Rust build artifact policies
|
|
51
|
+
export { NoTargetArtifacts } from "./policies/NoTargetArtifacts.js";
|
|
52
|
+
// Rust unsafe code policies
|
|
53
|
+
export { NoUnsafeWithoutJustification, } from "./policies/NoUnsafeWithoutJustification.js";
|
|
54
|
+
// Rust dependency policies
|
|
55
|
+
export { NoWildcardDependencies, } from "./policies/NoWildcardDependencies.js";
|
|
56
|
+
// Package naming policies
|
|
8
57
|
export { PackageAllowedScopes, } from "./policies/PackageAllowedScopes.js";
|
|
58
|
+
// Package type policies
|
|
9
59
|
export { PackageEsmType, } from "./policies/PackageEsmType.js";
|
|
10
60
|
export { PackageFolderName, } from "./policies/PackageFolderName.js";
|
|
61
|
+
// Package.json field policies
|
|
11
62
|
export { PackageJsonProperties } from "./policies/PackageJsonProperties.js";
|
|
12
63
|
export { PackageJsonRepoDirectoryProperty } from "./policies/PackageJsonRepoDirectoryProperty.js";
|
|
13
64
|
export { PackageJsonSorted } from "./policies/PackageJsonSorted.js";
|
|
14
65
|
export { PackageLicense, } from "./policies/PackageLicense.js";
|
|
15
66
|
export { PackagePrivateField, } from "./policies/PackagePrivateField.js";
|
|
67
|
+
// Package readme policies
|
|
16
68
|
export { PackageReadme, } from "./policies/PackageReadme.js";
|
|
69
|
+
// Package script policies (legacy - prefer focused policies above)
|
|
17
70
|
export { PackageScripts, } from "./policies/PackageScripts.js";
|
|
18
71
|
export { PackageTestScripts, } from "./policies/PackageTestScripts.js";
|
|
72
|
+
// Rust documentation policies
|
|
73
|
+
export { PublicApiDocumented, } from "./policies/PublicApiDocumented.js";
|
|
74
|
+
// Gitignore policies
|
|
19
75
|
export { RequiredGitignorePatterns } from "./policies/RequiredGitignorePatterns.js";
|
|
76
|
+
export { RequiredScripts, } from "./policies/RequiredScripts.js";
|
|
77
|
+
// Rust documentation file policies
|
|
78
|
+
export { RustDocExists, } from "./policies/RustDocExists.js";
|
|
79
|
+
// Rust project structure policies
|
|
80
|
+
export { RustfmtConfigExists, } from "./policies/RustfmtConfigExists.js";
|
|
81
|
+
export { RustToolchainExists, } from "./policies/RustToolchainExists.js";
|
|
82
|
+
export { ScriptContains, } from "./policies/ScriptContains.js";
|
|
83
|
+
// Cargo workspace policies
|
|
84
|
+
export { SharedDependencyVersions, } from "./policies/SharedDependencyVersions.js";
|
|
85
|
+
export { WorkspaceInheritance, } from "./policies/WorkspaceInheritance.js";
|
|
86
|
+
export { WorkspaceMembersValid, } from "./policies/WorkspaceMembersValid.js";
|
|
87
|
+
// Default policies
|
|
20
88
|
export { DefaultPolicies } from "./policy.js";
|
|
21
89
|
//# sourceMappingURL=policies.js.map
|
package/esm/policies.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policies.js","sourceRoot":"","sources":["../src/policies.ts"],"names":[],"mappings":"AAAA,8FAA8F;AAC9F,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,eAAe,EAAE,MAAM,+BAA+B,CAAC;AAChE,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,kBAAkB,EAAE,MAAM,kCAAkC,CAAC;AACtE,OAAO,EAAE,8BAA8B,EAAE,MAAM,8CAA8C,CAAC;AAC9F,OAAO,EACN,oBAAoB,GAEpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACN,cAAc,GAEd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,iBAAiB,GAEjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EAAE,qBAAqB,EAAE,MAAM,qCAAqC,CAAC;AAC5E,OAAO,EAAE,gCAAgC,EAAE,MAAM,gDAAgD,CAAC;AAClG,OAAO,EAAE,iBAAiB,EAAE,MAAM,iCAAiC,CAAC;AACpE,OAAO,EACN,cAAc,GAEd,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,mBAAmB,GAEnB,MAAM,mCAAmC,CAAC;AAC3C,OAAO,EACN,aAAa,GAEb,MAAM,6BAA6B,CAAC;AACrC,OAAO,EAEN,cAAc,GAId,MAAM,8BAA8B,CAAC;AACtC,OAAO,EACN,kBAAkB,GAElB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EAAE,yBAAyB,EAAE,MAAM,yCAAyC,CAAC;AACpF,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC","sourcesContent":["// biome-ignore lint/performance/noBarrelFile: intentional public API entry point for policies\nexport { HtmlFileHeaders } from \"./policies/HtmlFileHeaders.js\";\nexport { JsTsFileHeaders } from \"./policies/JsTsFileHeaders.js\";\nexport { LicenseFileExists } from \"./policies/LicenseFileExists.js\";\nexport { NoJsFileExtensions } from \"./policies/NoJsFileExtensions.js\";\nexport { NoLargeBinaryFiles } from \"./policies/NoLargeBinaryFiles.js\";\nexport { NoPrivateWorkspaceDependencies } from \"./policies/NoPrivateWorkspaceDependencies.js\";\nexport {\n\tPackageAllowedScopes,\n\ttype PackageAllowedScopesConfig,\n} from \"./policies/PackageAllowedScopes.js\";\nexport {\n\tPackageEsmType,\n\ttype PackageEsmTypeConfig,\n} from \"./policies/PackageEsmType.js\";\nexport {\n\tPackageFolderName,\n\ttype PackageFolderNameConfig,\n} from \"./policies/PackageFolderName.js\";\nexport { PackageJsonProperties } from \"./policies/PackageJsonProperties.js\";\nexport { PackageJsonRepoDirectoryProperty } from \"./policies/PackageJsonRepoDirectoryProperty.js\";\nexport { PackageJsonSorted } from \"./policies/PackageJsonSorted.js\";\nexport {\n\tPackageLicense,\n\ttype PackageLicenseSettings,\n} from \"./policies/PackageLicense.js\";\nexport {\n\tPackagePrivateField,\n\ttype PackagePrivateFieldConfig,\n} from \"./policies/PackagePrivateField.js\";\nexport {\n\tPackageReadme,\n\ttype PackageReadmeSettings,\n} from \"./policies/PackageReadme.js\";\nexport {\n\ttype ConditionalScriptRule,\n\tPackageScripts,\n\ttype PackageScriptsSettings,\n\ttype RequiredScriptEntry,\n\ttype ScriptMustContainRule,\n} from \"./policies/PackageScripts.js\";\nexport {\n\tPackageTestScripts,\n\ttype PackageTestScriptsConfig,\n} from \"./policies/PackageTestScripts.js\";\nexport { RequiredGitignorePatterns } from \"./policies/RequiredGitignorePatterns.js\";\nexport { DefaultPolicies } from \"./policy.js\";\n"]}
|
|
1
|
+
{"version":3,"file":"policies.js","sourceRoot":"","sources":["../src/policies.ts"],"names":[],"mappings":"AAAA,6BAA6B;AAC7B,8FAA8F;AAC9F,OAAO,EACN,qBAAqB,GAErB,MAAM,qCAAqC,CAAC;AAC7C,OAAO,EACN,oBAAoB,GAEpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACN,eAAe,GAEf,MAAM,+BAA+B,CAAC;AACvC,OAAO,EACN,iBAAiB,GAEjB,MAAM,iCAAiC,CAAC;AACzC,OAAO,EACN,eAAe,GAEf,MAAM,+BAA+B,CAAC;AACvC,gEAAgE;AAChE,OAAO,EAGN,kBAAkB,GAElB,MAAM,kCAAkC,CAAC;AAC1C,OAAO,EACN,YAAY,GAEZ,MAAM,4BAA4B,CAAC;AACpC,4BAA4B;AAC5B,OAAO,EACN,gBAAgB,GAEhB,MAAM,gCAAgC,CAAC;AACxC,+BAA+B;AAC/B,OAAO,EACN,cAAc,GAEd,MAAM,8BAA8B,CAAC;AACtC,kCAAkC;AAClC,OAAO,EACN,8BAA8B,GAE9B,MAAM,8CAA8C,CAAC;AACtD,yBAAyB;AACzB,OAAO,EACN,sBAAsB,GAEtB,MA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EACN,wBAAwB,GAExB,MAAM,wCAAwC,CAAC;AAChD,OAAO,EACN,oBAAoB,GAEpB,MAAM,oCAAoC,CAAC;AAC5C,OAAO,EACN,qBAAqB,GAErB,MAAM,qCAAqC,CAAC;AAC7C,mBAAmB;AACnB,OAAO,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC","sourcesContent":["// Cargo.toml / Rust policies\n// biome-ignore lint/performance/noBarrelFile: intentional public API entry point for policies\nexport {\n\tCargoLicenceValidated,\n\ttype CargoLicenceValidatedConfig,\n} from \"./policies/CargoLicenceValidated.js\";\nexport {\n\tCargoLintsConfigured,\n\ttype CargoLintsConfiguredConfig,\n} from \"./policies/CargoLintsConfigured.js\";\nexport {\n\tCargoLockPolicy,\n\ttype CargoLockPolicyConfig,\n} from \"./policies/CargoLockPolicy.js\";\nexport {\n\tCargoTomlRequired,\n\ttype CargoTomlRequiredConfig,\n} from \"./policies/CargoTomlRequired.js\";\nexport {\n\tCargoTomlSorted,\n\ttype CargoTomlSortedConfig,\n} from \"./policies/CargoTomlSorted.js\";\n// New focused script policies (replacements for PackageScripts)\nexport {\n\ttype ConditionalScriptEntry,\n\ttype ConditionalScriptRule,\n\tConditionalScripts,\n\ttype ConditionalScriptsConfig,\n} from \"./policies/ConditionalScripts.js\";\nexport {\n\tExactScripts,\n\ttype ExactScriptsConfig,\n} from \"./policies/ExactScripts.js\";\n// Gleam dependency policies\nexport {\n\tGleamDepVersions,\n\ttype GleamDepVersionsConfig,\n} from \"./policies/GleamDepVersions.js\";\n// Gleam documentation policies\nexport {\n\tGleamDocExists,\n\ttype GleamDocExistsConfig,\n} from \"./policies/GleamDocExists.js\";\n// Gleam internal modules policies\nexport {\n\tGleamInternalModulesConfigured,\n\ttype GleamInternalModulesConfiguredConfig,\n} from \"./policies/GleamInternalModulesConfigured.js\";\n// Gleam licence policies\nexport {\n\tGleamLicenceConfigured,\n\ttype GleamLicenceConfiguredConfig,\n} from \"./policies/GleamLicenceConfigured.js\";\n// Gleam project structure policies\nexport { GleamManifestCommitted } from \"./policies/GleamManifestCommitted.js\";\n// Gleam monorepo policies\nexport {\n\tGleamMonorepoConsistency,\n\ttype GleamMonorepoConsistencyConfig,\n} from \"./policies/GleamMonorepoConsistency.js\";\n// Gleam naming policies\nexport {\n\tGleamNameRestrictions,\n\ttype GleamNameRestrictionsConfig,\n} from \"./policies/GleamNameRestrictions.js\";\n// Gleam path dependency policies\nexport {\n\tGleamNoPathDepsInPublished,\n\ttype GleamNoPathDepsInPublishedConfig,\n} from \"./policies/GleamNoPathDepsInPublished.js\";\nexport { GleamPathDepsValid } from \"./policies/GleamPathDepsValid.js\";\nexport {\n\tGleamProjectStructure,\n\ttype GleamProjectStructureConfig,\n} from \"./policies/GleamProjectStructure.js\";\n// Gleam shared dependency version policies\nexport {\n\tGleamSharedDependencyVersions,\n\ttype GleamSharedDependencyVersionsConfig,\n} from \"./policies/GleamSharedDependencyVersions.js\";\n// Gleam toml field policies\nexport {\n\tGleamTomlRequired,\n\ttype GleamTomlRequiredConfig,\n} from \"./policies/GleamTomlRequired.js\";\nexport {\n\tGleamTomlSorted,\n\ttype GleamTomlSortedConfig,\n} from \"./policies/GleamTomlSorted.js\";\n// Gleam version constraint policies\nexport {\n\tGleamVersionConstraint,\n\ttype GleamVersionConstraintConfig,\n} from \"./policies/GleamVersionConstraint.js\";\n// File header policies\nexport { HtmlFileHeaders } from \"./policies/HtmlFileHeaders.js\";\nexport { JsTsFileHeaders } from \"./policies/JsTsFileHeaders.js\";\n// License policies\nexport { LicenseFileExists } from \"./policies/LicenseFileExists.js\";\nexport {\n\tMutuallyExclusiveScripts,\n\ttype MutuallyExclusiveScriptsConfig,\n} from \"./policies/MutuallyExclusiveScripts.js\";\n// Build directory policies\nexport { NoBuildDirectory } from \"./policies/NoBuildDirectory.js\";\n// File extension policies\nexport { NoJsFileExtensions } from \"./policies/NoJsFileExtensions.js\";\n// File size policies\nexport { NoLargeBinaryFiles } from \"./policies/NoLargeBinaryFiles.js\";\n// Dependency policies\nexport { NoPrivateWorkspaceDependencies } from \"./policies/NoPrivateWorkspaceDependencies.js\";\n// Rust build artifact policies\nexport { NoTargetArtifacts } from \"./policies/NoTargetArtifacts.js\";\n// Rust unsafe code policies\nexport {\n\tNoUnsafeWithoutJustification,\n\ttype NoUnsafeWithoutJustificationConfig,\n} from \"./policies/NoUnsafeWithoutJustification.js\";\n// Rust dependency policies\nexport {\n\tNoWildcardDependencies,\n\ttype NoWildcardDependenciesConfig,\n} from \"./policies/NoWildcardDependencies.js\";\n// Package naming policies\nexport {\n\tPackageAllowedScopes,\n\ttype PackageAllowedScopesConfig,\n} from \"./policies/PackageAllowedScopes.js\";\n// Package type policies\nexport {\n\tPackageEsmType,\n\ttype PackageEsmTypeConfig,\n} from \"./policies/PackageEsmType.js\";\nexport {\n\tPackageFolderName,\n\ttype PackageFolderNameConfig,\n} from \"./policies/PackageFolderName.js\";\n// Package.json field policies\nexport { PackageJsonProperties } from \"./policies/PackageJsonProperties.js\";\nexport { PackageJsonRepoDirectoryProperty } from \"./policies/PackageJsonRepoDirectoryProperty.js\";\nexport { PackageJsonSorted } from \"./policies/PackageJsonSorted.js\";\nexport {\n\tPackageLicense,\n\ttype PackageLicenseSettings,\n} from \"./policies/PackageLicense.js\";\nexport {\n\tPackagePrivateField,\n\ttype PackagePrivateFieldConfig,\n} from \"./policies/PackagePrivateField.js\";\n// Package readme policies\nexport {\n\tPackageReadme,\n\ttype PackageReadmeSettings,\n} from \"./policies/PackageReadme.js\";\n// Package script policies (legacy - prefer focused policies above)\nexport {\n\ttype ConditionalScriptRule as LegacyConditionalScriptRule,\n\tPackageScripts,\n\ttype PackageScriptsSettings,\n\ttype RequiredScriptEntry as LegacyRequiredScriptEntry,\n\ttype ScriptMustContainRule,\n} from \"./policies/PackageScripts.js\";\nexport {\n\tPackageTestScripts,\n\ttype PackageTestScriptsConfig,\n} from \"./policies/PackageTestScripts.js\";\n// Rust documentation policies\nexport {\n\tPublicApiDocumented,\n\ttype PublicApiDocumentedConfig,\n} from \"./policies/PublicApiDocumented.js\";\n// Gitignore policies\nexport { RequiredGitignorePatterns } from \"./policies/RequiredGitignorePatterns.js\";\nexport {\n\ttype RequiredScriptEntry,\n\tRequiredScripts,\n\ttype RequiredScriptsConfig,\n} from \"./policies/RequiredScripts.js\";\n// Rust documentation file policies\nexport {\n\tRustDocExists,\n\ttype RustDocExistsConfig,\n} from \"./policies/RustDocExists.js\";\n// Rust project structure policies\nexport {\n\tRustfmtConfigExists,\n\ttype RustfmtConfigExistsConfig,\n} from \"./policies/RustfmtConfigExists.js\";\nexport {\n\tRustToolchainExists,\n\ttype RustToolchainExistsConfig,\n} from \"./policies/RustToolchainExists.js\";\nexport {\n\tScriptContains,\n\ttype ScriptContainsConfig,\n\ttype ScriptContainsRule,\n} from \"./policies/ScriptContains.js\";\n// Cargo workspace policies\nexport {\n\tSharedDependencyVersions,\n\ttype SharedDependencyVersionsConfig,\n} from \"./policies/SharedDependencyVersions.js\";\nexport {\n\tWorkspaceInheritance,\n\ttype WorkspaceInheritanceConfig,\n} from \"./policies/WorkspaceInheritance.js\";\nexport {\n\tWorkspaceMembersValid,\n\ttype WorkspaceMembersValidConfig,\n} from \"./policies/WorkspaceMembersValid.js\";\n// Default policies\nexport { DefaultPolicies } from \"./policy.js\";\n"]}
|
package/esm/policy.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import type { Operation } from "effection";
|
|
2
|
-
import type { RequireExactlyOne } from "type-fest";
|
|
3
2
|
/**
|
|
4
3
|
* A type representing a policy name.
|
|
5
4
|
*
|
|
@@ -7,11 +6,17 @@ import type { RequireExactlyOne } from "type-fest";
|
|
|
7
6
|
*/
|
|
8
7
|
export type PolicyName = string;
|
|
9
8
|
/**
|
|
10
|
-
*
|
|
9
|
+
* A stable identifier for a configured policy instance.
|
|
11
10
|
*
|
|
12
11
|
* @alpha
|
|
13
12
|
*/
|
|
14
|
-
export
|
|
13
|
+
export type PolicyInstanceId = string;
|
|
14
|
+
/**
|
|
15
|
+
* Arguments passed to policy handler functions.
|
|
16
|
+
*
|
|
17
|
+
* @alpha
|
|
18
|
+
*/
|
|
19
|
+
export interface PolicyArgs<C = void> {
|
|
15
20
|
/**
|
|
16
21
|
* Path to the file, relative to the repo root.
|
|
17
22
|
*/
|
|
@@ -25,171 +30,284 @@ export interface PolicyFunctionArguments<C> {
|
|
|
25
30
|
*/
|
|
26
31
|
resolve: boolean;
|
|
27
32
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
* Note that the handler function receives the config as an argument.
|
|
33
|
+
* Optional configuration for the policy.
|
|
31
34
|
*/
|
|
32
35
|
config?: C | undefined;
|
|
33
36
|
}
|
|
34
37
|
/**
|
|
35
|
-
*
|
|
38
|
+
* @deprecated Use {@link PolicyArgs} instead.
|
|
39
|
+
* @alpha
|
|
40
|
+
*/
|
|
41
|
+
export type PolicyFunctionArguments<C> = PolicyArgs<C>;
|
|
42
|
+
/**
|
|
43
|
+
* A policy error returned when a file fails a policy check.
|
|
36
44
|
*
|
|
37
|
-
* @
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
45
|
+
* @alpha
|
|
46
|
+
*/
|
|
47
|
+
export interface PolicyError {
|
|
48
|
+
/**
|
|
49
|
+
* The error message describing what failed.
|
|
50
|
+
*/
|
|
51
|
+
error: string;
|
|
52
|
+
/**
|
|
53
|
+
* Set to `true` if the policy violation can be fixed automatically.
|
|
54
|
+
*/
|
|
55
|
+
fixable?: boolean | undefined;
|
|
56
|
+
/**
|
|
57
|
+
* Set to `true` if the violation was successfully fixed (only set when resolve=true).
|
|
58
|
+
*/
|
|
59
|
+
fixed?: boolean | undefined;
|
|
60
|
+
/**
|
|
61
|
+
* An optional string that tells the user how to manually fix the failure.
|
|
62
|
+
*/
|
|
63
|
+
manualFix?: string | undefined;
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* The result of a policy handler.
|
|
67
|
+
* Returns `true` if the file passes the policy, or a {@link PolicyError} if it fails.
|
|
68
|
+
*
|
|
69
|
+
* @alpha
|
|
70
|
+
*/
|
|
71
|
+
export type PolicyResult = true | PolicyError;
|
|
72
|
+
/**
|
|
73
|
+
* A policy failure (legacy format).
|
|
74
|
+
*
|
|
75
|
+
* @deprecated Use {@link PolicyError} instead, which has a simpler API.
|
|
76
|
+
*
|
|
77
|
+
* @alpha
|
|
78
|
+
*/
|
|
79
|
+
export interface PolicyFailure {
|
|
80
|
+
/**
|
|
81
|
+
* Name of the policy that failed.
|
|
82
|
+
*/
|
|
83
|
+
name: PolicyName;
|
|
84
|
+
/**
|
|
85
|
+
* Path to the file that failed the policy.
|
|
86
|
+
*/
|
|
87
|
+
file: string;
|
|
88
|
+
/**
|
|
89
|
+
* Set to `true` if the policy can be fixed automatically.
|
|
90
|
+
*/
|
|
91
|
+
autoFixable?: boolean | undefined;
|
|
92
|
+
/**
|
|
93
|
+
* An optional error message accompanying the failure.
|
|
94
|
+
*/
|
|
95
|
+
errorMessages: string[];
|
|
96
|
+
/**
|
|
97
|
+
* An optional string that tells the user how to fix the failure(s).
|
|
98
|
+
*/
|
|
99
|
+
manualFix?: string | undefined;
|
|
100
|
+
}
|
|
101
|
+
/**
|
|
102
|
+
* The result of an automatic fix for a failing policy (legacy format).
|
|
41
103
|
*
|
|
42
|
-
*
|
|
104
|
+
* @deprecated Use {@link PolicyError} with `fixed: boolean` instead.
|
|
43
105
|
*
|
|
44
106
|
* @alpha
|
|
45
107
|
*/
|
|
46
|
-
export
|
|
108
|
+
export interface PolicyFixResult extends PolicyFailure {
|
|
109
|
+
/**
|
|
110
|
+
* Set to true if the failure was resolved by the automated fixer.
|
|
111
|
+
*/
|
|
112
|
+
resolved: boolean;
|
|
113
|
+
}
|
|
114
|
+
/**
|
|
115
|
+
* Result type that accepts both legacy and new formats.
|
|
116
|
+
*
|
|
117
|
+
* @alpha
|
|
118
|
+
*/
|
|
119
|
+
export type PolicyHandlerResult = true | PolicyFailure | PolicyFixResult | PolicyError;
|
|
47
120
|
/**
|
|
48
|
-
* A
|
|
121
|
+
* A policy handler function that checks a file against a policy.
|
|
49
122
|
*
|
|
50
123
|
* @remarks
|
|
51
|
-
*
|
|
124
|
+
* Policy handlers can be implemented in two ways:
|
|
52
125
|
* - As an async function returning a Promise
|
|
53
126
|
* - As an Effection generator function returning an Operation
|
|
54
127
|
*
|
|
55
|
-
* Both styles are supported
|
|
128
|
+
* Both styles are supported. Async handlers are automatically wrapped for Effection.
|
|
129
|
+
*
|
|
130
|
+
* Handlers can return either the legacy format ({@link PolicyFailure}) or
|
|
131
|
+
* the new format ({@link PolicyError}). The new format is simpler and recommended
|
|
132
|
+
* for new policies.
|
|
56
133
|
*
|
|
57
134
|
* @alpha
|
|
58
135
|
*/
|
|
59
|
-
export type
|
|
136
|
+
export type PolicyHandler<C = unknown | undefined> = ((args: PolicyArgs<C>) => Promise<PolicyHandlerResult>) | ((args: PolicyArgs<C>) => Operation<PolicyHandlerResult>);
|
|
60
137
|
/**
|
|
61
|
-
* A
|
|
138
|
+
* A standalone resolver function that can fix policy violations (legacy format).
|
|
62
139
|
*
|
|
63
|
-
*
|
|
64
|
-
* enumerated and if it matches the regex for a policy, that policy is applied.
|
|
140
|
+
* @deprecated Use {@link PolicyResolver} instead, which uses {@link PolicyError}.
|
|
65
141
|
*
|
|
66
|
-
*
|
|
67
|
-
|
|
142
|
+
* @alpha
|
|
143
|
+
*/
|
|
144
|
+
export type PolicyStandaloneResolver<C = undefined> = (args: Omit<PolicyArgs<C>, "resolve">) => Promise<PolicyFixResult> | Operation<PolicyFixResult>;
|
|
145
|
+
/**
|
|
146
|
+
* A standalone resolver function using the new format.
|
|
68
147
|
*
|
|
69
|
-
* @
|
|
148
|
+
* @alpha
|
|
149
|
+
*/
|
|
150
|
+
export type PolicyResolver<C = void> = (args: Omit<PolicyArgs<C>, "resolve">) => Promise<PolicyError> | Operation<PolicyError>;
|
|
151
|
+
/**
|
|
152
|
+
* Interface describing the shape of a policy definition.
|
|
153
|
+
*
|
|
154
|
+
* @typeParam C - Type of configuration object used by the policy
|
|
70
155
|
*
|
|
71
156
|
* @alpha
|
|
72
157
|
*/
|
|
73
|
-
export interface
|
|
158
|
+
export interface PolicyShape<C = void> {
|
|
74
159
|
/**
|
|
75
160
|
* The name of the policy; displayed in UI and used in settings.
|
|
76
161
|
*/
|
|
77
162
|
name: PolicyName;
|
|
78
163
|
/**
|
|
79
|
-
* A
|
|
164
|
+
* A detailed description of the policy and its purpose.
|
|
80
165
|
*/
|
|
81
166
|
description: string;
|
|
82
167
|
/**
|
|
83
|
-
* A regular expression that
|
|
168
|
+
* A regular expression that matches files this policy applies to.
|
|
84
169
|
*/
|
|
85
170
|
match: RegExp;
|
|
86
171
|
/**
|
|
87
|
-
*
|
|
88
|
-
*
|
|
89
|
-
* @param file - Repo-relative path to the file to check.
|
|
90
|
-
* @param root - Absolute path to the root of the repo.
|
|
91
|
-
* @param resolve - If true, automated policy fixes will be applied. Not all policies support automated fixes.
|
|
92
|
-
* @returns True if the file passed the policy; otherwise a PolicyFailure object will be returned.
|
|
172
|
+
* The handler function that checks if a file complies with the policy.
|
|
93
173
|
*/
|
|
94
174
|
handler: PolicyHandler<C>;
|
|
95
175
|
/**
|
|
96
|
-
*
|
|
97
|
-
*
|
|
98
|
-
* @param file - Repo-relative path to the file to check.
|
|
99
|
-
* @param root - Absolute path to the root of the repo.
|
|
100
|
-
* @returns true if the file passed the policy; otherwise a PolicyFailure object will be returned.
|
|
176
|
+
* An optional resolver function that can automatically fix violations.
|
|
101
177
|
*/
|
|
102
178
|
resolver?: PolicyStandaloneResolver<C> | undefined;
|
|
103
179
|
/**
|
|
104
|
-
* A default
|
|
180
|
+
* A default configuration that will be used if none is provided.
|
|
105
181
|
*/
|
|
106
182
|
defaultConfig?: C | undefined;
|
|
107
183
|
}
|
|
108
184
|
/**
|
|
185
|
+
* Abstract base class for creating policies with object-based construction.
|
|
186
|
+
*
|
|
187
|
+
* @remarks
|
|
188
|
+
* This class accepts a {@link PolicyShape} object in its constructor,
|
|
189
|
+
* making it easier to add new optional properties in the future without breaking changes.
|
|
190
|
+
*
|
|
109
191
|
* @alpha
|
|
110
192
|
*/
|
|
111
|
-
export
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
/**
|
|
120
|
-
* The config that is applied to the policy instance.
|
|
121
|
-
*/
|
|
122
|
-
config?: C | undefined;
|
|
193
|
+
export declare abstract class Policy<C = void> implements PolicyShape<C> {
|
|
194
|
+
readonly name: string;
|
|
195
|
+
readonly description: string;
|
|
196
|
+
readonly match: RegExp;
|
|
197
|
+
readonly handler: PolicyHandler<C>;
|
|
198
|
+
readonly defaultConfig?: C | undefined;
|
|
199
|
+
readonly resolver?: PolicyStandaloneResolver<C> | undefined;
|
|
200
|
+
constructor(definition: PolicyShape<C>);
|
|
123
201
|
}
|
|
124
202
|
/**
|
|
203
|
+
* @deprecated Use {@link PolicyShape} instead.
|
|
125
204
|
* @alpha
|
|
126
205
|
*/
|
|
127
|
-
export type
|
|
206
|
+
export type PolicyDefinition<C = undefined> = PolicyShape<C>;
|
|
128
207
|
/**
|
|
129
|
-
* A policy
|
|
208
|
+
* A policy instance with configuration and exclusion settings applied.
|
|
209
|
+
*
|
|
210
|
+
* @typeParam C - Type of configuration object used by the policy
|
|
130
211
|
*
|
|
131
212
|
* @alpha
|
|
132
213
|
*/
|
|
133
|
-
export interface
|
|
214
|
+
export interface ConfiguredPolicy<C = void> extends PolicyShape<C> {
|
|
134
215
|
/**
|
|
135
|
-
*
|
|
216
|
+
* An optional stable identifier for this configured policy instance.
|
|
217
|
+
*
|
|
218
|
+
* This is required when the same policy definition is configured more than once.
|
|
136
219
|
*/
|
|
137
|
-
|
|
220
|
+
instanceId?: PolicyInstanceId | undefined;
|
|
138
221
|
/**
|
|
139
|
-
*
|
|
222
|
+
* The configuration applied to this policy instance.
|
|
140
223
|
*/
|
|
141
|
-
|
|
224
|
+
config?: C | undefined;
|
|
142
225
|
/**
|
|
143
|
-
*
|
|
226
|
+
* File paths matching these patterns will be excluded from this policy.
|
|
227
|
+
* @deprecated Use `excludeFiles` instead for backward compatibility.
|
|
144
228
|
*/
|
|
145
|
-
|
|
229
|
+
exclude?: (string | RegExp)[] | undefined;
|
|
146
230
|
/**
|
|
147
|
-
*
|
|
231
|
+
* File paths matching these patterns will be excluded from this policy.
|
|
148
232
|
*/
|
|
149
|
-
|
|
233
|
+
excludeFiles?: (string | RegExp)[] | undefined;
|
|
150
234
|
/**
|
|
151
|
-
*
|
|
235
|
+
* Internal normalized handler (always an Effection Operation).
|
|
236
|
+
* This is set by the policy() function and used by the execution engine.
|
|
237
|
+
* @internal
|
|
152
238
|
*/
|
|
153
|
-
|
|
239
|
+
_internalHandler?: (args: PolicyArgs<C>) => Operation<PolicyHandlerResult>;
|
|
154
240
|
}
|
|
155
241
|
/**
|
|
156
|
-
*
|
|
157
|
-
*
|
|
242
|
+
* Settings for configuring a policy instance.
|
|
158
243
|
* @alpha
|
|
159
244
|
*/
|
|
160
|
-
export interface
|
|
245
|
+
export interface PolicyInstanceSettings<C> {
|
|
161
246
|
/**
|
|
162
|
-
*
|
|
247
|
+
* A stable identifier for this configured policy instance.
|
|
163
248
|
*/
|
|
164
|
-
|
|
249
|
+
instanceId?: PolicyInstanceId | undefined;
|
|
250
|
+
/**
|
|
251
|
+
* An array of strings/regular expressions. File paths that match any of these expressions will be completely excluded
|
|
252
|
+
* from policy.
|
|
253
|
+
*
|
|
254
|
+
* Paths will be matched relative to the root of the repo.
|
|
255
|
+
*/
|
|
256
|
+
excludeFiles?: (string | RegExp)[];
|
|
257
|
+
/**
|
|
258
|
+
* The config that is applied to the policy instance.
|
|
259
|
+
*/
|
|
260
|
+
config?: C | undefined;
|
|
165
261
|
}
|
|
166
262
|
/**
|
|
263
|
+
* @deprecated Use {@link ConfiguredPolicy} instead.
|
|
264
|
+
* @alpha
|
|
265
|
+
*/
|
|
266
|
+
export type PolicyInstance<C = undefined> = ConfiguredPolicy<C>;
|
|
267
|
+
/**
|
|
268
|
+
* A configured policy instance with its runtime identity assigned.
|
|
269
|
+
*
|
|
270
|
+
* @alpha
|
|
271
|
+
*/
|
|
272
|
+
export type IdentifiedPolicy<C = undefined> = ConfiguredPolicy<C> & {
|
|
273
|
+
instanceId: PolicyInstanceId;
|
|
274
|
+
};
|
|
275
|
+
/**
|
|
276
|
+
* Type guard to check if a result is a {@link PolicyFixResult} (legacy).
|
|
277
|
+
*
|
|
278
|
+
* @deprecated Use {@link isPolicyError} instead when working with the new {@link PolicyError} format.
|
|
279
|
+
*
|
|
167
280
|
* @alpha
|
|
168
281
|
*/
|
|
169
|
-
export type PolicyHandlerResult = true | PolicyFailure | PolicyFixResult;
|
|
170
282
|
export declare function isPolicyFixResult(toCheck: any): toCheck is PolicyFixResult;
|
|
171
283
|
/**
|
|
172
|
-
*
|
|
284
|
+
* Type guard to check if a result is a PolicyError (new format).
|
|
173
285
|
*
|
|
174
286
|
* @alpha
|
|
175
287
|
*/
|
|
176
|
-
export declare
|
|
288
|
+
export declare function isPolicyError(toCheck: any): toCheck is PolicyError;
|
|
177
289
|
/**
|
|
178
|
-
*
|
|
290
|
+
* Type guard to check if a result is a {@link PolicyFailure} (legacy format).
|
|
179
291
|
*
|
|
180
|
-
* @
|
|
181
|
-
* This class accepts a {@link PolicyDefinition} object in its constructor,
|
|
182
|
-
* making it easier to add new optional properties in the future without breaking changes.
|
|
292
|
+
* @deprecated Use {@link isPolicyError} instead when working with the new {@link PolicyError} format.
|
|
183
293
|
*
|
|
184
294
|
* @alpha
|
|
185
295
|
*/
|
|
186
|
-
export declare
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
296
|
+
export declare function isPolicyFailure(toCheck: any): toCheck is PolicyFailure;
|
|
297
|
+
/**
|
|
298
|
+
* Converts a legacy PolicyFailure/PolicyFixResult to the new PolicyError format.
|
|
299
|
+
* @internal
|
|
300
|
+
*/
|
|
301
|
+
export declare function convertLegacyResult(result: PolicyHandlerResult, _file: string): PolicyResult;
|
|
302
|
+
/**
|
|
303
|
+
* Converts a new PolicyError to the legacy PolicyFailure format.
|
|
304
|
+
* @internal
|
|
305
|
+
*/
|
|
306
|
+
export declare function convertToLegacyResult(result: PolicyError, policyName: string, file: string): PolicyFailure | PolicyFixResult;
|
|
307
|
+
/**
|
|
308
|
+
* Default policies included with repopo.
|
|
309
|
+
*
|
|
310
|
+
* @alpha
|
|
311
|
+
*/
|
|
312
|
+
export declare const DefaultPolicies: Policy<any>[];
|
|
195
313
|
//# sourceMappingURL=policy.d.ts.map
|
package/esm/policy.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../src/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;
|
|
1
|
+
{"version":3,"file":"policy.d.ts","sourceRoot":"","sources":["../src/policy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,WAAW,CAAC;AAK3C;;;;GAIG;AACH,MAAM,MAAM,UAAU,GAAG,MAAM,CAAC;AAEhC;;;;GAIG;AACH,MAAM,MAAM,gBAAgB,GAAG,MAAM,CAAC;AAEtC;;;;GAIG;AACH,MAAM,WAAW,UAAU,CAAC,CAAC,GAAG,IAAI;IACnC;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,IAAI,EAAE,MAAM,CAAC;IAEb;;OAEG;IACH,OAAO,EAAE,OAAO,CAAC;IAEjB;;OAEG;IACH,MAAM,CAAC,EAAE,CAAC,GAAG,SAAS,CAAC;CACvB;AAED;;;GAGG;AACH,MAAM,MAAM,uBAAuB,CAAC,CAAC,IAAI,UAAU,CAAC,CAAC,CAAC,CAAC;AAMvD;;;;GAIG;AACH,MAA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