@davidvornholt/standards 0.24.1 → 0.24.3

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@davidvornholt/standards",
3
- "version": "0.24.1",
3
+ "version": "0.24.3",
4
4
  "description": "Bootstrap, synchronize, and validate davidvornholt/standards consumers",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -143,6 +143,7 @@ export const applySopsEditorChanges = (
143
143
  }
144
144
  document.setIn(path, change.value);
145
145
  }
146
+ // biome-ignore lint/nursery/noBaseToString: YAML Document implements toString as its comment-preserving serializer.
146
147
  return document.toString();
147
148
  };
148
149
  const runEditor = (): void => {
@@ -38,7 +38,9 @@ export const unlockedPathsUnder = async (
38
38
  ): Promise<ReadonlyArray<string>> => {
39
39
  const found: Array<string> = [];
40
40
  await collectPaths(root, rel, found);
41
- return found.filter((path) => !locked.has(path)).sort();
41
+ return found
42
+ .filter((path) => !locked.has(path))
43
+ .sort((left, right) => left.localeCompare(right));
42
44
  };
43
45
 
44
46
  // An ancestor that is not a directory, so nothing can sit below it under the
@@ -86,7 +86,7 @@ export const executeReviewJob = async (options: {
86
86
  };
87
87
  }
88
88
  if (outcome.status === 'question') {
89
- await askQuestion(deps, labels, pr.number, outcome.question ?? '');
89
+ await askQuestion(deps, labels, pr.number, outcome.question);
90
90
  return { lines: [`PR #${pr.number}: asked a question`], ranCodex: true };
91
91
  }
92
92
  if (outcome.status === 'cannot-review') {
@@ -24,7 +24,7 @@ const DEPENDENCY_FIELDS =
24
24
  );
25
25
  const SHARED_TSCONFIG_PACKAGE = '@davidvornholt/typescript-config';
26
26
  const SHARED_TSCONFIG_PATH =
27
- /^@davidvornholt\/typescript-config\/(?:base|next|react-library)$/u;
27
+ /^@davidvornholt\/typescript-config\/(?:base|next|react-library|tanstack-start)$/u;
28
28
  const NON_EXECUTING_A11Y_OPTION =
29
29
  /^(?:-h|-V|--(?:debug|help|last-failed|list|only-changed|ui|version))(?:=|$)/u;
30
30
  const IGNORED_DIRS = new Set('.git,.next,.turbo,dist,node_modules'.split(','));