aboutsummaryrefslogtreecommitdiff
path: root/examples (follow)
AgeCommit message (Collapse)AuthorFilesLines
2023-08-25Automatically hot reload Bun.serve() (#4344)Gravatar Jarred Sumner 1-2/+2
* Automatically hot reload Bun.serve() * Update doc * Update example --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-08-07Fix `Bun.hash` functions (#4054)Gravatar jhmaster 1-9/+10
* fix `Bun.hash` functions to behave as expected * update Bun.hash tests * properly test the returned hash * include murmur32v2 * update Bun.hash docs * run fmt
2023-08-02FixGravatar Jarred Sumner 1-2/+2
2023-07-19Docs & types for 0.7 (#3665)Gravatar Colin McDonnell 1-0/+3
* Docs & types for 0.7 * Tweak * Update * Tweaks * Tweak * Tweaks --------- Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2023-07-19Bump version to Bun v0.7.0Gravatar Jarred Sumner 1-2/+2
2023-06-06Docs for `Bun.password` and ws publish (#3227)Gravatar Colin McDonnell 1-1/+2
* Update websocket docs & jsdoc * Document Bun.password * Update hash encoding docs * Fix typos * Add info about user-specific data in ws * Update outdated websocket jsdoc * Replace usages of req.url * Remove log
2023-03-22Fix types (#2453)Gravatar Colin McDonnell 4-3/+7
* WIP * WIP * WIP * WIP * Improve typechecking in type files * Fix typechecking * Update * Update submodule * CI for typechecking * Add ci * Update commands * Format after build * Dont use bunx * Rename job * Use nodemodules prettier * Update workflow * Use symlink * Debug * Debug * Clean up and rename jobs
2023-03-02Add a zig fmt action (#2277)Gravatar Jarred Sumner 15-164/+96
* Add a zig fmt action * add failing file * Setup prettier better * Update prettier-fmt.yml * Fail on error * Update prettier-fmt.yml * boop * boop2 * tar.gz * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * Update zig-fmt.yml * boop * Update prettier-fmt.yml * tag * newlines * multiline * fixup * Update zig-fmt.yml * update it * fixup * both * w * Update prettier-fmt.yml * prettier all the things * Update package.json * zig fmt * ❌ ✅ * bump * . * quotes * fix prettier ignore * once more * Update prettier-fmt.yml * Update fallback.ts * consistentcy --------- Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2023-02-17update `bun.lockb`s (#2101)Gravatar Alex Lam S.L 3-0/+0
2023-01-24Add FileSystemRouter + React example (#1894)Gravatar Sean Scally 7-0/+99
2023-01-19Create new example http-file-extended.ts (#1827)Gravatar Volodymyr Palamar 1-0/+76
New code sample with http Range and ETag support Some code is taken from here https://github.com/gornostay25/svelte-adapter-bun/blob/master/src/sirv.js
2022-12-28Implement `Bun.RIPEMD160`Gravatar Jarred Sumner 1-2/+13
`RIPEMD160` is used by node:crypto.
2022-12-09fix path string (#1597)Gravatar YuX 1-1/+1
2022-11-09Add bun-types, add typechecking, add `child_process` types (#1475)Gravatar Colin McDonnell 14-47/+51
* Add bun-types to packages * Improve typing * Fix types in tests * Fix dts tests * Run formatter * Fix all type errors * Add strict mode, fix type errors * Add ffi changes * Move workflows to root * Add workflows * Remove labeler * Add child_process types * Fix synthetic defaults issue * Remove docs * Move scripts * Run prettier * Include examples in typechecking * captureStackTrace types * moved captureStackTrace types to globals * Address reviews Co-authored-by: Colin McDonnell <colinmcd@alum.mit.edu> Co-authored-by: Dylan Conway <dylan.conway567@gmail.com>
2022-10-25TCP & TLS Socket API (#1374)Gravatar Jarred Sumner 1-0/+49
* TCP Socket API * Wip * Add snippet for StringDecoder * Rename `close` to `stop`, replace `close` with `end` * Add a tcp echo server test * Some docs * Update README.md * Fix build * Update README.md Co-authored-by: Jarred Sumner <709451+Jarred-Sumner@users.noreply.github.com>
2022-10-21Fix "/" in exampleGravatar Jarred Sumner 1-3/+10
2022-10-19Add websocket hot exampleGravatar Jarred Sumner 1-0/+89
2022-10-16Reflecting new home for bun templates (#1317)Gravatar Dennis Dudek 72-1630/+0
* Reflecting new home for bun templates https://github.com/bun-community/create-templates/ * templates now in root
2022-10-13Create http-request-body.tsGravatar Jarred Sumner 1-0/+16
2022-10-11Fixup exampleGravatar Jarred Sumner 1-15/+45
2022-09-26Make `Bun.spawn`, FileSink and FileBlobLoader a little more reliableGravatar Jarred Sumner 1-1/+1
2022-09-25:sleepy:Gravatar Jarred Sumner 1-0/+23
2022-09-03update example react-is to v18(#1155) (#1172)Gravatar tHyt-lab 1-2/+2
2022-08-08Update example Next app to 12.2 (#1033)Gravatar TiKevin83 1-2/+2
* Update bun-framework-next for version 12.2 * Match on minor version for next peer dependency per compatibility issues * Update example next app packages per 12.2 integration * Update next version warning per minor version compatibility changes Co-authored-by: Jarred Sumner <jarred@jarredsumner.com>
2022-07-31Fix/react accessibility (#932)Gravatar Charles F. Munat 2-5/+9
2022-07-24chore(examples/kingworld): Change bun-types to latest (#766)Gravatar Jochem Hagenaars 1-1/+1
* Bumped hono version number * Changed bun-types version * Bumped bun-types
2022-07-24chores(examples/hono): Refine Hono example (#773)Gravatar Yusuke Wada 4-4/+11
* fixed path * add favicon * Correct version: `^2.0.0` * remove wiptest command
2022-07-22Fix mistake in Next.js Example README.Gravatar Aaditey Nair 1-1/+1
2022-07-21docs(templates): Update README.md (#783)Gravatar Sakib Hasan 1-0/+8
Improvement reactjs example readme file, Added learning resources
2022-07-18added mystery-box example macro (#787)Gravatar SheetJSDev 1-0/+13
2022-07-18bump examplesGravatar Jarred Sumner 6-15/+15
2022-07-17Bumped hono version number (#746)Gravatar Jochem Hagenaars 1-3/+3
* Bumped hono version number * Changed bun-types version
2022-07-15docs: Added readme file for `blank template` (#727)Gravatar Foyzul Karim 1-0/+13
* Added readme file for blank template * Removed `Special note` section
2022-07-15fix(examples/bun-bakery): Create gitignore (#697)Gravatar Finn R. Gärtner 1-0/+42
2022-07-15template(kingworld): Add kingworld template (#708)Gravatar SaltyAom 7-0/+189
* feat(examples): add kingworld * fix(examples/kingworld): add .gitignore * fix(template/kingworld): rename .gitignore to gitignore * fix(template/kingworld): update to request change * fix(template/kingworld): update 'getting start' to 'Getting Started'
2022-07-15chores(template/react): Update to React 18 (#627)Gravatar Jonathan Rubin 4-15/+31
* Updated react example template * build:(landing) automated website build * removed bun.lockb and most of changes from react example index.html Co-authored-by: rubinj30 <rubinj30@users.noreply.github.com>
2022-07-14fix(templates/blank): Update bun types (#704)Gravatar Hyro 1-1/+1
2022-07-14fix(templates): Fix hono example template (#633)Gravatar YOSHIKI 2-3/+3
* Fix hono example template * Update package.json
2022-07-13docs: Add bun-bakery template (#649)Gravatar Dennis Dudek 6-0/+69
2022-07-12fix(examples/hono): Update package name (#620)Gravatar Finn R. Gärtner 1-1/+1
2022-07-12fix blank template (#523)Gravatar SheetJSDev 1-2/+2
2022-07-12docs: Hono example with typescript (#577)Gravatar Jesse-Lucas1996 4-0/+57
* hono example with typescript * changing of name in package json * adding dom to lib * removal of git ignore * removed DOM * Update examples/hono/src/index.ts Co-authored-by: Hyro <generalkubo@gmail.com> * changed port * added read me * Update index.ts * Update package.json * Update readme.md Co-authored-by: Hyro <generalkubo@gmail.com> Co-authored-by: Jesse Lucas <jlucas@corpcloud.com.au> Co-authored-by: Finn R. Gärtner <65015656+FinnRG@users.noreply.github.com>
2022-07-11Cleanup discord-interactions readme (#451)Gravatar CharlieS1103 1-1/+1
2022-07-11Updated typo in example (#573)Gravatar rml1997 1-2/+2
Changed deocder to decoder
2022-07-08Fix react example README typo.Gravatar Xing Yahao 1-2/+2
2022-07-08fix(templates/react): Add a SVG type definitionGravatar FinnRG 1-0/+4
2022-07-08use tsconfig from readmeGravatar Hyro 1-4/+8
2022-07-08add tsconfigGravatar xhyrom 2-1/+9
2022-07-08update hello worldGravatar Hyro 1-1/+1
2022-07-08new template blankGravatar xhyrom 2-0/+6