diff --git a/.eslintignore b/.eslintignore index caa90ec..6fd41e5 100644 --- a/.eslintignore +++ b/.eslintignore @@ -1,5 +1,6 @@ node_modules .nx dist/ +lib/ **/__tests__/**/assets .vercel diff --git a/.gitignore b/.gitignore index 8bd6c96..9958a83 100644 --- a/.gitignore +++ b/.gitignore @@ -116,3 +116,4 @@ deploy.env .nx/cache .tmp tmp +lib diff --git a/apps/service/.test.env b/apps/service/.test.env index b3e9a0f..64d3bf7 100644 --- a/apps/service/.test.env +++ b/apps/service/.test.env @@ -1,6 +1,6 @@ NODE_ENV=development APP_DOMAIN=localhost:4000 -MONGO_URL=mongodb://localhost:51652 +MONGO_URL=mongodb://localhost:51651 MONGO_DB_NAME=test MONGO_DB_USER=test-user MONGO_DB_PASSWORD=password diff --git a/apps/service/Dockerfile b/apps/service/Dockerfile index 5f9e450..65f2294 100644 --- a/apps/service/Dockerfile +++ b/apps/service/Dockerfile @@ -10,7 +10,7 @@ RUN addgroup --system service && adduser --system -G service service # Needed by @fastify/secure-session RUN npm i sodium-native@^4.0.0 -COPY dist/apps/service service +COPY dist service RUN chown -R service:service . diff --git a/apps/service/docker-compose.test.yml b/apps/service/docker-compose.test.yml index c868c7e..1f5dfc6 100644 --- a/apps/service/docker-compose.test.yml +++ b/apps/service/docker-compose.test.yml @@ -4,7 +4,7 @@ services: mongo: image: mongo:7.0 ports: - - '51652:27017' + - '51651:27017' logging: driver: 'none' command: --quiet diff --git a/apps/service/package.json b/apps/service/package.json index 4da7122..e69c818 100644 --- a/apps/service/package.json +++ b/apps/service/package.json @@ -4,6 +4,7 @@ "private": true, "license": "MIT", "scripts": { + "serve": "yarn nx serve service", "start:server:watch": "nodemon --watch \"src/*\" --exec ts-node -r dotenv/config -r tsconfig-paths/register \"src/app.ts\"", "start:watch": "nodemon --watch \"src/*\" --ignore \"src/consts/schemas.ts\" --ext \".ts\" --exec \"yarn generate-schemas && ts-node -r tsconfig-paths/register src/app.ts\"", "watch": "tsc -p tsconfig.release.json --watch --preserveWatchOutput --pretty", @@ -13,7 +14,7 @@ "prevercel-deploy": "yarn lint && yarn type-check && yarn generate-schemas && yarn build", "vercel-deploy": "vercel deploy", "start:mock-services": "docker-compose -f docker-compose.test.yml up --remove-orphans", - "gen-local-data": "ts-node ./scripts/generateLocalData.ts" + "gen-local-data": "node -r @swc-node/register -r dotenv/config ./scripts/generateLocalData.ts dotenv_config_path=.development.env" }, "dependencies": { "@fastify/cookie": "^9.3.1", diff --git a/apps/service/project.json b/apps/service/project.json index ab9ebb3..db85c5c 100644 --- a/apps/service/project.json +++ b/apps/service/project.json @@ -6,6 +6,7 @@ "tags": [], "targets": { "generateSchemas": { + "dependsOn": ["^build"], "executor": "nx:run-commands", "inputs": ["{projectRoot}/src/types/schemas/**/*"], "outputs": ["{projectRoot}/src/consts/schemas.ts"], @@ -17,14 +18,14 @@ } }, "build": { - "dependsOn": ["generateSchemas"], + "dependsOn": ["^build", "generateSchemas"], "executor": "@nx/esbuild:esbuild", "outputs": ["{options.outputPath}"], "defaultConfiguration": "production", "options": { "platform": "node", "target": "node18", - "outputPath": "dist/apps/service", + "outputPath": "{projectRoot}/dist", "format": ["cjs"], "bundle": true, "deleteOutputPath": true, @@ -111,7 +112,7 @@ }, "docker-build": { "dependsOn": ["build"], - "command": "docker build -f apps/service/Dockerfile . -t bundlemon-service" + "command": "docker build -f apps/service/Dockerfile apps/service -t bundlemon-service" }, "lint": { "executor": "@nx/eslint:lint", diff --git a/apps/service/scripts/generateLocalData.ts b/apps/service/scripts/generateLocalData.ts index 3e9234e..1aab5bd 100644 --- a/apps/service/scripts/generateLocalData.ts +++ b/apps/service/scripts/generateLocalData.ts @@ -1,6 +1,7 @@ -import * as path from 'path'; -import * as dotenv from 'dotenv'; -dotenv.config({ path: path.join(__dirname, '../dev.env') }); +// import * as path from 'node:path'; +// import * as dotenv from 'dotenv'; +// console.log('TCL ~ __dirname:', __dirname); +// dotenv.config({ path: path.join(__dirname, '../.development.env') }); import { ObjectId } from 'mongodb'; import { getDB } from '../src/framework/mongo/client'; diff --git a/apps/service/tests/setup.js b/apps/service/tests/setup.js index 3b1be7e..ac358e0 100644 --- a/apps/service/tests/setup.js +++ b/apps/service/tests/setup.js @@ -2,5 +2,5 @@ const path = require('path'); require('dotenv').config({ - path: path.resolve(__dirname, '../test.env'), + path: path.resolve(__dirname, '../.test.env'), }); diff --git a/apps/service/tsconfig.app.json b/apps/service/tsconfig.app.json index f5e2e08..461061d 100644 --- a/apps/service/tsconfig.app.json +++ b/apps/service/tsconfig.app.json @@ -2,7 +2,6 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", "types": ["node"] }, "exclude": ["jest.config.ts", "src/**/*.spec.ts", "src/**/*.test.ts"], diff --git a/apps/service/tsconfig.json b/apps/service/tsconfig.json index 00bc10a..2b86dd9 100644 --- a/apps/service/tsconfig.json +++ b/apps/service/tsconfig.json @@ -11,7 +11,6 @@ } ], "compilerOptions": { - "esModuleInterop": true, "baseUrl": ".", "paths": { "@tests/*": ["./tests/*"], diff --git a/apps/service/tsconfig.spec.json b/apps/service/tsconfig.spec.json index f6d8ffc..5d910eb 100644 --- a/apps/service/tsconfig.spec.json +++ b/apps/service/tsconfig.spec.json @@ -2,7 +2,6 @@ "extends": "./tsconfig.json", "compilerOptions": { "outDir": "../../dist/out-tsc", - "module": "commonjs", "types": ["jest", "node"] }, "include": ["jest.config.ts", "src/**/*.test.ts", "src/**/*.spec.ts", "src/**/*.d.ts"] diff --git a/apps/website/package.json b/apps/website/package.json index bf6fff0..0d0f57a 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -4,7 +4,7 @@ "private": true, "license": "MIT", "scripts": { - "build:bundlemon": "yarn --cwd ../ build-packages" + "serve": "yarn nx serve website" }, "dependencies": { "@emotion/react": "^11.11.1", @@ -29,10 +29,12 @@ "@types/react-dom": "^18.2.13", "@types/react-router-dom": "^5.3.3", "@types/recharts": "^1.8.25", + "@vitejs/plugin-basic-ssl": "^1.1.0", "esbuild-loader": "^4.0.2", "eslint-plugin-react": "^7.33.2", "eslint-plugin-react-hooks": "^4.6.0", "netlify-cli": "^16.7.0", + "vite": "^5.2.11", "vite-plugin-svgr": "^4.2.0", "vite-tsconfig-paths": "^4.3.2" } diff --git a/apps/website/project.json b/apps/website/project.json index 65a8c40..90a8395 100644 --- a/apps/website/project.json +++ b/apps/website/project.json @@ -6,11 +6,12 @@ "tags": [], "targets": { "build": { + "dependsOn": ["^build"], "executor": "@nx/vite:build", "outputs": ["{options.outputPath}"], "defaultConfiguration": "production", "options": { - "outputPath": "dist/apps/website", + "outputPath": "{projectRoot}/dist", "generatePackageJson": false }, "configurations": { @@ -53,13 +54,6 @@ "buildTarget": "website:build:production" } } - }, - "test": { - "executor": "@nx/vite:test", - "outputs": ["{options.reportsDirectory}"], - "options": { - "reportsDirectory": "../../coverage/apps/website" - } } } } diff --git a/apps/website/tsconfig.json b/apps/website/tsconfig.json index ed69cbb..c134d4b 100644 --- a/apps/website/tsconfig.json +++ b/apps/website/tsconfig.json @@ -1,8 +1,8 @@ { "compilerOptions": { + "module": "ES2022", "jsx": "react-jsx", "allowJs": false, - "esModuleInterop": false, "allowSyntheticDefaultImports": true, "strict": true, "jsxImportSource": "@emotion/react", diff --git a/apps/website/vite.config.ts b/apps/website/vite.config.ts index dcc41c7..341e9b1 100644 --- a/apps/website/vite.config.ts +++ b/apps/website/vite.config.ts @@ -3,26 +3,32 @@ import { defineConfig } from 'vite'; import react from '@vitejs/plugin-react'; import tsconfigPaths from 'vite-tsconfig-paths'; import svgr from 'vite-plugin-svgr'; +import basicSsl from '@vitejs/plugin-basic-ssl' + export default defineConfig({ root: __dirname, cacheDir: '../../node_modules/.vite/apps/website', publicDir: path.join(__dirname, 'public'), server: { - port: 4200, + port: 4000, host: 'localhost', }, preview: { - port: 4300, + port: 4000, host: 'localhost', }, - plugins: [react(), tsconfigPaths(), svgr()], + plugins: [react(), tsconfigPaths(), svgr(), basicSsl()], build: { - outDir: '../../dist/apps/website', + outDir: 'dist', emptyOutDir: true, reportCompressedSize: true, commonjsOptions: { transformMixedEsModules: true, + include: [/node_modules/, /bundlemon\-utils/], }, }, + optimizeDeps: { + include: ['bundlemon-utils'] + } }); diff --git a/package.json b/package.json index 19faba3..1935e4b 100644 --- a/package.json +++ b/package.json @@ -2,9 +2,10 @@ "private": true, "license": "MIT", "scripts": { - "test-packages": "yarn nx run-many --target=test --all --verbose", - "build-packages": "nx run-many --target=build --all", - "lint-packages": "yarn nx run-many --target=lint --all", + "test-packages": "yarn nx run-many --target=test --projects bundlemon-utils,bundlemon-markdown-output,bundlemon --verbose", + "build-packages": "nx run-many --target=build --projects bundlemon-utils,bundlemon-markdown-output,bundlemon", + "build-packages:watch": "nx watch --projects bundlemon-utils,bundlemon-markdown-output,bundlemon -- nx run \\$NX_PROJECT_NAME:build", + "lint-packages": "yarn nx run-many --target=lint --projects bundlemon-utils,bundlemon-markdown-output,bundlemon", "type-check-packages": "lerna run type-check --stream", "start:service": "docker-compose -f docker-compose.dev.yml up --build", "prepare": "husky install" @@ -19,6 +20,8 @@ "@nx/react": "^18.3.3", "@nx/vite": "18.3.3", "@nx/web": "18.3.3", + "@swc-node/register": "^1.9.1", + "@swc/core": "^1.4.17", "@types/jest": "^29.5.1", "@types/jest-when": "^3.5.2", "@types/node": "18.16.9", @@ -40,10 +43,10 @@ "lint-staged": "^15.2.2", "nx": "18.3.2", "prettier": "^3.0.2", + "rimraf": "^5.0.5", "ts-jest": "^29.1.0", "ts-node": "^10.9.1", - "typescript": "^5.0.4", - "vite": "~5.0.0" + "typescript": "^5.0.4" }, "engines": { "yarn": "^1.10.0" diff --git a/packages/bundlemon-markdown-output/package.json b/packages/bundlemon-markdown-output/package.json index 22d0ab4..9a2397e 100644 --- a/packages/bundlemon-markdown-output/package.json +++ b/packages/bundlemon-markdown-output/package.json @@ -12,17 +12,21 @@ "directory": "packages/bundlemon-markdown-output" }, "engines": { - "node": ">=14.16" + "node": ">=18" }, - "main": "lib/index", - "module": "lib/index", + "main": "lib/index.js", "types": "lib/index.d.ts", - "scripts": {}, + "scripts": { + "build": "rimraf lib && tsc -p tsconfig.lib.json" + }, "dependencies": { "bundlemon-utils": "^1.2.1", "bytes": "^3.1.0" }, "devDependencies": { "@types/bytes": "^3.1.0" - } + }, + "files": [ + "lib" + ] } diff --git a/packages/bundlemon-markdown-output/project.json b/packages/bundlemon-markdown-output/project.json index c476570..e32dbdd 100644 --- a/packages/bundlemon-markdown-output/project.json +++ b/packages/bundlemon-markdown-output/project.json @@ -1,37 +1,17 @@ { "name": "bundlemon-markdown-output", "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages/bundlemon-markdown-output/lib", + "sourceRoot": "{projectRoot}/src", "projectType": "library", "tags": [], "generators": {}, "targets": { "build": { - "executor": "@nx/js:tsc", + "executor": "nx:run-script", + "outputs": ["{projectRoot}/lib"], "options": { - "outputPath": "dist/packages/bundlemon-markdown-output", - "tsConfig": "packages/bundlemon-markdown-output/tsconfig.lib.json", - "packageJson": "packages/bundlemon-markdown-output/package.json", - "main": "packages/bundlemon-markdown-output/lib/index.ts", - "updateBuildableProjectDepsInPackageJson": false, - "assets": [ - "README.md", - "LICENSE", - { - "input": "packages/bundlemon-markdown-output", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json", "node_modules/**"], - "output": "/" - }, - { - "input": "packages/bundlemon-markdown-output", - "glob": "**/*.d.ts", - "ignore": ["node_modules/**"], - "output": "/" - } - ] - }, - "outputs": ["{options.outputPath}"] + "script": "build" + } }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/bundlemon-markdown-output/lib/__tests__/markdownUtils.spec.ts b/packages/bundlemon-markdown-output/src/__tests__/markdownUtils.spec.ts similarity index 100% rename from packages/bundlemon-markdown-output/lib/__tests__/markdownUtils.spec.ts rename to packages/bundlemon-markdown-output/src/__tests__/markdownUtils.spec.ts diff --git a/packages/bundlemon-markdown-output/lib/generator.ts b/packages/bundlemon-markdown-output/src/generator.ts similarity index 100% rename from packages/bundlemon-markdown-output/lib/generator.ts rename to packages/bundlemon-markdown-output/src/generator.ts diff --git a/packages/bundlemon-markdown-output/lib/index.ts b/packages/bundlemon-markdown-output/src/index.ts similarity index 100% rename from packages/bundlemon-markdown-output/lib/index.ts rename to packages/bundlemon-markdown-output/src/index.ts diff --git a/packages/bundlemon-markdown-output/lib/markdownUtils.ts b/packages/bundlemon-markdown-output/src/markdownUtils.ts similarity index 100% rename from packages/bundlemon-markdown-output/lib/markdownUtils.ts rename to packages/bundlemon-markdown-output/src/markdownUtils.ts diff --git a/packages/bundlemon-markdown-output/lib/types.ts b/packages/bundlemon-markdown-output/src/types.ts similarity index 100% rename from packages/bundlemon-markdown-output/lib/types.ts rename to packages/bundlemon-markdown-output/src/types.ts diff --git a/packages/bundlemon-markdown-output/tsconfig.json b/packages/bundlemon-markdown-output/tsconfig.json index 2cac7b7..0cadd7b 100644 --- a/packages/bundlemon-markdown-output/tsconfig.json +++ b/packages/bundlemon-markdown-output/tsconfig.json @@ -1,5 +1,9 @@ { "extends": "../../tsconfig.base.json", + "compilerOptions": { + "module": "CommonJS", + "rootDir": "src" + }, "files": [], "include": [], "references": [ @@ -10,4 +14,4 @@ "path": "./tsconfig.spec.json" } ] -} \ No newline at end of file +} diff --git a/packages/bundlemon-markdown-output/tsconfig.lib.json b/packages/bundlemon-markdown-output/tsconfig.lib.json index fbda878..13eced1 100644 --- a/packages/bundlemon-markdown-output/tsconfig.lib.json +++ b/packages/bundlemon-markdown-output/tsconfig.lib.json @@ -1,11 +1,10 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "es2020", - "outDir": "../../dist/out-tsc", + "outDir": "lib", "declaration": true, - "types": ["node", "jest"] + "types": ["node"] }, "exclude": ["**/*.spec.ts", "jest.config.ts"], - "include": ["**/*.ts"] + "include": ["src/**/*.ts"] } diff --git a/packages/bundlemon-markdown-output/tsconfig.spec.json b/packages/bundlemon-markdown-output/tsconfig.spec.json index 512a45c..e47b44b 100644 --- a/packages/bundlemon-markdown-output/tsconfig.spec.json +++ b/packages/bundlemon-markdown-output/tsconfig.spec.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "../../dist/out-tsc", "module": "commonjs", - "types": ["jest", "node", "jest-extended", "standard-version"] + "types": ["jest", "node"] }, - "include": ["**/*.spec.ts", "**/*.spec.js", "**/*.d.ts", "jest.config.ts"] + "include": ["jest.config.ts", "lib/**/*.test.ts", "lib/**/*.spec.ts", "lib/**/*.d.ts"] } diff --git a/packages/bundlemon-utils/package.json b/packages/bundlemon-utils/package.json index f852fe2..f2e3f9b 100644 --- a/packages/bundlemon-utils/package.json +++ b/packages/bundlemon-utils/package.json @@ -12,18 +12,20 @@ "directory": "packages/bundlemon-utils" }, "engines": { - "node": ">=14.16" + "node": ">=18" }, - "main": "lib/index", - "module": "lib/index", + "main": "lib/index.js", "types": "lib/index.d.ts", "scripts": { - "type-check": "tsc --noEmit" + "build": "rimraf lib && tsc -p tsconfig.lib.json" }, "dependencies": { "bytes": "^3.1.0" }, "devDependencies": { "@types/bytes": "^3.1.0" - } + }, + "files": [ + "lib" + ] } diff --git a/packages/bundlemon-utils/project.json b/packages/bundlemon-utils/project.json index 0fcf55e..8349057 100644 --- a/packages/bundlemon-utils/project.json +++ b/packages/bundlemon-utils/project.json @@ -1,37 +1,17 @@ { "name": "bundlemon-utils", "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages/bundlemon-utils/lib", + "sourceRoot": "{projectRoot}/src", "projectType": "library", "tags": [], "generators": {}, "targets": { "build": { - "executor": "@nx/js:tsc", + "executor": "nx:run-script", + "outputs": ["{projectRoot}/lib"], "options": { - "outputPath": "dist/packages/bundlemon-utils", - "tsConfig": "packages/bundlemon-utils/tsconfig.lib.json", - "packageJson": "packages/bundlemon-utils/package.json", - "main": "packages/bundlemon-utils/lib/index.ts", - "updateBuildableProjectDepsInPackageJson": false, - "assets": [ - "README.md", - "LICENSE", - { - "input": "packages/bundlemon-utils", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json", "node_modules/**"], - "output": "/" - }, - { - "input": "packages/bundlemon-utils", - "glob": "**/*.d.ts", - "ignore": ["node_modules/**"], - "output": "/" - } - ] - }, - "outputs": ["{options.outputPath}"] + "script": "build" + } }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/bundlemon-utils/lib/__tests__/__snapshots__/consts.spec.ts.snap b/packages/bundlemon-utils/src/__tests__/__snapshots__/consts.spec.ts.snap similarity index 100% rename from packages/bundlemon-utils/lib/__tests__/__snapshots__/consts.spec.ts.snap rename to packages/bundlemon-utils/src/__tests__/__snapshots__/consts.spec.ts.snap diff --git a/packages/bundlemon-utils/lib/__tests__/consts.spec.ts b/packages/bundlemon-utils/src/__tests__/consts.spec.ts similarity index 100% rename from packages/bundlemon-utils/lib/__tests__/consts.spec.ts rename to packages/bundlemon-utils/src/__tests__/consts.spec.ts diff --git a/packages/bundlemon-utils/lib/consts.ts b/packages/bundlemon-utils/src/consts.ts similarity index 100% rename from packages/bundlemon-utils/lib/consts.ts rename to packages/bundlemon-utils/src/consts.ts diff --git a/packages/bundlemon-utils/lib/diffReport/__tests__/index.spec.ts b/packages/bundlemon-utils/src/diffReport/__tests__/index.spec.ts similarity index 100% rename from packages/bundlemon-utils/lib/diffReport/__tests__/index.spec.ts rename to packages/bundlemon-utils/src/diffReport/__tests__/index.spec.ts diff --git a/packages/bundlemon-utils/lib/diffReport/__tests__/utils.spec.ts b/packages/bundlemon-utils/src/diffReport/__tests__/utils.spec.ts similarity index 100% rename from packages/bundlemon-utils/lib/diffReport/__tests__/utils.spec.ts rename to packages/bundlemon-utils/src/diffReport/__tests__/utils.spec.ts diff --git a/packages/bundlemon-utils/lib/diffReport/index.ts b/packages/bundlemon-utils/src/diffReport/index.ts similarity index 100% rename from packages/bundlemon-utils/lib/diffReport/index.ts rename to packages/bundlemon-utils/src/diffReport/index.ts diff --git a/packages/bundlemon-utils/lib/diffReport/utils.ts b/packages/bundlemon-utils/src/diffReport/utils.ts similarity index 100% rename from packages/bundlemon-utils/lib/diffReport/utils.ts rename to packages/bundlemon-utils/src/diffReport/utils.ts diff --git a/packages/bundlemon-utils/lib/index.ts b/packages/bundlemon-utils/src/index.ts similarity index 100% rename from packages/bundlemon-utils/lib/index.ts rename to packages/bundlemon-utils/src/index.ts diff --git a/packages/bundlemon-utils/lib/textUtils.ts b/packages/bundlemon-utils/src/textUtils.ts similarity index 100% rename from packages/bundlemon-utils/lib/textUtils.ts rename to packages/bundlemon-utils/src/textUtils.ts diff --git a/packages/bundlemon-utils/lib/types.ts b/packages/bundlemon-utils/src/types.ts similarity index 100% rename from packages/bundlemon-utils/lib/types.ts rename to packages/bundlemon-utils/src/types.ts diff --git a/packages/bundlemon-utils/tsconfig.json b/packages/bundlemon-utils/tsconfig.json index 2cac7b7..0cadd7b 100644 --- a/packages/bundlemon-utils/tsconfig.json +++ b/packages/bundlemon-utils/tsconfig.json @@ -1,5 +1,9 @@ { "extends": "../../tsconfig.base.json", + "compilerOptions": { + "module": "CommonJS", + "rootDir": "src" + }, "files": [], "include": [], "references": [ @@ -10,4 +14,4 @@ "path": "./tsconfig.spec.json" } ] -} \ No newline at end of file +} diff --git a/packages/bundlemon-utils/tsconfig.lib.json b/packages/bundlemon-utils/tsconfig.lib.json index fbda878..13eced1 100644 --- a/packages/bundlemon-utils/tsconfig.lib.json +++ b/packages/bundlemon-utils/tsconfig.lib.json @@ -1,11 +1,10 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "es2020", - "outDir": "../../dist/out-tsc", + "outDir": "lib", "declaration": true, - "types": ["node", "jest"] + "types": ["node"] }, "exclude": ["**/*.spec.ts", "jest.config.ts"], - "include": ["**/*.ts"] + "include": ["src/**/*.ts"] } diff --git a/packages/bundlemon-utils/tsconfig.spec.json b/packages/bundlemon-utils/tsconfig.spec.json index 512a45c..e47b44b 100644 --- a/packages/bundlemon-utils/tsconfig.spec.json +++ b/packages/bundlemon-utils/tsconfig.spec.json @@ -3,7 +3,7 @@ "compilerOptions": { "outDir": "../../dist/out-tsc", "module": "commonjs", - "types": ["jest", "node", "jest-extended", "standard-version"] + "types": ["jest", "node"] }, - "include": ["**/*.spec.ts", "**/*.spec.js", "**/*.d.ts", "jest.config.ts"] + "include": ["jest.config.ts", "lib/**/*.test.ts", "lib/**/*.spec.ts", "lib/**/*.d.ts"] } diff --git a/packages/bundlemon/package.json b/packages/bundlemon/package.json index 0c7d9d8..61ab329 100644 --- a/packages/bundlemon/package.json +++ b/packages/bundlemon/package.json @@ -19,13 +19,13 @@ "type": "git", "url": "https://github.com/LironEr/bundlemon.git" }, - "main": "lib/index", - "module": "lib/index", + "main": "lib/index.js", "types": "lib/index.d.ts", "bin": { "bundlemon": "bin/bundlemon.js" }, "scripts": { + "build": "rimraf lib && tsc -p tsconfig.lib.json", "type-check": "tsc --noEmit", "bundlemon": "bundlemon" }, @@ -46,5 +46,9 @@ "@types/bytes": "^3.1.1", "@types/micromatch": "^4.0.2", "@types/node": "^14.0.0" - } + }, + "files": [ + "lib", + "bin" + ] } diff --git a/packages/bundlemon/project.json b/packages/bundlemon/project.json index 1df4120..f7b454b 100644 --- a/packages/bundlemon/project.json +++ b/packages/bundlemon/project.json @@ -1,43 +1,17 @@ { "name": "bundlemon", "$schema": "../../node_modules/nx/schemas/project-schema.json", - "sourceRoot": "packages/{projectName}/lib", + "sourceRoot": "{projectRoot}/src", "projectType": "library", "tags": [], "generators": {}, "targets": { "build": { - "executor": "@nx/js:tsc", + "executor": "nx:run-script", + "outputs": ["{projectRoot}/lib"], "options": { - "outputPath": "dist/packages/{projectName}", - "tsConfig": "packages/{projectName}/tsconfig.lib.json", - "packageJson": "packages/{projectName}/package.json", - "main": "packages/{projectName}/lib/index.ts", - "updateBuildableProjectDepsInPackageJson": false, - "assets": [ - "README.md", - "LICENSE", - { - "input": "packages/{projectName}", - "glob": "**/*.json", - "ignore": ["**/tsconfig*.json", "project.json", "node_modules/**"], - "output": "/" - }, - { - "input": "packages/{projectName}", - "glob": "**/*.d.ts", - "ignore": ["node_modules/**"], - "output": "/" - }, - { - "input": "packages/{projectName}/bin", - "glob": "**/*", - "ignore": ["node_modules/**"], - "output": "/bin" - } - ] - }, - "outputs": ["{options.outputPath}"] + "script": "build" + } }, "lint": { "executor": "@nx/eslint:lint", diff --git a/packages/bundlemon/lib/cli/__tests__/assets/bad-format.js b/packages/bundlemon/src/cli/__tests__/assets/bad-format.js similarity index 100% rename from packages/bundlemon/lib/cli/__tests__/assets/bad-format.js rename to packages/bundlemon/src/cli/__tests__/assets/bad-format.js diff --git a/packages/bundlemon/lib/cli/__tests__/assets/bad-format.json b/packages/bundlemon/src/cli/__tests__/assets/bad-format.json similarity index 100% rename from packages/bundlemon/lib/cli/__tests__/assets/bad-format.json rename to packages/bundlemon/src/cli/__tests__/assets/bad-format.json diff --git a/packages/bundlemon/lib/cli/__tests__/assets/bad-format.yaml b/packages/bundlemon/src/cli/__tests__/assets/bad-format.yaml similarity index 100% rename from packages/bundlemon/lib/cli/__tests__/assets/bad-format.yaml rename to packages/bundlemon/src/cli/__tests__/assets/bad-format.yaml diff --git a/packages/bundlemon/lib/cli/__tests__/assets/empty.json b/packages/bundlemon/src/cli/__tests__/assets/empty.json similarity index 100% rename from packages/bundlemon/lib/cli/__tests__/assets/empty.json rename to packages/bundlemon/src/cli/__tests__/assets/empty.json diff --git a/packages/bundlemon/lib/cli/__tests__/assets/success.json b/packages/bundlemon/src/cli/__tests__/assets/success.json similarity index 100% rename from packages/bundlemon/lib/cli/__tests__/assets/success.json rename to packages/bundlemon/src/cli/__tests__/assets/success.json diff --git a/packages/bundlemon/lib/cli/__tests__/configFile.spec.ts b/packages/bundlemon/src/cli/__tests__/configFile.spec.ts similarity index 100% rename from packages/bundlemon/lib/cli/__tests__/configFile.spec.ts rename to packages/bundlemon/src/cli/__tests__/configFile.spec.ts diff --git a/packages/bundlemon/lib/cli/configFile.ts b/packages/bundlemon/src/cli/configFile.ts similarity index 100% rename from packages/bundlemon/lib/cli/configFile.ts rename to packages/bundlemon/src/cli/configFile.ts diff --git a/packages/bundlemon/lib/cli/index.ts b/packages/bundlemon/src/cli/index.ts similarity index 100% rename from packages/bundlemon/lib/cli/index.ts rename to packages/bundlemon/src/cli/index.ts diff --git a/packages/bundlemon/lib/cli/types.ts b/packages/bundlemon/src/cli/types.ts similarity index 100% rename from packages/bundlemon/lib/cli/types.ts rename to packages/bundlemon/src/cli/types.ts diff --git a/packages/bundlemon/lib/common/__tests__/__snapshots__/consts.spec.ts.snap b/packages/bundlemon/src/common/__tests__/__snapshots__/consts.spec.ts.snap similarity index 100% rename from packages/bundlemon/lib/common/__tests__/__snapshots__/consts.spec.ts.snap rename to packages/bundlemon/src/common/__tests__/__snapshots__/consts.spec.ts.snap diff --git a/packages/bundlemon/lib/common/__tests__/consts.spec.ts b/packages/bundlemon/src/common/__tests__/consts.spec.ts similarity index 100% rename from packages/bundlemon/lib/common/__tests__/consts.spec.ts rename to packages/bundlemon/src/common/__tests__/consts.spec.ts diff --git a/packages/bundlemon/lib/common/consts.ts b/packages/bundlemon/src/common/consts.ts similarity index 100% rename from packages/bundlemon/lib/common/consts.ts rename to packages/bundlemon/src/common/consts.ts diff --git a/packages/bundlemon/lib/common/logger.ts b/packages/bundlemon/src/common/logger.ts similarity index 100% rename from packages/bundlemon/lib/common/logger.ts rename to packages/bundlemon/src/common/logger.ts diff --git a/packages/bundlemon/lib/common/service.ts b/packages/bundlemon/src/common/service.ts similarity index 100% rename from packages/bundlemon/lib/common/service.ts rename to packages/bundlemon/src/common/service.ts diff --git a/packages/bundlemon/lib/index.ts b/packages/bundlemon/src/index.ts similarity index 100% rename from packages/bundlemon/lib/index.ts rename to packages/bundlemon/src/index.ts diff --git a/packages/bundlemon/lib/main/__tests__/index.spec.ts b/packages/bundlemon/src/main/__tests__/index.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/__tests__/index.spec.ts rename to packages/bundlemon/src/main/__tests__/index.spec.ts diff --git a/packages/bundlemon/lib/main/__tests__/initializer.spec.ts b/packages/bundlemon/src/main/__tests__/initializer.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/__tests__/initializer.spec.ts rename to packages/bundlemon/src/main/__tests__/initializer.spec.ts diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/__snapshots__/pathUtils.spec.ts.snap b/packages/bundlemon/src/main/analyzer/__tests__/__snapshots__/pathUtils.spec.ts.snap similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/__snapshots__/pathUtils.spec.ts.snap rename to packages/bundlemon/src/main/analyzer/__tests__/__snapshots__/pathUtils.spec.ts.snap diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/analyzeLocalFiles.spec.ts b/packages/bundlemon/src/main/analyzer/__tests__/analyzeLocalFiles.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/analyzeLocalFiles.spec.ts rename to packages/bundlemon/src/main/analyzer/__tests__/analyzeLocalFiles.spec.ts diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fileDetailsUtils.spec.ts b/packages/bundlemon/src/main/analyzer/__tests__/fileDetailsUtils.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fileDetailsUtils.spec.ts rename to packages/bundlemon/src/main/analyzer/__tests__/fileDetailsUtils.spec.ts diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getAllPaths/1/a.html b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getAllPaths/1/a.html similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getAllPaths/1/a.html rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getAllPaths/1/a.html diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getAllPaths/1/a.js b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getAllPaths/1/a.js similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getAllPaths/1/a.js rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getAllPaths/1/a.js diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getAllPaths/1/s/c/ac.css b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getAllPaths/1/s/c/ac.css similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getAllPaths/1/s/c/ac.css rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getAllPaths/1/s/c/ac.css diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getAllPaths/1/s/g.aa.bbb b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getAllPaths/1/s/g.aa.bbb similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getAllPaths/1/s/g.aa.bbb rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getAllPaths/1/s/g.aa.bbb diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/index.html b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/index.html similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/index.html rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/index.html diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/service.js b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/service.js similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/service.js rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/service.js diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/about.hjasj2u.js b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/about.hjasj2u.js similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/about.hjasj2u.js rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/about.hjasj2u.js diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/login.a2j21i.js b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/login.a2j21i.js similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/login.a2j21i.js rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/login.a2j21i.js diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/main.jh2j2ks.js b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/main.jh2j2ks.js similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/main.jh2j2ks.js rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/main.jh2j2ks.js diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/other.js b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/other.js similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/other.js rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/other.js diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/test.jks22892s.chunk.js b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/test.jks22892s.chunk.js similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/test.jks22892s.chunk.js rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/test.jks22892s.chunk.js diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/test2.js2k2kxj.chunk.js b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/test2.js2k2kxj.chunk.js similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/test2.js2k2kxj.chunk.js rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/js/test2.js2k2kxj.chunk.js diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/styles/main.hjsj2ks.css b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/styles/main.hjsj2ks.css similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/styles/main.hjsj2ks.css rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/styles/main.hjsj2ks.css diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/styles/other.css b/packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/styles/other.css similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/styles/other.css rename to packages/bundlemon/src/main/analyzer/__tests__/fixtures/getFilesGroupByPattern/static/styles/other.css diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/getFileSize.spec.ts b/packages/bundlemon/src/main/analyzer/__tests__/getFileSize.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/getFileSize.spec.ts rename to packages/bundlemon/src/main/analyzer/__tests__/getFileSize.spec.ts diff --git a/packages/bundlemon/lib/main/analyzer/__tests__/pathUtils.spec.ts b/packages/bundlemon/src/main/analyzer/__tests__/pathUtils.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/__tests__/pathUtils.spec.ts rename to packages/bundlemon/src/main/analyzer/__tests__/pathUtils.spec.ts diff --git a/packages/bundlemon/lib/main/analyzer/analyzeLocalFiles.ts b/packages/bundlemon/src/main/analyzer/analyzeLocalFiles.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/analyzeLocalFiles.ts rename to packages/bundlemon/src/main/analyzer/analyzeLocalFiles.ts diff --git a/packages/bundlemon/lib/main/analyzer/fileDetailsUtils.ts b/packages/bundlemon/src/main/analyzer/fileDetailsUtils.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/fileDetailsUtils.ts rename to packages/bundlemon/src/main/analyzer/fileDetailsUtils.ts diff --git a/packages/bundlemon/lib/main/analyzer/getFileSize.ts b/packages/bundlemon/src/main/analyzer/getFileSize.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/getFileSize.ts rename to packages/bundlemon/src/main/analyzer/getFileSize.ts diff --git a/packages/bundlemon/lib/main/analyzer/index.ts b/packages/bundlemon/src/main/analyzer/index.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/index.ts rename to packages/bundlemon/src/main/analyzer/index.ts diff --git a/packages/bundlemon/lib/main/analyzer/pathUtils.ts b/packages/bundlemon/src/main/analyzer/pathUtils.ts similarity index 100% rename from packages/bundlemon/lib/main/analyzer/pathUtils.ts rename to packages/bundlemon/src/main/analyzer/pathUtils.ts diff --git a/packages/bundlemon/lib/main/index.ts b/packages/bundlemon/src/main/index.ts similarity index 100% rename from packages/bundlemon/lib/main/index.ts rename to packages/bundlemon/src/main/index.ts diff --git a/packages/bundlemon/lib/main/initializer.ts b/packages/bundlemon/src/main/initializer.ts similarity index 100% rename from packages/bundlemon/lib/main/initializer.ts rename to packages/bundlemon/src/main/initializer.ts diff --git a/packages/bundlemon/lib/main/outputs/__tests__/outputManager.spec.ts b/packages/bundlemon/src/main/outputs/__tests__/outputManager.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/__tests__/outputManager.spec.ts rename to packages/bundlemon/src/main/outputs/__tests__/outputManager.spec.ts diff --git a/packages/bundlemon/lib/main/outputs/__tests__/utils.spec.ts b/packages/bundlemon/src/main/outputs/__tests__/utils.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/__tests__/utils.spec.ts rename to packages/bundlemon/src/main/outputs/__tests__/utils.spec.ts diff --git a/packages/bundlemon/lib/main/outputs/index.ts b/packages/bundlemon/src/main/outputs/index.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/index.ts rename to packages/bundlemon/src/main/outputs/index.ts diff --git a/packages/bundlemon/lib/main/outputs/outputManager.ts b/packages/bundlemon/src/main/outputs/outputManager.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputManager.ts rename to packages/bundlemon/src/main/outputs/outputManager.ts diff --git a/packages/bundlemon/lib/main/outputs/outputs/__tests__/custom.spec.ts b/packages/bundlemon/src/main/outputs/outputs/__tests__/custom.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/__tests__/custom.spec.ts rename to packages/bundlemon/src/main/outputs/outputs/__tests__/custom.spec.ts diff --git a/packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/async-custom-output-throw.js b/packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/async-custom-output-throw.js similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/async-custom-output-throw.js rename to packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/async-custom-output-throw.js diff --git a/packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/async-custom-output.js b/packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/async-custom-output.js similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/async-custom-output.js rename to packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/async-custom-output.js diff --git a/packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/not-a-function-custom-output.js b/packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/not-a-function-custom-output.js similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/not-a-function-custom-output.js rename to packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/not-a-function-custom-output.js diff --git a/packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/sync-custom-output-throw.js b/packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/sync-custom-output-throw.js similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/sync-custom-output-throw.js rename to packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/sync-custom-output-throw.js diff --git a/packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/sync-custom-output.js b/packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/sync-custom-output.js similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/__tests__/fixtures/sync-custom-output.js rename to packages/bundlemon/src/main/outputs/outputs/__tests__/fixtures/sync-custom-output.js diff --git a/packages/bundlemon/lib/main/outputs/outputs/__tests__/github.spec.ts b/packages/bundlemon/src/main/outputs/outputs/__tests__/github.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/__tests__/github.spec.ts rename to packages/bundlemon/src/main/outputs/outputs/__tests__/github.spec.ts diff --git a/packages/bundlemon/lib/main/outputs/outputs/console.ts b/packages/bundlemon/src/main/outputs/outputs/console.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/console.ts rename to packages/bundlemon/src/main/outputs/outputs/console.ts diff --git a/packages/bundlemon/lib/main/outputs/outputs/custom.ts b/packages/bundlemon/src/main/outputs/outputs/custom.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/custom.ts rename to packages/bundlemon/src/main/outputs/outputs/custom.ts diff --git a/packages/bundlemon/lib/main/outputs/outputs/github.ts b/packages/bundlemon/src/main/outputs/outputs/github.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/github.ts rename to packages/bundlemon/src/main/outputs/outputs/github.ts diff --git a/packages/bundlemon/lib/main/outputs/outputs/index.ts b/packages/bundlemon/src/main/outputs/outputs/index.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/index.ts rename to packages/bundlemon/src/main/outputs/outputs/index.ts diff --git a/packages/bundlemon/lib/main/outputs/outputs/json.ts b/packages/bundlemon/src/main/outputs/outputs/json.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/outputs/json.ts rename to packages/bundlemon/src/main/outputs/outputs/json.ts diff --git a/packages/bundlemon/lib/main/outputs/types.ts b/packages/bundlemon/src/main/outputs/types.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/types.ts rename to packages/bundlemon/src/main/outputs/types.ts diff --git a/packages/bundlemon/lib/main/outputs/utils.ts b/packages/bundlemon/src/main/outputs/utils.ts similarity index 100% rename from packages/bundlemon/lib/main/outputs/utils.ts rename to packages/bundlemon/src/main/outputs/utils.ts diff --git a/packages/bundlemon/lib/main/report/__tests__/generateReport.spec.ts b/packages/bundlemon/src/main/report/__tests__/generateReport.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/report/__tests__/generateReport.spec.ts rename to packages/bundlemon/src/main/report/__tests__/generateReport.spec.ts diff --git a/packages/bundlemon/lib/main/report/generateReport.ts b/packages/bundlemon/src/main/report/generateReport.ts similarity index 100% rename from packages/bundlemon/lib/main/report/generateReport.ts rename to packages/bundlemon/src/main/report/generateReport.ts diff --git a/packages/bundlemon/lib/main/report/index.ts b/packages/bundlemon/src/main/report/index.ts similarity index 100% rename from packages/bundlemon/lib/main/report/index.ts rename to packages/bundlemon/src/main/report/index.ts diff --git a/packages/bundlemon/lib/main/types.ts b/packages/bundlemon/src/main/types.ts similarity index 100% rename from packages/bundlemon/lib/main/types.ts rename to packages/bundlemon/src/main/types.ts diff --git a/packages/bundlemon/lib/main/utils/__tests__/configUtils.spec.ts b/packages/bundlemon/src/main/utils/__tests__/configUtils.spec.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/__tests__/configUtils.spec.ts rename to packages/bundlemon/src/main/utils/__tests__/configUtils.spec.ts diff --git a/packages/bundlemon/lib/main/utils/__tests__/configUtils.ts b/packages/bundlemon/src/main/utils/__tests__/configUtils.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/__tests__/configUtils.ts rename to packages/bundlemon/src/main/utils/__tests__/configUtils.ts diff --git a/packages/bundlemon/lib/main/utils/ci/index.ts b/packages/bundlemon/src/main/utils/ci/index.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/ci/index.ts rename to packages/bundlemon/src/main/utils/ci/index.ts diff --git a/packages/bundlemon/lib/main/utils/ci/providers/circleCI.ts b/packages/bundlemon/src/main/utils/ci/providers/circleCI.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/ci/providers/circleCI.ts rename to packages/bundlemon/src/main/utils/ci/providers/circleCI.ts diff --git a/packages/bundlemon/lib/main/utils/ci/providers/codefresh.ts b/packages/bundlemon/src/main/utils/ci/providers/codefresh.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/ci/providers/codefresh.ts rename to packages/bundlemon/src/main/utils/ci/providers/codefresh.ts diff --git a/packages/bundlemon/lib/main/utils/ci/providers/github.ts b/packages/bundlemon/src/main/utils/ci/providers/github.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/ci/providers/github.ts rename to packages/bundlemon/src/main/utils/ci/providers/github.ts diff --git a/packages/bundlemon/lib/main/utils/ci/providers/index.ts b/packages/bundlemon/src/main/utils/ci/providers/index.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/ci/providers/index.ts rename to packages/bundlemon/src/main/utils/ci/providers/index.ts diff --git a/packages/bundlemon/lib/main/utils/ci/providers/travis.ts b/packages/bundlemon/src/main/utils/ci/providers/travis.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/ci/providers/travis.ts rename to packages/bundlemon/src/main/utils/ci/providers/travis.ts diff --git a/packages/bundlemon/lib/main/utils/ci/types.ts b/packages/bundlemon/src/main/utils/ci/types.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/ci/types.ts rename to packages/bundlemon/src/main/utils/ci/types.ts diff --git a/packages/bundlemon/lib/main/utils/configUtils.ts b/packages/bundlemon/src/main/utils/configUtils.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/configUtils.ts rename to packages/bundlemon/src/main/utils/configUtils.ts diff --git a/packages/bundlemon/lib/main/utils/utils.ts b/packages/bundlemon/src/main/utils/utils.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/utils.ts rename to packages/bundlemon/src/main/utils/utils.ts diff --git a/packages/bundlemon/lib/main/utils/validationUtils.ts b/packages/bundlemon/src/main/utils/validationUtils.ts similarity index 100% rename from packages/bundlemon/lib/main/utils/validationUtils.ts rename to packages/bundlemon/src/main/utils/validationUtils.ts diff --git a/packages/bundlemon/tsconfig.json b/packages/bundlemon/tsconfig.json index 62ebbd9..0cadd7b 100644 --- a/packages/bundlemon/tsconfig.json +++ b/packages/bundlemon/tsconfig.json @@ -1,5 +1,9 @@ { "extends": "../../tsconfig.base.json", + "compilerOptions": { + "module": "CommonJS", + "rootDir": "src" + }, "files": [], "include": [], "references": [ diff --git a/packages/bundlemon/tsconfig.lib.json b/packages/bundlemon/tsconfig.lib.json index fbda878..13eced1 100644 --- a/packages/bundlemon/tsconfig.lib.json +++ b/packages/bundlemon/tsconfig.lib.json @@ -1,11 +1,10 @@ { "extends": "./tsconfig.json", "compilerOptions": { - "module": "es2020", - "outDir": "../../dist/out-tsc", + "outDir": "lib", "declaration": true, - "types": ["node", "jest"] + "types": ["node"] }, "exclude": ["**/*.spec.ts", "jest.config.ts"], - "include": ["**/*.ts"] + "include": ["src/**/*.ts"] } diff --git a/tsconfig.base.json b/tsconfig.base.json index 654f53d..340157b 100644 --- a/tsconfig.base.json +++ b/tsconfig.base.json @@ -11,10 +11,11 @@ "allowSyntheticDefaultImports": true, "esModuleInterop": true, "importHelpers": false, - "target": "es2020", - "module": "es2020", + "allowJs": true, + "target": "ES2022", + "module": "ES2022", "typeRoots": ["node_modules/@types"], - "lib": ["es2020"], + "lib": ["ES2022"], "skipLibCheck": true, "skipDefaultLibCheck": true, "baseUrl": "." diff --git a/yarn.lock b/yarn.lock index 0c5d2a9..b51d9f4 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1358,11 +1358,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.11.tgz#2acd20be6d4f0458bc8c784103495ff24f13b1d3" integrity sha512-FnzU0LyE3ySQk7UntJO4+qIiQgI7KoODnZg5xzXIrFJlKd2P2gwHsHY4927xj9y5PJmJSzULiUCWmv7iWnNa7g== -"@esbuild/aix-ppc64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.19.12.tgz#d1bc06aedb6936b3b6d313bf809a5a40387d2b7f" - integrity sha512-bmoCYyWdEL3wDQIVbcyzRyeKLgk2WtWLTWz1ZIAZF/EGbNOwSA6ew3PftJ1PqMiOOGu0OyFMzG53L0zqIpPeNA== - "@esbuild/aix-ppc64@0.20.2": version "0.20.2" resolved "https://registry.yarnpkg.com/@esbuild/aix-ppc64/-/aix-ppc64-0.20.2.tgz#a70f4ac11c6a1dfc18b8bbb13284155d933b9537" @@ -1373,11 +1368,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.11.tgz#b45d000017385c9051a4f03e17078abb935be220" integrity sha512-aiu7K/5JnLj//KOnOfEZ0D90obUkRzDMyqd/wNAUQ34m4YUPVhRZpnqKV9uqDGxT7cToSDnIHsGooyIczu9T+Q== -"@esbuild/android-arm64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.12.tgz#7ad65a36cfdb7e0d429c353e00f680d737c2aed4" - integrity sha512-P0UVNGIienjZv3f5zq0DP3Nt2IE/3plFzuaS96vihvD0Hd6H/q4WXUGpCxD/E8YrSXfNyRPbpTq+T8ZQioSuPA== - "@esbuild/android-arm64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/android-arm64/-/android-arm64-0.19.4.tgz#74752a09301b8c6b9a415fbda9fb71406a62a7b7" @@ -1393,11 +1383,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.11.tgz#f46f55414e1c3614ac682b29977792131238164c" integrity sha512-5OVapq0ClabvKvQ58Bws8+wkLCV+Rxg7tUVbo9xu034Nm536QTII4YzhaFriQ7rMrorfnFKUsArD2lqKbFY4vw== -"@esbuild/android-arm@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.12.tgz#b0c26536f37776162ca8bde25e42040c203f2824" - integrity sha512-qg/Lj1mu3CdQlDEEiWrlC4eaPZ1KztwGJ9B6J+/6G+/4ewxJg7gqj8eVYWvao1bXrqGiW2rsBZFSX3q2lcW05w== - "@esbuild/android-arm@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/android-arm/-/android-arm-0.19.4.tgz#c27363e1e280e577d9b5c8fa7c7a3be2a8d79bf5" @@ -1413,11 +1398,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.11.tgz#bfc01e91740b82011ef503c48f548950824922b2" integrity sha512-eccxjlfGw43WYoY9QgB82SgGgDbibcqyDTlk3l3C0jOVHKxrjdc9CTwDUQd0vkvYg5um0OH+GpxYvp39r+IPOg== -"@esbuild/android-x64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.12.tgz#cb13e2211282012194d89bf3bfe7721273473b3d" - integrity sha512-3k7ZoUW6Q6YqhdhIaq/WZ7HwBpnFBlW905Fa4s4qWJyiNOgT1dOqDiVAQFwBH7gBRZr17gLrlFCRzF6jFh7Kew== - "@esbuild/android-x64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/android-x64/-/android-x64-0.19.4.tgz#6c9ee03d1488973d928618100048b75b147e0426" @@ -1433,11 +1413,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.11.tgz#533fb7f5a08c37121d82c66198263dcc1bed29bf" integrity sha512-ETp87DRWuSt9KdDVkqSoKoLFHYTrkyz2+65fj9nfXsaV3bMhTCjtQfw3y+um88vGRKRiF7erPrh/ZuIdLUIVxQ== -"@esbuild/darwin-arm64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.12.tgz#cbee41e988020d4b516e9d9e44dd29200996275e" - integrity sha512-B6IeSgZgtEzGC42jsI+YYu9Z3HKRxp8ZT3cqhvliEHovq8HSX2YX8lNocDn79gCKJXOSaEot9MVYky7AKjCs8g== - "@esbuild/darwin-arm64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/darwin-arm64/-/darwin-arm64-0.19.4.tgz#64e2ee945e5932cd49812caa80e8896e937e2f8b" @@ -1453,11 +1428,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.11.tgz#62f3819eff7e4ddc656b7c6815a31cf9a1e7d98e" integrity sha512-fkFUiS6IUK9WYUO/+22omwetaSNl5/A8giXvQlcinLIjVkxwTLSktbF5f/kJMftM2MJp9+fXqZ5ezS7+SALp4g== -"@esbuild/darwin-x64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.12.tgz#e37d9633246d52aecf491ee916ece709f9d5f4cd" - integrity sha512-hKoVkKzFiToTgn+41qGhsUJXFlIjxI/jSYeZf3ugemDYZldIXIxhvwN6erJGlX4t5h417iFuheZ7l+YVn05N3A== - "@esbuild/darwin-x64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/darwin-x64/-/darwin-x64-0.19.4.tgz#d8e26e1b965df284692e4d1263ba69a49b39ac7a" @@ -1473,11 +1443,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.11.tgz#d478b4195aa3ca44160272dab85ef8baf4175b4a" integrity sha512-lhoSp5K6bxKRNdXUtHoNc5HhbXVCS8V0iZmDvyWvYq9S5WSfTIHU2UGjcGt7UeS6iEYp9eeymIl5mJBn0yiuxA== -"@esbuild/freebsd-arm64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.12.tgz#1ee4d8b682ed363b08af74d1ea2b2b4dbba76487" - integrity sha512-4aRvFIXmwAcDBw9AueDQ2YnGmz5L6obe5kmPT8Vd+/+x/JMVKCgdcRwH6APrbpNXsPz+K653Qg8HB/oXvXVukA== - "@esbuild/freebsd-arm64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/freebsd-arm64/-/freebsd-arm64-0.19.4.tgz#29751a41b242e0a456d89713b228f1da4f45582f" @@ -1493,11 +1458,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.11.tgz#7bdcc1917409178257ca6a1a27fe06e797ec18a2" integrity sha512-JkUqn44AffGXitVI6/AbQdoYAq0TEullFdqcMY/PCUZ36xJ9ZJRtQabzMA+Vi7r78+25ZIBosLTOKnUXBSi1Kw== -"@esbuild/freebsd-x64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.12.tgz#37a693553d42ff77cd7126764b535fb6cc28a11c" - integrity sha512-EYoXZ4d8xtBoVN7CEwWY2IN4ho76xjYXqSXMNccFSx2lgqOG/1TBPW0yPx1bJZk94qu3tX0fycJeeQsKovA8gg== - "@esbuild/freebsd-x64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/freebsd-x64/-/freebsd-x64-0.19.4.tgz#873edc0f73e83a82432460ea59bf568c1e90b268" @@ -1513,11 +1473,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.11.tgz#58ad4ff11685fcc735d7ff4ca759ab18fcfe4545" integrity sha512-LneLg3ypEeveBSMuoa0kwMpCGmpu8XQUh+mL8XXwoYZ6Be2qBnVtcDI5azSvh7vioMDhoJFZzp9GWp9IWpYoUg== -"@esbuild/linux-arm64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.12.tgz#be9b145985ec6c57470e0e051d887b09dddb2d4b" - integrity sha512-EoTjyYyLuVPfdPLsGVVVC8a0p1BFFvtpQDB/YLEhaXyf/5bczaGeN15QkR+O4S5LeJ92Tqotve7i1jn35qwvdA== - "@esbuild/linux-arm64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-arm64/-/linux-arm64-0.19.4.tgz#659f2fa988d448dbf5010b5cc583be757cc1b914" @@ -1533,11 +1488,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.11.tgz#ce82246d873b5534d34de1e5c1b33026f35e60e3" integrity sha512-3CRkr9+vCV2XJbjwgzjPtO8T0SZUmRZla+UL1jw+XqHZPkPgZiyWvbDvl9rqAN8Zl7qJF0O/9ycMtjU67HN9/Q== -"@esbuild/linux-arm@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.12.tgz#207ecd982a8db95f7b5279207d0ff2331acf5eef" - integrity sha512-J5jPms//KhSNv+LO1S1TX1UWp1ucM6N6XuL6ITdKWElCu8wXP72l9MM0zDTzzeikVyqFE6U8YAV9/tFyj0ti+w== - "@esbuild/linux-arm@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-arm/-/linux-arm-0.19.4.tgz#d5b13a7ec1f1c655ce05c8d319b3950797baee55" @@ -1553,11 +1503,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.11.tgz#cbae1f313209affc74b80f4390c4c35c6ab83fa4" integrity sha512-caHy++CsD8Bgq2V5CodbJjFPEiDPq8JJmBdeyZ8GWVQMjRD0sU548nNdwPNvKjVpamYYVL40AORekgfIubwHoA== -"@esbuild/linux-ia32@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.12.tgz#d0d86b5ca1562523dc284a6723293a52d5860601" - integrity sha512-Thsa42rrP1+UIGaWz47uydHSBOgTUnwBwNq59khgIwktK6x60Hivfbux9iNR0eHCHzOLjLMLfUMLCypBkZXMHA== - "@esbuild/linux-ia32@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-ia32/-/linux-ia32-0.19.4.tgz#878cd8bf24c9847c77acdb5dd1b2ef6e4fa27a82" @@ -1573,11 +1518,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.11.tgz#5f32aead1c3ec8f4cccdb7ed08b166224d4e9121" integrity sha512-ppZSSLVpPrwHccvC6nQVZaSHlFsvCQyjnvirnVjbKSHuE5N24Yl8F3UwYUUR1UEPaFObGD2tSvVKbvR+uT1Nrg== -"@esbuild/linux-loong64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.12.tgz#9a37f87fec4b8408e682b528391fa22afd952299" - integrity sha512-LiXdXA0s3IqRRjm6rV6XaWATScKAXjI4R4LoDlvO7+yQqFdlr1Bax62sRwkVvRIrwXxvtYEHHI4dm50jAXkuAA== - "@esbuild/linux-loong64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-loong64/-/linux-loong64-0.19.4.tgz#df890499f6e566b7de3aa2361be6df2b8d5fa015" @@ -1593,11 +1533,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.11.tgz#38eecf1cbb8c36a616261de858b3c10d03419af9" integrity sha512-B5x9j0OgjG+v1dF2DkH34lr+7Gmv0kzX6/V0afF41FkPMMqaQ77pH7CrhWeR22aEeHKaeZVtZ6yFwlxOKPVFyg== -"@esbuild/linux-mips64el@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.12.tgz#4ddebd4e6eeba20b509d8e74c8e30d8ace0b89ec" - integrity sha512-fEnAuj5VGTanfJ07ff0gOA6IPsvrVHLVb6Lyd1g2/ed67oU1eFzL0r9WL7ZzscD+/N6i3dWumGE1Un4f7Amf+w== - "@esbuild/linux-mips64el@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-mips64el/-/linux-mips64el-0.19.4.tgz#76eae4e88d2ce9f4f1b457e93892e802851b6807" @@ -1613,11 +1548,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.11.tgz#9c5725a94e6ec15b93195e5a6afb821628afd912" integrity sha512-MHrZYLeCG8vXblMetWyttkdVRjQlQUb/oMgBNurVEnhj4YWOr4G5lmBfZjHYQHHN0g6yDmCAQRR8MUHldvvRDA== -"@esbuild/linux-ppc64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.12.tgz#adb67dadb73656849f63cd522f5ecb351dd8dee8" - integrity sha512-nYJA2/QPimDQOh1rKWedNOe3Gfc8PabU7HT3iXWtNUbRzXS9+vgB0Fjaqr//XNbd82mCxHzik2qotuI89cfixg== - "@esbuild/linux-ppc64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-ppc64/-/linux-ppc64-0.19.4.tgz#c49032f4abbcfa3f747b543a106931fe3dce41ff" @@ -1633,11 +1563,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.11.tgz#2dc4486d474a2a62bbe5870522a9a600e2acb916" integrity sha512-f3DY++t94uVg141dozDu4CCUkYW+09rWtaWfnb3bqe4w5NqmZd6nPVBm+qbz7WaHZCoqXqHz5p6CM6qv3qnSSQ== -"@esbuild/linux-riscv64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.12.tgz#11bc0698bf0a2abf8727f1c7ace2112612c15adf" - integrity sha512-2MueBrlPQCw5dVJJpQdUYgeqIzDQgw3QtiAHUC4RBz9FXPrskyyU3VI1hw7C0BSKB9OduwSJ79FTCqtGMWqJHg== - "@esbuild/linux-riscv64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-riscv64/-/linux-riscv64-0.19.4.tgz#0f815a090772138503ee0465a747e16865bf94b1" @@ -1653,11 +1578,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.11.tgz#4ad8567df48f7dd4c71ec5b1753b6f37561a65a8" integrity sha512-A5xdUoyWJHMMlcSMcPGVLzYzpcY8QP1RtYzX5/bS4dvjBGVxdhuiYyFwp7z74ocV7WDc0n1harxmpq2ePOjI0Q== -"@esbuild/linux-s390x@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.12.tgz#e86fb8ffba7c5c92ba91fc3b27ed5a70196c3cc8" - integrity sha512-+Pil1Nv3Umes4m3AZKqA2anfhJiVmNCYkPchwFJNEJN5QxmTs1uzyy4TvmDrCRNT2ApwSari7ZIgrPeUx4UZDg== - "@esbuild/linux-s390x@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-s390x/-/linux-s390x-0.19.4.tgz#8d2cca20cd4e7c311fde8701d9f1042664f8b92b" @@ -1673,11 +1593,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.11.tgz#b7390c4d5184f203ebe7ddaedf073df82a658766" integrity sha512-grbyMlVCvJSfxFQUndw5mCtWs5LO1gUlwP4CDi4iJBbVpZcqLVT29FxgGuBJGSzyOxotFG4LoO5X+M1350zmPA== -"@esbuild/linux-x64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.12.tgz#5f37cfdc705aea687dfe5dfbec086a05acfe9c78" - integrity sha512-B71g1QpxfwBvNrfyJdVDexenDIt1CiDN1TIXLbhOw0KhJzE78KIFGX6OJ9MrtC0oOqMWf+0xop4qEU8JrJTwCg== - "@esbuild/linux-x64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/linux-x64/-/linux-x64-0.19.4.tgz#f618bec2655de49bff91c588777e37b5e3169d4a" @@ -1693,11 +1608,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.11.tgz#d633c09492a1721377f3bccedb2d821b911e813d" integrity sha512-13jvrQZJc3P230OhU8xgwUnDeuC/9egsjTkXN49b3GcS5BKvJqZn86aGM8W9pd14Kd+u7HuFBMVtrNGhh6fHEQ== -"@esbuild/netbsd-x64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.12.tgz#29da566a75324e0d0dd7e47519ba2f7ef168657b" - integrity sha512-3ltjQ7n1owJgFbuC61Oj++XhtzmymoCihNFgT84UAmJnxJfm4sYCiSLTXZtE00VWYpPMYc+ZQmB6xbSdVh0JWA== - "@esbuild/netbsd-x64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/netbsd-x64/-/netbsd-x64-0.19.4.tgz#7889744ca4d60f1538d62382b95e90a49687cef2" @@ -1713,11 +1623,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.11.tgz#17388c76e2f01125bf831a68c03a7ffccb65d1a2" integrity sha512-ysyOGZuTp6SNKPE11INDUeFVVQFrhcNDVUgSQVDzqsqX38DjhPEPATpid04LCoUr2WXhQTEZ8ct/EgJCUDpyNw== -"@esbuild/openbsd-x64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.12.tgz#306c0acbdb5a99c95be98bdd1d47c916e7dc3ff0" - integrity sha512-RbrfTB9SWsr0kWmb9srfF+L933uMDdu9BIzdA7os2t0TXhCRjrQyCeOt6wVxr79CKD4c+p+YhCj31HBkYcXebw== - "@esbuild/openbsd-x64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/openbsd-x64/-/openbsd-x64-0.19.4.tgz#c3e436eb9271a423d2e8436fcb120e3fd90e2b01" @@ -1733,11 +1638,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.11.tgz#e320636f00bb9f4fdf3a80e548cb743370d41767" integrity sha512-Hf+Sad9nVwvtxy4DXCZQqLpgmRTQqyFyhT3bZ4F2XlJCjxGmRFF0Shwn9rzhOYRB61w9VMXUkxlBy56dk9JJiQ== -"@esbuild/sunos-x64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.12.tgz#0933eaab9af8b9b2c930236f62aae3fc593faf30" - integrity sha512-HKjJwRrW8uWtCQnQOz9qcU3mUZhTUQvi56Q8DPTLLB+DawoiQdjsYq+j+D3s9I8VFtDr+F9CjgXKKC4ss89IeA== - "@esbuild/sunos-x64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/sunos-x64/-/sunos-x64-0.19.4.tgz#f63f5841ba8c8c1a1c840d073afc99b53e8ce740" @@ -1753,11 +1653,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.11.tgz#c778b45a496e90b6fc373e2a2bb072f1441fe0ee" integrity sha512-0P58Sbi0LctOMOQbpEOvOL44Ne0sqbS0XWHMvvrg6NE5jQ1xguCSSw9jQeUk2lfrXYsKDdOe6K+oZiwKPilYPQ== -"@esbuild/win32-arm64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.12.tgz#773bdbaa1971b36db2f6560088639ccd1e6773ae" - integrity sha512-URgtR1dJnmGvX864pn1B2YUYNzjmXkuJOIqG2HdU62MVS4EHpU2946OZoTMnRUHklGtJdJZ33QfzdjGACXhn1A== - "@esbuild/win32-arm64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/win32-arm64/-/win32-arm64-0.19.4.tgz#80be69cec92da4da7781cf7a8351b95cc5a236b0" @@ -1773,11 +1668,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.11.tgz#481a65fee2e5cce74ec44823e6b09ecedcc5194c" integrity sha512-6YOrWS+sDJDmshdBIQU+Uoyh7pQKrdykdefC1avn76ss5c+RN6gut3LZA4E2cH5xUEp5/cA0+YxRaVtRAb0xBg== -"@esbuild/win32-ia32@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.12.tgz#000516cad06354cc84a73f0943a4aa690ef6fd67" - integrity sha512-+ZOE6pUkMOJfmxmBZElNOx72NKpIa/HFOMGzu8fqzQJ5kgf6aTGrcJaFsNiVMH4JKpMipyK+7k0n2UXN7a8YKQ== - "@esbuild/win32-ia32@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/win32-ia32/-/win32-ia32-0.19.4.tgz#15dc0ed83d2794872b05d8edc4a358fecf97eb54" @@ -1793,11 +1683,6 @@ resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.11.tgz#a5d300008960bb39677c46bf16f53ec70d8dee04" integrity sha512-vfkhltrjCAb603XaFhqhAF4LGDi2M4OrCRrFusyQ+iTLQ/o60QQXxc9cZC/FFpihBI9N1Grn6SMKVJ4KP7Fuiw== -"@esbuild/win32-x64@0.19.12": - version "0.19.12" - resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.12.tgz#c57c8afbb4054a3ab8317591a0b7320360b444ae" - integrity sha512-T1QyPSDCyMXaO3pzBkF96E8xMkiRYbUEZADd29SyPGabqxMViNoii+NcK7eWJAEoU6RZyEm5lVSIjTmcdoB9HA== - "@esbuild/win32-x64@0.19.4": version "0.19.4" resolved "https://registry.yarnpkg.com/@esbuild/win32-x64/-/win32-x64-0.19.4.tgz#d46a6e220a717f31f39ae80f49477cc3220be0f0" @@ -4192,85 +4077,85 @@ estree-walker "^2.0.2" picomatch "^2.3.1" -"@rollup/rollup-android-arm-eabi@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.16.4.tgz#5e8930291f1e5ead7fb1171d53ba5c87718de062" - integrity sha512-GkhjAaQ8oUTOKE4g4gsZ0u8K/IHU1+2WQSgS1TwTcYvL+sjbaQjNHFXbOJ6kgqGHIO1DfUhI/Sphi9GkRT9K+Q== - -"@rollup/rollup-android-arm64@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.16.4.tgz#ffb84f1359c04ec8a022a97110e18a5600f5f638" - integrity sha512-Bvm6D+NPbGMQOcxvS1zUl8H7DWlywSXsphAeOnVeiZLQ+0J6Is8T7SrjGTH29KtYkiY9vld8ZnpV3G2EPbom+w== - -"@rollup/rollup-darwin-arm64@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.16.4.tgz#b2fcee8d4806a0b1b9185ac038cc428ddedce9f4" - integrity sha512-i5d64MlnYBO9EkCOGe5vPR/EeDwjnKOGGdd7zKFhU5y8haKhQZTN2DgVtpODDMxUr4t2K90wTUJg7ilgND6bXw== - -"@rollup/rollup-darwin-x64@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.16.4.tgz#fcb25ccbaa3dd33a6490e9d1c64bab2e0e16b932" - integrity sha512-WZupV1+CdUYehaZqjaFTClJI72fjJEgTXdf4NbW69I9XyvdmztUExBtcI2yIIU6hJtYvtwS6pkTkHJz+k08mAQ== - -"@rollup/rollup-linux-arm-gnueabihf@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.16.4.tgz#40d46bdfe667e5eca31bf40047460e326d2e26bb" - integrity sha512-ADm/xt86JUnmAfA9mBqFcRp//RVRt1ohGOYF6yL+IFCYqOBNwy5lbEK05xTsEoJq+/tJzg8ICUtS82WinJRuIw== - -"@rollup/rollup-linux-arm-musleabihf@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.16.4.tgz#7741df2448c11c56588b50835dbfe91b1a10b375" - integrity sha512-tJfJaXPiFAG+Jn3cutp7mCs1ePltuAgRqdDZrzb1aeE3TktWWJ+g7xK9SNlaSUFw6IU4QgOxAY4rA+wZUT5Wfg== - -"@rollup/rollup-linux-arm64-gnu@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.16.4.tgz#0a23b02d2933e4c4872ad18d879890b6a4a295df" - integrity sha512-7dy1BzQkgYlUTapDTvK997cgi0Orh5Iu7JlZVBy1MBURk7/HSbHkzRnXZa19ozy+wwD8/SlpJnOOckuNZtJR9w== - -"@rollup/rollup-linux-arm64-musl@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.16.4.tgz#e37ef259358aa886cc07d782220a4fb83c1e6970" - integrity sha512-zsFwdUw5XLD1gQe0aoU2HVceI6NEW7q7m05wA46eUAyrkeNYExObfRFQcvA6zw8lfRc5BHtan3tBpo+kqEOxmg== - -"@rollup/rollup-linux-powerpc64le-gnu@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.16.4.tgz#8c69218b6de05ee2ba211664a2d2ac1e54e43f94" - integrity sha512-p8C3NnxXooRdNrdv6dBmRTddEapfESEUflpICDNKXpHvTjRRq1J82CbU5G3XfebIZyI3B0s074JHMWD36qOW6w== - -"@rollup/rollup-linux-riscv64-gnu@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.16.4.tgz#d32727dab8f538d9a4a7c03bcf58c436aecd0139" - integrity sha512-Lh/8ckoar4s4Id2foY7jNgitTOUQczwMWNYi+Mjt0eQ9LKhr6sK477REqQkmy8YHY3Ca3A2JJVdXnfb3Rrwkng== - -"@rollup/rollup-linux-s390x-gnu@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.16.4.tgz#d46097246a187d99fc9451fe8393b7155b47c5ec" - integrity sha512-1xwwn9ZCQYuqGmulGsTZoKrrn0z2fAur2ujE60QgyDpHmBbXbxLaQiEvzJWDrscRq43c8DnuHx3QorhMTZgisQ== - -"@rollup/rollup-linux-x64-gnu@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.16.4.tgz#6356c5a03a4afb1c3057490fc51b4764e109dbc7" - integrity sha512-LuOGGKAJ7dfRtxVnO1i3qWc6N9sh0Em/8aZ3CezixSTM+E9Oq3OvTsvC4sm6wWjzpsIlOCnZjdluINKESflJLA== - -"@rollup/rollup-linux-x64-musl@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.16.4.tgz#03a5831a9c0d05877b94653b5ddd3020d3c6fb06" - integrity sha512-ch86i7KkJKkLybDP2AtySFTRi5fM3KXp0PnHocHuJMdZwu7BuyIKi35BE9guMlmTpwwBTB3ljHj9IQXnTCD0vA== - -"@rollup/rollup-win32-arm64-msvc@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.16.4.tgz#6cc0db57750376b9303bdb6f5482af8974fcae35" - integrity sha512-Ma4PwyLfOWZWayfEsNQzTDBVW8PZ6TUUN1uFTBQbF2Chv/+sjenE86lpiEwj2FiviSmSZ4Ap4MaAfl1ciF4aSA== - -"@rollup/rollup-win32-ia32-msvc@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.16.4.tgz#aea0b7e492bd9ed46971cb80bc34f1eb14e07789" - integrity sha512-9m/ZDrQsdo/c06uOlP3W9G2ENRVzgzbSXmXHT4hwVaDQhYcRpi9bgBT0FTG9OhESxwK0WjQxYOSfv40cU+T69w== - -"@rollup/rollup-win32-x64-msvc@4.16.4": - version "4.16.4" - resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.16.4.tgz#c09ad9a132ccb5a67c4f211d909323ab1294f95f" - integrity sha512-YunpoOAyGLDseanENHmbFvQSfVL5BxW3k7hhy0eN4rb3gS/ct75dVD0EXOWIqFT/nE8XYW6LP6vz6ctKRi0k9A== +"@rollup/rollup-android-arm-eabi@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm-eabi/-/rollup-android-arm-eabi-4.17.2.tgz#1a32112822660ee104c5dd3a7c595e26100d4c2d" + integrity sha512-NM0jFxY8bB8QLkoKxIQeObCaDlJKewVlIEkuyYKm5An1tdVZ966w2+MPQ2l8LBZLjR+SgyV+nRkTIunzOYBMLQ== + +"@rollup/rollup-android-arm64@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-android-arm64/-/rollup-android-arm64-4.17.2.tgz#5aeef206d65ff4db423f3a93f71af91b28662c5b" + integrity sha512-yeX/Usk7daNIVwkq2uGoq2BYJKZY1JfyLTaHO/jaiSwi/lsf8fTFoQW/n6IdAsx5tx+iotu2zCJwz8MxI6D/Bw== + +"@rollup/rollup-darwin-arm64@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-arm64/-/rollup-darwin-arm64-4.17.2.tgz#6b66aaf003c70454c292cd5f0236ebdc6ffbdf1a" + integrity sha512-kcMLpE6uCwls023+kknm71ug7MZOrtXo+y5p/tsg6jltpDtgQY1Eq5sGfHcQfb+lfuKwhBmEURDga9N0ol4YPw== + +"@rollup/rollup-darwin-x64@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-darwin-x64/-/rollup-darwin-x64-4.17.2.tgz#f64fc51ed12b19f883131ccbcea59fc68cbd6c0b" + integrity sha512-AtKwD0VEx0zWkL0ZjixEkp5tbNLzX+FCqGG1SvOu993HnSz4qDI6S4kGzubrEJAljpVkhRSlg5bzpV//E6ysTQ== + +"@rollup/rollup-linux-arm-gnueabihf@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-gnueabihf/-/rollup-linux-arm-gnueabihf-4.17.2.tgz#1a7641111be67c10111f7122d1e375d1226cbf14" + integrity sha512-3reX2fUHqN7sffBNqmEyMQVj/CKhIHZd4y631duy0hZqI8Qoqf6lTtmAKvJFYa6bhU95B1D0WgzHkmTg33In0A== + +"@rollup/rollup-linux-arm-musleabihf@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm-musleabihf/-/rollup-linux-arm-musleabihf-4.17.2.tgz#c93fd632923e0fee25aacd2ae414288d0b7455bb" + integrity sha512-uSqpsp91mheRgw96xtyAGP9FW5ChctTFEoXP0r5FAzj/3ZRv3Uxjtc7taRQSaQM/q85KEKjKsZuiZM3GyUivRg== + +"@rollup/rollup-linux-arm64-gnu@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-gnu/-/rollup-linux-arm64-gnu-4.17.2.tgz#fa531425dd21d058a630947527b4612d9d0b4a4a" + integrity sha512-EMMPHkiCRtE8Wdk3Qhtciq6BndLtstqZIroHiiGzB3C5LDJmIZcSzVtLRbwuXuUft1Cnv+9fxuDtDxz3k3EW2A== + +"@rollup/rollup-linux-arm64-musl@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-arm64-musl/-/rollup-linux-arm64-musl-4.17.2.tgz#8acc16f095ceea5854caf7b07e73f7d1802ac5af" + integrity sha512-NMPylUUZ1i0z/xJUIx6VUhISZDRT+uTWpBcjdv0/zkp7b/bQDF+NfnfdzuTiB1G6HTodgoFa93hp0O1xl+/UbA== + +"@rollup/rollup-linux-powerpc64le-gnu@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-powerpc64le-gnu/-/rollup-linux-powerpc64le-gnu-4.17.2.tgz#94e69a8499b5cf368911b83a44bb230782aeb571" + integrity sha512-T19My13y8uYXPw/L/k0JYaX1fJKFT/PWdXiHr8mTbXWxjVF1t+8Xl31DgBBvEKclw+1b00Chg0hxE2O7bTG7GQ== + +"@rollup/rollup-linux-riscv64-gnu@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-riscv64-gnu/-/rollup-linux-riscv64-gnu-4.17.2.tgz#7ef1c781c7e59e85a6ce261cc95d7f1e0b56db0f" + integrity sha512-BOaNfthf3X3fOWAB+IJ9kxTgPmMqPPH5f5k2DcCsRrBIbWnaJCgX2ll77dV1TdSy9SaXTR5iDXRL8n7AnoP5cg== + +"@rollup/rollup-linux-s390x-gnu@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-s390x-gnu/-/rollup-linux-s390x-gnu-4.17.2.tgz#f15775841c3232fca9b78cd25a7a0512c694b354" + integrity sha512-W0UP/x7bnn3xN2eYMql2T/+wpASLE5SjObXILTMPUBDB/Fg/FxC+gX4nvCfPBCbNhz51C+HcqQp2qQ4u25ok6g== + +"@rollup/rollup-linux-x64-gnu@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-gnu/-/rollup-linux-x64-gnu-4.17.2.tgz#b521d271798d037ad70c9f85dd97d25f8a52e811" + integrity sha512-Hy7pLwByUOuyaFC6mAr7m+oMC+V7qyifzs/nW2OJfC8H4hbCzOX07Ov0VFk/zP3kBsELWNFi7rJtgbKYsav9QQ== + +"@rollup/rollup-linux-x64-musl@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-linux-x64-musl/-/rollup-linux-x64-musl-4.17.2.tgz#9254019cc4baac35800991315d133cc9fd1bf385" + integrity sha512-h1+yTWeYbRdAyJ/jMiVw0l6fOOm/0D1vNLui9iPuqgRGnXA0u21gAqOyB5iHjlM9MMfNOm9RHCQ7zLIzT0x11Q== + +"@rollup/rollup-win32-arm64-msvc@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-arm64-msvc/-/rollup-win32-arm64-msvc-4.17.2.tgz#27f65a89f6f52ee9426ec11e3571038e4671790f" + integrity sha512-tmdtXMfKAjy5+IQsVtDiCfqbynAQE/TQRpWdVataHmhMb9DCoJxp9vLcCBjEQWMiUYxO1QprH/HbY9ragCEFLA== + +"@rollup/rollup-win32-ia32-msvc@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-ia32-msvc/-/rollup-win32-ia32-msvc-4.17.2.tgz#a2fbf8246ed0bb014f078ca34ae6b377a90cb411" + integrity sha512-7II/QCSTAHuE5vdZaQEwJq2ZACkBpQDOmQsE6D6XUbnBHW8IAhm4eTufL6msLJorzrHDFv3CF8oCA/hSIRuZeQ== + +"@rollup/rollup-win32-x64-msvc@4.17.2": + version "4.17.2" + resolved "https://registry.yarnpkg.com/@rollup/rollup-win32-x64-msvc/-/rollup-win32-x64-msvc-4.17.2.tgz#5a2d08b81e8064b34242d5cc9973ef8dd1e60503" + integrity sha512-TGGO7v7qOq4CYmSBVEYpI1Y5xDuCEnbVC5Vth8mOsW0gDSzxNrVERPc790IGHsrT2dQSimgMr9Ub3Y1Jci5/8w== "@samverschueren/stream-to-observable@^0.3.0": version "0.3.1" @@ -4429,6 +4314,105 @@ "@svgr/plugin-jsx" "8.1.0" "@svgr/plugin-svgo" "8.1.0" +"@swc-node/core@^1.13.1": + version "1.13.1" + resolved "https://registry.yarnpkg.com/@swc-node/core/-/core-1.13.1.tgz#d8f72653e8e35cc4d6b881c60aea661e728dc350" + integrity sha512-emB5l2nZsXjUEAuusqjYvWnQMLWZp6K039Mv8aq5SX1rsNM/N7DNhw1i4/DX7AyzNZ0tT+ASWyTvqEURldp5HA== + +"@swc-node/register@^1.9.1": + version "1.9.1" + resolved "https://registry.yarnpkg.com/@swc-node/register/-/register-1.9.1.tgz#65c95a3b21d3202d38d1e8024f619f76ce4480ca" + integrity sha512-z//TBXJdRWXoISCXlQmVz+NMm8Qm/UvcfKiGC0tSJdfeVYf5EZkGqvk2OiRH4SIJ6OGFfS9T0YrvA2pDKzWtPA== + dependencies: + "@swc-node/core" "^1.13.1" + "@swc-node/sourcemap-support" "^0.5.0" + colorette "^2.0.20" + debug "^4.3.4" + pirates "^4.0.6" + tslib "^2.6.2" + +"@swc-node/sourcemap-support@^0.5.0": + version "0.5.0" + resolved "https://registry.yarnpkg.com/@swc-node/sourcemap-support/-/sourcemap-support-0.5.0.tgz#bf2a3e8097eb810b9137305c8cb429288a328fde" + integrity sha512-fbhjL5G0YvFoWwNhWleuBUfotiX+USiA9oJqu9STFw+Hb0Cgnddn+HVS/K5fI45mn92e8V+cHD2jgFjk4w2T9Q== + dependencies: + source-map-support "^0.5.21" + tslib "^2.6.2" + +"@swc/core-darwin-arm64@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-arm64/-/core-darwin-arm64-1.4.17.tgz#e62fa7f247bdd1c0c50a3f99722da4dd098c7c67" + integrity sha512-HVl+W4LezoqHBAYg2JCqR+s9ife9yPfgWSj37iIawLWzOmuuJ7jVdIB7Ee2B75bEisSEKyxRlTl6Y1Oq3owBgw== + +"@swc/core-darwin-x64@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-darwin-x64/-/core-darwin-x64-1.4.17.tgz#1145cbb7575e317204ed3a7d0274bd26fe9ffab6" + integrity sha512-WYRO9Fdzq4S/he8zjW5I95G1zcvyd9yyD3Tgi4/ic84P5XDlSMpBDpBLbr/dCPjmSg7aUXxNQqKqGkl6dQxYlA== + +"@swc/core-linux-arm-gnueabihf@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm-gnueabihf/-/core-linux-arm-gnueabihf-1.4.17.tgz#7145b3ada5cf9b748eaacbc9a7c7037ba0fb26bb" + integrity sha512-cgbvpWOvtMH0XFjvwppUCR+Y+nf6QPaGu6AQ5hqCP+5Lv2zO5PG0RfasC4zBIjF53xgwEaaWmGP5/361P30X8Q== + +"@swc/core-linux-arm64-gnu@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-gnu/-/core-linux-arm64-gnu-1.4.17.tgz#5c0833ef132af17bd3cbdf2253f35b57c0cf62bb" + integrity sha512-l7zHgaIY24cF9dyQ/FOWbmZDsEj2a9gRFbmgx2u19e3FzOPuOnaopFj0fRYXXKCmtdx+anD750iBIYnTR+pq/Q== + +"@swc/core-linux-arm64-musl@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-linux-arm64-musl/-/core-linux-arm64-musl-1.4.17.tgz#5bfe81eb23c905f04b669a7d2b060a147a263483" + integrity sha512-qhH4gr9gAlVk8MBtzXbzTP3BJyqbAfUOATGkyUtohh85fPXQYuzVlbExix3FZXTwFHNidGHY8C+ocscI7uDaYw== + +"@swc/core-linux-x64-gnu@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-gnu/-/core-linux-x64-gnu-1.4.17.tgz#a0c19bc9635e86ebd1c7f8e9e026503d1a1bf83d" + integrity sha512-vRDFATL1oN5oZMImkwbgSHEkp8xG1ofEASBypze01W1Tqto8t+yo6gsp69wzCZBlxldsvPpvFZW55Jq0Rn+UnA== + +"@swc/core-linux-x64-musl@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-linux-x64-musl/-/core-linux-x64-musl-1.4.17.tgz#2179b9536235a3b02a46997ddb1c178dfadf1667" + integrity sha512-zQNPXAXn3nmPqv54JVEN8k2JMEcMTQ6veVuU0p5O+A7KscJq+AGle/7ZQXzpXSfUCXlLMX4wvd+rwfGhh3J4cw== + +"@swc/core-win32-arm64-msvc@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-win32-arm64-msvc/-/core-win32-arm64-msvc-1.4.17.tgz#3004a431c836c6b16b4660ea2425dde467a8ee36" + integrity sha512-z86n7EhOwyzxwm+DLE5NoLkxCTme2lq7QZlDjbQyfCxOt6isWz8rkW5QowTX8w9Rdmk34ncrjSLvnHOeLY17+w== + +"@swc/core-win32-ia32-msvc@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-win32-ia32-msvc/-/core-win32-ia32-msvc-1.4.17.tgz#59155485d5307fb2a267e5acb215e0f440b6f48f" + integrity sha512-JBwuSTJIgiJJX6wtr4wmXbfvOswHFj223AumUrK544QV69k60FJ9q2adPW9Csk+a8wm1hLxq4HKa2K334UHJ/g== + +"@swc/core-win32-x64-msvc@1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core-win32-x64-msvc/-/core-win32-x64-msvc-1.4.17.tgz#b98f25fc277fb0e319f25f9fd00a82023662716b" + integrity sha512-jFkOnGQamtVDBm3MF5Kq1lgW8vx4Rm1UvJWRUfg+0gx7Uc3Jp3QMFeMNw/rDNQYRDYPG3yunCC+2463ycd5+dg== + +"@swc/core@^1.4.17": + version "1.4.17" + resolved "https://registry.yarnpkg.com/@swc/core/-/core-1.4.17.tgz#3ea4180fa5c54282b284006a6de1263ef1cf887f" + integrity sha512-tq+mdWvodMBNBBZbwFIMTVGYHe9N7zvEaycVVjfvAx20k1XozHbHhRv+9pEVFJjwRxLdXmtvFZd3QZHRAOpoNQ== + dependencies: + "@swc/counter" "^0.1.2" + "@swc/types" "^0.1.5" + optionalDependencies: + "@swc/core-darwin-arm64" "1.4.17" + "@swc/core-darwin-x64" "1.4.17" + "@swc/core-linux-arm-gnueabihf" "1.4.17" + "@swc/core-linux-arm64-gnu" "1.4.17" + "@swc/core-linux-arm64-musl" "1.4.17" + "@swc/core-linux-x64-gnu" "1.4.17" + "@swc/core-linux-x64-musl" "1.4.17" + "@swc/core-win32-arm64-msvc" "1.4.17" + "@swc/core-win32-ia32-msvc" "1.4.17" + "@swc/core-win32-x64-msvc" "1.4.17" + +"@swc/counter@^0.1.2", "@swc/counter@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@swc/counter/-/counter-0.1.3.tgz#cc7463bd02949611c6329596fccd2b0ec782b0e9" + integrity sha512-e2BR4lsJkkRlKZ/qCHPw9ZaSxc0MVUd7gtbtaB7aMvHeJVYe8sOB8DBZkP2DtISHGSku9sCK6T6cnY0CtXrOCQ== + "@swc/helpers@~0.5.0": version "0.5.10" resolved "https://registry.yarnpkg.com/@swc/helpers/-/helpers-0.5.10.tgz#5720082d007197cd85743dd599198097126a3f6e" @@ -4436,6 +4420,13 @@ dependencies: tslib "^2.4.0" +"@swc/types@^0.1.5": + version "0.1.6" + resolved "https://registry.yarnpkg.com/@swc/types/-/types-0.1.6.tgz#2f13f748995b247d146de2784d3eb7195410faba" + integrity sha512-/JLo/l2JsT/LRd80C3HfbmVpxOAJ11FO2RCEslFrgzLltoP9j8XIbsyDcfCt2WWyX+CM96rBoNM+IToAkFOugg== + dependencies: + "@swc/counter" "^0.1.3" + "@szmarczak/http-timer@^5.0.1": version "5.0.1" resolved "https://registry.yarnpkg.com/@szmarczak/http-timer/-/http-timer-5.0.1.tgz#c7c1bf1141cdd4751b0399c8fc7b8b664cd5be3a" @@ -5298,6 +5289,11 @@ json-schema-to-ts "1.6.4" ts-morph "12.0.0" +"@vitejs/plugin-basic-ssl@^1.1.0": + version "1.1.0" + resolved "https://registry.yarnpkg.com/@vitejs/plugin-basic-ssl/-/plugin-basic-ssl-1.1.0.tgz#8b840305a6b48e8764803435ec0c716fa27d3802" + integrity sha512-wO4Dk/rm8u7RNhOf95ZzcEmC9rYOncYgvq4z3duaJrCgjN8BxAnDVyndanfcJZ0O6XZzHz6Q0hTimxTg8Y9g/A== + "@vitejs/plugin-react@^4.2.0": version "4.2.1" resolved "https://registry.yarnpkg.com/@vitejs/plugin-react/-/plugin-react-4.2.1.tgz#744d8e4fcb120fc3dbaa471dadd3483f5a304bb9" @@ -8153,36 +8149,7 @@ esbuild@0.19.4: "@esbuild/win32-ia32" "0.19.4" "@esbuild/win32-x64" "0.19.4" -esbuild@^0.19.3: - version "0.19.12" - resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.19.12.tgz#dc82ee5dc79e82f5a5c3b4323a2a641827db3e04" - integrity sha512-aARqgq8roFBj054KvQr5f1sFu0D65G+miZRCuJyJ0G13Zwx7vRar5Zhn2tkQNzIXcBrNVsv/8stehpj+GAjgbg== - optionalDependencies: - "@esbuild/aix-ppc64" "0.19.12" - "@esbuild/android-arm" "0.19.12" - "@esbuild/android-arm64" "0.19.12" - "@esbuild/android-x64" "0.19.12" - "@esbuild/darwin-arm64" "0.19.12" - "@esbuild/darwin-x64" "0.19.12" - "@esbuild/freebsd-arm64" "0.19.12" - "@esbuild/freebsd-x64" "0.19.12" - "@esbuild/linux-arm" "0.19.12" - "@esbuild/linux-arm64" "0.19.12" - "@esbuild/linux-ia32" "0.19.12" - "@esbuild/linux-loong64" "0.19.12" - "@esbuild/linux-mips64el" "0.19.12" - "@esbuild/linux-ppc64" "0.19.12" - "@esbuild/linux-riscv64" "0.19.12" - "@esbuild/linux-s390x" "0.19.12" - "@esbuild/linux-x64" "0.19.12" - "@esbuild/netbsd-x64" "0.19.12" - "@esbuild/openbsd-x64" "0.19.12" - "@esbuild/sunos-x64" "0.19.12" - "@esbuild/win32-arm64" "0.19.12" - "@esbuild/win32-ia32" "0.19.12" - "@esbuild/win32-x64" "0.19.12" - -esbuild@^0.20.0, esbuild@^0.20.2: +esbuild@^0.20.0, esbuild@^0.20.1, esbuild@^0.20.2: version "0.20.2" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.20.2.tgz#9d6b2386561766ee6b5a55196c6d766d28c87ea1" integrity sha512-WdOOppmUNU+IbZ0PaDiTst80zjnrOkyJNHoKupIcVyU8Lvla3Ugx94VzkQ32Ijqd7UhHJy75gNWDMUekcrSJ6g== @@ -13129,7 +13096,7 @@ pino@^8.17.0, pino@^8.5.0: sonic-boom "^3.7.0" thread-stream "^2.0.0" -pirates@^4.0.4: +pirates@^4.0.4, pirates@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/pirates/-/pirates-4.0.6.tgz#3018ae32ecfcff6c29ba2267cbf21166ac1f36b9" integrity sha512-saLsH7WeYYPiD25LDuLRRY/i+6HaPYr6G1OUlN39otzkSTxKnubR9RTxS3/Kk50s1g2JTgFwWQDQyplC5/SHZg== @@ -13176,7 +13143,7 @@ postcss-values-parser@^6.0.2: is-url-superb "^4.0.0" quote-unquote "^1.0.0" -postcss@^8.4.23, postcss@^8.4.32: +postcss@^8.4.23, postcss@^8.4.38: version "8.4.38" resolved "https://registry.yarnpkg.com/postcss/-/postcss-8.4.38.tgz#b387d533baf2054288e337066d81c6bee9db9e0e" integrity sha512-Wglpdk03BSfXkHoQa3b/oulrotAkwrlLDRSOb9D0bN86FdRyE9lppSp33aHNPgBa0JKCoB+drFLZkQoRRYae5A== @@ -13951,36 +13918,36 @@ rimraf@3.0.2, rimraf@^3.0.2: dependencies: glob "^7.1.3" -rimraf@^5.0.1: +rimraf@^5.0.1, rimraf@^5.0.5: version "5.0.5" resolved "https://registry.yarnpkg.com/rimraf/-/rimraf-5.0.5.tgz#9be65d2d6e683447d2e9013da2bf451139a61ccf" integrity sha512-CqDakW+hMe/Bz202FPEymy68P+G50RfMQK+Qo5YUqc9SPipvbGjCGKd0RSKEelbsfQuw3g5NZDSrlZZAJurH1A== dependencies: glob "^10.3.7" -rollup@^4.2.0: - version "4.16.4" - resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.16.4.tgz#fe328eb41293f20c9593a095ec23bdc4b5d93317" - integrity sha512-kuaTJSUbz+Wsb2ATGvEknkI12XV40vIiHmLuFlejoo7HtDok/O5eDDD0UpCVY5bBX5U5RYo8wWP83H7ZsqVEnA== +rollup@^4.13.0: + version "4.17.2" + resolved "https://registry.yarnpkg.com/rollup/-/rollup-4.17.2.tgz#26d1785d0144122277fdb20ab3a24729ae68301f" + integrity sha512-/9ClTJPByC0U4zNLowV1tMBe8yMEAxewtR3cUNX5BoEpGH3dQEWpJLr6CLp0fPdYRF/fzVOgvDb1zXuakwF5kQ== dependencies: "@types/estree" "1.0.5" optionalDependencies: - "@rollup/rollup-android-arm-eabi" "4.16.4" - "@rollup/rollup-android-arm64" "4.16.4" - "@rollup/rollup-darwin-arm64" "4.16.4" - "@rollup/rollup-darwin-x64" "4.16.4" - "@rollup/rollup-linux-arm-gnueabihf" "4.16.4" - "@rollup/rollup-linux-arm-musleabihf" "4.16.4" - "@rollup/rollup-linux-arm64-gnu" "4.16.4" - "@rollup/rollup-linux-arm64-musl" "4.16.4" - "@rollup/rollup-linux-powerpc64le-gnu" "4.16.4" - "@rollup/rollup-linux-riscv64-gnu" "4.16.4" - "@rollup/rollup-linux-s390x-gnu" "4.16.4" - "@rollup/rollup-linux-x64-gnu" "4.16.4" - "@rollup/rollup-linux-x64-musl" "4.16.4" - "@rollup/rollup-win32-arm64-msvc" "4.16.4" - "@rollup/rollup-win32-ia32-msvc" "4.16.4" - "@rollup/rollup-win32-x64-msvc" "4.16.4" + "@rollup/rollup-android-arm-eabi" "4.17.2" + "@rollup/rollup-android-arm64" "4.17.2" + "@rollup/rollup-darwin-arm64" "4.17.2" + "@rollup/rollup-darwin-x64" "4.17.2" + "@rollup/rollup-linux-arm-gnueabihf" "4.17.2" + "@rollup/rollup-linux-arm-musleabihf" "4.17.2" + "@rollup/rollup-linux-arm64-gnu" "4.17.2" + "@rollup/rollup-linux-arm64-musl" "4.17.2" + "@rollup/rollup-linux-powerpc64le-gnu" "4.17.2" + "@rollup/rollup-linux-riscv64-gnu" "4.17.2" + "@rollup/rollup-linux-s390x-gnu" "4.17.2" + "@rollup/rollup-linux-x64-gnu" "4.17.2" + "@rollup/rollup-linux-x64-musl" "4.17.2" + "@rollup/rollup-win32-arm64-msvc" "4.17.2" + "@rollup/rollup-win32-ia32-msvc" "4.17.2" + "@rollup/rollup-win32-x64-msvc" "4.17.2" fsevents "~2.3.2" rrweb-cssom@^0.6.0: @@ -14421,7 +14388,7 @@ source-map-support@0.5.19: buffer-from "^1.0.0" source-map "^0.6.0" -source-map-support@0.5.21: +source-map-support@0.5.21, source-map-support@^0.5.21: version "0.5.21" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.5.21.tgz#04fe7c7f9e1ed2d662233c28cb2b35b9f63f6e4f" integrity sha512-uBHU3L3czsIyYXKX88fdrGovxdSCoTGDRZ6SYXtSRxLZUzHg5P/66Ht6uoUlHu9EZod+inXhKo3qQgwXUT/y1w== @@ -15274,7 +15241,7 @@ tslib@^1.8.1, tslib@^1.9.0: resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== -tslib@^2.0.3, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.0: +tslib@^2.0.3, tslib@^2.3.0, tslib@^2.4.0, tslib@^2.5.0, tslib@^2.6.0, tslib@^2.6.2: version "2.6.2" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.6.2.tgz#703ac29425e7b37cd6fd456e92404d46d1f3e4ae" integrity sha512-AEYxH93jGFPn/a2iVAwW87VuUIkR1FVUKB77NwMF7nBTDkDrrT/Hpt/IrCJ0QXhW27jTBDcf5ZY7w6RiqTMw2Q== @@ -15741,14 +15708,14 @@ vite-tsconfig-paths@^4.3.2: globrex "^0.1.2" tsconfck "^3.0.3" -vite@~5.0.0: - version "5.0.13" - resolved "https://registry.yarnpkg.com/vite/-/vite-5.0.13.tgz#605865b0e482506163e3f04f91665238f3be8cf1" - integrity sha512-/9ovhv2M2dGTuA+dY93B9trfyWMDRQw2jdVBhHNP6wr0oF34wG2i/N55801iZIpgUpnHDm4F/FabGQLyc+eOgg== +vite@^5.2.11: + version "5.2.11" + resolved "https://registry.yarnpkg.com/vite/-/vite-5.2.11.tgz#726ec05555431735853417c3c0bfb36003ca0cbd" + integrity sha512-HndV31LWW05i1BLPMUCE1B9E9GFbOu1MbenhS58FuK6owSO5qHm7GiCotrNY1YE5rMeQSFBGmT5ZaLEjFizgiQ== dependencies: - esbuild "^0.19.3" - postcss "^8.4.32" - rollup "^4.2.0" + esbuild "^0.20.1" + postcss "^8.4.38" + rollup "^4.13.0" optionalDependencies: fsevents "~2.3.3"