|
21 | 21 | }, |
22 | 22 | "scripts": { |
23 | 23 | "build": "tsc --project tsconfig.json --noEmit false --outDir ./dist/", |
24 | | - "check": "npm run typecheck", |
| 24 | + "check": "bun run typecheck", |
25 | 25 | "typecheck": "tsc --noEmit", |
26 | 26 | "deps": "depcheck --ignore-patterns=.eslintrc.cjs,package.json --ignores depcheck,prettier,typescript,rimraf,starpc,@aptre/common,@go/github.com,eslint,eslint-config-prettier,eslint-plugin-unused-imports,@typescript-eslint/eslint-plugin,@typescript-eslint/parser", |
27 | | - "codegen": "npm run gen", |
28 | | - "ci": "npm run build && npm run lint:js && npm run lint:go", |
29 | | - "format": "npm run format:js && npm run format:go && npm run format:config", |
| 27 | + "codegen": "bun run gen", |
| 28 | + "ci": "bun run build && npm run lint:js && npm run lint:go", |
| 29 | + "format": "bun run format:js && npm run format:go && npm run format:config", |
30 | 30 | "format:config": "prettier --write tsconfig.json package.json", |
31 | | - "format:js": "npm run format:js:changed", |
| 31 | + "format:js": "bun run format:js:changed", |
32 | 32 | "format:js:changed": "git diff --name-only --diff-filter=d HEAD | grep '\\(\\.ts\\|\\.tsx\\|\\.html\\|\\.css\\|\\.scss\\)$' | xargs -I {} prettier --write {}", |
33 | 33 | "format:js:all": "prettier --write './(*.ts|*.tsx|*.js|*.html|*.css)'", |
34 | | - "format:go": "make format", |
35 | | - "gen": "make genproto", |
36 | | - "test": "make test && npm run check", |
| 34 | + "format:go": "bun run go:aptre -- format", |
| 35 | + "gen": "bun run go:aptre -- generate", |
| 36 | + "gen:force": "bun run go:aptre -- generate --force", |
| 37 | + "test": "bun run go:aptre -- test && npm run check", |
37 | 38 | "test:js": "echo No JS tests.", |
38 | | - "demo": "make demo", |
39 | | - "lint": "npm run lint:go && npm run lint:js", |
40 | | - "lint:go": "make lint", |
| 39 | + "lint": "bun run lint:go && npm run lint:js", |
| 40 | + "lint:go": "bun run go:aptre -- lint", |
41 | 41 | "lint:js": "ESLINT_USE_FLAT_CONFIG=false eslint -c .eslintrc.cjs ./", |
42 | 42 | "prepare": "go mod vendor && rimraf ./.tools", |
43 | | - "precommit": "npm run format" |
| 43 | + "go:aptre": "go run -mod=mod github.com/aperturerobotics/common/cmd/aptre", |
| 44 | + "precommit": "bun run format" |
44 | 45 | }, |
45 | 46 | "prettier": { |
46 | 47 | "semi": false, |
47 | 48 | "singleQuote": true |
48 | 49 | }, |
49 | 50 | "devDependencies": { |
50 | | - "@aptre/common": "^0.22.0", |
| 51 | + "@aptre/common": "^0.30.3", |
51 | 52 | "@typescript-eslint/eslint-plugin": "^8.0.0", |
52 | 53 | "@typescript-eslint/parser": "^8.0.0", |
53 | 54 | "depcheck": "^1.4.6", |
54 | | - "eslint": "^9.4.0", |
| 55 | + "eslint": "^10.0.0", |
55 | 56 | "eslint-config-prettier": "^10.0.0", |
56 | 57 | "eslint-plugin-unused-imports": "^4.0.1", |
57 | 58 | "prettier": "^3.3.0", |
58 | 59 | "rimraf": "^6.0.0", |
59 | 60 | "typescript": "^5.4.5" |
60 | 61 | }, |
61 | 62 | "dependencies": { |
62 | | - "@aptre/protobuf-es-lite": "^0.5.2", |
63 | | - "starpc": "^0.39.0" |
| 63 | + "@aptre/protobuf-es-lite": "^1.0.1", |
| 64 | + "starpc": "^0.46.2" |
64 | 65 | }, |
65 | 66 | "resolutions": { |
66 | | - "@aptre/protobuf-es-lite": "^0.5.2" |
| 67 | + "@aptre/protobuf-es-lite": "^1.0.1" |
67 | 68 | } |
68 | 69 | } |
0 commit comments