Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 691 Bytes

File metadata and controls

24 lines (17 loc) · 691 Bytes

Default to using Bun instead of Node.js.

  • Use bun <file> instead of node <file> or ts-node <file>
  • Use bun test instead of jest or vitest
  • Use bun build src/index.ts --compile --outfile dist/dropbox-cli to build
  • Use bun install instead of npm install
  • Use bun run <script> instead of npm run <script>
  • Bun automatically loads .env, so don't use dotenv.

Testing

Use bun test to run tests.

import { test, expect } from "bun:test";

test("hello world", () => {
  expect(1).toBe(1);
});

Changelog

Update CHANGELOG.md when making user-facing changes. Add entries under ## Unreleased grouped by: Added, Fixed, Changed, Removed, Refactored.