chore: migrate to esm (#334)

* chore: update unit tests

* fix: follow latest action template

* chore: add licenses and workflows

* chore: remove bloat

* chore: fix linter
This commit is contained in:
Han Qiao
2025-07-23 15:04:43 +08:00
committed by GitHub
parent 6c3c96bfbe
commit b60b5899c7
48 changed files with 40108 additions and 32534 deletions

View File

@@ -1,7 +1,7 @@
import {exec} from 'child_process'
import { exec } from 'child_process'
import os from 'os'
import lt from 'semver/functions/lt'
import {promisify} from 'util'
import { lt } from 'semver'
import { promisify } from 'util'
const doExec = promisify(exec)
@@ -37,7 +37,7 @@ export const getDownloadUrl = async (version: string): Promise<string> => {
}
export const determineInstalledVersion = async (): Promise<string> => {
const {stdout} = await doExec('supabase --version')
const { stdout } = await doExec('supabase --version')
const version = stdout.trim()
if (!version) {