a post-component library for building user-interfaces on the web.

organize exports

tombl.dev f542a76d b34b5f5f

verified
+27 -7
+2 -4
.github/renovate.json
··· 1 1 { 2 - "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 - "extends": [ 4 - "config:recommended" 5 - ] 2 + "$schema": "https://docs.renovatebot.com/renovate-schema.json", 3 + "extends": ["config:recommended"] 6 4 }
+1 -1
examples/kanban/src/db/boards.ts
··· 1 - import type { Board, ID } from '.' 2 1 import type { App } from '~/app' 2 + import type { Board, ID } from '.' 3 3 import { unwrap } from './database' 4 4 5 5 export async function list(app: App) {
+1 -1
examples/kanban/src/pages/board/index.ts
··· 1 1 import type { PageContext } from '~/app' 2 - import { Board } from './board' 3 2 import type { ID } from '~/db' 3 + import { Board } from './board' 4 4 5 5 export default function Page(context: PageContext, params: { id: string }) { 6 6 return new Board(context.app, parseInt(params.id) as ID)
+18
package-lock.json
··· 19 19 "mitata": "^1.0.34", 20 20 "patch-package": "^8.0.0", 21 21 "prettier": "^3.5.3", 22 + "prettier-plugin-organize-imports": "^4.1.0", 22 23 "rolldown": "^1.0.0-beta.12", 23 24 "rolldown-plugin-dts": "^0.13.8", 24 25 "terser": "^5.41.0", ··· 1324 1325 }, 1325 1326 "funding": { 1326 1327 "url": "https://github.com/prettier/prettier?sponsor=1" 1328 + } 1329 + }, 1330 + "node_modules/prettier-plugin-organize-imports": { 1331 + "version": "4.1.0", 1332 + "resolved": "https://registry.npmjs.org/prettier-plugin-organize-imports/-/prettier-plugin-organize-imports-4.1.0.tgz", 1333 + "integrity": "sha512-5aWRdCgv645xaa58X8lOxzZoiHAldAPChljr/MT0crXVOWTZ+Svl4hIWlz+niYSlO6ikE5UXkN1JrRvIP2ut0A==", 1334 + "dev": true, 1335 + "license": "MIT", 1336 + "peerDependencies": { 1337 + "prettier": ">=2.0", 1338 + "typescript": ">=2.9", 1339 + "vue-tsc": "^2.1.0" 1340 + }, 1341 + "peerDependenciesMeta": { 1342 + "vue-tsc": { 1343 + "optional": true 1344 + } 1327 1345 } 1328 1346 }, 1329 1347 "node_modules/proxy-target": {
+4
package.json
··· 28 28 "mitata": "^1.0.34", 29 29 "patch-package": "^8.0.0", 30 30 "prettier": "^3.5.3", 31 + "prettier-plugin-organize-imports": "^4.1.0", 31 32 "rolldown": "^1.0.0-beta.12", 32 33 "rolldown-plugin-dts": "^0.13.8", 33 34 "terser": "^5.41.0", ··· 35 36 "zimmerframe": "^1.1.2" 36 37 }, 37 38 "prettier": { 39 + "plugins": [ 40 + "prettier-plugin-organize-imports" 41 + ], 38 42 "arrowParens": "avoid", 39 43 "printWidth": 120, 40 44 "semi": false,
+1 -1
src/client/tests/devtools.test.ts
··· 1 1 import { test } from 'bun:test' 2 - import assert from 'node:assert/strict' 3 2 import { html } from 'dhtml' 3 + import assert from 'node:assert/strict' 4 4 5 5 type JsonML = string | readonly [tag: string, attrs?: Record<string, any>, ...children: JsonML[]] 6 6 interface Formatter {