Skip to content

Commit f071582

Browse files
committed
Merge remote-tracking branch 'upstream/main'
2 parents df38280 + cfe7315 commit f071582

File tree

3 files changed

+29
-10
lines changed

3 files changed

+29
-10
lines changed

package-lock.json

Lines changed: 18 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -44,17 +44,18 @@
4444
],
4545
"scripts": {
4646
"prepare": "husky",
47+
"test": "run-p test:*",
48+
"test:format": "prettier --check .",
49+
"test:lint": "eslint --max-warnings 0 --cache .",
50+
"test:types": "tsc",
51+
"test:unit": "vitest --run",
52+
"test:jsr": "jsr publish --dry-run --allow-dirty",
53+
"vitest": "vitest",
4754
"build": "run-s build:*",
4855
"build:clean": "rimraf dist",
4956
"build:tsc": "tsc -p tsconfig.build.json",
5057
"lint": "eslint --max-warnings 0 --cache --no-ignore",
51-
"test": "run-p test:*",
52-
"test:unit": "vitest run --coverage",
53-
"test:lint": "eslint --max-warnings 0 --cache .",
54-
"test:format": "prettier --check --ignore-path .gitignore .",
55-
"test:types": "tsc --noEmit",
5658
"integration-test": "vitest run --coverage integration.test.ts",
57-
"vitest": "vitest",
5859
"prepublishOnly": "run-s build",
5960
"release": "semantic-release"
6061
},
@@ -83,6 +84,7 @@
8384
"dotenv": "^17.2.3",
8485
"eslint": "9.39.2",
8586
"husky": "^9.1.7",
87+
"jsr": "^0.14.3",
8688
"lint-staged": "^16.2.7",
8789
"nock": "^14.0.10",
8890
"npm-run-all2": "^8.0.4",

src/lib/mocks.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,9 @@ This usually happens when the generated values create too many conflicts (e.g. t
6868
acceptedCount++;
6969
}
7070

71-
return [...accepted.values()].flat().toSorted();
71+
// toSorted() is not yet supported by our target
72+
// eslint-disable-next-line unicorn/no-array-sort
73+
return [...accepted.values()].flat().sort();
7274
};
7375

7476
export const generateRandomDateTimes = ({

0 commit comments

Comments
 (0)