From 38d5acbccfa44894b1a2b74a3e68ddb8a37ad239 Mon Sep 17 00:00:00 2001 From: Olivia Date: Tue, 22 Oct 2024 12:01:19 +0200 Subject: [PATCH] Remove dependencies, test out using bun --- .github/workflows/azure.yml | 9 +- bun.lockb | Bin 259786 -> 256705 bytes package-lock.json | 210 ++++++++++++++++-------------------- package.json | 9 +- 4 files changed, 101 insertions(+), 127 deletions(-) diff --git a/.github/workflows/azure.yml b/.github/workflows/azure.yml index 0ffeeada..995e72be 100644 --- a/.github/workflows/azure.yml +++ b/.github/workflows/azure.yml @@ -18,7 +18,11 @@ jobs: - uses: actions/setup-node@v3 with: node-version: 18 - - run: npm ci + - name: Use Bun + uses: oven-sh/setup-bun@v1 + - name: bun install, and start + run: | + bun install - name: Build And Deploy id: builddeploy uses: Azure/static-web-apps-deploy@v1 @@ -26,10 +30,9 @@ jobs: azure_static_web_apps_api_token: ${{ secrets.AZURE_STATIC_WEB_APPS_API_TOKEN_DELIGHTFUL_PEBBLE_09D5B2410 }} repo_token: ${{ secrets.GITHUB_TOKEN }} # Used for Github integrations (i.e. PR comments) action: 'upload' - app_build_command: 'npm run build:azure' + app_build_command: 'bun run build:azure' ###### Repository/Build Configurations - These values can be configured to match your app requirements. ###### # For more information regarding Static Web App workflow configurations, please visit: https://aka.ms/swaworkflowconfig app_location: '/' # App source code path - api_location: 'api' output_location: 'dist' # Built app content directory - optional ###### End of Repository/Build Configurations ###### diff --git a/bun.lockb b/bun.lockb index 593bd6dd4468267e4edf3995c633f691d2cd0593..88d7b87ec44abe924852ae268319c047c596daca 100755 GIT binary patch delta 14350 zcmeI3d3+Vs-Nq-AL=ps90*11M9fh)lEkGbFvLhfaELJuF3CNDfCfu+oOHpvtvC38f z0RhFL1Q#G70YV~#1W-hf!iS!&feTVB+Y^)iY`}Y5tMBBV~5t zrAS9<=Bj}SZlx(N&YW4^YaN%?YFM7*#5zve+nzs%*>mnpLP**((g$iPSEGT^Wr>$DY_VwZc61 zT7PFu#`*i(uW8fw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2Ptm(+D3O&4anE7xf@?so8@bzJ&b$Q>@!-HhcQ-NQJ}RiZ>;Q4w@I9NARVZoC6+fv z;9R9`DsS{qL;B!8Q5m~fyZ!V}QH`S}-9)9*h&#^QkrJ2x@zUqZAMi$o6!0+Z&x*#& zSta5VqhnId+Vw-m>UAAwwxMrBN7mPVYRx0!#*RoC8RMHUX2c+En2)h)Q^)DCSJr>) z?W>=kKvr)4taxBjLPApFKwL|{1BNCI9O64VC4PifYcTfroEejXw*JZU_1D4=8tVi+ z*PvdNEwhI>_1tN4{}F?H2c#s89v+htA3H`Hw!~P|{68@^d9H>p&$vG~9T1<`a9~2T zeIUx&uMO0y3=wTEjwPkaqXHv68EPt*7N)Gxl>yizzhr Ga{ULeJV&1Z diff --git a/package-lock.json b/package-lock.json index 3fba8b9b..69b7625f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -51,8 +51,6 @@ "@vitejs/plugin-react": "^3.1.0", "concurrently": "^7.6.0", "husky": "^8.0.3", - "ts-node": "^10.9.1", - "ts-prune": "^0.10.3", "typescript": "^5.6.2", "vite": "^4.1.4", "vite-plugin-html": "^3.2.0" @@ -1774,6 +1772,8 @@ }, "node_modules/@cspotcode/source-map-support": { "version": "0.8.1", + "resolved": "https://registry.npmjs.org/@cspotcode/source-map-support/-/source-map-support-0.8.1.tgz", + "integrity": "sha512-IchNf6dN4tHoMFIn/7OE8LWZ19Y6q/67Bmf6vnGREv8RSbBVb9LPJxEcnwrcwX6ixSvaiGoomAUvu4YSxXrVgw==", "license": "MIT", "dependencies": { "@jridgewell/trace-mapping": "0.3.9" @@ -1782,14 +1782,6 @@ "node": ">=12" } }, - "node_modules/@cspotcode/source-map-support/node_modules/@jridgewell/trace-mapping": { - "version": "0.3.9", - "license": "MIT", - "dependencies": { - "@jridgewell/resolve-uri": "^3.0.3", - "@jridgewell/sourcemap-codec": "^1.4.10" - } - }, "node_modules/@emotion/babel-plugin": { "version": "11.10.5", "license": "MIT", @@ -2053,6 +2045,16 @@ "version": "1.4.14", "license": "MIT" }, + "node_modules/@jridgewell/trace-mapping": { + "version": "0.3.9", + "resolved": "https://registry.npmjs.org/@jridgewell/trace-mapping/-/trace-mapping-0.3.9.tgz", + "integrity": "sha512-3Belt6tdc8bPgAtbcmdtNJlirVoTmEb5e2gC94PnkwEW9jI6CAHUeoG85tjWP5WquqfavoMtMwiG4P926ZKKuQ==", + "license": "MIT", + "dependencies": { + "@jridgewell/resolve-uri": "^3.0.3", + "@jridgewell/sourcemap-codec": "^1.4.10" + } + }, "node_modules/@juggle/resize-observer": { "version": "3.4.0", "license": "Apache-2.0" @@ -2598,31 +2600,28 @@ "typescript-json-validator": "2.4.2" } }, - "node_modules/@ts-morph/common": { - "version": "0.12.3", - "dev": true, - "license": "MIT", - "dependencies": { - "fast-glob": "^3.2.7", - "minimatch": "^3.0.4", - "mkdirp": "^1.0.4", - "path-browserify": "^1.0.1" - } - }, "node_modules/@tsconfig/node10": { - "version": "1.0.9", + "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node10/-/node10-1.0.11.tgz", + "integrity": "sha512-DcRjDCujK/kCk/cUe8Xz8ZSpm8mS3mNNpta+jGCA6USEDfktlNvm1+IuZ9eTcDbNk41BHwpHHeW+N1lKCz4zOw==", "license": "MIT" }, "node_modules/@tsconfig/node12": { "version": "1.0.11", + "resolved": "https://registry.npmjs.org/@tsconfig/node12/-/node12-1.0.11.tgz", + "integrity": "sha512-cqefuRsh12pWyGsIoBKJA9luFu3mRxCA+ORZvA4ktLSzIuCUtWVxGIuXigEwO5/ywWFMZ2QEGKWvkZG1zDMTag==", "license": "MIT" }, "node_modules/@tsconfig/node14": { "version": "1.0.3", + "resolved": "https://registry.npmjs.org/@tsconfig/node14/-/node14-1.0.3.tgz", + "integrity": "sha512-ysT8mhdixWK6Hw3i1V2AeRqZ5WfXg1G43mqoYlM2nc6388Fq5jcXyr5mRsqViLx/GJYdoL0bfXD8nmF+Zn/Iow==", "license": "MIT" }, "node_modules/@tsconfig/node16": { - "version": "1.0.3", + "version": "1.0.4", + "resolved": "https://registry.npmjs.org/@tsconfig/node16/-/node16-1.0.4.tgz", + "integrity": "sha512-vxhUy4J8lyeyinH7Azl1pdd43GJhZH/tP2weN8TntQblOY+A0XbT8DJk1/oCPuOOyg/Ja757rG0CgHcWC8OfMA==", "license": "MIT" }, "node_modules/@tweenjs/tween.js": { @@ -2656,7 +2655,9 @@ "license": "MIT" }, "node_modules/@types/fs-extra": { - "version": "11.0.1", + "version": "11.0.4", + "resolved": "https://registry.npmjs.org/@types/fs-extra/-/fs-extra-11.0.4.tgz", + "integrity": "sha512-yTbItCNreRooED33qjunPthRcSjERP1r4MqCZc7wv0u2sUkzTFp45tgUfS5+r7FrZPdmCCNflLhVSP/o+SemsQ==", "license": "MIT", "dependencies": { "@types/jsonfile": "*", @@ -2665,16 +2666,14 @@ }, "node_modules/@types/glob": { "version": "8.1.0", + "resolved": "https://registry.npmjs.org/@types/glob/-/glob-8.1.0.tgz", + "integrity": "sha512-IO+MJPVhoqz+28h1qLAcBEH2+xHMK6MTyHJc7MTnnYb6wsoLR29POVGJ7LycmVXIqyy/4/2ShP5sUwTXuOwb/w==", "license": "MIT", "dependencies": { "@types/minimatch": "^5.1.2", "@types/node": "*" } }, - "node_modules/@types/glob/node_modules/@types/minimatch": { - "version": "5.1.2", - "license": "MIT" - }, "node_modules/@types/hoist-non-react-statics": { "version": "3.3.1", "license": "MIT", @@ -2688,7 +2687,9 @@ "license": "MIT" }, "node_modules/@types/jsonfile": { - "version": "6.1.1", + "version": "6.1.4", + "resolved": "https://registry.npmjs.org/@types/jsonfile/-/jsonfile-6.1.4.tgz", + "integrity": "sha512-D5qGUYwjvnNNextdU59/+fI+spnwtTFmyQP0h+PfIOSkNfpU6AOICUOkm4i0OnSk+NyjdPJrxCDro0sJsWlRpQ==", "license": "MIT", "dependencies": { "@types/node": "*" @@ -2715,6 +2716,12 @@ "@types/lodash": "*" } }, + "node_modules/@types/minimatch": { + "version": "5.1.2", + "resolved": "https://registry.npmjs.org/@types/minimatch/-/minimatch-5.1.2.tgz", + "integrity": "sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==", + "license": "MIT" + }, "node_modules/@types/node": { "version": "18.11.9", "license": "MIT" @@ -2769,6 +2776,8 @@ }, "node_modules/@types/rimraf": { "version": "3.0.2", + "resolved": "https://registry.npmjs.org/@types/rimraf/-/rimraf-3.0.2.tgz", + "integrity": "sha512-F3OznnSLAUxFrCEu/L5PY8+ny8DtcFRjx7fZZ9bycvXRi3KPTRS9HOitGZwvPg0juRhXFWIeKX58cnX5YqLohQ==", "license": "MIT", "dependencies": { "@types/glob": "*", @@ -2883,7 +2892,9 @@ } }, "node_modules/acorn": { - "version": "8.8.1", + "version": "8.13.0", + "resolved": "https://registry.npmjs.org/acorn/-/acorn-8.13.0.tgz", + "integrity": "sha512-8zSiw54Oxrdym50NlZ9sUusyO1Z1ZchgRLWRaK6c86XJFClyCgFKetdowBg5bKxyp/u+CDBJG4Mpp0m3HLZl9w==", "license": "MIT", "bin": { "acorn": "bin/acorn" @@ -2892,6 +2903,18 @@ "node": ">=0.4.0" } }, + "node_modules/acorn-walk": { + "version": "8.3.4", + "resolved": "https://registry.npmjs.org/acorn-walk/-/acorn-walk-8.3.4.tgz", + "integrity": "sha512-ueEepnujpqee2o5aIYnvHU6C0A42MNdsIDeqy5BydrkuC5R1ZuUFnm27EeFJGoEHJQgn3uleRvmTXaJgfXbt4g==", + "license": "MIT", + "dependencies": { + "acorn": "^8.11.0" + }, + "engines": { + "node": ">=0.4.0" + } + }, "node_modules/ajv": { "version": "6.12.6", "license": "MIT", @@ -2928,6 +2951,8 @@ }, "node_modules/arg": { "version": "4.1.3", + "resolved": "https://registry.npmjs.org/arg/-/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", "license": "MIT" }, "node_modules/babel-plugin-macros": { @@ -3223,11 +3248,6 @@ "url": "https://github.com/chalk/wrap-ansi?sponsor=1" } }, - "node_modules/code-block-writer": { - "version": "11.0.3", - "dev": true, - "license": "MIT" - }, "node_modules/colorette": { "version": "2.0.19", "dev": true, @@ -3389,6 +3409,8 @@ }, "node_modules/create-require": { "version": "1.1.1", + "resolved": "https://registry.npmjs.org/create-require/-/create-require-1.1.1.tgz", + "integrity": "sha512-dcKFX3jn0MpIaXjisoRvexIJVEKzaq7z2rZKxf+MSr9TkdmHmsU4m2lcLojrj/FHl8mk5VxMmYA+ftRkP/3oKQ==", "license": "MIT" }, "node_modules/cross-env": { @@ -3525,6 +3547,15 @@ "webgl-constants": "^1.1.1" } }, + "node_modules/diff": { + "version": "4.0.2", + "resolved": "https://registry.npmjs.org/diff/-/diff-4.0.2.tgz", + "integrity": "sha512-58lmxKSA4BNyLz+HHMUzlOEpg09FV+ev6ZMe3vJihgdxzgcwZ8VoEEPmALCZG9LmqfVoNMMKpttIYTVG6uDY7A==", + "license": "BSD-3-Clause", + "engines": { + "node": ">=0.3.1" + } + }, "node_modules/dom-helpers": { "version": "5.2.1", "license": "MIT", @@ -3797,6 +3828,20 @@ "version": "1.1.0", "license": "MIT" }, + "node_modules/fs-extra": { + "version": "11.2.0", + "resolved": "https://registry.npmjs.org/fs-extra/-/fs-extra-11.2.0.tgz", + "integrity": "sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==", + "license": "MIT", + "dependencies": { + "graceful-fs": "^4.2.0", + "jsonfile": "^6.0.1", + "universalify": "^2.0.0" + }, + "engines": { + "node": ">=14.14" + } + }, "node_modules/fs-readdir-recursive": { "version": "1.1.0", "license": "MIT" @@ -4359,6 +4404,8 @@ }, "node_modules/make-error": { "version": "1.3.6", + "resolved": "https://registry.npmjs.org/make-error/-/make-error-1.3.6.tgz", + "integrity": "sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw==", "license": "ISC" }, "node_modules/memoize-one": { @@ -4406,17 +4453,6 @@ "node": "*" } }, - "node_modules/mkdirp": { - "version": "1.0.4", - "dev": true, - "license": "MIT", - "bin": { - "mkdirp": "bin/cmd.js" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/ms": { "version": "2.1.2", "license": "MIT" @@ -4541,11 +4577,6 @@ "tslib": "^2.0.3" } }, - "node_modules/path-browserify": { - "version": "1.0.1", - "dev": true, - "license": "MIT" - }, "node_modules/path-is-absolute": { "version": "1.0.1", "license": "MIT", @@ -5293,25 +5324,10 @@ "version": "0.49.0", "license": "MIT" }, - "node_modules/true-myth": { - "version": "4.1.1", - "dev": true, - "license": "MIT", - "engines": { - "node": "10.* || >= 12.*" - } - }, - "node_modules/ts-morph": { - "version": "13.0.3", - "dev": true, - "license": "MIT", - "dependencies": { - "@ts-morph/common": "~0.12.3", - "code-block-writer": "^11.0.0" - } - }, "node_modules/ts-node": { "version": "10.9.1", + "resolved": "https://registry.npmjs.org/ts-node/-/ts-node-10.9.1.tgz", + "integrity": "sha512-NtVysVPkxxrwFGUUxGYhfux8k78pQB3JqYBXlLRZgdGUqTO5wU/UyHop5p70iEbGhB7q5KmiZiU0Y3KlJrScEw==", "license": "MIT", "dependencies": { "@cspotcode/source-map-support": "^0.8.0", @@ -5351,44 +5367,6 @@ } } }, - "node_modules/ts-node/node_modules/acorn-walk": { - "version": "8.2.0", - "license": "MIT", - "engines": { - "node": ">=0.4.0" - } - }, - "node_modules/ts-node/node_modules/diff": { - "version": "4.0.2", - "license": "BSD-3-Clause", - "engines": { - "node": ">=0.3.1" - } - }, - "node_modules/ts-prune": { - "version": "0.10.3", - "dev": true, - "license": "MIT", - "dependencies": { - "commander": "^6.2.1", - "cosmiconfig": "^7.0.1", - "json5": "^2.1.3", - "lodash": "^4.17.21", - "true-myth": "^4.1.0", - "ts-morph": "^13.0.1" - }, - "bin": { - "ts-prune": "lib/index.js" - } - }, - "node_modules/ts-prune/node_modules/commander": { - "version": "6.2.1", - "dev": true, - "license": "MIT", - "engines": { - "node": ">= 6" - } - }, "node_modules/tsconfig-loader": { "version": "1.1.0", "license": "MIT", @@ -6094,6 +6072,8 @@ }, "node_modules/v8-compile-cache-lib": { "version": "3.0.1", + "resolved": "https://registry.npmjs.org/v8-compile-cache-lib/-/v8-compile-cache-lib-3.0.1.tgz", + "integrity": "sha512-wa7YjyUGfNZngI/vtK0UHAN+lgDCxBPCylVXGp0zu59Fz5aiGtNXaq3DhIov063MorB+VfufLh3JlF2KdTK3xg==", "license": "MIT" }, "node_modules/via-keyboards": { @@ -6114,24 +6094,16 @@ "via-keyboards": "bin/cli.js" } }, - "node_modules/via-keyboards/node_modules/fs-extra": { - "version": "11.1.0", - "license": "MIT", - "dependencies": { - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - }, - "engines": { - "node": ">=14.14" - } - }, "node_modules/via-keyboards/node_modules/json-stringify-pretty-compact": { "version": "3.0.0", + "resolved": "https://registry.npmjs.org/json-stringify-pretty-compact/-/json-stringify-pretty-compact-3.0.0.tgz", + "integrity": "sha512-Rc2suX5meI0S3bfdZuA7JMFBGkJ875ApfVyq2WHELjBiiG22My/l7/8zPpH/CfFVQHuVLd8NLR0nv6vi0BYYKA==", "license": "MIT" }, "node_modules/via-keyboards/node_modules/typescript": { "version": "4.9.5", + "resolved": "https://registry.npmjs.org/typescript/-/typescript-4.9.5.tgz", + "integrity": "sha512-1FXk9E2Hm+QzZQ7z+McJiHL4NW1F2EzMu9Nq9i3zAaGqibafqYwCVU6WyWAuyQRRzOlxou8xZSyXLEN8oKj24g==", "license": "Apache-2.0", "bin": { "tsc": "bin/tsc", @@ -6350,6 +6322,8 @@ }, "node_modules/yn": { "version": "3.1.1", + "resolved": "https://registry.npmjs.org/yn/-/yn-3.1.1.tgz", + "integrity": "sha512-Ux4ygGWsu2c7isFWe8Yu1YluJmqVhxqK2cLXNQA5AcC3QfbGNpM7fu0Y8b/z16pXLnFxZYvWhd3fhBY9DLmC6Q==", "license": "MIT", "engines": { "node": ">=6" diff --git a/package.json b/package.json index f00715be..87563640 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,12 @@ { "license": "GPL-3.0", "scripts": { - "start": "concurrently --names \"vite,azure-fn-dev\" -c \"bgBlue,bgMagenta\" \"npm run dev\" \"npm --prefix api start\"", "dev": "node scripts/build-definitions.js && vite --force", - "build": "npm run build:kbs && tsc && vite build", + "build": "bun run build:kbs && tsc && vite build", "format": "prettier --write \"src/**/*.{js,jsx,ts,tsx}\"", "lint": "prettier --check \"src/**/*.{js,jsx,ts,tsx}\"", - "refresh-kbs": "npm uninstall --force via-keyboards && npm install --force github:the-via/keyboards", - "build:azure": "npm run refresh-kbs && npm run build", + "refresh-kbs": "bun uninstall --force via-keyboards && bun install --force github:the-via/keyboards", + "build:azure": "bun run refresh-kbs && bun run build", "preview": "vite preview", "build:kbs": "via-keyboards public/definitions", "find-deadcode": "ts-prune" @@ -61,8 +60,6 @@ "@vitejs/plugin-react": "^3.1.0", "concurrently": "^7.6.0", "husky": "^8.0.3", - "ts-node": "^10.9.1", - "ts-prune": "^0.10.3", "typescript": "^5.6.2", "vite": "^4.1.4", "vite-plugin-html": "^3.2.0"