@aptre/common 0.34.1 → 0.34.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,7 +1,7 @@
1
1
  {
2
2
  "name": "@aptre/common",
3
3
  "description": "Common project configuration files and dependencies.",
4
- "version": "0.34.1",
4
+ "version": "0.34.3",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Aperture Robotics LLC.",
@@ -28,7 +28,8 @@
28
28
  },
29
29
  "files": [
30
30
  "!**/*.tsbuildinfo",
31
- "eslint.config.js",
31
+ ".oxlintrc.json",
32
+ ".oxfmtrc.json",
32
33
  ".gitignore",
33
34
  "dist",
34
35
  "go.mod",
@@ -47,11 +48,11 @@
47
48
  "codegen": "npm run gen",
48
49
  "ci": "npm run build && npm run lint:js && npm run lint:go",
49
50
  "format": "npm run format:go && npm run format:js && npm run format:config",
50
- "format:config": "prettier --write tsconfig.json package.json",
51
+ "format:config": "oxfmt tsconfig.json package.json .oxfmtrc.json .oxlintrc.json",
51
52
  "format:go": "npm run go:aptre -- format",
52
53
  "format:js": "npm run format:js:changed",
53
- "format:js:changed": "git diff --name-only --diff-filter=d HEAD | grep '\\(\\.ts\\|\\.tsx\\|\\.html\\|\\.css\\|\\.scss\\)$' | xargs -I {} prettier --write {}",
54
- "format:js:all": "prettier --write './!(vendor|dist)/**/(*.ts|*.tsx|*.js|*.html|*.css)'",
54
+ "format:js:changed": "git diff --name-only --diff-filter=d HEAD | grep '\\(\\.ts\\|\\.tsx\\|\\.html\\|\\.css\\|\\.scss\\)$' | xargs -I {} oxfmt {}",
55
+ "format:js:all": "oxfmt './**/*.{ts,tsx,js,html,css,scss}'",
55
56
  "gen": "rimraf ./.tools && go mod tidy && cd ./tools && go mod tidy && cd ../ && bash embed.bash && npm run format && npm run go:aptre:gen",
56
57
  "gen:force": "rimraf ./.tools && go mod tidy && cd ./tools && go mod tidy && cd ../ && bash embed.bash && npm run format && npm run go:aptre:gen --force",
57
58
  "go:aptre:gen": "go run github.com/aperturerobotics/common/cmd/aptre generate",
@@ -61,7 +62,7 @@
61
62
  "test:go": "npm run go:aptre -- test",
62
63
  "lint": "npm run lint:go && npm run lint:js",
63
64
  "lint:go": "npm run go:aptre -- lint",
64
- "lint:js": "eslint ./",
65
+ "lint:js": "oxlint .",
65
66
  "prepare": "go mod vendor && bash embed.bash",
66
67
  "release:version": "npm version patch -m \"release: v%s\" --no-git-tag-version",
67
68
  "release:version:minor": "npm version minor -m \"release: v%s\" --no-git-tag-version",
@@ -71,28 +72,21 @@
71
72
  "release:minor": "npm run release:version:minor && npm run release:commit"
72
73
  },
73
74
  "devDependencies": {
74
- "@eslint/js": "^10.0.1",
75
75
  "depcheck": "^1.4.6",
76
- "globals": "^17.6.0",
77
- "prettier": "^3.8.4",
76
+ "oxfmt": "0.61.0",
77
+ "oxlint": "^1.76.0",
78
78
  "rimraf": "^6.1.3",
79
- "typescript": "^6.0.3"
79
+ "typescript": "^7.0.0"
80
80
  },
81
81
  "dependencies": {
82
- "@aptre/protobuf-es-lite": "1.1.0",
83
- "@typescript-eslint/eslint-plugin": "^8.61.0",
84
- "@typescript-eslint/parser": "^8.61.0",
85
- "eslint": "^10.5.0",
86
- "eslint-config-prettier": "^10.0.0",
87
- "eslint-plugin-react-hooks": "^7.1.1",
88
- "eslint-plugin-unused-imports": "^4.4.1",
89
- "starpc": "^0.49.18",
90
- "vitest": "^4.1.8"
82
+ "@aptre/protobuf-es-lite": "1.1.1",
83
+ "starpc": "^0.49.20",
84
+ "vitest": "^4.1.10"
91
85
  },
92
86
  "resolutions": {
93
- "@aptre/protobuf-es-lite": "1.1.0"
87
+ "@aptre/protobuf-es-lite": "1.1.1"
94
88
  },
95
89
  "overrides": {
96
- "@aptre/protobuf-es-lite": "1.1.0"
90
+ "@aptre/protobuf-es-lite": "1.1.1"
97
91
  }
98
92
  }
package/eslint.config.js DELETED
@@ -1,41 +0,0 @@
1
- import eslint from '@eslint/js'
2
- import tseslint from '@typescript-eslint/eslint-plugin'
3
- import prettier from 'eslint-config-prettier'
4
- import reactHooks from 'eslint-plugin-react-hooks'
5
- import unusedImports from 'eslint-plugin-unused-imports'
6
- import globals from 'globals'
7
-
8
- export default [
9
- {
10
- ignores: [
11
- 'node_modules/**',
12
- 'dist/**',
13
- 'coverage/**',
14
- 'bundle/**',
15
- 'runtime/**',
16
- 'vendor/**',
17
- '**/wasm_exec.js',
18
- 'tailwind.config.js',
19
- '**/*.pb.ts',
20
- ],
21
- },
22
- eslint.configs.recommended,
23
- ...tseslint.configs['flat/recommended'],
24
- reactHooks.configs.flat.recommended,
25
- {
26
- languageOptions: {
27
- globals: {
28
- ...globals.node,
29
- ...globals.browser,
30
- },
31
- },
32
- plugins: {
33
- 'unused-imports': unusedImports,
34
- },
35
- rules: {
36
- '@typescript-eslint/explicit-module-boundary-types': 'off',
37
- '@typescript-eslint/no-non-null-assertion': 'off',
38
- },
39
- },
40
- prettier,
41
- ]