* fix: resolve lint warnings/errors and apply formatting Fix 10 oxlint issues (2 errors, 8 warnings): - Remove unused catch parameters in Security.tsx and ImportDialog.tsx - Remove stray expression in Generator.tsx - Add eslint-disable for debounced useCallback in FilterControl.tsx - Remove unnecessary deps (resolveDB, store) in bindStoreToDevice.ts - Prefix unused variant param in AppSidebar.tsx - Memoize tabs arrays in DeviceConfig, RadioConfig, ModuleConfig - Fix channels type in RadioConfig TabItem Also applies oxfmt formatting across all files. * updating lock file * update protobuf package * fix: regenerate pnpm-lock.yaml and exclude jsr protobufs from minimumReleaseAge * prevented http card from always being polled * updated pnpm config fiile * updated actions * removed biome config and lint system leftovers * updating protobuf package
32 lines
831 B
TypeScript
32 lines
831 B
TypeScript
import { build, emptyDir } from "@deno/dnt";
|
|
|
|
await emptyDir("./npm");
|
|
|
|
await build({
|
|
entryPoints: ["./mod.ts"],
|
|
outDir: "./npm",
|
|
shims: {
|
|
// see JS docs for overview and more options
|
|
deno: true,
|
|
},
|
|
package: {
|
|
// package.json properties
|
|
name: "@meshtastic/transport-deno",
|
|
version: Deno.args[0],
|
|
description: "A Deno transport layer for your project, enabling seamless integration with npm.",
|
|
license: "GPL-3.0-only",
|
|
repository: {
|
|
type: "git",
|
|
url: "git+https://github.com/username/repo.git",
|
|
},
|
|
bugs: {
|
|
url: "https://github.com/meshtastic/web/issues",
|
|
},
|
|
},
|
|
postBuild() {
|
|
// steps to run after building and before running the tests
|
|
Deno.copyFileSync("../../LICENSE", "npm/LICENSE");
|
|
Deno.copyFileSync("README.md", "npm/README.md");
|
|
},
|
|
});
|