MIRROR: javascript for ๐Ÿœ's, a tiny runtime with big ambitions
1
fork

Configure Feed

Select the types of activity you want to include in your feed.

migrate to nix flake

+95 -10
examples/npm/elysia/ant.lockb

This is a binary file and will not be displayed.

+3
examples/npm/elysia/index.ts
··· 1 + import { Elysia } from 'elysia'; 2 + 3 + export default new Elysia().get('/', () => 'Hello Elysia!!');
+13
examples/npm/elysia/package.json
··· 1 + { 2 + "name": "elysia", 3 + "version": "1.0.0", 4 + "type": "module", 5 + "main": "index.ts", 6 + "scripts": { 7 + "start": "ant index.ts" 8 + }, 9 + "dependencies": { 10 + "elysia": "^1.4.28" 11 + }, 12 + "devDependencies": {} 13 + }
+61
flake.lock
··· 1 + { 2 + "nodes": { 3 + "flake-utils": { 4 + "inputs": { 5 + "systems": "systems" 6 + }, 7 + "locked": { 8 + "lastModified": 1731533236, 9 + "narHash": "sha256-l0KFg5HjrsfsO/JpG+r7fRrqm12kzFHyUHqHCVpMMbI=", 10 + "owner": "numtide", 11 + "repo": "flake-utils", 12 + "rev": "11707dc2f618dd54ca8739b309ec4fc024de578b", 13 + "type": "github" 14 + }, 15 + "original": { 16 + "owner": "numtide", 17 + "repo": "flake-utils", 18 + "type": "github" 19 + } 20 + }, 21 + "nixpkgs": { 22 + "locked": { 23 + "lastModified": 1774273680, 24 + "narHash": "sha256-a++tZ1RQsDb1I0NHrFwdGuRlR5TORvCEUksM459wKUA=", 25 + "owner": "NixOS", 26 + "repo": "nixpkgs", 27 + "rev": "fdc7b8f7b30fdbedec91b71ed82f36e1637483ed", 28 + "type": "github" 29 + }, 30 + "original": { 31 + "owner": "NixOS", 32 + "ref": "nixpkgs-unstable", 33 + "repo": "nixpkgs", 34 + "type": "github" 35 + } 36 + }, 37 + "root": { 38 + "inputs": { 39 + "flake-utils": "flake-utils", 40 + "nixpkgs": "nixpkgs" 41 + } 42 + }, 43 + "systems": { 44 + "locked": { 45 + "lastModified": 1681028828, 46 + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", 47 + "owner": "nix-systems", 48 + "repo": "default", 49 + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", 50 + "type": "github" 51 + }, 52 + "original": { 53 + "owner": "nix-systems", 54 + "repo": "default", 55 + "type": "github" 56 + } 57 + } 58 + }, 59 + "root": "root", 60 + "version": 7 61 + }
+18
flake.nix
··· 1 + { description = "ant dev shell"; 2 + 3 + inputs = { 4 + nixpkgs.url = "github:NixOS/nixpkgs/nixpkgs-unstable"; 5 + flake-utils.url = "github:numtide/flake-utils"; 6 + }; 7 + 8 + outputs = { self, nixpkgs, flake-utils }: flake-utils.lib.eachDefaultSystem (system: 9 + let pkgs = nixpkgs.legacyPackages.${system}; in { 10 + devShells.default = pkgs.mkShell { 11 + packages = with pkgs; [ pkg-config libossp_uuid libsodium openssl ]; 12 + 13 + shellHook = '' 14 + export CC="ccache clang" 15 + export MACOSX_DEPLOYMENT_TARGET="15.0" 16 + ''; 17 + }; 18 + }); }
-10
shell.nix
··· 1 - { pkgs ? import <nixpkgs> {} }: 2 - 3 - pkgs.mkShell { 4 - packages = with pkgs; [ pkg-config libsodium libossp_uuid openssl.dev]; 5 - 6 - shellHook = '' 7 - export CC="ccache clang" 8 - export MACOSX_DEPLOYMENT_TARGET="15.0" 9 - ''; 10 - }