fact-kit-facts 0.6.0 → 0.6.1
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.json +20 -8
- package/package.json +1 -1
package/dist/index.json
CHANGED
|
@@ -779,7 +779,7 @@
|
|
|
779
779
|
}
|
|
780
780
|
},
|
|
781
781
|
{
|
|
782
|
-
"since": "
|
|
782
|
+
"since": "0.11.0",
|
|
783
783
|
"content": {
|
|
784
784
|
"value": [
|
|
785
785
|
{
|
|
@@ -1069,7 +1069,7 @@
|
|
|
1069
1069
|
},
|
|
1070
1070
|
{
|
|
1071
1071
|
"code": "impl-imports-facts",
|
|
1072
|
-
"rule": "Code in `implDirs` imports a `-facts` package.",
|
|
1072
|
+
"rule": "Code in `implDirs` imports a `-facts` package, with or without the publish target suffix `.<target>` of `fact-kit.facts-package-naming`, as in `fact-kit-facts.npm`.",
|
|
1073
1073
|
"reads": "`implDirs`, parsed with oxc"
|
|
1074
1074
|
},
|
|
1075
1075
|
{
|
|
@@ -1079,7 +1079,7 @@
|
|
|
1079
1079
|
},
|
|
1080
1080
|
{
|
|
1081
1081
|
"code": "impl-depends-on-facts",
|
|
1082
|
-
"rule": "A package that is not a facts package lists a `-facts` package in `dependencies`.",
|
|
1082
|
+
"rule": "A package that is not a facts package lists a `-facts` package in `dependencies`. A name with the publish target suffix, such as `fact-kit-facts.npm`, is a `-facts` package too.",
|
|
1083
1083
|
"reads": "every package.json under `repoRoot`"
|
|
1084
1084
|
},
|
|
1085
1085
|
{
|
|
@@ -1111,6 +1111,16 @@
|
|
|
1111
1111
|
"code": "schema-property",
|
|
1112
1112
|
"rule": "An `x-identity` names a field that is not in the `properties` of the same schema. It reads every schema of a fact, in every row, and every file under `schemas/`. A `required` list that builders make is checked by `builder`, not by this rule.",
|
|
1113
1113
|
"reads": "sources and built indexes"
|
|
1114
|
+
},
|
|
1115
|
+
{
|
|
1116
|
+
"code": "policy-scope",
|
|
1117
|
+
"rule": "The `release-policy.json` at `repoRoot` has `access: \"restricted\"` at the top or in a unit, and no top-level `scope`. `check` reports it itself and does not leave it to the schema of the policy. A repository with no `release-policy.json` is not checked. See `fact-kit.facts-package-naming`.",
|
|
1118
|
+
"reads": "`release-policy.json`"
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
"code": "facts-name",
|
|
1122
|
+
"rule": "In an aggregate package (the config has `aggregate`), the name of the aggregate or of a component package is not the one `fact-kit.facts-package-naming` works out from `release-policy.json`: a missing or extra `@<scope>/` prefix, a missing or extra publish target suffix, or a shared base name with no publish target to tell the packages apart. The message names the expected name. A repository with no `release-policy.json` is not checked. A component that is not found in node_modules or in the workspace, or whose facts cannot be loaded, gets a warning with code `facts-name` and is not checked.",
|
|
1123
|
+
"reads": "`release-policy.json`, `release-please-config.json`, the component packages and their facts sources"
|
|
1114
1124
|
}
|
|
1115
1125
|
]
|
|
1116
1126
|
}
|
|
@@ -2901,7 +2911,7 @@
|
|
|
2901
2911
|
}
|
|
2902
2912
|
},
|
|
2903
2913
|
{
|
|
2904
|
-
"since": "
|
|
2914
|
+
"since": "0.11.0",
|
|
2905
2915
|
"content": {
|
|
2906
2916
|
"value": [
|
|
2907
2917
|
"format",
|
|
@@ -2977,7 +2987,9 @@
|
|
|
2977
2987
|
"builder",
|
|
2978
2988
|
"subset-of",
|
|
2979
2989
|
"ref",
|
|
2980
|
-
"schema-property"
|
|
2990
|
+
"schema-property",
|
|
2991
|
+
"policy-scope",
|
|
2992
|
+
"facts-name"
|
|
2981
2993
|
]
|
|
2982
2994
|
}
|
|
2983
2995
|
},
|
|
@@ -3168,7 +3180,7 @@
|
|
|
3168
3180
|
}
|
|
3169
3181
|
},
|
|
3170
3182
|
{
|
|
3171
|
-
"since": "
|
|
3183
|
+
"since": "0.11.0",
|
|
3172
3184
|
"content": {
|
|
3173
3185
|
"value": {
|
|
3174
3186
|
"config": {
|
|
@@ -3242,7 +3254,7 @@
|
|
|
3242
3254
|
}
|
|
3243
3255
|
},
|
|
3244
3256
|
"componentPackage": {
|
|
3245
|
-
"name": "<publish name without @<org>/>-facts, e.g. `promptex-macos-facts`. When that is also the base of another component package or of the aggregate in the repository, every one of them adds `.<publish target>`, e.g. `fact-kit-facts.npm` and `fact-kit-facts.go`.
|
|
3257
|
+
"name": "<publish name without @<org>/>-facts, e.g. `promptex-macos-facts`. When that is also the base of another component package or of the aggregate in the repository, every one of them adds `.<publish target>`, e.g. `fact-kit-facts.npm` and `fact-kit-facts.go`. `@<scope>/` is added to every one of these names when the access of the unit that publishes the aggregate package is restricted, whatever the access of the unit a component describes",
|
|
3246
3258
|
"private": true,
|
|
3247
3259
|
"dependedOnBy": "devDependencies of the aggregate, \"workspace:*\""
|
|
3248
3260
|
},
|
|
@@ -3306,7 +3318,7 @@
|
|
|
3306
3318
|
"en": "What `check` expects the package names of an aggregate and its component packages to be, and the two problem codes it reports. The names are `<base>`, with a publish target suffix when the base is shared and `@<scope>/` in front when the aggregate unit is restricted."
|
|
3307
3319
|
},
|
|
3308
3320
|
"when": {
|
|
3309
|
-
"since": "
|
|
3321
|
+
"since": "0.11.0"
|
|
3310
3322
|
},
|
|
3311
3323
|
"content": {
|
|
3312
3324
|
"value": {
|