Skip to content

chore(pkg): Migrate To Bun as a runtime - #47

Open
esatterwhite wants to merge 9 commits into
mainfrom
esatterwhite/bun-refactor
Open

esatterwhite wants to merge 9 commits into
mainfrom
esatterwhite/bun-refactor

Conversation

@esatterwhite

Copy link
Copy Markdown
Collaborator

Deno announced they are stopping active development on the run time aster being acquired by cloudflare.
This means that project is effectively dead and we shouldn't be depending on it anymore.
This change migrates the project to bun which is actively supported by major companies. A safer bet

updates the cliffy command package to the latest to pickup the stable
version, bugfixes and performance updates
Deno is end of life effectively as the development team has been
acquired by cloudflare, and is no longer developing the run time.
This effort replaces the project baseline run time with bun
the ports the deno kv storage to a self managed sqlite table with
encoding and ttl fields. Additionaly the migration traking is moved from
the pragma field to a table because using the pragm would break
everything if someone switched between versions of the cli attempting to
reference a migration that doesn't exist

BREAKING CHANGE: configuration ported to new kv table
BREAKING CHANGE: configuration ttl is now a filter
BREAKING CHANGE: migration versions moved to table
There were several direct interfaces with the Deno object which no
longer exist in bun. This updates the core package to work with bun.

Additionally, removes the vendored chrono package and removes the log
package which was very seldom used. the pprint function was absorbed by
core, which is used by search / tail
re-implement the build process that was deno specific to something that
will work with bun
this is the command that alows account context switching for enterprise
accounts
this updates the signing script and smoke tests
so the signing and notarizing only happens on the main build
Thise removes any remaining references to deno or deno related things.
package files, manifests, globals etc
there was a duplication of an example. this correct the incorrect output
example duplication of json
@esatterwhite

Copy link
Copy Markdown
Collaborator Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant