@aptre/common 0.30.3 → 0.30.4

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.
@@ -1,6 +1,5 @@
1
1
  // @generated by protoc-gen-es-lite unknown with parameter "ts_nocheck=false,target=ts"
2
2
  // @generated from file github.com/aperturerobotics/common/example/example.proto (package example, syntax proto3)
3
- /* eslint-disable */
4
3
  import { OtherMsg } from './other/other.pb.js';
5
4
  import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite';
6
5
  export const protobufPackage = 'example';
@@ -1,6 +1,5 @@
1
1
  // @generated by protoc-gen-es-starpc none with parameter "target=ts,ts_nocheck=false"
2
2
  // @generated from file github.com/aperturerobotics/common/example/example.proto (package example, syntax proto3)
3
- /* eslint-disable */
4
3
  import { EchoMsg } from './example.pb.js';
5
4
  import { MethodKind } from '@aptre/protobuf-es-lite';
6
5
  /**
@@ -1,6 +1,5 @@
1
1
  // @generated by protoc-gen-es-lite unknown with parameter "ts_nocheck=false,target=ts"
2
2
  // @generated from file github.com/aperturerobotics/common/example/other/other.proto (package example.other, syntax proto3)
3
- /* eslint-disable */
4
3
  import { createMessageType, ScalarType } from '@aptre/protobuf-es-lite';
5
4
  export const protobufPackage = 'example.other';
6
5
  // OtherMsg contains the message type declaration for OtherMsg.
@@ -0,0 +1,41 @@
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
+ ]
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.30.3",
4
+ "version": "0.30.4",
5
5
  "license": "MIT",
6
6
  "author": {
7
7
  "name": "Aperture Robotics LLC.",
@@ -28,7 +28,7 @@
28
28
  },
29
29
  "files": [
30
30
  "!**/*.tsbuildinfo",
31
- ".eslintrc.cjs",
31
+ "eslint.config.js",
32
32
  ".gitignore",
33
33
  "dist",
34
34
  "go.mod",
@@ -61,7 +61,7 @@
61
61
  "test:go": "npm run go:aptre -- test",
62
62
  "lint": "npm run lint:go && npm run lint:js",
63
63
  "lint:go": "npm run go:aptre -- lint",
64
- "lint:js": "ESLINT_USE_FLAT_CONFIG=false eslint -c .eslintrc.cjs ./",
64
+ "lint:js": "eslint ./",
65
65
  "prepare": "go mod vendor && bash embed.bash",
66
66
  "release:version": "npm version patch -m \"release: v%s\" --no-git-tag-version",
67
67
  "release:version:minor": "npm version minor -m \"release: v%s\" --no-git-tag-version",
@@ -77,7 +77,7 @@
77
77
  "typescript": "^5.7.2"
78
78
  },
79
79
  "dependencies": {
80
- "@aptre/protobuf-es-lite": "^0.5.3",
80
+ "@aptre/protobuf-es-lite": "^1.0.1",
81
81
  "@typescript-eslint/eslint-plugin": "^8.55.0",
82
82
  "@typescript-eslint/parser": "^8.55.0",
83
83
  "eslint": "^10.0.0",
@@ -88,9 +88,9 @@
88
88
  "vitest": "^4.0.0"
89
89
  },
90
90
  "peerDependencies": {
91
- "@aptre/protobuf-es-lite": "^0.5.3"
91
+ "@aptre/protobuf-es-lite": "^1.0.1"
92
92
  },
93
93
  "resolutions": {
94
- "@aptre/protobuf-es-lite": "0.5.3"
94
+ "@aptre/protobuf-es-lite": "1.0.1"
95
95
  }
96
96
  }
package/.eslintrc.cjs DELETED
@@ -1,29 +0,0 @@
1
- module.exports = {
2
- root: true,
3
- parser: '@typescript-eslint/parser',
4
- plugins: ['@typescript-eslint', 'unused-imports'],
5
- extends: [
6
- 'eslint:recommended',
7
- 'plugin:@typescript-eslint/recommended',
8
- 'plugin:react-hooks/recommended',
9
- 'prettier',
10
- ],
11
- parserOptions: {
12
- project: './tsconfig.json',
13
- },
14
- rules: {
15
- '@typescript-eslint/explicit-module-boundary-types': 'off',
16
- '@typescript-eslint/no-non-null-assertion': 'off',
17
- },
18
- ignorePatterns: [
19
- "node_modules",
20
- "dist",
21
- "coverage",
22
- "bundle",
23
- "runtime",
24
- "vendor",
25
- ".eslintrc.js",
26
- "wasm_exec.js",
27
- "tailwind.config.js"
28
- ]
29
- }