Commit 8c41e56
authored
Update workflows, dependencies, and code structure for consistency (#34)
* 🔧 chore: update dependencies
## Dependencies
- Update @localazy/languages from ^0.1.6 to ^0.1.11
- Update @localazy/eslint-config from ^1.0.0-beta.2 to ^1.3.0
- Update @localazy/prettier-config from ^1.0.0-beta.2 to ^1.2.0
- Update @localazy/tsconfig from ^1.0.0-beta.4 to ^1.1.1
- Update @types/node from ^22.17.1 to ^22.18.0
- Update eslint from ^9.32.0 to ^9.34.0
- Update fetch-mock from ^12.5.3 to ^12.5.4
- Update unplugin-replace from ^0.2.1 to ^0.6.1
- Update vite from ^6.3.5 to ^7.1.3
- Update vite-plugin-node-polyfills from ^0.23.0 to ^0.24.0
* 🔧 chore: update configurations for ESLint, Prettier, and TypeScript
- Replace `.prettierrc.js` with `"prettier"` key in `package.json`
- Update `tsconfig.json` to use `tsconfig.package.json` and new compiler options
- Adjust ESLint config syntax for correct options import
* 🔧 chore(types): convert imports to `import type` where applicable
- Refactor all imports across types and test files to use `import type` for TypeScript type-only declarations.
- Replace `fs` import with `node:fs` for consistency.
* 💄 style(prettier): Fix formatting across the codebase
* ♻️ refactor(tests): Add `assertNotNull` utility for improved null handling
- Replace direct null/undefined checks with `assertNotNull` in test files.
- Ensure stricter type safety and add consistency across file and API tests.
- Add missing `assertNotNull` utility function under `@tests/support`.
* ♻️ refactor(imports): Use explicit `.js` extensions in all imports
- Enforce `.js` extension for both absolute and relative imports for better compatibility.
- Update ESLint to enforce `forceJsExtensions`.
- Remove unused `nodePolyfills` plugin in `vite.config.ts`.
* 🔧 chore(scripts): introduce Node.js test matrix and update workflows
- Add `scripts/node-test-matrix.sh` for running tests across Node.js versions (20, 22, 24).
- Update `.github/workflows/qa.yml` to utilize a Node.js version matrix in CI.
- Add new `test:matrix` script to `package.json` for local testing.
- Refine `package.json` by simplifying `files` and adding Node.js engine requirement.
* 🔧 chore: Update CI1 parent 1ae3dc1 commit 8c41e56
File tree
81 files changed
+3857
-705
lines changed- .github/workflows
- docs
- scripts
- src
- api
- methods
- http
- types
- utils
- tests
- fixtures
- empty-project
- full-project
- specs
- support
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
81 files changed
+3857
-705
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7 | 7 | | |
8 | 8 | | |
9 | 9 | | |
10 | | - | |
| 10 | + | |
11 | 11 | | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
13 | 17 | | |
14 | 18 | | |
15 | 19 | | |
16 | | - | |
| 20 | + | |
17 | 21 | | |
18 | 22 | | |
19 | | - | |
| 23 | + | |
20 | 24 | | |
21 | 25 | | |
22 | 26 | | |
23 | 27 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | 28 | | |
28 | 29 | | |
29 | 30 | | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
30 | 34 | | |
31 | 35 | | |
32 | 36 | | |
33 | | - | |
34 | | - | |
35 | | - | |
36 | 37 | | |
37 | 38 | | |
38 | 39 | | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
39 | 43 | | |
40 | | - | |
| 44 | + | |
41 | 45 | | |
This file was deleted.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
674 | 674 | | |
675 | 675 | | |
676 | 676 | | |
677 | | - | |
| 677 | + | |
| 678 | + | |
| 679 | + | |
| 680 | + | |
| 681 | + | |
| 682 | + | |
| 683 | + | |
678 | 684 | | |
679 | 685 | | |
680 | 686 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | | - | |
| 3 | + | |
| 4 | + | |
4 | 5 | | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
5 | 10 | | |
6 | 11 | | |
7 | 12 | | |
| |||
15 | 20 | | |
16 | 21 | | |
17 | 22 | | |
18 | | - | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
0 commit comments