fix(build): fix ESM support in Node.js / use `esbuild` (#631)
Before adoption: this commit came in with the history the project adopted, so no landing records it.
* fix(build): fix ESM support in Node.js / use `esbuild` * add tsx * denoify ignore
authored by Yusuke Wada · committed by GitHub · parent d8da569 · Browse files · 12 files·+373 added−124 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
12 files+373 added−124 removed
- other:+373 added−124 removed
Provenance
- Commit
ca52dd8- Tree
e6fa698- Author
Yusuke Wada <yusuke@kamawada.com>- Committer
GitHub <noreply@github.com>- Parent
d8da569
12 files changed+373 added−124 removed
deleted:deno_dist/middleware/serve-static/module.mts-16 removed
12345678910111213141516// eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignore// For ES module modeimport manifest from '__STATIC_CONTENT_MANIFEST'import type { ServeStaticOptions } from './serve-static'import { serveStatic } from './serve-static'
const module = (options: ServeStaticOptions = { root: '' }) => { return serveStatic({ root: options.root, path: options.path, manifest: options.manifest ? options.manifest : manifest, })}
export { module as serveStatic }modified:deno_dist/utils/encode.ts+1 added-1 removed
11234572 unmodified linesimport { Buffer } from "https://deno.land/std@0.160.0/node/buffer.ts";import { Buffer } from "https://deno.land/std@0.161.0/node/buffer.ts";export const encodeBase64 = (str: string): string => { if (str === null) { throw new TypeError('1st argument of "encodeBase64" should not be null.') }72 unmodified linesdeleted:src/middleware/serve-static/module.mts-16 removed
12345678910111213141516// eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignore// For ES module modeimport manifest from '__STATIC_CONTENT_MANIFEST'import type { ServeStaticOptions } from './serve-static'import { serveStatic } from './serve-static'
const module = (options: ServeStaticOptions = { root: '' }) => { return serveStatic({ root: options.root, path: options.path, manifest: options.manifest ? options.manifest : manifest, })}
export { module as serveStatic }added:src/middleware/serve-static/module.ts+17 added
1234567891011121314151617// @denoify-ignore// eslint-disable-next-line @typescript-eslint/ban-ts-comment// @ts-ignore// For ES module modeimport manifest from '__STATIC_CONTENT_MANIFEST'import type { ServeStaticOptions } from './serve-static'import { serveStatic } from './serve-static'
const module = (options: ServeStaticOptions = { root: '' }) => { return serveStatic({ root: options.root, path: options.path, manifest: options.manifest ? options.manifest : manifest, })}
export { module as serveStatic }added:.eslintrc.cjs+60 added
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({ root: true, extends: [ 'eslint:recommended', 'plugin:node/recommended', 'plugin:@typescript-eslint/recommended', 'prettier', ], parser: '@typescript-eslint/parser', parserOptions: { sourceType: 'module', ecmaVersion: 2021, }, plugins: ['@typescript-eslint', 'import'], globals: { fetch: false, Response: false, Request: false, addEventListener: false, }, rules: { quotes: ['error', 'single'], semi: ['error', 'never'], 'no-debugger': ['error'], 'no-empty': ['warn', { allowEmptyCatch: true }], 'no-process-exit': 'off', 'no-useless-escape': 'off', 'prefer-const': [ 'warn', { destructuring: 'all', }, ], '@typescript-eslint/ban-types': [ 'error', { types: { Function: false, }, }, ], 'sort-imports': 0, 'import/order': [2, { alphabetize: { order: 'asc' } }],
'node/no-missing-import': 'off', 'node/no-missing-require': 'off', 'node/no-deprecated-api': 'off', 'node/no-unpublished-import': 'off', 'node/no-unpublished-require': 'off', 'node/no-unsupported-features/es-syntax': 'off',
'@typescript-eslint/no-empty-function': ['error', { allow: ['arrowFunctions'] }], '@typescript-eslint/no-empty-interface': 'off', '@typescript-eslint/no-inferrable-types': 'off', '@typescript-eslint/no-var-requires': 'off', '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }], },})deleted:.eslintrc.js-60 removed
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960const { defineConfig } = require('eslint-define-config')
module.exports = defineConfig({ root: true, extends: [ 'eslint:recommended', 'plugin:node/recommended', 'plugin:@typescript-eslint/recommended', 'prettier', ], parser: '@typescript-eslint/parser', parserOptions: { sourceType: 'module', ecmaVersion: 2021, }, plugins: ['@typescript-eslint', 'import'], globals: { fetch: false, Response: false, Request: false, addEventListener: false, }, rules: { quotes: ['error', 'single'], semi: ['error', 'never'], 'no-debugger': ['error'], 'no-empty': ['warn', { allowEmptyCatch: true }], 'no-process-exit': 'off', 'no-useless-escape': 'off', 'prefer-const': [ 'warn', { destructuring: 'all', }, ], '@typescript-eslint/ban-types': [ 'error', { types: { Function: false, }, }, ], 'sort-imports': 0, 'import/order': [2, { alphabetize: { order: 'asc' } }],
'node/no-missing-import': 'off', 'node/no-missing-require': 'off', 'node/no-deprecated-api': 'off', 'node/no-unpublished-import': 'off', 'node/no-unpublished-require': 'off', 'node/no-unsupported-features/es-syntax': 'off',
'@typescript-eslint/no-empty-function': ['error', { allow: ['arrowFunctions'] }], '@typescript-eslint/no-empty-interface': 'off', '@typescript-eslint/no-inferrable-types': 'off', '@typescript-eslint/no-var-requires': 'off', '@typescript-eslint/consistent-type-imports': ['error', { prefer: 'type-imports' }], },})added:build.ts+80 added
1+/*2+ This script is heavily inspired by `built.ts` used in @kaze-style/react.3+ https://github.com/taishinaritomi/kaze-style/blob/main/scripts/build.ts4+ MIT License5+ Copyright (c) 2022 Taishi Naritomi6+*/7+8+import { exec } from 'child_process'9+import fs from 'fs'10+import path from 'path'11+import arg from 'arg'12+import { build } from 'esbuild'13+import type { Plugin, PluginBuild, BuildOptions } from 'esbuild'14+import glob from 'glob'15+16+const args = arg({17+ '--watch': Boolean,18+})19+20+const isWatch = args['--watch'] || false21+22+const entryPoints = glob.sync('./src/**/*.ts', {23+ ignore: ['./src/**/*.test.ts', './src/mod.ts', './src/middleware.ts', './src/deno/**/*.ts'],24+})25+26+/*27+ This plugin is inspired by the following.28+ https://github.com/evanw/esbuild/issues/622#issuecomment-76946261129+*/30+const addExtension = (extension: string = '.js', fileExtension: string = '.ts'): Plugin => ({31+ name: 'add-extension',32+ setup(build: PluginBuild) {33+ build.onResolve({ filter: /.*/ }, (args) => {34+ if (args.importer) {35+ const p = path.join(args.resolveDir, args.path)36+ let tsPath = `${p}${fileExtension}`37+38+ let importPath = ''39+ if (fs.existsSync(tsPath)) {40+ importPath = args.path + extension41+ } else {42+ tsPath = path.join(args.resolveDir, args.path, `index${fileExtension}`)43+ if (fs.existsSync(tsPath)) {44+ importPath = `${args.path}/index${extension}`45+ }46+ }47+ return { path: importPath, external: true }48+ }49+ })50+ },51+})52+53+const commonOptions: BuildOptions = {54+ watch: isWatch,55+ entryPoints,56+ logLevel: 'info',57+ platform: 'node',58+}59+60+const cjsBuild = () =>61+ build({62+ ...commonOptions,63+ outbase: './src',64+ outdir: './dist/cjs',65+ format: 'cjs',66+ })67+68+const esmBuild = () =>69+ build({70+ ...commonOptions,71+ bundle: true,72+ outbase: './src',73+ outdir: './dist',74+ format: 'esm',75+ plugins: [addExtension('.js')],76+ })77+78+Promise.all([esmBuild(), cjsBuild()])79+80+exec(`tsc ${isWatch ? '-w' : ''} --emitDeclarationOnly --declaration --project tsconfig.build.json`)modified:jest.config.js+1 added-1 removed
11234519 unmodified linesmodule.exports = {export default { testMatch: ['**/test/**/*.+(ts|tsx|js)', '**/src/**/(*.)+(spec|test).+(ts|tsx|js)'], transform: { '^.+\\.(ts|tsx)$': 'ts-jest', },19 unmodified linesadded:package.cjs.json+3 added
1+{2+ "target": "CommonJS"3+}modified:package.json+13 added-7 removed
1 {2 "name": "hono",3 "version": "2.3.2",4 "description": "Ultrafast web framework for Cloudflare Workers.",5- "main": "dist/index.js",5+ "main": "dist/cjs/index.js",6+ "type": "module",7 "module": "dist/index.js",8 "types": "dist/index.d.ts",9 "files": [10 "dist"2 unmodified lines13 "test": "jest",14 "test:deno": "deno test --allow-read deno_test",15 "test:bun": "bun wiptest --jsx-import-source ../src/middleware/jsx/jsx-dev-runtime bun_test/index.test.tsx",16 "test:all": "yarn test && yarn test:deno && yarn test:bun",16- "lint": "eslint --ext js,ts src .eslintrc.js",17- "lint:fix": "eslint --ext js,ts src .eslintrc.js --fix",17+ "lint": "eslint --ext js,ts src .eslintrc.cjs",18+ "lint:fix": "eslint --ext js,ts src .eslintrc.cjs --fix",19 "denoify": "rimraf deno_dist && denoify && rimraf 'deno_dist/**/*.test.ts'",19- "build": "rimraf dist && tsc --project tsconfig.build.json && tsc --project tsconfig.build.cjs.json",20- "watch": "tsc --project tsconfig.build.json -w",20+ "copy:package.cjs.json": "cp ./package.cjs.json ./dist/cjs/package.json",21+ "build": "rimraf dist && tsx ./build.ts && yarn copy:package.cjs.json",22+ "watch": "rimraf dist && tsx ./build.ts --watch && yarn copy:package.cjs.json",23 "prerelease": "yarn denoify && yarn test:deno && yarn build",24 "release": "np"25 },26 "exports": {65 unmodified lines92 "import": "./dist/middleware/serve-static/bun.js",93 "require": "./dist/cjs/middleware/serve-static/bun.js"94 },95 "./serve-static.module": {94- "import": "./dist/middleware/serve-static/module.mjs"96+ "import": "./dist/middleware/serve-static/module.js"97 },98 "./validator": {99 "import": "./dist/middleware/validator/index.js",100 "require": "./dist/cjs/middleware/validator/index.js"73 unmodified lines174 "serve-static.bun": [175 "./dist/middleware/serve-static/bun.d.ts"176 ],177 "serve-static.module": [176- "./dist/middleware/serve-static/module.d.mts"178+ "./dist/middleware/serve-static/module.d.ts"179 ],180 "validator": [181 "./dist/middleware/validator"182 ],44 unmodified lines227 ],228 "devDependencies": {229 "@cloudflare/workers-types": "^3.16.0",230 "@types/crypto-js": "^4.1.1",231+ "@types/glob": "^8.0.0",232 "@types/jest": "^29.0.2",233 "@types/node": "^17.0.29",234 "@typescript-eslint/eslint-plugin": "^5.21.0",235 "@typescript-eslint/parser": "^5.21.0",236+ "arg": "^5.0.2",237 "crypto-js": "^4.1.1",238 "denoify": "^1.1.1",239+ "esbuild": "^0.15.12",240 "eslint": "^8.14.0",241 "eslint-config-prettier": "^8.5.0",242 "eslint-define-config": "^1.4.0",243 "eslint-import-resolver-typescript": "^2.7.1",7 unmodified lines251 "np": "^7.6.2",252 "prettier": "^2.6.2",253 "rimraf": "^3.0.2",254 "ts-jest": "^29.0.1",255+ "tsx": "^3.11.0",256 "typescript": "^4.8.3"257 },258 "engines": {259 "node": ">=16.0.0"2 unmodified linesdeleted:tsconfig.build.cjs.json-21 removed
1-{2- "extends": "./tsconfig.json",3- "compilerOptions": {4- "module": "CommonJS",5- "declaration": false,6- "rootDir": "./src/",7- "outDir": "./dist/cjs/",8- "noUnusedLocals": true,9- "noUnusedParameters": true,10- },11- "include": [12- "src/**/*.ts"13- ],14- "exclude": [15- "src/**/*.mts",16- "src/mod.ts",17- "src/middleware.ts",18- "src/deno/**/*.ts",19- "src/**/*.test.ts"20- ]21-}modified:yarn.lock+198 added-2 removed
488 unmodified lines489 version "3.16.0"490 resolved "https://registry.yarnpkg.com/@cloudflare/workers-types/-/workers-types-3.16.0.tgz#011658ca3f9810373e0eb4a2b5d6cabe4848d8d6"491 integrity sha512-gaBUSaKS65mN3iKZEgichbXYEmAa/pXkc5Gbt+1BptYphdGkj09ggdsiE4w8g0F/uI1g36QaTKrzVnBAWMipvQ==492 493+"@esbuild-kit/cjs-loader@^2.4.0":494+ version "2.4.0"495+ resolved "https://registry.yarnpkg.com/@esbuild-kit/cjs-loader/-/cjs-loader-2.4.0.tgz#643c4b2855a18f31cd983794536d4ff64d3b410d"496+ integrity sha512-DBBCiHPgL2B/elUpvCDhNHXnlZQ9sfO2uyt1OJyAXKT41beQEFY4OxZ6gwS+ZesRCbZ6JV8M7GEyOPkjv8kdIw==497+ dependencies:498+ "@esbuild-kit/core-utils" "^3.0.0"499+ get-tsconfig "^4.2.0"500+501+"@esbuild-kit/core-utils@^3.0.0":502+ version "3.0.0"503+ resolved "https://registry.yarnpkg.com/@esbuild-kit/core-utils/-/core-utils-3.0.0.tgz#e0f8463a32b4a9c9b456a7f9c31a5e038c8d2c19"504+ integrity sha512-TXmwH9EFS3DC2sI2YJWJBgHGhlteK0Xyu1VabwetMULfm3oYhbrsWV5yaSr2NTWZIgDGVLHbRf0inxbjXqAcmQ==505+ dependencies:506+ esbuild "~0.15.10"507+ source-map-support "^0.5.21"508+509+"@esbuild-kit/esm-loader@^2.5.0":510+ version "2.5.0"511+ resolved "https://registry.yarnpkg.com/@esbuild-kit/esm-loader/-/esm-loader-2.5.0.tgz#af208eb9e0449038e7f35957ec51b7e70135e116"512+ integrity sha512-ySs0qOsiwj+hsgZM9/MniGdvfa9/WzqfFuIia8/5gSUPeIQIX2/tG91QakxPFOR35VFiwTB7wCiHtiS6dc6SkA==513+ dependencies:514+ "@esbuild-kit/core-utils" "^3.0.0"515+ get-tsconfig "^4.2.0"516+517+"@esbuild/android-arm@0.15.12":518+ version "0.15.12"519+ resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.15.12.tgz#e548b10a5e55b9e10537a049ebf0bc72c453b769"520+ integrity sha512-IC7TqIqiyE0MmvAhWkl/8AEzpOtbhRNDo7aph47We1NbE5w2bt/Q+giAhe0YYeVpYnIhGMcuZY92qDK6dQauvA==521+522+"@esbuild/linux-loong64@0.15.12":523+ version "0.15.12"524+ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.15.12.tgz#475b33a2631a3d8ca8aa95ee127f9a61d95bf9c1"525+ integrity sha512-tZEowDjvU7O7I04GYvWQOS4yyP9E/7YlsB0jjw1Ycukgr2ycEzKyIk5tms5WnLBymaewc6VmRKnn5IJWgK4eFw==526+527 "@eslint/eslintrc@^1.2.2":528 version "1.2.2"529 resolved "https://registry.yarnpkg.com/@eslint/eslintrc/-/eslintrc-1.2.2.tgz#4989b9e8c0216747ee7cca314ae73791bb281aae"530 integrity sha512-lTVWHs7O2hjBFZunXTZYnYqtB9GakA1lnxIf+gKq2nY5gxkkNi/lQvveW6t8gFdOHTg6nG50Xs95PrLqVpcaLg==711 unmodified lines1242 version "4.1.1"1243 resolved "https://registry.yarnpkg.com/@types/crypto-js/-/crypto-js-4.1.1.tgz#602859584cecc91894eb23a4892f38cfa927890d"1244 integrity sha512-BG7fQKZ689HIoc5h+6D2Dgq1fABRa0RbBWKBd9SP/MVRVXROflpm5fhwyATX5duFmbStzyzyycPB8qUYKDH3NA==1245 1246+"@types/glob@^8.0.0":1247+ version "8.0.0"1248+ resolved "https://registry.yarnpkg.com/@types/glob/-/glob-8.0.0.tgz#321607e9cbaec54f687a0792b2d1d370739455d2"1249+ integrity sha512-l6NQsDDyQUVeoTynNpC9uRvCUint/gSUXQA2euwmTuWGvPY5LSDUu6tkCtJB2SvGQlJQzLaKqcGZP4//7EDveA==1250+ dependencies:1251+ "@types/minimatch" "*"1252+ "@types/node" "*"1253+1254 "@types/graceful-fs@^4.1.3":1255 version "4.1.5"1256 resolved "https://registry.yarnpkg.com/@types/graceful-fs/-/graceful-fs-4.1.5.tgz#21ffba0d98da4350db64891f92a9e5db3cdb4e15"1257 integrity sha512-anKkLmZZ+xm4p8JWBf4hElkM4XR+EZeA2M9BAkkTldmcyDY4mbdIJnRghDJH3Ov5ooY7/UAoENtmdMSkaAd7Cw==53 unmodified lines1311 integrity sha512-BQ5aZNSCpj7D6K2ksrRCTmKRLEpnPvWDiLPfoGyhZ++8YtiK9d/3DBKPJgry359X/P1PfruyYwvnvwFjuEiEIg==1312 dependencies:1313 "@types/node" "*"1314 1315+"@types/minimatch@*":1316+ version "5.1.2"1317+ resolved "https://registry.yarnpkg.com/@types/minimatch/-/minimatch-5.1.2.tgz#07508b45797cb81ec3f273011b054cd0755eddca"1318+ integrity sha512-K0VQKziLUWkVKiRVrx4a40iPaxTUefQmjtkQofBkYRcoaaL/8rhwDWww9qWbrgicNOgnpIsMxyNIUM4+n6dUIA==1319+1320 "@types/minimist@^1.2.0":1321 version "1.2.2"1322 resolved "https://registry.yarnpkg.com/@types/minimist/-/minimist-1.2.2.tgz#ee771e2ba4b3dc5b372935d549fd9617bf345b8c"1323 integrity sha512-jhuKLIRrhvCPLqwPcx6INqmKeiA5EWrsCOPhrlFSrbrmU4ZMPjj5Ul/oLCMDO98XRUIwVm78xICz4EPCektzeQ==240 unmodified lines1564 dependencies:1565 normalize-path "^3.0.0"1566 picomatch "^2.0.4"1567 1568+arg@^5.0.2:1569+ version "5.0.2"1570+ resolved "https://registry.yarnpkg.com/arg/-/arg-5.0.2.tgz#c81433cc427c92c4dcf4865142dbca6f15acd59c"1571+ integrity sha512-PYjyFOLKQ9y57JvQ6QLo8dAgNqswh8M1RMJYdQduT6xbWSgK36P/Z/v+p888pM69jMMfS8Xd8F6I1kQ/I9HUGg==1572+1573 argparse@^1.0.7:1574 version "1.0.10"1575 resolved "https://registry.yarnpkg.com/argparse/-/argparse-1.0.10.tgz#bcd6791ea5ae09725e17e5ad988134cd40b3d911"1576 integrity sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==790 unmodified lines2367 is-callable "^1.1.4"2368 is-date-object "^1.0.1"2369 is-symbol "^1.0.2"2370 2371+esbuild-android-64@0.15.12:2372+ version "0.15.12"2373+ resolved "https://registry.yarnpkg.com/esbuild-android-64/-/esbuild-android-64-0.15.12.tgz#5e8151d5f0a748c71a7fbea8cee844ccf008e6fc"2374+ integrity sha512-MJKXwvPY9g0rGps0+U65HlTsM1wUs9lbjt5CU19RESqycGFDRijMDQsh68MtbzkqWSRdEtiKS1mtPzKneaAI0Q==2375+2376+esbuild-android-arm64@0.15.12:2377+ version "0.15.12"2378+ resolved "https://registry.yarnpkg.com/esbuild-android-arm64/-/esbuild-android-arm64-0.15.12.tgz#5ee72a6baa444bc96ffcb472a3ba4aba2cc80666"2379+ integrity sha512-Hc9SEcZbIMhhLcvhr1DH+lrrec9SFTiRzfJ7EGSBZiiw994gfkVV6vG0sLWqQQ6DD7V4+OggB+Hn0IRUdDUqvA==2380+2381+esbuild-darwin-64@0.15.12:2382+ version "0.15.12"2383+ resolved "https://registry.yarnpkg.com/esbuild-darwin-64/-/esbuild-darwin-64-0.15.12.tgz#70047007e093fa1b3ba7ef86f9b3fa63db51fe25"2384+ integrity sha512-qkmqrTVYPFiePt5qFjP8w/S+GIUMbt6k8qmiPraECUWfPptaPJUGkCKrWEfYFRWB7bY23FV95rhvPyh/KARP8Q==2385+2386+esbuild-darwin-arm64@0.15.12:2387+ version "0.15.12"2388+ resolved "https://registry.yarnpkg.com/esbuild-darwin-arm64/-/esbuild-darwin-arm64-0.15.12.tgz#41c951f23d9a70539bcca552bae6e5196696ae04"2389+ integrity sha512-z4zPX02tQ41kcXMyN3c/GfZpIjKoI/BzHrdKUwhC/Ki5BAhWv59A9M8H+iqaRbwpzYrYidTybBwiZAIWCLJAkw==2390+2391+esbuild-freebsd-64@0.15.12:2392+ version "0.15.12"2393+ resolved "https://registry.yarnpkg.com/esbuild-freebsd-64/-/esbuild-freebsd-64-0.15.12.tgz#a761b5afd12bbedb7d56c612e9cfa4d2711f33f0"2394+ integrity sha512-XFL7gKMCKXLDiAiBjhLG0XECliXaRLTZh6hsyzqUqPUf/PY4C6EJDTKIeqqPKXaVJ8+fzNek88285krSz1QECw==2395+2396+esbuild-freebsd-arm64@0.15.12:2397+ version "0.15.12"2398+ resolved "https://registry.yarnpkg.com/esbuild-freebsd-arm64/-/esbuild-freebsd-arm64-0.15.12.tgz#6b0839d4d58deabc6cbd96276eb8cbf94f7f335e"2399+ integrity sha512-jwEIu5UCUk6TjiG1X+KQnCGISI+ILnXzIzt9yDVrhjug2fkYzlLbl0K43q96Q3KB66v6N1UFF0r5Ks4Xo7i72g==2400+2401+esbuild-linux-32@0.15.12:2402+ version "0.15.12"2403+ resolved "https://registry.yarnpkg.com/esbuild-linux-32/-/esbuild-linux-32-0.15.12.tgz#bd50bfe22514d434d97d5150977496e2631345b4"2404+ integrity sha512-uSQuSEyF1kVzGzuIr4XM+v7TPKxHjBnLcwv2yPyCz8riV8VUCnO/C4BF3w5dHiVpCd5Z1cebBtZJNlC4anWpwA==2405+2406+esbuild-linux-64@0.15.12:2407+ version "0.15.12"2408+ resolved "https://registry.yarnpkg.com/esbuild-linux-64/-/esbuild-linux-64-0.15.12.tgz#074bb2b194bf658245f8490f29c01ffcdfa8c931"2409+ integrity sha512-QcgCKb7zfJxqT9o5z9ZUeGH1k8N6iX1Y7VNsEi5F9+HzN1OIx7ESxtQXDN9jbeUSPiRH1n9cw6gFT3H4qbdvcA==2410+2411+esbuild-linux-arm64@0.15.12:2412+ version "0.15.12"2413+ resolved "https://registry.yarnpkg.com/esbuild-linux-arm64/-/esbuild-linux-arm64-0.15.12.tgz#3bf789c4396dc032875a122988efd6f3733f28f5"2414+ integrity sha512-HtNq5xm8fUpZKwWKS2/YGwSfTF+339L4aIA8yphNKYJckd5hVdhfdl6GM2P3HwLSCORS++++7++//ApEwXEuAQ==2415+2416+esbuild-linux-arm@0.15.12:2417+ version "0.15.12"2418+ resolved "https://registry.yarnpkg.com/esbuild-linux-arm/-/esbuild-linux-arm-0.15.12.tgz#b91b5a8d470053f6c2c9c8a5e67ec10a71fe4a67"2419+ integrity sha512-Wf7T0aNylGcLu7hBnzMvsTfEXdEdJY/hY3u36Vla21aY66xR0MS5I1Hw8nVquXjTN0A6fk/vnr32tkC/C2lb0A==2420+2421+esbuild-linux-mips64le@0.15.12:2422+ version "0.15.12"2423+ resolved "https://registry.yarnpkg.com/esbuild-linux-mips64le/-/esbuild-linux-mips64le-0.15.12.tgz#2fb54099ada3c950a7536dfcba46172c61e580e2"2424+ integrity sha512-Qol3+AvivngUZkTVFgLpb0H6DT+N5/zM3V1YgTkryPYFeUvuT5JFNDR3ZiS6LxhyF8EE+fiNtzwlPqMDqVcc6A==2425+2426+esbuild-linux-ppc64le@0.15.12:2427+ version "0.15.12"2428+ resolved "https://registry.yarnpkg.com/esbuild-linux-ppc64le/-/esbuild-linux-ppc64le-0.15.12.tgz#9e3b8c09825fb27886249dfb3142a750df29a1b7"2429+ integrity sha512-4D8qUCo+CFKaR0cGXtGyVsOI7w7k93Qxb3KFXWr75An0DHamYzq8lt7TNZKoOq/Gh8c40/aKaxvcZnTgQ0TJNg==2430+2431+esbuild-linux-riscv64@0.15.12:2432+ version "0.15.12"2433+ resolved "https://registry.yarnpkg.com/esbuild-linux-riscv64/-/esbuild-linux-riscv64-0.15.12.tgz#923d0f5b6e12ee0d1fe116b08e4ae4478fe40693"2434+ integrity sha512-G9w6NcuuCI6TUUxe6ka0enjZHDnSVK8bO+1qDhMOCtl7Tr78CcZilJj8SGLN00zO5iIlwNRZKHjdMpfFgNn1VA==2435+2436+esbuild-linux-s390x@0.15.12:2437+ version "0.15.12"2438+ resolved "https://registry.yarnpkg.com/esbuild-linux-s390x/-/esbuild-linux-s390x-0.15.12.tgz#3b1620220482b96266a0c6d9d471d451a1eab86f"2439+ integrity sha512-Lt6BDnuXbXeqSlVuuUM5z18GkJAZf3ERskGZbAWjrQoi9xbEIsj/hEzVnSAFLtkfLuy2DE4RwTcX02tZFunXww==2440+2441+esbuild-netbsd-64@0.15.12:2442+ version "0.15.12"2443+ resolved "https://registry.yarnpkg.com/esbuild-netbsd-64/-/esbuild-netbsd-64-0.15.12.tgz#276730f80da646859b1af5a740e7802d8cd73e42"2444+ integrity sha512-jlUxCiHO1dsqoURZDQts+HK100o0hXfi4t54MNRMCAqKGAV33JCVvMplLAa2FwviSojT/5ZG5HUfG3gstwAG8w==2445+2446+esbuild-openbsd-64@0.15.12:2447+ version "0.15.12"2448+ resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.15.12.tgz#bd0eea1dd2ca0722ed489d88c26714034429f8ae"2449+ integrity sha512-1o1uAfRTMIWNOmpf8v7iudND0L6zRBYSH45sofCZywrcf7NcZA+c7aFsS1YryU+yN7aRppTqdUK1PgbZVaB1Dw==2450+2451+esbuild-sunos-64@0.15.12:2452+ version "0.15.12"2453+ resolved "https://registry.yarnpkg.com/esbuild-sunos-64/-/esbuild-sunos-64-0.15.12.tgz#5e56bf9eef3b2d92360d6d29dcde7722acbecc9e"2454+ integrity sha512-nkl251DpoWoBO9Eq9aFdoIt2yYmp4I3kvQjba3jFKlMXuqQ9A4q+JaqdkCouG3DHgAGnzshzaGu6xofGcXyPXg==2455+2456+esbuild-windows-32@0.15.12:2457+ version "0.15.12"2458+ resolved "https://registry.yarnpkg.com/esbuild-windows-32/-/esbuild-windows-32-0.15.12.tgz#a4f1a301c1a2fa7701fcd4b91ef9d2620cf293d0"2459+ integrity sha512-WlGeBZHgPC00O08luIp5B2SP4cNCp/PcS+3Pcg31kdcJPopHxLkdCXtadLU9J82LCfw4TVls21A6lilQ9mzHrw==2460+2461+esbuild-windows-64@0.15.12:2462+ version "0.15.12"2463+ resolved "https://registry.yarnpkg.com/esbuild-windows-64/-/esbuild-windows-64-0.15.12.tgz#bc2b467541744d653be4fe64eaa9b0dbbf8e07f6"2464+ integrity sha512-VActO3WnWZSN//xjSfbiGOSyC+wkZtI8I4KlgrTo5oHJM6z3MZZBCuFaZHd8hzf/W9KPhF0lY8OqlmWC9HO5AA==2465+2466+esbuild-windows-arm64@0.15.12:2467+ version "0.15.12"2468+ resolved "https://registry.yarnpkg.com/esbuild-windows-arm64/-/esbuild-windows-arm64-0.15.12.tgz#9a7266404334a86be800957eaee9aef94c3df328"2469+ integrity sha512-Of3MIacva1OK/m4zCNIvBfz8VVROBmQT+gRX6pFTLPngFYcj6TFH/12VveAqq1k9VB2l28EoVMNMUCcmsfwyuA==2470+2471+esbuild@^0.15.12, esbuild@~0.15.10:2472+ version "0.15.12"2473+ resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.15.12.tgz#6c8e22d6d3b7430d165c33848298d3fc9a1f251c"2474+ integrity sha512-PcT+/wyDqJQsRVhaE9uX/Oq4XLrFh0ce/bs2TJh4CSaw9xuvI+xFrH2nAYOADbhQjUgAhNWC5LKoUsakm4dxng==2475+ optionalDependencies:2476+ "@esbuild/android-arm" "0.15.12"2477+ "@esbuild/linux-loong64" "0.15.12"2478+ esbuild-android-64 "0.15.12"2479+ esbuild-android-arm64 "0.15.12"2480+ esbuild-darwin-64 "0.15.12"2481+ esbuild-darwin-arm64 "0.15.12"2482+ esbuild-freebsd-64 "0.15.12"2483+ esbuild-freebsd-arm64 "0.15.12"2484+ esbuild-linux-32 "0.15.12"2485+ esbuild-linux-64 "0.15.12"2486+ esbuild-linux-arm "0.15.12"2487+ esbuild-linux-arm64 "0.15.12"2488+ esbuild-linux-mips64le "0.15.12"2489+ esbuild-linux-ppc64le "0.15.12"2490+ esbuild-linux-riscv64 "0.15.12"2491+ esbuild-linux-s390x "0.15.12"2492+ esbuild-netbsd-64 "0.15.12"2493+ esbuild-openbsd-64 "0.15.12"2494+ esbuild-sunos-64 "0.15.12"2495+ esbuild-windows-32 "0.15.12"2496+ esbuild-windows-64 "0.15.12"2497+ esbuild-windows-arm64 "0.15.12"2498+2499 escalade@^3.1.1:2500 version "3.1.1"2501 resolved "https://registry.yarnpkg.com/escalade/-/escalade-3.1.1.tgz#d8cfdc7000965c5a0174b4a82eaa5c0552742e40"2502 integrity sha512-k0er2gUkLf8O0zKJiAhmkTnJlTvINGv7ygDNPbeIsX/TJjGJZHuh9B2UxbsaEkmlEo9MfhrSzmhIlhRlI2GXnw==423 unmodified lines2926 version "1.0.0"2927 resolved "https://registry.yarnpkg.com/fs.realpath/-/fs.realpath-1.0.0.tgz#1504ad2523158caa40db4a2787cb01411994ea4f"2928 integrity sha1-FQStJSMVjKpA20onh8sBQRmU6k8=2929 2750-fsevents@^2.3.2:2930+fsevents@^2.3.2, fsevents@~2.3.2:2931 version "2.3.2"2932 resolved "https://registry.yarnpkg.com/fsevents/-/fsevents-2.3.2.tgz#8a526f78b8fdf4623b709e0b975c52c24c02fd1a"2933 integrity sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==2934 65 unmodified lines3000 dependencies:3001 call-bind "^1.0.2"3002 get-intrinsic "^1.1.1"3003 3004+get-tsconfig@^4.2.0:3005+ version "4.2.0"3006+ resolved "https://registry.yarnpkg.com/get-tsconfig/-/get-tsconfig-4.2.0.tgz#ff368dd7104dab47bf923404eb93838245c66543"3007+ integrity sha512-X8u8fREiYOE6S8hLbq99PeykTDoLVnxvF4DjWKJmz9xy2nNRdUcV8ZN9tniJFeKyTU3qnC9lL8n4Chd6LmVKHg==3008+3009 github-url-from-git@^1.5.0:3010 version "1.5.0"3011 resolved "https://registry.yarnpkg.com/github-url-from-git/-/github-url-from-git-1.5.0.tgz#f985fedcc0a9aa579dc88d7aff068d55cc6251a0"3012 integrity sha512-WWOec4aRI7YAykQ9+BHmzjyNlkfJFG8QLXnDTsLz/kZefq7qkzdfo4p6fkYYMIq1aj+gZcQs/1HQhQh3DPPxlQ==2394 unmodified lines5407 dependencies:5408 buffer-from "^1.0.0"5409 source-map "^0.6.0"5410 5226-source-map-support@^0.5.20:5411+source-map-support@^0.5.20, source-map-support@^0.5.21:5412 version "0.5.21"5413 resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f"5414 integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w==5415 dependencies:340 unmodified lines5756 integrity sha512-mHKK3iUXL+3UF6xL5k0PEhKRUBKPBCv/+RkEOpjRWxxx27KKRBmmA60A9pgOUvMi8GKhRMPEmjBRPzs2W7O1OA==5757 dependencies:5758 tslib "^1.8.1"5759 5760+tsx@^3.11.0:5761+ version "3.11.0"5762+ resolved "https://registry.yarnpkg.com/tsx/-/tsx-3.11.0.tgz#866dd2de4b4b26d92d3e132b9795db2f65db44d3"5763+ integrity sha512-q+q4xxu41+AafVwvAGqtNJ1ekPFd33ZhTMXvgIpHMqv/W89efwDRE9IyjhEAZm5iTHsshKaf1BYWSk789BrNCA==5764+ dependencies:5765+ "@esbuild-kit/cjs-loader" "^2.4.0"5766+ "@esbuild-kit/core-utils" "^3.0.0"5767+ "@esbuild-kit/esm-loader" "^2.5.0"5768+ optionalDependencies:5769+ fsevents "~2.3.2"5770+5771 type-check@^0.4.0, type-check@~0.4.0:5772 version "0.4.0"5773 resolved "https://registry.yarnpkg.com/type-check/-/type-check-0.4.0.tgz#07b8203bfa7056c0657050e3ccd2c37730bab8f1"5774 integrity sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==320 unmodified lines