@upleveled/preflight 8.1.3 → 8.1.5

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": "@upleveled/preflight",
3
- "version": "8.1.3",
3
+ "version": "8.1.5",
4
4
  "repository": "upleveled/preflight",
5
5
  "license": "MIT",
6
6
  "author": "UpLeveled (https://github.com/upleveled)",
@@ -19,7 +19,7 @@
19
19
  "src"
20
20
  ],
21
21
  "dependencies": {
22
- "algoliasearch": "5.21.0",
22
+ "algoliasearch": "5.23.2",
23
23
  "chalk": "5.4.1",
24
24
  "cheerio": "1.0.0",
25
25
  "depcheck": "1.4.7",
@@ -30,21 +30,21 @@
30
30
  "p-reduce": "3.0.0",
31
31
  "readdirp": "4.1.2",
32
32
  "semver": "7.7.1",
33
- "top-user-agents": "2.1.40",
33
+ "top-user-agents": "2.1.42",
34
34
  "tsx": "4.19.3"
35
35
  },
36
36
  "devDependencies": {
37
- "@types/node": "22.13.10",
37
+ "@types/node": "22.14.0",
38
38
  "@types/p-map": "2.0.0",
39
- "@types/semver": "7.5.8",
40
- "eslint": "9.22.0",
41
- "eslint-config-upleveled": "9.2.1",
39
+ "@types/semver": "7.7.0",
40
+ "eslint": "9.23.0",
41
+ "eslint-config-upleveled": "9.2.3",
42
42
  "p-map": "7.0.3",
43
43
  "prettier": "3.5.3",
44
- "stylelint": "16.16.0",
44
+ "stylelint": "16.17.0",
45
45
  "typescript": "5.8.2",
46
- "typescript-eslint": "8.27.0",
47
- "vitest": "3.0.9"
46
+ "typescript-eslint": "8.29.0",
47
+ "vitest": "3.1.1"
48
48
  },
49
49
  "engines": {
50
50
  "node": ">=18"
@@ -69,7 +69,8 @@ export default async function eslintConfigIsValid() {
69
69
 
70
70
  for await (const { path } of readdirp('.', {
71
71
  directoryFilter: (dir) =>
72
- !['.git', '.next', 'node_modules'].includes(dir.basename),
72
+ // TODO: Read `.gitignore` to add ignored folders and files to this hardcoded array
73
+ !['.expo', '.git', '.next', 'node_modules'].includes(dir.basename),
73
74
  fileFilter: (file) => /\.(?:js|jsx|ts|tsx)$/.test(file.basename),
74
75
  })) {
75
76
  const fileContents = await fs.readFile(path, 'utf-8');
@@ -28,8 +28,8 @@ export default async function noUnusedAndMissingDependencies() {
28
28
  'libpg-query',
29
29
 
30
30
  // TODO: Remove this once depcheck issue is fixed:
31
- // PR: https://github.com/depcheck/depcheck/pull/790
32
- // Issue: https://github.com/depcheck/depcheck/issues/791
31
+ // - PR: https://github.com/depcheck/depcheck/pull/790
32
+ // - Issue: https://github.com/depcheck/depcheck/issues/791
33
33
  //
34
34
  // Stylelint configuration
35
35
  'stylelint',
@@ -42,15 +42,15 @@ export default async function noUnusedAndMissingDependencies() {
42
42
  'playwright',
43
43
 
44
44
  // `expect` required for proper types with `@testing-library/jest-dom` with `@jest/globals` and pnpm
45
- // https://github.com/testing-library/jest-dom/issues/123#issuecomment-1536828385
45
+ // - https://github.com/testing-library/jest-dom/issues/123#issuecomment-1536828385
46
46
  // TODO: Remove when we switch from Jest to Vitest
47
47
  'expect',
48
48
 
49
- // `ts-node` required for jest.config.ts
50
- // https://jestjs.io/docs/29.6/configuration#:~:text=To%20read%20TypeScript%20configuration%20files%20Jest%20requires%20ts%2Dnode.%20Make%20sure%20it%20is%20installed%20in%20your%20project
49
+ // `esbuild-register` required for jest.config.ts
50
+ // - https://jestjs.io/docs/next/configuration#:~:text=To%20read%20TypeScript%20configuration%20files%20Jest%20by%20default%20requires%20ts%2Dnode.%20You%20can%20override%20this%20behavior%20by%20adding%20a%20%40jest%2Dconfig%2Dloader%20docblock%20at%20the%20top%20of%20the%20file.%20Currently%2C%20ts%2Dnode%20and%20esbuild%2Dregister%20is%20supported.
51
51
  // TODO: Remove when usage of tsx is allowed
52
- // https://github.com/jestjs/jest/issues/11989
53
- 'ts-node',
52
+ // - https://github.com/jestjs/jest/issues/11989
53
+ 'esbuild-register',
54
54
 
55
55
  // TypeScript
56
56
  'typescript',