diff --git a/package.json b/package.json index 0e512cbf5c..6404d311e3 100644 --- a/package.json +++ b/package.json @@ -15,15 +15,11 @@ ] }, "scripts": { - "build:module": "esr scripts/build.ts", - "build:prod": "NODE_ENV=production yarn build:module", - "dev": "yarn build:module --dev", - "watch": "yarn build:module --dev --watch", - "prepare": "husky install", - "clean": "esr scripts/generate-typings.ts", - "build:types": "ultra -r --silent --concurrency 20 --filter \"@zag-js/*\" \"tsc src/index.ts --declaration --emitDeclarationOnly --target es2018 --outDir dist --skipLibCheck --moduleResolution node --strict false\"", - "prebuild": "yarn build:types", - "build": "NODE_ENV=production yarn build:module", + "build:fast": "yarn turbo run build:fast --filter=./packages/**/*", + "build": "turbo run build --filter=./packages/**/*", + "start": "turbo run start --stream --parallel --filter=./packages/**/*", + "postinstall": "husky install && patch-package", + "clean": "manypkg exec rm -rf dist .turbo .swc", "start:react": "cd examples/next-ts && yarn dev", "start:vue": "cd examples/vue-ts && vite --port 3002 --clearScreen false", "start:solid": "cd examples/solid-ts && vite --port 3001 --clearScreen false", @@ -33,20 +29,19 @@ "cypress:run": "cypress run", "cypress:dev": "cypress open", "fix:pkgs": "manypkg fix", - "gen:machine": "esr scripts/generate-machine.ts", - "gen:util": "esr scripts/generate-util.ts", - "lint": "eslint packages --ext .ts", - "postinstall": "patch-package", + "gen:machine": "plop machine", + "gen:util": "plop utility", + "lint": "turbo run lint --stream --parallel", + "version": "changeset version", "release": "changeset publish", - "test": "jest --maxWorkers=50%", - "test:ci": "jest --runInBand" + "test": "turbo run test --stream", + "test:ci": "turbo run test:ci --stream" }, "devDependencies": { "@changesets/changelog-github": "^0.4.0", "@changesets/cli": "^2.19.0", "@commitlint/cli": "^16.0.2", "@commitlint/config-conventional": "^16.0.0", - "@lerna/package-graph": "^4.0.0", "@manypkg/cli": "^0.17.0", "@swc-node/jest": "^1.4.3", "@testing-library/cypress": "^8.0.2", @@ -54,13 +49,10 @@ "@testing-library/jest-dom": "^5.16.1", "@types/form-serialize": "^0.7.2", "@types/jest": "^27.4.0", - "@types/lodash": "^4.14.178", - "@types/shelljs": "^0.8.11", "@typescript-eslint/eslint-plugin": "^5.9.1", "@typescript-eslint/parser": "^5.9.1", "axe-core": "^4.3.5", "chalk": "^4.1.2", - "chokidar": "^3.5.2", "commitlint": "^12.1.4", "cypress": "^8.5.0", "cypress-axe": "^0.14.0", @@ -77,23 +69,16 @@ "eslint-plugin-prettier": "^3.4.0", "eslint-plugin-testing-library": "^4.4.0", "form-serialize": "^0.7.2", - "gzip-size": "6.0.0", "husky": "^6.0.0", "jest": "^26.6.3", "jest-watch-typeahead": "^0.6.3", "lint-staged": "^11.0.0", - "lodash": "^4.17.21", - "node-plop": "^0.26.2", + "plop": "^3.0.5", "patch-package": "^6.4.7", "prettier": "^2.5.1", - "pretty-bytes": "^5.6.0", - "rimraf": "^3.0.2", - "shelljs": "^0.8.5", "start-server-and-test": "^1.14.0", "typescript": "^4.6.3", - "turbo": "^1.2.2", - "lask": "^0.1.0", - "ultra-runner": "^3.10.5" + "turbo": "^1.2.2" }, "lint-staged": { "**/*.{ts,tsx,js,jsx}": "prettier --write" diff --git a/packages/core/package.json b/packages/core/package.json index 32806aa7ed..9adb26ceb9 100644 --- a/packages/core/package.json +++ b/packages/core/package.json @@ -22,12 +22,13 @@ "dist/**/*" ], "scripts": { + "build:fast": "yarn zag build", "start": "yarn zag build --watch", "build": "yarn zag build --prod", - "test": "jest --config ../../jest.config.js --rootDir tests", + "test": "jest --config ../../jest.config.js --rootDir tests --passWithNoTests", "lint": "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --updateSnapshot", - "test:watch": "yarn test --watchAll" + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" }, "publishConfig": { "access": "public" @@ -40,4 +41,4 @@ "klona": "^2.0.5", "valtio": "^1.5.2" } -} +} \ No newline at end of file diff --git a/packages/frameworks/react/package.json b/packages/frameworks/react/package.json index a03ec7fbd7..9fce6be17f 100644 --- a/packages/frameworks/react/package.json +++ b/packages/frameworks/react/package.json @@ -19,7 +19,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/frameworks/react", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -37,5 +37,14 @@ }, "peerDependencies": { "react": ">=16.8.6" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/frameworks/solid/package.json b/packages/frameworks/solid/package.json index 5bc7771656..daf59ccb6e 100644 --- a/packages/frameworks/solid/package.json +++ b/packages/frameworks/solid/package.json @@ -19,7 +19,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/frameworks/solid", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -37,5 +37,14 @@ }, "peerDependencies": { "solid-js": ">=1.1.3" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/frameworks/svelte/package.json b/packages/frameworks/svelte/package.json index f4610f74b1..5dcbc2fcf9 100644 --- a/packages/frameworks/svelte/package.json +++ b/packages/frameworks/svelte/package.json @@ -19,7 +19,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/core/svelte", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -35,5 +35,14 @@ }, "peerDependencies": { "svelte": "^3.38.2" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/frameworks/vue/package.json b/packages/frameworks/vue/package.json index 52eb499188..863a8bdce4 100644 --- a/packages/frameworks/vue/package.json +++ b/packages/frameworks/vue/package.json @@ -19,7 +19,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/frameworks/vue", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -38,5 +38,14 @@ "peerDependencies": { "@vue/runtime-dom": ">=3.2.0", "vue": ">=3.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/accordion/package.json b/packages/machines/accordion/package.json index f405e28499..74e427a425 100644 --- a/packages/machines/accordion/package.json +++ b/packages/machines/accordion/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/accordion", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -33,5 +33,14 @@ "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/combobox/package.json b/packages/machines/combobox/package.json index f86780fc6f..965031283c 100644 --- a/packages/machines/combobox/package.json +++ b/packages/machines/combobox/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/combobox", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -34,5 +34,14 @@ "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0", "scroll-into-view-if-needed": "^2.2.28" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/dialog/package.json b/packages/machines/dialog/package.json index 9a2b30d4fa..33d3a18a07 100644 --- a/packages/machines/dialog/package.json +++ b/packages/machines/dialog/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/dialog", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -35,5 +35,14 @@ "aria-hidden": "^1.1.3", "focus-trap": "^6.7.1", "scroll-into-view-if-needed": "^2.2.28" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/editable/package.json b/packages/machines/editable/package.json index 1c87b44ecd..20024807c0 100644 --- a/packages/machines/editable/package.json +++ b/packages/machines/editable/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/editable", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -32,5 +32,14 @@ "@zag-js/core": "^0.0.0", "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/menu/package.json b/packages/machines/menu/package.json index 3017935d94..0bb8d901c1 100644 --- a/packages/machines/menu/package.json +++ b/packages/machines/menu/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/menu", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -35,5 +35,14 @@ "@zag-js/popper": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/number-input/package.json b/packages/machines/number-input/package.json index 0274356a17..8bc05a5c56 100644 --- a/packages/machines/number-input/package.json +++ b/packages/machines/number-input/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/number-input", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -35,5 +35,14 @@ "@zag-js/rect-utils": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/pin-input/package.json b/packages/machines/pin-input/package.json index e36aff31a8..8d0032a8f2 100644 --- a/packages/machines/pin-input/package.json +++ b/packages/machines/pin-input/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/pin-input", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -33,5 +33,14 @@ "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/popover/package.json b/packages/machines/popover/package.json index fc2cc955a6..c5c6499133 100644 --- a/packages/machines/popover/package.json +++ b/packages/machines/popover/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/popover", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -36,5 +36,14 @@ "@zag-js/utils": "^0.0.0", "aria-hidden": "^1.1.3", "focus-trap": "^6.7.1" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/range-slider/package.json b/packages/machines/range-slider/package.json index f090eba4b7..0f546fe1b8 100644 --- a/packages/machines/range-slider/package.json +++ b/packages/machines/range-slider/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/range-slider", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -36,5 +36,14 @@ "@zag-js/slider": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/rating/package.json b/packages/machines/rating/package.json index f74c793f26..6cfd04c5d2 100644 --- a/packages/machines/rating/package.json +++ b/packages/machines/rating/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/rating", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -34,5 +34,14 @@ "@zag-js/rect-utils": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/slider/package.json b/packages/machines/slider/package.json index ef5023bdea..6e20882ebd 100644 --- a/packages/machines/slider/package.json +++ b/packages/machines/slider/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/slider", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -35,5 +35,14 @@ "@zag-js/rect-utils": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/splitter/package.json b/packages/machines/splitter/package.json index 7332a7d53e..8b5ff2cb76 100644 --- a/packages/machines/splitter/package.json +++ b/packages/machines/splitter/package.json @@ -21,7 +21,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/splitter", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -35,5 +35,14 @@ "@zag-js/number-utils": "^0.0.0", "@zag-js/rect-utils": "^0.0.0", "@zag-js/types": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/tabs/package.json b/packages/machines/tabs/package.json index dab658e891..14a3655feb 100644 --- a/packages/machines/tabs/package.json +++ b/packages/machines/tabs/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/tabs", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -33,5 +33,14 @@ "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/tags-input/package.json b/packages/machines/tags-input/package.json index 4bcc19772c..85081001f6 100644 --- a/packages/machines/tags-input/package.json +++ b/packages/machines/tags-input/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/tags-input", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -32,5 +32,14 @@ "@zag-js/core": "^0.0.0", "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/toast/package.json b/packages/machines/toast/package.json index 3a9c674900..89f34e3ba8 100644 --- a/packages/machines/toast/package.json +++ b/packages/machines/toast/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/toast", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -33,5 +33,14 @@ "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/toggle/package.json b/packages/machines/toggle/package.json index aeba85bba2..4a8b9ac2f0 100644 --- a/packages/machines/toggle/package.json +++ b/packages/machines/toggle/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/toggle", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -32,5 +32,14 @@ "@zag-js/core": "^0.0.0", "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/machines/tooltip/package.json b/packages/machines/tooltip/package.json index 940d1e4317..eaa5894c8c 100644 --- a/packages/machines/tooltip/package.json +++ b/packages/machines/tooltip/package.json @@ -20,7 +20,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/tooltip", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -33,5 +33,14 @@ "@zag-js/popper": "^0.0.0", "@zag-js/dom-utils": "^0.0.0", "@zag-js/types": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/types/package.json b/packages/types/package.json index 661f8b8f55..a792ef29dc 100644 --- a/packages/types/package.json +++ b/packages/types/package.json @@ -15,12 +15,21 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/types", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/chakra-ui/zag/issues" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/utilities/core/package.json b/packages/utilities/core/package.json index 5a639aaedd..8cfda38e35 100644 --- a/packages/utilities/core/package.json +++ b/packages/utilities/core/package.json @@ -16,12 +16,21 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/core", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/chakra-ui/zag/issues" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/utilities/dom/package.json b/packages/utilities/dom/package.json index 9cf4d01e3c..407c087c8d 100644 --- a/packages/utilities/dom/package.json +++ b/packages/utilities/dom/package.json @@ -16,7 +16,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/dom", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -28,5 +28,14 @@ "@types/react": "^18.0.0", "@zag-js/utils": "^0.0.0", "scroll-into-view-if-needed": "^2.2.29" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/utilities/number/package.json b/packages/utilities/number/package.json index 3698bf183c..ff46a729af 100644 --- a/packages/utilities/number/package.json +++ b/packages/utilities/number/package.json @@ -16,12 +16,21 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/number", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" }, "bugs": { "url": "https://github.com/chakra-ui/zag/issues" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/utilities/popper/package.json b/packages/utilities/popper/package.json index 8ea6acef20..f7d773fbba 100644 --- a/packages/utilities/popper/package.json +++ b/packages/utilities/popper/package.json @@ -16,7 +16,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/popper", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -28,5 +28,14 @@ "@floating-ui/dom": "^0.4.2", "@zag-js/dom-utils": "^0.0.0", "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/packages/utilities/rect/package.json b/packages/utilities/rect/package.json index 016355de40..964d305953 100644 --- a/packages/utilities/rect/package.json +++ b/packages/utilities/rect/package.json @@ -16,7 +16,7 @@ "repository": "https://github.com/chakra-ui/zag/tree/main/packages/utilities/rect", "sideEffects": false, "files": [ - "dist" + "dist/**/*" ], "publishConfig": { "access": "public" @@ -26,5 +26,14 @@ }, "dependencies": { "@zag-js/utils": "^0.0.0" + }, + "scripts": { + "build:fast": "yarn zag build", + "start": "yarn zag build --watch", + "build": "yarn zag build --prod", + "test": "jest --config ../../../jest.config.js --rootDir tests --passWithNoTests", + "lint": "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot" } -} +} \ No newline at end of file diff --git a/plopfile.js b/plopfile.js new file mode 100644 index 0000000000..2161b96728 --- /dev/null +++ b/plopfile.js @@ -0,0 +1,76 @@ +const camelCase = (str) => { + return str.replace(/[-_]([a-z])/g, (g) => g[1].toUpperCase()) +} + +/** + * @param {import("plop").NodePlopAPI} plop + */ +module.exports = function main(plop) { + plop.setHelper("camelize", camelCase) + + plop.setGenerator("machine", { + description: "Generates a new ui machine", + prompts: [ + { + type: "input", + name: "machine", + message: "Enter machine name (e.g. menu, popover):", + }, + ], + actions(answers) { + const actions = [] + + if (!answers) return actions + + const { machine } = answers + + actions.push({ + type: "addMany", + templateFiles: "machine/**", + destination: `../packages/machines/{{dashCase machine}}`, + base: "machine/", + data: { machine, packageName: machine }, + abortOnFail: true, + }) + + return actions + }, + }) + + plop.setGenerator("utility", { + description: "Generates a utils package", + prompts: [ + { + type: "input", + name: "name", + message: "Enter package name:", + }, + { + type: "input", + name: "description", + message: "The description of this package:", + }, + ], + actions(answers) { + const actions = [] + + if (!answers) return actions + + const { name, description } = answers + + actions.push({ + type: "addMany", + templateFiles: "util-template/**", + destination: `../packages/utilities/${name}`, + base: "util-template/", + data: { + description, + packageName: name, + }, + abortOnFail: true, + }) + + return actions + }, + }) +} diff --git a/scripts/build-utils.ts b/scripts/build-utils.ts deleted file mode 100644 index 5c0a74af4f..0000000000 --- a/scripts/build-utils.ts +++ /dev/null @@ -1,62 +0,0 @@ -import { getPackages } from "@manypkg/get-packages" -import fs from "fs" -import path from "path" - -type PkgNode = { - name: string - externalDependencies: Map - localDependencies: Map - localDependents: Map -} - -type PkgGraph = Map - -type Packages = Array<{ abs: string; dir: string; pkg: Record }> - -let packagesCache: Packages - -export async function getWorkspacePkgs() { - if (packagesCache) { - return packagesCache - } - - const { packages } = await getPackages("packages") - const { PackageGraph } = require("@lerna/package-graph") - - const pkgs = packages - .map((pkg) => { - const rel = path.relative(process.cwd(), pkg.dir) - return { abs: pkg.dir, dir: rel, pkg: pkg.packageJson } - }) - .filter((pkg) => !pkg.dir.includes("examples")) - - const detailsMap = new Map([...pkgs].map((pkg) => [pkg.pkg.name, pkg])) - - const sortedPackages: PkgGraph = new PackageGraph( - pkgs.map(({ pkg }) => pkg), - "dependencies", - ) - - packagesCache = Array.from(sortedPackages.values()) - .sort((pkgA, pkgB) => { - if (pkgA.localDependencies.has(pkgB.name)) return 1 - return -1 - }) - .map((pkg) => detailsMap.get(pkg.name)!) - - return packagesCache -} - -/* ----------------------------------------------------------------------------- - * Generate types for in dev mode. In prod, we use ultra for type generation, see the - package.json script - * -----------------------------------------------------------------------------*/ - -export function generateDevTypings(dir: string) { - const distPath = path.join(dir, "dist") - fs.writeFileSync(path.join(distPath, "index.d.ts"), 'export * from "../src"') -} - -export function writePkgJson(dir: string, pkg: Record) { - fs.writeFileSync(`${dir}/package.json`, JSON.stringify(pkg, null, 2)) -} diff --git a/scripts/build.ts b/scripts/build.ts deleted file mode 100644 index bed051fd03..0000000000 --- a/scripts/build.ts +++ /dev/null @@ -1,150 +0,0 @@ -import chalk from "chalk" -import { watch } from "chokidar" -import * as esbuild from "esbuild" -import gzipSize from "gzip-size" -import pretty from "pretty-bytes" -import { generateDevTypings, getWorkspacePkgs, writePkgJson } from "./build-utils" - -type Packages = Array<{ abs: string; dir: string; pkg: Record }> -type BuildOptions = { - dev: boolean -} - -/* ----------------------------------------------------------------------------- - * The logger utlity - * -----------------------------------------------------------------------------*/ -const logger = { - watching() { - console.log(chalk.green("Watching packages...")) - }, - buildComplete() { - console.log("✅", chalk.cyanBright(`Build complete.`)) - }, - changed(file: string) { - console.log(chalk.cyanBright(`${file} changed. rebuilding...`)) - }, - fileChangeBuilt(name: string) { - console.log("✅", chalk.cyanBright(`${name} built.`)) - }, - typesGenerated() { - console.log("✅", chalk.cyanBright(`Type generation complete...`)) - }, -} - -export function setupEntry(dir: string, pkg: Record) { - pkg.main = "dist/index.js" - pkg.module = "dist/index.mjs" - pkg.types = "dist/index.d.ts" - delete pkg.scripts - writePkgJson(dir, pkg) -} - -/** - * Reports the gzip size of a bundle - */ -export function reportBundleSize(dir: string, name: string) { - const output = [chalk.green(name), "gzip size", chalk.dim("→")] - output.push(pretty(gzipSize.fileSync(`${dir}/dist/index.mjs`))) - console.log(output.join(" ")) -} - -/* ----------------------------------------------------------------------------- - * ESM and CJS build scripts (Powered by esbuild) - * -----------------------------------------------------------------------------*/ - -function buildPackage(dir: string, pkg: Record, opts: BuildOptions) { - const { dev } = opts - - const common: esbuild.BuildOptions = { - minify: process.env.NODE_ENV === "production", - bundle: true, - sourcemap: "inline", - absWorkingDir: dir, - entryPoints: ["src/index.ts"], - external: ["valtio"].concat(Object.keys(pkg.peerDependencies ?? {})), - } - - esbuild.buildSync({ - ...common, - format: "cjs", - outfile: "dist/index.js", - }) - - esbuild.buildSync({ - ...common, - format: "esm", - outfile: "dist/index.mjs", - }) - - if (!dev) { - reportBundleSize(dir, pkg.name) - } -} - -function buildPackages(pkgs: Packages, opts: BuildOptions) { - const { dev } = opts - const len = pkgs.length - for (let i = 0; i < len; i++) { - const { abs, pkg } = pkgs[i] - buildPackage(abs, pkg, opts) - - if (dev) { - generateDevTypings(abs) - } - } - - if (dev) { - logger.typesGenerated() - } - - logger.buildComplete() -} - -async function watchPackages(opts: BuildOptions) { - logger.watching() - - watch("packages/**/src/**/*.ts").on("change", async (file) => { - logger.changed(file) - - const buildAll = /(utilities|types)/.test(file) - const pkgs = await getWorkspacePkgs() - - if (buildAll) { - buildPackages(pkgs, opts) - return - } - - const found = pkgs.find((t) => file.startsWith(t.dir)) - if (!found) return - - const { abs, pkg } = found - buildPackage(abs, pkg, opts) - logger.fileChangeBuilt(pkg.name) - }) - - // Persist watcher on error - // https://nodejs.org/api/process.html#event-uncaughtexception - process.on("uncaughtException", function () {}) -} - -/* ----------------------------------------------------------------------------- - * Main build script - * -----------------------------------------------------------------------------*/ - -export async function main() { - const args = process.argv.slice(2) - const flags = args.filter((arg) => arg.startsWith("--")) - - const dev = flags.includes("--dev") - const watch = flags.includes("--watch") - - const packages = await getWorkspacePkgs() - - buildPackages(packages, { dev }) - - if (watch) { - watchPackages({ dev }) - } -} - -main() diff --git a/scripts/generate-machine.ts b/scripts/generate-machine.ts deleted file mode 100644 index c596116d4c..0000000000 --- a/scripts/generate-machine.ts +++ /dev/null @@ -1,54 +0,0 @@ -import nodePlop, { ActionType } from "node-plop" -import shell from "shelljs" -import _ from "lodash" - -const plop = nodePlop("plop-templates/plopfile.hbs") - -interface Answers { - machine: string -} - -async function createMachine() { - plop.setHelper("capitalize", (text) => _.capitalize(_.camelCase(text))) - - plop.setGenerator("machine", { - description: "Generates a new ui machine", - prompts: [ - { - type: "input", - name: "machine", - message: "Enter machine name (e.g. menu, popover):", - }, - ], - actions(answers: any) { - const actions: ActionType[] = [] - - if (!answers) return actions - - const { machine } = answers as Answers - - actions.push({ - type: "addMany", - templateFiles: "machine-template/**", - destination: `../packages/machines/{{dashCase machine}}`, - base: "machine-template/", - data: { machine, packageName: machine }, - abortOnFail: true, - }) - - return actions - }, - }) - - const { runPrompts, runActions } = plop.getGenerator("machine") - - const answers = await runPrompts() - await runActions(answers) -} - -async function run() { - await createMachine() - shell.exec("yarn") -} - -run() diff --git a/scripts/generate-typings.ts b/scripts/generate-typings.ts deleted file mode 100644 index b70044d2e5..0000000000 --- a/scripts/generate-typings.ts +++ /dev/null @@ -1,10 +0,0 @@ -import { generateDevTypings, getWorkspacePkgs } from "./build-utils" - -async function main() { - const pkgs = await getWorkspacePkgs() - pkgs.forEach((pkg) => { - generateDevTypings(pkg.abs) - }) -} - -main() diff --git a/scripts/generate-util.ts b/scripts/generate-util.ts deleted file mode 100644 index 5aa6484b09..0000000000 --- a/scripts/generate-util.ts +++ /dev/null @@ -1,60 +0,0 @@ -import nodePlop, { ActionType } from "node-plop" -import shell from "shelljs" - -const plop = nodePlop("plop-templates/plopfile.hbs") - -interface Answers { - name: string - description: string -} - -async function createPackage() { - plop.setGenerator("util", { - description: "Generates a utils package", - prompts: [ - { - type: "input", - name: "name", - message: "Enter package name:", - }, - { - type: "input", - name: "description", - message: "The description of this package:", - }, - ], - actions(answers) { - const actions: ActionType[] = [] - - if (!answers) return actions - - const { name, description } = answers as Answers - - actions.push({ - type: "addMany", - templateFiles: "util-template/**", - destination: `../packages/utilities/${name}`, - base: "util-template/", - data: { - description, - packageName: name, - }, - abortOnFail: true, - }) - - return actions - }, - }) - - const { runPrompts, runActions } = plop.getGenerator("util") - - const answers = await runPrompts() - await runActions(answers) -} - -async function main() { - await createPackage() - shell.exec("yarn") -} - -main() diff --git a/scripts/package.json b/scripts/package.json index 8c9496a049..72e51b7a7d 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -6,9 +6,12 @@ "zag": "index.js" }, "dependencies": { - "esbuild-plugin-alias": "^0.2.1", + "@lerna/package-graph": "^4.0.0", "@swc-node/register": "1.4.2", "commander": "8.3.0", + "gzip-size": "6.0.0", + "pretty-bytes": "^5.6.0", + "relative": "^3.0.2", "signale": "^1.4.0", "@types/signale": "^1.4.4" } diff --git a/scripts/play.ts b/scripts/play.ts deleted file mode 100644 index 78c1580793..0000000000 --- a/scripts/play.ts +++ /dev/null @@ -1,25 +0,0 @@ -import { getWorkspacePkgs } from "./build-utils" -import fs from "fs" - -const patch = { - files: ["dist/**/*"], - scripts: { - start: "yarn zag build --watch", - build: "yarn zag build --prod", - test: "jest --config ../../jest.config.js --rootDir tests", - lint: "eslint src --ext .ts,.tsx", - "test:ci": "yarn test --ci --runInBand --updateSnapshot", - "test:watch": "yarn test --watchAll", - }, -} - -async function main() { - const pkgs = await getWorkspacePkgs() - for (const { pkg, dir } of pkgs) { - if (pkg.name === "@zag-js/scripts") continue - Object.assign(pkg, patch) - fs.writeFileSync(`${dir}/package.json`, JSON.stringify(pkg, null, 2)) - } -} - -main() diff --git a/scripts/src/commands/build.ts b/scripts/src/commands/build.ts index 9e6167b66f..3ec8526944 100644 --- a/scripts/src/commands/build.ts +++ b/scripts/src/commands/build.ts @@ -2,7 +2,7 @@ import * as esbuild from "esbuild" import fs from "fs" import path from "path" import { spawn } from "child_process" -import { logger } from "../utilities/log" +import { createLogger } from "../utilities/log" import { getBundleSize } from "../utilities/bundle-size" function getPackageJson(dir: string) { @@ -19,7 +19,9 @@ type BuildArgs = { const EXCLUDES = ["valtio"] -export async function build(opts: BuildArgs) { +const logger = createLogger("build") + +export default async function build(opts: BuildArgs) { const { report, watch, prod } = opts const cwd = process.cwd() @@ -30,7 +32,6 @@ export async function build(opts: BuildArgs) { minify: false, bundle: true, treeShaking: true, - platform: "neutral", sourcemap: true, absWorkingDir: cwd, entryPoints: ["src/index.ts"], diff --git a/scripts/src/commands/csb.ts b/scripts/src/commands/csb.ts new file mode 100644 index 0000000000..bd12846e4c --- /dev/null +++ b/scripts/src/commands/csb.ts @@ -0,0 +1,20 @@ +import { getWorkspacePackages } from "../utilities/packages" +import fs from "fs" +import path from "path" +import { createLogger } from "../utilities/log" + +const logger = createLogger("codesandbox") + +export default async function csb() { + const modules = await getWorkspacePackages() + const cwd = process.cwd() + + const result = modules.map((module) => module.dir) + const ciPath = path.join(cwd, ".codesandbox/ci.json") + + const ciJson = JSON.parse(fs.readFileSync(ciPath, "utf8")) + ciJson.packages = result + + fs.writeFileSync(".codesandbox/ci.json", JSON.stringify(ciJson, null, 2)) + logger.success("Successfully patched .codesandbox/ci.json") +} diff --git a/scripts/src/commands/index.ts b/scripts/src/commands/index.ts deleted file mode 100644 index 5f86833654..0000000000 --- a/scripts/src/commands/index.ts +++ /dev/null @@ -1 +0,0 @@ -export * from "./build" diff --git a/scripts/src/commands/modify.ts b/scripts/src/commands/modify.ts new file mode 100644 index 0000000000..e20ef6603d --- /dev/null +++ b/scripts/src/commands/modify.ts @@ -0,0 +1,26 @@ +import fs from "fs" +import relative from "relative" +import { getWorkspacePackages } from "../utilities/packages" + +export default async function modify() { + const pkgs = await getWorkspacePackages() + + for (const { pkg, dir } of pkgs) { + const jestConfig = relative(dir, "jest.config.js") + const patch = { + files: ["dist/**/*"], + scripts: { + "build:fast": "yarn zag build", + start: "yarn zag build --watch", + build: "yarn zag build --prod", + test: `jest --config ${jestConfig} --rootDir tests --passWithNoTests`, + lint: "eslint src --ext .ts,.tsx", + "test:ci": "yarn test --ci --runInBand --maxWorkers=50%", + "test:watch": "yarn test --watch --updateSnapshot", + }, + } + + Object.assign(pkg, patch) + fs.writeFileSync(`${dir}/package.json`, JSON.stringify(pkg, null, 2)) + } +} diff --git a/scripts/src/index.ts b/scripts/src/index.ts index 479a328186..f4a36b2239 100644 --- a/scripts/src/index.ts +++ b/scripts/src/index.ts @@ -1,12 +1,15 @@ import { Command } from "commander" -import { build } from "./commands" -import { logger } from "./utilities/log" +import build from "./commands/build" +import csb from "./commands/csb" +import modify from "./commands/modify" +import { createLogger } from "./utilities/log" const program = new Command() +const logger = createLogger("cli") // prettier-ignore program.name("zag-cli") - .description("cli utilities for zag") + .description("CLI utilities for zag") program .command("build") @@ -16,6 +19,18 @@ program .option("-p, --prod", "minify for production") .action(build) +// prettier-ignore +program + .command("csb") + .description("Patch .codesandbox json") + .action(csb) + +// prettier-ignore +program + .command("modify") + .description("Modify package.json for public packages") + .action(modify) + program.parse(process.argv) process.on("uncaughtException", (error) => { diff --git a/scripts/src/relative.d.ts b/scripts/src/relative.d.ts new file mode 100644 index 0000000000..fc881d10be --- /dev/null +++ b/scripts/src/relative.d.ts @@ -0,0 +1,3 @@ +declare module "relative" { + export default function relative(from: string, to: string): string +} diff --git a/scripts/src/utilities/log.ts b/scripts/src/utilities/log.ts index 036a4c6afa..b52a7b655f 100644 --- a/scripts/src/utilities/log.ts +++ b/scripts/src/utilities/log.ts @@ -1,16 +1,14 @@ import signale from "signale" -const fn = signale.scope("build") - -export const logger = { - ...fn, - watching() { - fn.info("Watching packages...") - }, - buildComplete(name: string) { - fn.success(`${name}: Build complete.`) - }, - typesGenerated(name: string) { - fn.success(`${name}: Type generation complete...`) - }, +export function createLogger(scope: string) { + const fn = signale.scope(scope) + return { + ...fn, + buildComplete(name: string) { + fn.success(`${name}: Build complete.`) + }, + typesGenerated(name: string) { + fn.success(`${name}: Type generation complete...`) + }, + } } diff --git a/scripts/src/utilities/packages.ts b/scripts/src/utilities/packages.ts new file mode 100644 index 0000000000..71cc75cef4 --- /dev/null +++ b/scripts/src/utilities/packages.ts @@ -0,0 +1,60 @@ +import { getPackages, Package } from "@manypkg/get-packages" +import path from "path" + +/* ----------------------------------------------------------------------------- + * Get all public packages in the current workspace + * -----------------------------------------------------------------------------*/ + +function getPublicPackages(modules: Package[]): Packages { + const cwd = process.cwd() + return modules + .map((module) => ({ + abs: module.dir, + dir: path.relative(cwd, module.dir), + pkg: module.packageJson, + })) + .filter(({ pkg }) => !pkg.private) +} + +/* ----------------------------------------------------------------------------- + * Toposort packages by dependencies + * -----------------------------------------------------------------------------*/ + +function toposort(modules: Packages) { + const { PackageGraph } = require("@lerna/package-graph") + const lookup = new Map(modules.map((module) => [module.pkg.name, module])) + + const graph: PkgGraph = new PackageGraph( + modules.map((module) => module.pkg), + "dependencies", + ) + + return Array.from(graph.values()) + .sort((pkgA, pkgB) => (pkgA.localDependencies.has(pkgB.name) ? 1 : -1)) + .map((pkg) => lookup.get(pkg.name)!) +} + +type PackageGraphNode = { + name: string + externalDependencies: Map + localDependencies: Map + localDependents: Map +} + +type PkgGraph = Map + +type Packages = Array<{ + abs: string + dir: string + pkg: Record +}> + +/* ----------------------------------------------------------------------------- + * Get the workspace packages, sorted by dependencies + * -----------------------------------------------------------------------------*/ + +export async function getWorkspacePackages() { + const { packages } = await getPackages("packages") + const pkgs = getPublicPackages(packages) + return toposort(pkgs) +} diff --git a/scripts/tsconfig.json b/scripts/tsconfig.json index 42acb8d09a..6676fdd581 100644 --- a/scripts/tsconfig.json +++ b/scripts/tsconfig.json @@ -2,8 +2,7 @@ "compilerOptions": { "strict": true, "esModuleInterop": true, - "downlevelIteration": true, - "jsx": "react" + "downlevelIteration": true }, "include": ["src"] } diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json index 3a660fe087..2127b7ff3c 100644 --- a/tsconfig.eslint.json +++ b/tsconfig.eslint.json @@ -1,4 +1,4 @@ { "extends": "./tsconfig.json", - "include": ["**/*.config.js", "examples/**/*.ts", "examples/**/*.tsx", "cypress/**/*.ts", "scripts"] + "include": ["**/*.js", "*/**/*.ts"] } diff --git a/turbo.json b/turbo.json index 386bdb5d90..337dc906ba 100644 --- a/turbo.json +++ b/turbo.json @@ -6,6 +6,13 @@ "dependsOn": ["^build"], "outputs": ["dist/**"] }, + "build:fast": { + "cache": false + }, + "start": { + "dependsOn": ["^start"], + "outputs": ["dist/**"] + }, "test": { "cache": false }, diff --git a/yarn.lock b/yarn.lock index da250d2d75..9157be34b5 100644 --- a/yarn.lock +++ b/yarn.lock @@ -331,14 +331,6 @@ core-js-pure "^3.19.0" regenerator-runtime "^0.13.4" -"@babel/runtime-corejs3@^7.9.2": - version "7.16.8" - resolved "https://registry.yarnpkg.com/@babel/runtime-corejs3/-/runtime-corejs3-7.16.8.tgz#ea533d96eda6fdc76b1812248e9fbd0c11d4a1a7" - integrity sha512-3fKhuICS1lMz0plI5ktOE/yEtBRMVxplzRkdn6mJQ197XiY0JnrzYV0+Mxozq3JZ8SBV9Ecurmw1XsGbwOf+Sg== - dependencies: - core-js-pure "^3.20.2" - regenerator-runtime "^0.13.4" - "@babel/runtime@^7.10.2", "@babel/runtime@^7.10.4", "@babel/runtime@^7.12.5", "@babel/runtime@^7.13.10", "@babel/runtime@^7.14.6", "@babel/runtime@^7.16.3", "@babel/runtime@^7.5.5", "@babel/runtime@^7.7.2", "@babel/runtime@^7.9.2": version "7.16.3" resolved "https://registry.yarnpkg.com/@babel/runtime/-/runtime-7.16.3.tgz#b86f0db02a04187a3c17caa77de69840165d42d5" @@ -1905,12 +1897,17 @@ dependencies: "@babel/types" "^7.3.0" +"@types/fined@*": + version "1.1.3" + resolved "https://registry.yarnpkg.com/@types/fined/-/fined-1.1.3.tgz#83f03e8f0a8d3673dfcafb18fce3571f6250e1bc" + integrity sha512-CWYnSRnun3CGbt6taXeVo2lCbuaj4mchVJ4UF/BdU5TSuIn3AmS13pGMwCsBUoehGbhZrBrpNJZSZI5EVilXww== + "@types/form-serialize@^0.7.2": version "0.7.2" resolved "https://registry.yarnpkg.com/@types/form-serialize/-/form-serialize-0.7.2.tgz#6995e5541f6e1d4770c6e6bb7b226db6220984b9" integrity sha512-DOHz5r47gNIcA6bsKjMV7G/Bgs3FFTQBFCHw95D0+5bANYIjazCmrOCTnGhtgIKeg0dJGhKlnT0WOkS2HdeqXQ== -"@types/glob@*", "@types/glob@^7.1.1": +"@types/glob@^7.1.1": version "7.2.0" resolved "https://registry.yarnpkg.com/@types/glob/-/glob-7.2.0.tgz#bc1b5bf3aa92f25bd5dd39f35c57361bdce5b2eb" integrity sha512-ZUxbzKl0IfJILTS6t7ip5fQQM/J3TJYubDm3nMbgubNNYS62eXeUpoLUC8/7fJNiFYHTrGPQn7hspDUzIHX3UA== @@ -1925,13 +1922,13 @@ dependencies: "@types/node" "*" -"@types/inquirer@^6.5.0": - version "6.5.0" - resolved "https://registry.yarnpkg.com/@types/inquirer/-/inquirer-6.5.0.tgz#b83b0bf30b88b8be7246d40e51d32fe9d10e09be" - integrity sha512-rjaYQ9b9y/VFGOpqBEXRavc3jh0a+e6evAbI31tMda8VlPaSy0AZJfXsvmIe3wklc7W6C3zCSfleuMXR7NOyXw== +"@types/inquirer@^8.1.3": + version "8.2.1" + resolved "https://registry.yarnpkg.com/@types/inquirer/-/inquirer-8.2.1.tgz#28a139be3105a1175e205537e8ac10830e38dbf4" + integrity sha512-wKW3SKIUMmltbykg4I5JzCVzUhkuD9trD6efAmYgN2MrSntY0SMRQzEnD3mkyJ/rv9NLbTC7g3hKKE86YwEDLw== dependencies: "@types/through" "*" - rxjs "^6.4.0" + rxjs "^7.2.0" "@types/is-ci@^3.0.0": version "3.0.0" @@ -1985,10 +1982,13 @@ resolved "https://registry.yarnpkg.com/@types/json5/-/json5-0.0.29.tgz#ee28707ae94e11d2b827bcbe5270bcea7f3e71ee" integrity sha1-7ihweulOEdK4J7y+UnC86n8+ce4= -"@types/lodash@^4.14.178": - version "4.14.178" - resolved "https://registry.yarnpkg.com/@types/lodash/-/lodash-4.14.178.tgz#341f6d2247db528d4a13ddbb374bcdc80406f4f8" - integrity sha512-0d5Wd09ItQWH1qFbEyQ7oTQ3GZrMfth5JkbN3EvTKLXcHLRDSXeLnlvlOn0wvxVIwK5o2M8JzP/OWz7T3NRsbw== +"@types/liftoff@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/liftoff/-/liftoff-4.0.0.tgz#d4a100d356529776ad47fee2a9ce8f1f1ffe3772" + integrity sha512-Ny/PJkO6nxWAQnaet8q/oWz15lrfwvdvBpuY4treB0CSsBO1CG0fVuNLngR3m3bepQLd+E4c3Y3DlC2okpUvPw== + dependencies: + "@types/fined" "*" + "@types/node" "*" "@types/minimatch@*": version "3.0.5" @@ -2075,14 +2075,6 @@ resolved "https://registry.yarnpkg.com/@types/semver/-/semver-6.2.3.tgz#5798ecf1bec94eaa64db39ee52808ec0693315aa" integrity sha512-KQf+QAMWKMrtBMsB8/24w53tEsxllMj6TuA80TT/5igJalLI/zm0L3oXRbIAl4Ohfc85gyHX/jhMwsVkmhLU4A== -"@types/shelljs@^0.8.11": - version "0.8.11" - resolved "https://registry.yarnpkg.com/@types/shelljs/-/shelljs-0.8.11.tgz#17a5696c825974e96828e96e89585d685646fcb8" - integrity sha512-x9yaMvEh5BEaZKeVQC4vp3l+QoFj3BXcd4aYfuKSzIIyihjdVARAadYy3SMNIz0WCCdS2vB9JL/U6GQk5PaxQw== - dependencies: - "@types/glob" "*" - "@types/node" "*" - "@types/signale@^1.4.4": version "1.4.4" resolved "https://registry.yarnpkg.com/@types/signale/-/signale-1.4.4.tgz#dbfd32b39f1084551ecda9ba0888e4fef49e9fea" @@ -2576,12 +2568,10 @@ ansi-regex@^5.0.0, ansi-regex@^5.0.1: resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-5.0.1.tgz#082cb2c89c9fe8659a311a53bd6a4dc5301db304" integrity sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ== -ansi-split@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/ansi-split/-/ansi-split-1.0.1.tgz#3cab03754ab6f1d64d4ad13cd10f22fc36db4a45" - integrity sha512-RRxQym4DFtDNmHIkW6aeFVvrXURb11lGAEPXNiryjCe8bK8RsANjzJ0M2aGOkvBYwP4Bl/xZ8ijtr6D3j1x/eg== - dependencies: - ansi-regex "^3.0.0" +ansi-regex@^6.0.1: + version "6.0.1" + resolved "https://registry.yarnpkg.com/ansi-regex/-/ansi-regex-6.0.1.tgz#3183e38fae9a65d7cb5e53945cd5897d0260a06a" + integrity sha512-n5M855fKb2SsfMIiFFoVrABHJC8QtHwVx+mHWP3QcEqBHYienj5dHSgjbxtC0WEZXYt4wcD6zrQElDPhFuZgfA== ansi-styles@^3.2.1: version "3.2.1" @@ -2683,6 +2673,11 @@ arr-union@^3.1.0: resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" integrity sha1-45sJrqne+Gao8gbiiK9jkZuuOcQ= +array-each@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/array-each/-/array-each-1.0.1.tgz#a794af0c05ab1752846ee753a1f211a05ba0c44f" + integrity sha1-p5SvDAWrF1KEbudTofIRoFugxE8= + array-ify@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-ify/-/array-ify-1.0.0.tgz#9e528762b4a9066ad163a6962a364418e9626ece" @@ -2699,6 +2694,11 @@ array-includes@^3.1.3, array-includes@^3.1.4: get-intrinsic "^1.1.1" is-string "^1.0.7" +array-slice@^1.0.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/array-slice/-/array-slice-1.1.0.tgz#e368ea15f89bc7069f7ffb89aec3a6c7d4ac22d4" + integrity sha512-B1qMD3RBP7O8o0H2KbrXDyB0IccejMF15+87Lvlor12ONPRHP6gTjXMNkt/d3ZuOGbAe66hFmaCfECI24Ufp6w== + array-union@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/array-union/-/array-union-1.0.2.tgz#9a34410e4f4e3da23dea375be5be70f24778ec39" @@ -2711,6 +2711,11 @@ array-union@^2.1.0: resolved "https://registry.yarnpkg.com/array-union/-/array-union-2.1.0.tgz#b798420adbeb1de828d84acd8a2e23d3efe85e8d" integrity sha512-HGyxoOTYUyCM6stUe6EJgnd4EoewAI7zMdfqO+kGjnlZmBDz/cR5pf8r/cR4Wq60sL/p0IkcjUEEPwS3GFrIyw== +array-union@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/array-union/-/array-union-3.0.1.tgz#da52630d327f8b88cfbfb57728e2af5cd9b6b975" + integrity sha512-1OvF9IbWwaeiM9VhzYXVQacMibxpXOMYVNIvMtKRyX9SImBXpKcFr8XvFDeEslCyuH/t6KRt7HEO94AlP8Iatw== + array-uniq@^1.0.1: version "1.0.3" resolved "https://registry.yarnpkg.com/array-uniq/-/array-uniq-1.0.3.tgz#af6ac877a25cc7f74e058894753858dfdb24fdb6" @@ -2932,6 +2937,11 @@ balanced-match@^1.0.0: resolved "https://registry.yarnpkg.com/balanced-match/-/balanced-match-1.0.2.tgz#e83e3a7e3f300b34cb9d87f615fa0cbf357690ee" integrity sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw== +base64-js@^1.3.1: + version "1.5.1" + resolved "https://registry.yarnpkg.com/base64-js/-/base64-js-1.5.1.tgz#1b1b440160a5bf7ad40b650f095963481903930a" + integrity sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA== + base@^0.11.1: version "0.11.2" resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" @@ -2964,6 +2974,24 @@ binary-extensions@^2.0.0: resolved "https://registry.yarnpkg.com/binary-extensions/-/binary-extensions-2.2.0.tgz#75f502eeaf9ffde42fc98829645be4ea76bd9e2d" integrity sha512-jDctJ/IVQbZoJykoeHbhXpOlNBqGNcwXJKJog42E5HDPUwQTSdjCHdihjj0DlnheQ7blbT6dHOafNAiS8ooQKA== +bl@^4.1.0: + version "4.1.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-4.1.0.tgz#451535264182bec2fbbc83a62ab98cf11d9f7b3a" + integrity sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w== + dependencies: + buffer "^5.5.0" + inherits "^2.0.4" + readable-stream "^3.4.0" + +bl@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/bl/-/bl-5.0.0.tgz#6928804a41e9da9034868e1c50ca88f21f57aea2" + integrity sha512-8vxFNZ0pflFfi0WXA3WQXlj6CaMEwsmh63I1CNp0q+wWv8sD0ARx1KovSQd0l2GkwrMIOyedq0EF1FxI+RCZLQ== + dependencies: + buffer "^6.0.3" + inherits "^2.0.4" + readable-stream "^3.4.0" + blob-util@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/blob-util/-/blob-util-2.0.2.tgz#3b4e3c281111bb7f11128518006cdc60b403a1eb" @@ -3058,6 +3086,22 @@ buffer-from@^1.0.0: resolved "https://registry.yarnpkg.com/buffer-from/-/buffer-from-1.1.2.tgz#2b146a6fd72e80b4f55d255f35ed59a3a9a41bd5" integrity sha512-E+XQCRwSbaaiChtv6k6Dwgc+bx+Bs6vuKJHHl5kox/BaKbhiXzqQOwK4cO22yElGp2OCmjwVhT3HmxgyPGnJfQ== +buffer@^5.5.0: + version "5.7.1" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-5.7.1.tgz#ba62e7c13133053582197160851a8f648e99eed0" + integrity sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.1.13" + +buffer@^6.0.3: + version "6.0.3" + resolved "https://registry.yarnpkg.com/buffer/-/buffer-6.0.3.tgz#2ace578459cc8fbe2a70aaa8f52ee63b6a74c6c6" + integrity sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA== + dependencies: + base64-js "^1.3.1" + ieee754 "^1.2.1" + builtins@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/builtins/-/builtins-1.0.3.tgz#cb94faeb61c8696451db36534e1422f94f0aee88" @@ -3114,13 +3158,13 @@ callsites@^3.0.0: resolved "https://registry.yarnpkg.com/callsites/-/callsites-3.1.0.tgz#b3630abd8943432f54b3f0519238e33cd7df2f73" integrity sha512-P8BjAsXvZS+VIDUI11hHCQEv74YT67YUi5JJFNWIqL235sBmjX4+qx9Muvls5ivyNENctx46xQLQ3aTuE7ssaQ== -camel-case@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-3.0.0.tgz#ca3c3688a4e9cf3a4cda777dc4dcbc713249cf73" - integrity sha1-yjw2iKTpzzpM2nd9xNy8cTJJz3M= +camel-case@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/camel-case/-/camel-case-4.1.2.tgz#9728072a954f805228225a6deea6b38461e1bd5a" + integrity sha512-gxGWBrTT1JuMx6R+o5PTXMmUnhnVzLQ9SNutD4YqKtI6ap897t3tKECYla6gCWEkplXnlNybEkZg9GEGxKFCgw== dependencies: - no-case "^2.2.0" - upper-case "^1.1.1" + pascal-case "^3.1.2" + tslib "^2.0.3" camelcase-keys@^6.2.2: version "6.2.2" @@ -3156,6 +3200,15 @@ caniuse-lite@^1.0.30001283: resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001327.tgz#c1546d7d7bb66506f0ccdad6a7d07fc6d668c858" integrity sha512-1/Cg4jlD9qjZzhbzkzEaAC2JHsP0WrOc8Rd/3a3LuajGzGWR/hD7TVyvq99VqmTy99eVh8Zkmdq213OgvgXx7w== +capital-case@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/capital-case/-/capital-case-1.0.4.tgz#9d130292353c9249f6b00fa5852bee38a717e669" + integrity sha512-ds37W8CytHgwnhGGTi88pcPyR15qoNkOpYwmMMfnWqqWgESapLqvDx6huFjQ5vqWSn2Z06173XNA7LtMOeUh1A== + dependencies: + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" + capture-exit@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/capture-exit/-/capture-exit-2.0.0.tgz#fb953bfaebeb781f62898239dabb426d08a509a4" @@ -3168,7 +3221,7 @@ caseless@~0.12.0: resolved "https://registry.yarnpkg.com/caseless/-/caseless-0.12.0.tgz#1b681c21ff84033c826543090689420d187151dc" integrity sha1-G2gcIf+EAzyCZUMJBolCDRhxUdw= -chalk@4, chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.2: +chalk@4, chalk@^4.0.0, chalk@^4.1.0, chalk@^4.1.1, chalk@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/chalk/-/chalk-4.1.2.tgz#aac4e2b7734a740867aeb16bf02aad556a1e7a01" integrity sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA== @@ -3193,29 +3246,28 @@ chalk@^3.0.0: ansi-styles "^4.1.0" supports-color "^7.1.0" -change-case@^3.1.0: - version "3.1.0" - resolved "https://registry.yarnpkg.com/change-case/-/change-case-3.1.0.tgz#0e611b7edc9952df2e8513b27b42de72647dd17e" - integrity sha512-2AZp7uJZbYEzRPsFoa+ijKdvp9zsrnnt6+yFokfwEpeJm0xuJDVoxiRCAaTzyJND8GJkofo2IcKWaUZ/OECVzw== - dependencies: - camel-case "^3.0.0" - constant-case "^2.0.0" - dot-case "^2.1.0" - header-case "^1.0.0" - is-lower-case "^1.1.0" - is-upper-case "^1.1.0" - lower-case "^1.1.1" - lower-case-first "^1.0.0" - no-case "^2.3.2" - param-case "^2.1.0" - pascal-case "^2.0.0" - path-case "^2.1.0" - sentence-case "^2.1.0" - snake-case "^2.1.0" - swap-case "^1.1.0" - title-case "^2.1.0" - upper-case "^1.1.1" - upper-case-first "^1.1.0" +chalk@^5.0.0: + version "5.0.1" + resolved "https://registry.yarnpkg.com/chalk/-/chalk-5.0.1.tgz#ca57d71e82bb534a296df63bbacc4a1c22b2a4b6" + integrity sha512-Fo07WOYGqMfCWHOzSXOt2CxDbC6skS/jO9ynEcmpANMoPrD+W1r1K6Vx7iNm+AQmETU1Xr2t+n8nzkV9t6xh3w== + +change-case@^4.1.2: + version "4.1.2" + resolved "https://registry.yarnpkg.com/change-case/-/change-case-4.1.2.tgz#fedfc5f136045e2398c0410ee441f95704641e12" + integrity sha512-bSxY2ws9OtviILG1EiY5K7NNxkqg/JnRnFxLtKQ96JaviiIxi7djMrSd0ECT9AC+lttClmYwKw53BWpOMblo7A== + dependencies: + camel-case "^4.1.2" + capital-case "^1.0.4" + constant-case "^3.0.4" + dot-case "^3.0.4" + header-case "^2.0.4" + no-case "^3.0.4" + param-case "^3.0.4" + pascal-case "^3.1.2" + path-case "^3.0.4" + sentence-case "^3.0.4" + snake-case "^3.0.4" + tslib "^2.0.3" char-regex@^1.0.2: version "1.0.2" @@ -3239,7 +3291,7 @@ check-more-types@2.24.0, check-more-types@^2.24.0: resolved "https://registry.yarnpkg.com/check-more-types/-/check-more-types-2.24.0.tgz#1420ffb10fd444dcfc79b43891bbfffd32a84600" integrity sha1-FCD/sQ/URNz8ebQ4kbv//TKoRgA= -chokidar@^3.5.1, chokidar@^3.5.2: +chokidar@^3.5.1: version "3.5.2" resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-3.5.2.tgz#dba3976fcadb016f66fd365021d91600d01c1e75" integrity sha512-ekGhOnNVPgT77r4K/U3GDhu+FQ2S8TnK/s2KbIGXi0SZWuwkZ2QNyfWdZW+TVfn84DpEP7rLeCt2UI6bJ8GwbQ== @@ -3301,6 +3353,18 @@ cli-cursor@^3.1.0: dependencies: restore-cursor "^3.1.0" +cli-cursor@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cli-cursor/-/cli-cursor-4.0.0.tgz#3cecfe3734bf4fe02a8361cbdc0f6fe28c6a57ea" + integrity sha512-VGtlMu3x/4DOtIUwEkRezxUZ2lBacNJCHash0N0WeZDBS+7Ux1dm3XWAgWYxLJFMMdOeXMHXorshEFhbMSGelg== + dependencies: + restore-cursor "^4.0.0" + +cli-spinners@^2.5.0, cli-spinners@^2.6.1: + version "2.6.1" + resolved "https://registry.yarnpkg.com/cli-spinners/-/cli-spinners-2.6.1.tgz#adc954ebe281c37a6319bfa401e6dd2488ffb70d" + integrity sha512-x/5fWmGMnbKQAaNwN+UZlV79qBLM9JFnJuJ03gIi5whrob0xV0ofNVHy9DhwGdsMJQc2OKv0oGmLzvaqvAVv+g== + cli-table3@~0.6.0: version "0.6.0" resolved "https://registry.yarnpkg.com/cli-table3/-/cli-table3-0.6.0.tgz#b7b1bc65ca8e7b5cef9124e13dc2b21e2ce4faee" @@ -3433,16 +3497,6 @@ commander@8.3.0, commander@^8.2.0: resolved "https://registry.yarnpkg.com/commander/-/commander-8.3.0.tgz#4837ea1b2da67b9c616a67afbb0fafee567bca66" integrity sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww== -commander@^2.20.0: - version "2.20.3" - resolved "https://registry.yarnpkg.com/commander/-/commander-2.20.3.tgz#fd485e84c03eb4881c20722ba48035e8531aeb33" - integrity sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ== - -commander@^3.0.2: - version "3.0.2" - resolved "https://registry.yarnpkg.com/commander/-/commander-3.0.2.tgz#6837c3fb677ad9933d1cfba42dd14d5117d6b39e" - integrity sha512-Gar0ASD4BDyKC4hl4DwHqDrmvjoxWKZigVnAbn5H1owvm4CxCPdb0HQDehwNYMJpla5+M2tPmPARzhtYuwpHow== - commander@^5.1.0: version "5.1.0" resolved "https://registry.yarnpkg.com/commander/-/commander-5.1.0.tgz#46abbd1652f8e059bddaef99bbdcb2ad9cf179ae" @@ -3489,13 +3543,14 @@ console-control-strings@^1.0.0, console-control-strings@~1.1.0: resolved "https://registry.yarnpkg.com/console-control-strings/-/console-control-strings-1.1.0.tgz#3d7cf4464db6446ea644bf4b39507f9851008e8e" integrity sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4= -constant-case@^2.0.0: - version "2.0.0" - resolved "https://registry.yarnpkg.com/constant-case/-/constant-case-2.0.0.tgz#4175764d389d3fa9c8ecd29186ed6005243b6a46" - integrity sha1-QXV2TTidP6nI7NKRhu1gBSQ7akY= +constant-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/constant-case/-/constant-case-3.0.4.tgz#3b84a9aeaf4cf31ec45e6bf5de91bdfb0589faf1" + integrity sha512-I2hSBi7Vvs7BEuJDr5dDHfzb/Ruj3FyvFyh7KLilAjNQw3Be+xgqUBA2W6scVEcL0hL1dwPRtIqEPVUCKkSsyQ== dependencies: - snake-case "^2.1.0" - upper-case "^1.1.1" + no-case "^3.0.4" + tslib "^2.0.3" + upper-case "^2.0.2" constantinople@^4.0.1: version "4.0.1" @@ -3563,11 +3618,6 @@ core-js-pure@^3.19.0: resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.19.1.tgz#edffc1fc7634000a55ba05e95b3f0fe9587a5aa4" integrity sha512-Q0Knr8Es84vtv62ei6/6jXH/7izKmOrtrxH9WJTHLCMAVeU+8TF8z8Nr08CsH4Ot0oJKzBzJJL9SJBYIv7WlfQ== -core-js-pure@^3.20.2: - version "3.20.3" - resolved "https://registry.yarnpkg.com/core-js-pure/-/core-js-pure-3.20.3.tgz#6cc4f36da06c61d95254efc54024fe4797fd5d02" - integrity sha512-Q2H6tQ5MtPtcC7f3HxJ48i4Q7T9ybPKgvWyuH7JXIoNa2pm0KuBnycsET/qw1SLLZYfbsbrZQNMeIOClb+6WIA== - core-util-is@1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/core-util-is/-/core-util-is-1.0.2.tgz#b5fd54220aa2bc5ab57aab7140c940754503c1a7" @@ -3944,18 +3994,18 @@ define-property@^2.0.2: is-descriptor "^1.0.2" isobject "^3.0.1" -del@^5.1.0: - version "5.1.0" - resolved "https://registry.yarnpkg.com/del/-/del-5.1.0.tgz#d9487c94e367410e6eff2925ee58c0c84a75b3a7" - integrity sha512-wH9xOVHnczo9jN2IW68BabcecVPxacIA3g/7z6vhSU/4stOKQzeCRK0yD0A24WiAAUJmmVpWqrERcTxnLo3AnA== +del@^6.0.0: + version "6.0.0" + resolved "https://registry.yarnpkg.com/del/-/del-6.0.0.tgz#0b40d0332cea743f1614f818be4feb717714c952" + integrity sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ== dependencies: - globby "^10.0.1" - graceful-fs "^4.2.2" + globby "^11.0.1" + graceful-fs "^4.2.4" is-glob "^4.0.1" is-path-cwd "^2.2.0" - is-path-inside "^3.0.1" - p-map "^3.0.0" - rimraf "^3.0.0" + is-path-inside "^3.0.2" + p-map "^4.0.0" + rimraf "^3.0.2" slash "^3.0.0" delayed-stream@~1.0.0: @@ -3968,6 +4018,11 @@ delegates@^1.0.0: resolved "https://registry.yarnpkg.com/delegates/-/delegates-1.0.0.tgz#84c6e159b81904fdca59a0ef44cd870d31250f9a" integrity sha1-hMbhWbgZBP3KWaDvRM2HDTElD5o= +detect-file@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/detect-file/-/detect-file-1.0.0.tgz#f0d66d03672a825cb1b73bdb3fe62310c8e552b7" + integrity sha1-8NZtA2cqglyxtzvbP+YjEMjlUrc= + detect-indent@^6.0.0: version "6.1.0" resolved "https://registry.yarnpkg.com/detect-indent/-/detect-indent-6.1.0.tgz#592485ebbbf6b3b1ab2be175c8393d04ca0d57e6" @@ -4068,12 +4123,13 @@ domutils@^2.8.0: domelementtype "^2.2.0" domhandler "^4.2.0" -dot-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-2.1.1.tgz#34dcf37f50a8e93c2b3bca8bb7fb9155c7da3bee" - integrity sha1-NNzzf1Co6TwrO8qLt/uRVcfaO+4= +dot-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/dot-case/-/dot-case-3.0.4.tgz#9b2b670d00a431667a8a75ba29cd1b98809ce751" + integrity sha512-Kv5nKlh6yRrdrGvxeJ2e5y2eRUpkUosIW4A2AS38zwSz27zu7ufDwQPi5Jhs3XAlGNetl3bmnGhQsMtkKJnj3w== dependencies: - no-case "^2.2.0" + no-case "^3.0.4" + tslib "^2.0.3" dot-prop@^5.1.0: version "5.3.0" @@ -4363,11 +4419,6 @@ esbuild-openbsd-64@0.14.36: resolved "https://registry.yarnpkg.com/esbuild-openbsd-64/-/esbuild-openbsd-64-0.14.36.tgz#c94c04c557fae516872a586eae67423da6d2fabb" integrity sha512-NvGB2Chf8GxuleXRGk8e9zD3aSdRO5kLt9coTQbCg7WMGXeX471sBgh4kSg8pjx0yTXRt0MlrUDnjVYnetyivg== -esbuild-plugin-alias@^0.2.1: - version "0.2.1" - resolved "https://registry.yarnpkg.com/esbuild-plugin-alias/-/esbuild-plugin-alias-0.2.1.tgz#45a86cb941e20e7c2bc68a2bea53562172494fcb" - integrity sha512-jyfL/pwPqaFXyKnj8lP8iLk6Z0m099uXR45aSN8Av1XD4vhvQutxxPzgA2bTcAwQpa1zCXDcWOlhFgyP3GKqhQ== - esbuild-runner@^2.2.1: version "2.2.1" resolved "https://registry.yarnpkg.com/esbuild-runner/-/esbuild-runner-2.2.1.tgz#3866fca62cbf9645e939b43a0c65446f9a53064f" @@ -4439,7 +4490,7 @@ esbuild@^0.13.2: esbuild-windows-64 "0.13.15" esbuild-windows-arm64 "0.13.15" -esbuild@^0.14.18, esbuild@^0.14.36: +esbuild@^0.14.36: version "0.14.36" resolved "https://registry.yarnpkg.com/esbuild/-/esbuild-0.14.36.tgz#0023a73eab57886ac5605df16ee421e471a971b3" integrity sha512-HhFHPiRXGYOCRlrhpiVDYKcFJRdO0sBElZ668M4lh2ER0YgnkLxECuFe7uWCf23FrcLc59Pqr7dHkTqmRPDHmw== @@ -4861,6 +4912,13 @@ expand-brackets@^2.1.4: snapdragon "^0.8.1" to-regex "^3.0.1" +expand-tilde@^2.0.0, expand-tilde@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/expand-tilde/-/expand-tilde-2.0.2.tgz#97e801aa052df02454de46b02bf621642cdc8502" + integrity sha1-l+gBqgUt8CRU3kawK/YhZCzchQI= + dependencies: + homedir-polyfill "^1.0.1" + expect@^26.6.2: version "26.6.2" resolved "https://registry.yarnpkg.com/expect/-/expect-26.6.2.tgz#c6b996bf26bf3fe18b67b2d0f51fc981ba934417" @@ -4888,7 +4946,7 @@ extend-shallow@^3.0.0, extend-shallow@^3.0.2: assign-symbols "^1.0.0" is-extendable "^1.0.1" -extend@~3.0.2: +extend@^3.0.2, extend@~3.0.2: version "3.0.2" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.2.tgz#f8b1136b4071fbd8eb140aff858b1019ec2915fa" integrity sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g== @@ -4964,10 +5022,10 @@ fast-glob@^2.2.6: merge2 "^1.2.3" micromatch "^3.1.10" -fast-glob@^3.0.3, fast-glob@^3.2.9: - version "3.2.11" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" - integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== +fast-glob@^3.1.1, fast-glob@^3.2.5, fast-glob@^3.2.7: + version "3.2.7" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" + integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -4975,10 +5033,10 @@ fast-glob@^3.0.3, fast-glob@^3.2.9: merge2 "^1.3.0" micromatch "^4.0.4" -fast-glob@^3.1.1, fast-glob@^3.2.5, fast-glob@^3.2.7: - version "3.2.7" - resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.7.tgz#fd6cb7a2d7e9aa7a7846111e85a196d6b2f766a1" - integrity sha512-rYGMRwip6lUMvYD3BTScMwT1HtAs2d71SMv66Vrxs0IekGZEjhM0pcMfjQPnknBt2zeCwQMEupiN02ZP4DiT1Q== +fast-glob@^3.2.9: + version "3.2.11" + resolved "https://registry.yarnpkg.com/fast-glob/-/fast-glob-3.2.11.tgz#a1172ad95ceb8a16e20caa5c5e56480e5129c1d9" + integrity sha512-xrO3+1bxSo3ZVHAnqzyuewYT6aMFHRAd4Kcs92MAonjwQZLsK9d0SF1IyQ3k5PoirxTW0Oe/RqFgMQ6TcNE5Ew== dependencies: "@nodelib/fs.stat" "^2.0.2" "@nodelib/fs.walk" "^1.2.3" @@ -5098,6 +5156,32 @@ find-yarn-workspace-root@^2.0.0: dependencies: micromatch "^4.0.2" +findup-sync@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/findup-sync/-/findup-sync-5.0.0.tgz#54380ad965a7edca00cc8f63113559aadc541bd2" + integrity sha512-MzwXju70AuyflbgeOhzvQWAvvQdo1XL0A9bVvlXsYcFEBM87WR4OakL4OfZq+QRmr+duJubio+UtNQCPsVESzQ== + dependencies: + detect-file "^1.0.0" + is-glob "^4.0.3" + micromatch "^4.0.4" + resolve-dir "^1.0.1" + +fined@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/fined/-/fined-2.0.0.tgz#6846563ed96879ce6de6c85c715c42250f8d8089" + integrity sha512-OFRzsL6ZMHz5s0JrsEr+TpdGNCtrVtnuG3x1yzGNiQHT0yaDnXAj8V/lWcpJVrnoDpcwXcASxAZYbuXda2Y82A== + dependencies: + expand-tilde "^2.0.2" + is-plain-object "^5.0.0" + object.defaults "^1.1.0" + object.pick "^1.3.0" + parse-filepath "^1.0.2" + +flagged-respawn@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/flagged-respawn/-/flagged-respawn-2.0.0.tgz#abf39719dcfe1ac06c86c9466081c541c682987b" + integrity sha512-Gq/a6YCi8zexmGHMuJwahTGzXlAZAOsbCVKduWXC6TlLCjjFRlExMJc4GC2NYPYZ0r/brw9P7CpRgQmlPVeOoA== + flat-cache@^3.0.4: version "3.0.4" resolved "https://registry.yarnpkg.com/flat-cache/-/flat-cache-3.0.4.tgz#61b0338302b2fe9f957dcc32fc2a87f1c3048b11" @@ -5123,11 +5207,18 @@ follow-redirects@^1.14.0: resolved "https://registry.yarnpkg.com/follow-redirects/-/follow-redirects-1.14.5.tgz#f09a5848981d3c772b5392309778523f8d85c381" integrity sha512-wtphSXy7d4/OR+MvIFbCVBDzZ5520qV8XfPklSN5QtxuMUJZ+b0Wnst1e1lCDocfzuCkHqj8k0FpZqO+UIaKNA== -for-in@^1.0.2: +for-in@^1.0.1, for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" integrity sha1-gQaNKVqBQuwKxybG4iAMMPttXoA= +for-own@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/for-own/-/for-own-1.0.0.tgz#c63332f415cedc4b04dbfe70cf836494c53cb44b" + integrity sha1-xjMy9BXO3EsE2/5wz4NklMU8tEs= + dependencies: + for-in "^1.0.1" + foreach@^2.0.5: version "2.0.5" resolved "https://registry.yarnpkg.com/foreach/-/foreach-2.0.5.tgz#0bee005018aeb260d0a3af3ae658dd0136ec1b99" @@ -5365,7 +5456,7 @@ glob-to-regexp@^0.3.0: resolved "https://registry.yarnpkg.com/glob-to-regexp/-/glob-to-regexp-0.3.0.tgz#8c5a1494d2066c570cc3bfe4496175acc4d502ab" integrity sha1-jFoUlNIGbFcMw7/kSWF1rMTVAqs= -glob@^7.0.0, glob@^7.0.5, glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: +glob@^7.1.1, glob@^7.1.2, glob@^7.1.3, glob@^7.1.4: version "7.2.0" resolved "https://registry.yarnpkg.com/glob/-/glob-7.2.0.tgz#d15535af7732e02e948f4c41628bd910293f6023" integrity sha512-lmLf6gtyrPq8tTjSmrO94wBeQbFR3HbLHbuyD69wuyQkImp2hWqMGB47OX65FBkPffO641IP9jWa1z4ivqG26Q== @@ -5391,6 +5482,26 @@ global-dirs@^3.0.0: dependencies: ini "2.0.0" +global-modules@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/global-modules/-/global-modules-1.0.0.tgz#6d770f0eb523ac78164d72b5e71a8877265cc3ea" + integrity sha512-sKzpEkf11GpOFuw0Zzjzmt4B4UZwjOcG757PPvrfhxcLFbq0wpsgpOqxpxtxFiCG4DtG93M6XRVbF2oGdev7bg== + dependencies: + global-prefix "^1.0.1" + is-windows "^1.0.1" + resolve-dir "^1.0.0" + +global-prefix@^1.0.1: + version "1.0.2" + resolved "https://registry.yarnpkg.com/global-prefix/-/global-prefix-1.0.2.tgz#dbf743c6c14992593c655568cb66ed32c0122ebe" + integrity sha1-2/dDxsFJklk8ZVVoy2btMsASLr4= + dependencies: + expand-tilde "^2.0.2" + homedir-polyfill "^1.0.1" + ini "^1.3.4" + is-windows "^1.0.1" + which "^1.2.14" + globals@^11.1.0, globals@^11.12.0: version "11.12.0" resolved "https://registry.yarnpkg.com/globals/-/globals-11.12.0.tgz#ab8795338868a0babd8525758018c2a7eb95c42e" @@ -5403,20 +5514,6 @@ globals@^13.6.0, globals@^13.9.0: dependencies: type-fest "^0.20.2" -globby@^10.0.1: - version "10.0.2" - resolved "https://registry.yarnpkg.com/globby/-/globby-10.0.2.tgz#277593e745acaa4646c3ab411289ec47a0392543" - integrity sha512-7dUi7RvCoT/xast/o/dLN53oqND4yk0nsHkhRgn9w65C4PofCLOoJ39iSOg+qVDdWQPIEj+eszMHQ+aLVwwQSg== - dependencies: - "@types/glob" "^7.1.1" - array-union "^2.1.0" - dir-glob "^3.0.1" - fast-glob "^3.0.3" - glob "^7.1.3" - ignore "^5.1.1" - merge2 "^1.2.3" - slash "^3.0.0" - globby@^11.0.0, globby@^11.0.3: version "11.0.4" resolved "https://registry.yarnpkg.com/globby/-/globby-11.0.4.tgz#2cbaff77c2f2a62e71e9b2813a67b97a3a3001a5" @@ -5429,7 +5526,7 @@ globby@^11.0.0, globby@^11.0.3: merge2 "^1.3.0" slash "^3.0.0" -globby@^11.0.4: +globby@^11.0.1, globby@^11.0.4: version "11.1.0" resolved "https://registry.yarnpkg.com/globby/-/globby-11.1.0.tgz#bd4be98bb042f83d796f7e3811991fbe82a0d34b" integrity sha512-jhIXaOzy1sb8IyocaruWSn1TjmnBVs8Ayhcy83rmxNJ8q2uWKCAj3CnJY+KpGSXCueAPc0i05kVvVKtP1t9S3g== @@ -5441,6 +5538,18 @@ globby@^11.0.4: merge2 "^1.4.1" slash "^3.0.0" +globby@^12.0.2: + version "12.2.0" + resolved "https://registry.yarnpkg.com/globby/-/globby-12.2.0.tgz#2ab8046b4fba4ff6eede835b29f678f90e3d3c22" + integrity sha512-wiSuFQLZ+urS9x2gGPl1H5drc5twabmm4m2gTR27XDFyjUHJUNsS8o/2aKyIF6IoBaR630atdher0XJ5g6OMmA== + dependencies: + array-union "^3.0.1" + dir-glob "^3.0.1" + fast-glob "^3.2.7" + ignore "^5.1.9" + merge2 "^1.4.1" + slash "^4.0.0" + globby@^9.2.0: version "9.2.0" resolved "https://registry.yarnpkg.com/globby/-/globby-9.2.0.tgz#fd029a706c703d29bdd170f4b6db3a3f7a7cb63d" @@ -5455,11 +5564,6 @@ globby@^9.2.0: pify "^4.0.1" slash "^2.0.0" -globrex@^0.1.2: - version "0.1.2" - resolved "https://registry.yarnpkg.com/globrex/-/globrex-0.1.2.tgz#dd5d9ec826232730cd6793a5e33a9302985e6098" - integrity sha512-uHJgbwAMwNFf5mLst7IWLNg14x1CkeqglJb/K3doi4dw6q2IvAAmM/Y81kevy83wP+Sst+nutFTYOGg3d1lsxg== - got@^9.6.0: version "9.6.0" resolved "https://registry.yarnpkg.com/got/-/got-9.6.0.tgz#edf45e7d67f99545705de1f7bbeeeb121765ed85" @@ -5482,11 +5586,6 @@ graceful-fs@^4.1.11, graceful-fs@^4.1.2, graceful-fs@^4.1.5, graceful-fs@^4.1.6, resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.8.tgz#e412b8d33f5e006593cbd3cee6df9f2cebbe802a" integrity sha512-qkIilPUYcNhJpd33n0GBXTB1MMPp14TxEsEs0pTrsSVucApsYzW5V+Q8Qxhik6KU3evy+qkAAowTByymK0avdg== -graceful-fs@^4.2.2: - version "4.2.9" - resolved "https://registry.yarnpkg.com/graceful-fs/-/graceful-fs-4.2.9.tgz#041b05df45755e587a24942279b9d113146e1c96" - integrity sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ== - grapheme-splitter@^1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/grapheme-splitter/-/grapheme-splitter-1.0.4.tgz#9cf3a665c6247479896834af35cf1dbb4400767e" @@ -5604,13 +5703,13 @@ has@^1.0.3: dependencies: function-bind "^1.1.1" -header-case@^1.0.0: - version "1.0.1" - resolved "https://registry.yarnpkg.com/header-case/-/header-case-1.0.1.tgz#9535973197c144b09613cd65d317ef19963bd02d" - integrity sha1-lTWXMZfBRLCWE81l0xfvGZY70C0= +header-case@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/header-case/-/header-case-2.0.4.tgz#5a42e63b55177349cf405beb8d775acabb92c063" + integrity sha512-H/vuk5TEEVZwrR0lp2zed9OCo1uAILMlx0JEMgC26rzyJJ3N1v6XkwHHXJQdR2doSjcGPM6OKPYoJgf0plJ11Q== dependencies: - no-case "^2.2.0" - upper-case "^1.1.3" + capital-case "^1.0.4" + tslib "^2.0.3" hoist-non-react-statics@^3.3.1: version "3.3.2" @@ -5619,6 +5718,13 @@ hoist-non-react-statics@^3.3.1: dependencies: react-is "^16.7.0" +homedir-polyfill@^1.0.1: + version "1.0.3" + resolved "https://registry.yarnpkg.com/homedir-polyfill/-/homedir-polyfill-1.0.3.tgz#743298cef4e5af3e194161fbadcc2151d3a058e8" + integrity sha512-eSmmWE5bZTK2Nou4g0AI3zZ9rswp7GRKoKXS1BLUkvPviOqs4YTN1djQIqrXy9k5gEtdLPy86JjRwsNM9tnDcA== + dependencies: + parse-passwd "^1.0.0" + hosted-git-info@^2.1.4: version "2.8.9" resolved "https://registry.yarnpkg.com/hosted-git-info/-/hosted-git-info-2.8.9.tgz#dffc0bf9a21c02209090f2aa69429e1414daf3f9" @@ -5721,21 +5827,26 @@ iconv-lite@0.4.24, iconv-lite@^0.4.24: dependencies: safer-buffer ">= 2.1.2 < 3" +ieee754@^1.1.13, ieee754@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/ieee754/-/ieee754-1.2.1.tgz#8eb7a10a63fff25d15a57b001586d177d1b0d352" + integrity sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA== + ignore@^4.0.3, ignore@^4.0.6: version "4.0.6" resolved "https://registry.yarnpkg.com/ignore/-/ignore-4.0.6.tgz#750e3db5862087b4737ebac8207ffd1ef27b25fc" integrity sha512-cyFDKrqc/YdcWFniJhzI42+AzS+gNwmUzOSFcRCQYwySuBBBy/KjuxWLZ/FHEH6Moq1NizMOBWyTcv8O4OZIMg== -ignore@^5.1.1, ignore@^5.2.0: - version "5.2.0" - resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" - integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== - ignore@^5.1.4, ignore@^5.1.8: version "5.1.9" resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.1.9.tgz#9ec1a5cbe8e1446ec60d4420060d43aa6e7382fb" integrity sha512-2zeMQpbKz5dhZ9IwL0gbxSW5w0NK/MSAMtNuhgIHEPmaU3vPdKPL0UdvUCXs5SS4JAwsBxysK5sFMW8ocFiVjQ== +ignore@^5.1.9, ignore@^5.2.0: + version "5.2.0" + resolved "https://registry.yarnpkg.com/ignore/-/ignore-5.2.0.tgz#6d3bac8fa7fe0d45d9f9be7bac2fc279577e345a" + integrity sha512-CmxgYGiEPCLhfLnpPp1MoRmifwEIOgjcHXxOBjv7mY96c+eWScsOP9c112ZyLdWHi0FxHjI+4uVhKYp/gcdRmQ== + import-fresh@^3.0.0, import-fresh@^3.1.0, import-fresh@^3.2.1: version "3.3.0" resolved "https://registry.yarnpkg.com/import-fresh/-/import-fresh-3.3.0.tgz#37162c25fcb9ebaa2e6e53d5b4d88ce17d9e0c2b" @@ -5785,21 +5896,22 @@ ini@^1.3.4, ini@~1.3.0: resolved "https://registry.yarnpkg.com/ini/-/ini-1.3.8.tgz#a29da425b48806f34767a4efce397269af28432c" integrity sha512-JV/yugV2uzW5iMRSiZAyDtQd+nxtUnjeLt0acNdw98kKLrvuRVyB80tsREOE7yvGVgalhZ6RNXCmEHkUKBKxew== -inquirer@^7.1.0: - version "7.3.3" - resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-7.3.3.tgz#04d176b2af04afc157a83fd7c100e98ee0aad003" - integrity sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA== +inquirer@^8.2.0: + version "8.2.2" + resolved "https://registry.yarnpkg.com/inquirer/-/inquirer-8.2.2.tgz#1310517a87a0814d25336c78a20b44c3d9b7629d" + integrity sha512-pG7I/si6K/0X7p1qU+rfWnpTE1UIkTONN1wxtzh0d+dHXtT/JG6qBgLxoyHVsQa8cFABxAPh0pD6uUUHiAoaow== dependencies: ansi-escapes "^4.2.1" - chalk "^4.1.0" + chalk "^4.1.1" cli-cursor "^3.1.0" cli-width "^3.0.0" external-editor "^3.0.3" figures "^3.0.0" - lodash "^4.17.19" + lodash "^4.17.21" mute-stream "0.0.8" + ora "^5.4.1" run-async "^2.4.0" - rxjs "^6.6.0" + rxjs "^7.5.5" string-width "^4.1.0" strip-ansi "^6.0.0" through "^2.3.6" @@ -5813,10 +5925,18 @@ internal-slot@^1.0.3: has "^1.0.3" side-channel "^1.0.4" -interpret@^1.0.0: - version "1.4.0" - resolved "https://registry.yarnpkg.com/interpret/-/interpret-1.4.0.tgz#665ab8bc4da27a774a40584e812e3e0fa45b1a1e" - integrity sha512-agE4QfB2Lkp9uICn7BAqoscw4SZP9kTE2hxiFI3jBPmXJfdqiahTbUuKGsMoN2GtqL9AxhYioAcVvgsb1HvRbA== +interpret@^2.2.0: + version "2.2.0" + resolved "https://registry.yarnpkg.com/interpret/-/interpret-2.2.0.tgz#1a78a0b5965c40a5416d007ad6f50ad27c417df9" + integrity sha512-Ju0Bz/cEia55xDwUWEa8+olFpCiQoypjnQySseKtmjNrnps3P+xfpUmGr90T7yjlVJmOtybRvPXhKMbHr+fWnw== + +is-absolute@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-absolute/-/is-absolute-1.0.0.tgz#395e1ae84b11f26ad1795e73c17378e48a301576" + integrity sha512-dOWoqflvcydARa360Gvv18DZ/gRuHKi2NU/wU5X1ZFzdYfH29nkiNZsF3mp4OJ3H4yo9Mx8A/uAGNzpzPN3yBA== + dependencies: + is-relative "^1.0.0" + is-windows "^1.0.1" is-accessor-descriptor@^0.1.6: version "0.1.6" @@ -6011,12 +6131,15 @@ is-installed-globally@~0.4.0: global-dirs "^3.0.0" is-path-inside "^3.0.2" -is-lower-case@^1.1.0: - version "1.1.3" - resolved "https://registry.yarnpkg.com/is-lower-case/-/is-lower-case-1.1.3.tgz#7e147be4768dc466db3bfb21cc60b31e6ad69393" - integrity sha1-fhR75HaNxGbbO/shzGCzHmrWk5M= - dependencies: - lower-case "^1.1.0" +is-interactive@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-1.0.0.tgz#cea6e6ae5c870a7b0a0004070b7b587e0252912e" + integrity sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w== + +is-interactive@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/is-interactive/-/is-interactive-2.0.0.tgz#40c57614593826da1100ade6059778d597f16e90" + integrity sha512-qP1vozQRI+BMOPcjFzrjXuQvdak2pHNUMZoeG2eRbiSqyvbEf/wQtEOTOX1guk6E3t36RkaqiSt8A/6YElNxLQ== is-map@^2.0.1, is-map@^2.0.2: version "2.0.2" @@ -6062,7 +6185,7 @@ is-path-cwd@^2.2.0: resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-2.2.0.tgz#67d43b82664a7b5191fd9119127eb300048a9fdb" integrity sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ== -is-path-inside@^3.0.1, is-path-inside@^3.0.2: +is-path-inside@^3.0.2: version "3.0.3" resolved "https://registry.yarnpkg.com/is-path-inside/-/is-path-inside-3.0.3.tgz#d231362e53a07ff2b0e0ea7fed049161ffd16283" integrity sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ== @@ -6079,6 +6202,11 @@ is-plain-object@^2.0.3, is-plain-object@^2.0.4: dependencies: isobject "^3.0.1" +is-plain-object@^5.0.0: + version "5.0.0" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-5.0.0.tgz#4427f50ab3429e9025ea7d52e9043a9ef4159344" + integrity sha512-VRSzKkbMm5jMDoKLbltAkFQ5Qr7VDiTFGXxYFXXowVj387GeGNOCsOH6Msy00SGZ3Fp84b1Naa1psqgcCIEP5Q== + is-potential-custom-element-name@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-potential-custom-element-name/-/is-potential-custom-element-name-1.0.1.tgz#171ed6f19e3ac554394edf78caa05784a45bebb5" @@ -6102,6 +6230,13 @@ is-regexp@^1.0.0: resolved "https://registry.yarnpkg.com/is-regexp/-/is-regexp-1.0.0.tgz#fd2d883545c46bac5a633e7b9a09e87fa2cb5069" integrity sha1-/S2INUXEa6xaYz57mgnof6LLUGk= +is-relative@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-relative/-/is-relative-1.0.0.tgz#a1bb6935ce8c5dba1e8b9754b9b2dcc020e2260d" + integrity sha512-Kw/ReK0iqwKeu0MITLFuj0jbPAmEiOsIwyIXvvbfa6QfmN9pkD1M+8pdk7Rl/dTKbH34/XBFMbgD4iMJhLQbGA== + dependencies: + is-unc-path "^1.0.0" + is-set@^2.0.1, is-set@^2.0.2: version "2.0.2" resolved "https://registry.yarnpkg.com/is-set/-/is-set-2.0.2.tgz#90755fa4c2562dc1c5d4024760d6119b94ca18ec" @@ -6166,17 +6301,22 @@ is-typedarray@^1.0.0, is-typedarray@~1.0.0: resolved "https://registry.yarnpkg.com/is-typedarray/-/is-typedarray-1.0.0.tgz#e479c80858df0c1b11ddda6940f96011fcda4a9a" integrity sha1-5HnICFjfDBsR3dppQPlgEfzaSpo= +is-unc-path@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-unc-path/-/is-unc-path-1.0.0.tgz#d731e8898ed090a12c352ad2eaed5095ad322c9d" + integrity sha512-mrGpVd0fs7WWLfVsStvgF6iEJnbjDFZh9/emhRDcGWTduTfNHd9CHeUwH3gYIjdbwo4On6hunkztwOaAw0yllQ== + dependencies: + unc-path-regex "^0.1.2" + is-unicode-supported@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-0.1.0.tgz#3f26c76a809593b52bfa2ecb5710ed2779b522a7" integrity sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw== -is-upper-case@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/is-upper-case/-/is-upper-case-1.1.2.tgz#8d0b1fa7e7933a1e58483600ec7d9661cbaf756f" - integrity sha1-jQsfp+eTOh5YSDYA7H2WYcuvdW8= - dependencies: - upper-case "^1.1.0" +is-unicode-supported@^1.1.0: + version "1.2.0" + resolved "https://registry.yarnpkg.com/is-unicode-supported/-/is-unicode-supported-1.2.0.tgz#f4f54f34d8ebc84a46b93559a036763b6d3e1014" + integrity sha512-wH+U77omcRzevfIG8dDhTS0V9zZyweakfD01FULl97+0EHiJTTZtJqxPSkIIo/SDPv/i07k/C9jAPY+jwLLeUQ== is-weakmap@^2.0.1: version "2.0.1" @@ -6200,7 +6340,7 @@ is-what@^3.14.1: resolved "https://registry.yarnpkg.com/is-what/-/is-what-3.14.1.tgz#e1222f46ddda85dead0fd1c9df131760e77755c1" integrity sha512-sNxgpk9793nzSs7bA6JQJGeIuRBQhAaNGG77kzYQgMkrID+lS6SlK07K5LaptscDlSaIgH+GPFzf+d75FVxozA== -is-windows@^1.0.0, is-windows@^1.0.2: +is-windows@^1.0.0, is-windows@^1.0.1, is-windows@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/is-windows/-/is-windows-1.0.2.tgz#d1850eb9791ecd18e6182ce12a30f396634bb19d" integrity sha512-eXK1UInq2bPmjyX6e3VHIzMLobc4J94i4AWn+Hpq3OU5KkrRC96OAcR3PRJ/pGu6m8TRnBHP9dkXQVsT/COVIA== @@ -6222,10 +6362,10 @@ isarray@^2.0.5: resolved "https://registry.yarnpkg.com/isarray/-/isarray-2.0.5.tgz#8af1e4c1221244cc62459faf38940d4e644a5723" integrity sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw== -isbinaryfile@^4.0.2: - version "4.0.8" - resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.8.tgz#5d34b94865bd4946633ecc78a026fc76c5b11fcf" - integrity sha512-53h6XFniq77YdW+spoRrebh0mnmTxRPTlcuIArO57lmMdq4uBKFKaeTjnb92oYWrSn/LVL+LT+Hap2tFQj8V+w== +isbinaryfile@^4.0.8: + version "4.0.10" + resolved "https://registry.yarnpkg.com/isbinaryfile/-/isbinaryfile-4.0.10.tgz#0c5b5e30c2557a2f06febd37b7322946aaee42b3" + integrity sha512-iHrqe5shvBUcFbmZq9zOQHBoeOhZJu6RQGrDpBgenUm/Am+F3JM2MgQj+rK3Z601fzrL5gLZWtAPH2OBaSVcyw== isexe@^2.0.0: version "2.0.0" @@ -6990,17 +7130,6 @@ language-tags@^1.0.5: dependencies: language-subtag-registry "~0.3.2" -lask@^0.1.0: - version "0.1.0" - resolved "https://registry.yarnpkg.com/lask/-/lask-0.1.0.tgz#fe7a327c2859fc014f329cf7bd515a9c60d1da37" - integrity sha512-fpZmwLLMbkmCqSHeuQt7AZPJ85Kv8sNRwXLK/F32VV5T3tsaCwxNRWy4e4bvF0d1b0uGxVMOXtazhi+9yD0SEQ== - dependencies: - commander "^2.20.0" - esbuild "^0.14.18" - tsconfig-paths "^3.12.0" - tsconfig-replace-paths "^0.0.11" - zlib "^1.0.5" - lazy-ass@1.6.0, lazy-ass@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/lazy-ass/-/lazy-ass-1.6.0.tgz#7999655e8646c17f089fdd187d150d3324d54513" @@ -7027,6 +7156,20 @@ levn@~0.3.0: prelude-ls "~1.1.2" type-check "~0.3.2" +liftoff@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/liftoff/-/liftoff-4.0.0.tgz#1a463b9073335cd425cdaa3b468996f7d66d2d81" + integrity sha512-rMGwYF8q7g2XhG2ulBmmJgWv25qBsqRbDn5gH0+wnuyeFt7QBJlHJmtg5qEdn4pN6WVAUMgXnIxytMFRX9c1aA== + dependencies: + extend "^3.0.2" + findup-sync "^5.0.0" + fined "^2.0.0" + flagged-respawn "^2.0.0" + is-plain-object "^5.0.0" + object.map "^1.0.1" + rechoir "^0.8.0" + resolve "^1.20.0" + lines-and-columns@^1.1.6: version "1.2.4" resolved "https://registry.yarnpkg.com/lines-and-columns/-/lines-and-columns-1.2.4.tgz#eca284f75d2965079309dc0ad9255abb2ebc1632" @@ -7138,7 +7281,7 @@ lodash@^4.17.15, lodash@^4.17.19, lodash@^4.17.21, lodash@^4.7.0: resolved "https://registry.yarnpkg.com/lodash/-/lodash-4.17.21.tgz#679591c564c3bffaae8454cf0b3df370c3d6911c" integrity sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg== -log-symbols@^4.0.0: +log-symbols@^4.0.0, log-symbols@^4.1.0: version "4.1.0" resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-4.1.0.tgz#3fbdbb95b4683ac9fc785111e792e558d4abd503" integrity sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg== @@ -7146,6 +7289,14 @@ log-symbols@^4.0.0: chalk "^4.1.0" is-unicode-supported "^0.1.0" +log-symbols@^5.1.0: + version "5.1.0" + resolved "https://registry.yarnpkg.com/log-symbols/-/log-symbols-5.1.0.tgz#a20e3b9a5f53fac6aeb8e2bb22c07cf2c8f16d93" + integrity sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA== + dependencies: + chalk "^5.0.0" + is-unicode-supported "^1.1.0" + log-update@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/log-update/-/log-update-4.0.0.tgz#589ecd352471f2a1c0c570287543a64dfd20e0a1" @@ -7163,17 +7314,12 @@ loose-envify@^1.1.0, loose-envify@^1.4.0: dependencies: js-tokens "^3.0.0 || ^4.0.0" -lower-case-first@^1.0.0: - version "1.0.2" - resolved "https://registry.yarnpkg.com/lower-case-first/-/lower-case-first-1.0.2.tgz#e5da7c26f29a7073be02d52bac9980e5922adfa1" - integrity sha1-5dp8JvKacHO+AtUrrJmA5ZIq36E= +lower-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-2.0.2.tgz#6fa237c63dbdc4a82ca0fd882e4722dc5e634e28" + integrity sha512-7fm3l3NAF9WfN6W3JOmf5drwpVqX78JtoGJ3A6W0a6ZnldM41w2fV5D490psKFTpMds8TJse/eHLFFsNHHjHgg== dependencies: - lower-case "^1.1.2" - -lower-case@^1.1.0, lower-case@^1.1.1, lower-case@^1.1.2: - version "1.1.4" - resolved "https://registry.yarnpkg.com/lower-case/-/lower-case-1.1.4.tgz#9a2cabd1b9e8e0ae993a4bf7d5875c39c42e8eac" - integrity sha1-miyr0bno4K6ZOkv31YdcOcQujqw= + tslib "^2.0.3" lowercase-keys@^1.0.0, lowercase-keys@^1.0.1: version "1.0.1" @@ -7224,6 +7370,13 @@ make-error@^1.1.1: resolved "https://registry.yarnpkg.com/make-error/-/make-error-1.3.6.tgz#2eb2e37ea9b67c4891f684a1394799af484cf7a2" integrity sha512-s8UhlNe7vPKomQhC1qFelMokr/Sc3AgNbso3n74mVPA5LTZwkB9NlXf4XPamLxJE8h0gh73rM94xvwRT2CVInw== +make-iterator@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/make-iterator/-/make-iterator-1.0.1.tgz#29b33f312aa8f547c4a5e490f56afcec99133ad6" + integrity sha512-pxiuXh0iVEq7VM7KMIhs5gxsfxCux2URptUQaXo4iZZJxBAzTPOLE2BumO5dbfVYq/hBJFBR/a1mFDmOx5AGmw== + dependencies: + kind-of "^6.0.2" + makeerror@1.0.12: version "1.0.12" resolved "https://registry.yarnpkg.com/makeerror/-/makeerror-1.0.12.tgz#3e5dd2079a82e812e983cc6610c4a2cb0eaa801a" @@ -7231,7 +7384,7 @@ makeerror@1.0.12: dependencies: tmpl "1.0.5" -map-cache@^0.2.2: +map-cache@^0.2.0, map-cache@^0.2.2: version "0.2.2" resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" integrity sha1-wyq9C9ZSXZsFFkW7TyasXcmKDb8= @@ -7310,11 +7463,6 @@ merge2@^1.2.3, merge2@^1.3.0, merge2@^1.4.1: resolved "https://registry.yarnpkg.com/merge2/-/merge2-1.4.1.tgz#4368892f885e907455a6fd7dc55c0c9d404990ae" integrity sha512-8q7VEgMJW4J8tcfVPy8g09NcQwZdbwFEqhe/WZkoIzjn/3TGDwtOCYtXGxA3O8tPzpczCCDgv+P2P5y00ZJOOg== -micro-memoize@^4.0.9: - version "4.0.9" - resolved "https://registry.yarnpkg.com/micro-memoize/-/micro-memoize-4.0.9.tgz#b44a38c9dffbee1cefc2fd139bc8947952268b62" - integrity sha512-Z2uZi/IUMGQDCXASdujXRqrXXEwSY0XffUrAOllhqzQI3wpUyZbiZTiE2JuYC0HSG2G7DbCS5jZmsEKEGZuemg== - micromatch@^3.1.10, micromatch@^3.1.4: version "3.1.10" resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.10.tgz#70859bc95c9840952f359a068a3fc49f9ecfac23" @@ -7410,12 +7558,10 @@ mixme@^0.5.1: resolved "https://registry.yarnpkg.com/mixme/-/mixme-0.5.4.tgz#8cb3bd0cd32a513c161bf1ca99d143f0bcf2eff3" integrity sha512-3KYa4m4Vlqx98GPdOHghxSdNtTvcP8E0kkaJ5Dlh+h2DRzF7zpuVVcA8B0QpKd11YJeP9QQ7ASkKzOeu195Wzw== -mkdirp@^0.5.1: - version "0.5.5" - resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.5.tgz#d91cefd62d1436ca0f41620e251288d420099def" - integrity sha512-NKmAlESf6jMGym1++R0Ra7wvhV+wFW63FaSOFPwRahvea0gMUcGUhVeAg/0BC0wiv9ih5NYPB1Wn1UEI1/L+xQ== - dependencies: - minimist "^1.2.5" +mkdirp@^1.0.4: + version "1.0.4" + resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-1.0.4.tgz#3eb5ed62622756d79a5f0e2a221dfebad75c2f7e" + integrity sha512-vVqVZQyf3WLx2Shd0qJ9xuvqgAyKPLAiqITEtqW0oIUjzo3PePDd6fW9iFz30ef7Ysp/oiWqbhszeGWW2T6Gzw== ms@2.0.0: version "2.0.0" @@ -7497,12 +7643,13 @@ nice-try@^1.0.4: resolved "https://registry.yarnpkg.com/nice-try/-/nice-try-1.0.5.tgz#a3378a7696ce7d223e88fc9b764bd7ef1089e366" integrity sha512-1nh45deeb5olNY7eX82BkPO7SSxR5SSYJiPTrTdFUVYwAl8CKMA5N9PjTYkHiRjisVcxcQ1HXdLhx2qxxJzLNQ== -no-case@^2.2.0, no-case@^2.3.2: - version "2.3.2" - resolved "https://registry.yarnpkg.com/no-case/-/no-case-2.3.2.tgz#60b813396be39b3f1288a4c1ed5d1e7d28b464ac" - integrity sha512-rmTZ9kz+f3rCvK2TD1Ue/oZlns7OGoIWP4fc3llxxRXlOkHKoWPPWJOfFYpITabSow43QJbRIoHQXtt10VldyQ== +no-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/no-case/-/no-case-3.0.4.tgz#d361fd5c9800f558551a8369fc0dcd4662b6124d" + integrity sha512-fgAN3jGAh+RoxUGZHTSOLJIqUc2wmoBwGR4tbpNAKmmovFoWq0OdRkb0VkldReO2a2iBT/OEulG9XSUc10r3zg== dependencies: - lower-case "^1.1.1" + lower-case "^2.0.2" + tslib "^2.0.3" node-fetch@^2.5.0: version "2.6.6" @@ -7533,22 +7680,24 @@ node-notifier@^8.0.0: uuid "^8.3.0" which "^2.0.2" -node-plop@^0.26.2: - version "0.26.3" - resolved "https://registry.yarnpkg.com/node-plop/-/node-plop-0.26.3.tgz#d6fa7e71393c8b940513ba8c4868f8aaa6dea9df" - integrity sha512-Cov028YhBZ5aB7MdMWJEmwyBig43aGL5WT4vdoB28Oitau1zZAcHUn8Sgfk9HM33TqhtLJ9PlM/O0Mv+QpV/4Q== +node-plop@^0.30.0: + version "0.30.0" + resolved "https://registry.yarnpkg.com/node-plop/-/node-plop-0.30.0.tgz#413581d95ff21f043ec4c373fcacb0f1555ae600" + integrity sha512-5w9+jWoy9OtMm3qRmHgL2z/3L5VL3RhEegKkKC4tA1IIjG3aXf8Ee/8wdgU9qXyt1yDfPWI9Tan1rHpXAp0ZnA== dependencies: - "@babel/runtime-corejs3" "^7.9.2" - "@types/inquirer" "^6.5.0" - change-case "^3.1.0" - del "^5.1.0" - globby "^10.0.1" + "@types/inquirer" "^8.1.3" + change-case "^4.1.2" + del "^6.0.0" + globby "^12.0.2" handlebars "^4.4.3" - inquirer "^7.1.0" - isbinaryfile "^4.0.2" + inquirer "^8.2.0" + isbinaryfile "^4.0.8" lodash.get "^4.4.2" - mkdirp "^0.5.1" - resolve "^1.12.0" + lower-case "^2.0.2" + mkdirp "^1.0.4" + resolve "^1.20.0" + title-case "^3.0.3" + upper-case "^2.0.2" node-releases@^2.0.1: version "2.0.1" @@ -7601,13 +7750,6 @@ npm-package-arg@^8.1.0: semver "^7.3.4" validate-npm-package-name "^3.0.0" -npm-run-path@4.0.1, npm-run-path@^4.0.0, npm-run-path@^4.0.1: - version "4.0.1" - resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" - integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== - dependencies: - path-key "^3.0.0" - npm-run-path@^2.0.0: version "2.0.2" resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-2.0.2.tgz#35a9232dfa35d7067b4cb2ddf2357b1871536c5f" @@ -7615,6 +7757,13 @@ npm-run-path@^2.0.0: dependencies: path-key "^2.0.0" +npm-run-path@^4.0.0, npm-run-path@^4.0.1: + version "4.0.1" + resolved "https://registry.yarnpkg.com/npm-run-path/-/npm-run-path-4.0.1.tgz#b7ecd1e5ed53da8e37a55e1c2269e0b97ed748ea" + integrity sha512-S48WzZW777zhNIrn7gxOlISNAqi9ZC/uQFnRdbeIHhZhCA6UqpkOT8T1G7BvfdgP4Er8gF4sUbaS0i7QvIfCWw== + dependencies: + path-key "^3.0.0" + npmlog@^4.1.2: version "4.1.2" resolved "https://registry.yarnpkg.com/npmlog/-/npmlog-4.1.2.tgz#08a7f2a8bf734604779a9efa4ad5cc717abb954b" @@ -7684,6 +7833,16 @@ object.assign@^4.1.2: has-symbols "^1.0.1" object-keys "^1.1.1" +object.defaults@^1.1.0: + version "1.1.0" + resolved "https://registry.yarnpkg.com/object.defaults/-/object.defaults-1.1.0.tgz#3a7f868334b407dea06da16d88d5cd29e435fecf" + integrity sha1-On+GgzS0B96gbaFtiNXNKeQ1/s8= + dependencies: + array-each "^1.0.1" + array-slice "^1.0.0" + for-own "^1.0.0" + isobject "^3.0.0" + object.entries@^1.1.5: version "1.1.5" resolved "https://registry.yarnpkg.com/object.entries/-/object.entries-1.1.5.tgz#e1acdd17c4de2cd96d5a08487cfb9db84d881861" @@ -7710,6 +7869,14 @@ object.hasown@^1.1.0: define-properties "^1.1.3" es-abstract "^1.19.1" +object.map@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/object.map/-/object.map-1.0.1.tgz#cf83e59dc8fcc0ad5f4250e1f78b3b81bd801d37" + integrity sha1-z4Plncj8wK1fQlDh94s7gb2AHTc= + dependencies: + for-own "^1.0.0" + make-iterator "^1.0.0" + object.pick@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" @@ -7772,6 +7939,36 @@ optionator@^0.9.1: type-check "^0.4.0" word-wrap "^1.2.3" +ora@^5.4.1: + version "5.4.1" + resolved "https://registry.yarnpkg.com/ora/-/ora-5.4.1.tgz#1b2678426af4ac4a509008e5e4ac9e9959db9e18" + integrity sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ== + dependencies: + bl "^4.1.0" + chalk "^4.1.0" + cli-cursor "^3.1.0" + cli-spinners "^2.5.0" + is-interactive "^1.0.0" + is-unicode-supported "^0.1.0" + log-symbols "^4.1.0" + strip-ansi "^6.0.0" + wcwidth "^1.0.1" + +ora@^6.0.1: + version "6.1.0" + resolved "https://registry.yarnpkg.com/ora/-/ora-6.1.0.tgz#86aa07058c4e9fb91444412d103b0d7e01aca973" + integrity sha512-CxEP6845hLK+NHFWZ+LplGO4zfw4QSfxTlqMfvlJ988GoiUeZDMzCvqsZkFHv69sPICmJH1MDxZoQFOKXerAVw== + dependencies: + bl "^5.0.0" + chalk "^5.0.0" + cli-cursor "^4.0.0" + cli-spinners "^2.6.1" + is-interactive "^2.0.0" + is-unicode-supported "^1.1.0" + log-symbols "^5.1.0" + strip-ansi "^7.0.1" + wcwidth "^1.0.1" + os-tmpdir@~1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/os-tmpdir/-/os-tmpdir-1.0.2.tgz#bbe67406c79aa85c5cfec766fe5734555dfa1274" @@ -7856,13 +8053,6 @@ p-map@^2.0.0: resolved "https://registry.yarnpkg.com/p-map/-/p-map-2.1.0.tgz#310928feef9c9ecc65b68b17693018a665cea175" integrity sha512-y3b8Kpd8OAN444hxfBbFfj1FY/RjtTd8tzYwhUqNYXx0fXx2iX4maP4Qr6qhIKbQXI02wTLAda4fYUbDagTUFw== -p-map@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/p-map/-/p-map-3.0.0.tgz#d704d9af8a2ba684e2600d9a215983d4141a979d" - integrity sha512-d3qXVTF/s+W+CdJ5A29wywV2n8CQQYahlgz2bFiA+4eVNJbHJodPZ+/gXwPGh0bOqA+j8S+6+ckmvLGPk1QpxQ== - dependencies: - aggregate-error "^3.0.0" - p-map@^4.0.0: version "4.0.0" resolved "https://registry.yarnpkg.com/p-map/-/p-map-4.0.0.tgz#bb2f95a5eda2ec168ec9274e06a747c3e2904d2b" @@ -7890,12 +8080,13 @@ package-json@^6.5.0: registry-url "^5.0.0" semver "^6.2.0" -param-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/param-case/-/param-case-2.1.1.tgz#df94fd8cf6531ecf75e6bef9a0858fbc72be2247" - integrity sha1-35T9jPZTHs915r75oIWPvHK+Ikc= +param-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/param-case/-/param-case-3.0.4.tgz#7d17fe4aa12bde34d4a77d91acfb6219caad01c5" + integrity sha512-RXlj7zCYokReqWpOPH9oYivUzLYZ5vAPIfEmCTNViosC78F8F0H9y7T7gG2M39ymgutxF5gcFEsyZQSph9Bp3A== dependencies: - no-case "^2.2.0" + dot-case "^3.0.4" + tslib "^2.0.3" parent-module@^1.0.0: version "1.0.1" @@ -7904,6 +8095,15 @@ parent-module@^1.0.0: dependencies: callsites "^3.0.0" +parse-filepath@^1.0.2: + version "1.0.2" + resolved "https://registry.yarnpkg.com/parse-filepath/-/parse-filepath-1.0.2.tgz#a632127f53aaf3d15876f5872f3ffac763d6c891" + integrity sha1-pjISf1Oq89FYdvWHLz/6x2PWyJE= + dependencies: + is-absolute "^1.0.0" + map-cache "^0.2.0" + path-root "^0.1.1" + parse-github-url@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/parse-github-url/-/parse-github-url-1.0.2.tgz#242d3b65cbcdda14bb50439e3242acf6971db395" @@ -7927,18 +8127,23 @@ parse-json@^5.0.0: json-parse-even-better-errors "^2.3.0" lines-and-columns "^1.1.6" +parse-passwd@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/parse-passwd/-/parse-passwd-1.0.0.tgz#6d5b934a456993b23d37f40a382d6f1666a8e5c6" + integrity sha1-bVuTSkVpk7I9N/QKOC1vFmao5cY= + parse5@6.0.1: version "6.0.1" resolved "https://registry.yarnpkg.com/parse5/-/parse5-6.0.1.tgz#e1a1c085c569b3dc08321184f19a39cc27f7c30b" integrity sha512-Ofn/CTFzRGTTxwpNEs9PP93gXShHcTq255nzRYSKe8AkVpZY7e1fpmTfOyoIvjP5HG7Z2ZM7VS9PPhQGW2pOpw== -pascal-case@^2.0.0: - version "2.0.1" - resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-2.0.1.tgz#2d578d3455f660da65eca18ef95b4e0de912761e" - integrity sha1-LVeNNFX2YNpl7KGO+VtODekSdh4= +pascal-case@^3.1.2: + version "3.1.2" + resolved "https://registry.yarnpkg.com/pascal-case/-/pascal-case-3.1.2.tgz#b48e0ef2b98e205e7c1dae747d0b1508237660eb" + integrity sha512-uWlGT3YSnK9x3BQJaOdcZwrnV6hPpd8jFH1/ucpiLRPh/2zCVJKS19E4GvYHvaCcACn3foXZ0cLB9Wrx1KGe5g== dependencies: - camel-case "^3.0.0" - upper-case-first "^1.1.0" + no-case "^3.0.4" + tslib "^2.0.3" pascalcase@^0.1.1: version "0.1.1" @@ -7964,12 +8169,13 @@ patch-package@^6.4.7: slash "^2.0.0" tmp "^0.0.33" -path-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/path-case/-/path-case-2.1.1.tgz#94b8037c372d3fe2906e465bb45e25d226e8eea5" - integrity sha1-lLgDfDctP+KQbkZbtF4l0ibo7qU= +path-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/path-case/-/path-case-3.0.4.tgz#9168645334eb942658375c56f80b4c0cb5f82c6f" + integrity sha512-qO4qCFjXqVTrcbPt/hQfhTQ+VhFsqNKOPtytgNKkKxSoEp3XPUQ8ObFuePylOIok5gjn69ry8XiULxCwot3Wfg== dependencies: - no-case "^2.2.0" + dot-case "^3.0.4" + tslib "^2.0.3" path-dirname@^1.0.0: version "1.0.2" @@ -8006,6 +8212,18 @@ path-parse@^1.0.6: resolved "https://registry.yarnpkg.com/path-parse/-/path-parse-1.0.7.tgz#fbc114b60ca42b30d9daf5858e4bd68bbedb6735" integrity sha512-LDJzPVEEEPR+y48z93A0Ed0yXb8pAByGWo/k5YYdYgpY2/2EsOsksJrq7lOHxryrVOn1ejG6oAp8ahvOIQD8sw== +path-root-regex@^0.1.0: + version "0.1.2" + resolved "https://registry.yarnpkg.com/path-root-regex/-/path-root-regex-0.1.2.tgz#bfccdc8df5b12dc52c8b43ec38d18d72c04ba96d" + integrity sha1-v8zcjfWxLcUsi0PsONGNcsBLqW0= + +path-root@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/path-root/-/path-root-0.1.1.tgz#9a4a6814cac1c0cd73360a95f32083c8ea4745b7" + integrity sha1-mkpoFMrBwM1zNgqV8yCDyOpHRbc= + dependencies: + path-root-regex "^0.1.0" + path-type@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/path-type/-/path-type-3.0.0.tgz#cef31dc8e0a1a3bb0d105c0cd97cf3bf47f4e36f" @@ -8045,11 +8263,6 @@ picomatch@^2.0.4, picomatch@^2.2.1, picomatch@^2.2.3: resolved "https://registry.yarnpkg.com/picomatch/-/picomatch-2.3.0.tgz#f1f061de8f6a4bf022892e2d128234fb98302972" integrity sha512-lY1Q/PiJGC2zOv/z391WOTD+Z02bCgsFfvxoXXf6h7kv9o+WmsmzYqrAwY63sNgOxE4xEdq0WyUnXfKeBrSvYw== -pid-cwd@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/pid-cwd/-/pid-cwd-1.2.0.tgz#c14c03d812b1d23f97aee27767957fc16272c979" - integrity sha512-8QQzIdBmy4bd2l1NKWON1X8flO5TQQRzU2uRDua/XaxSC0iJ+rgbDrlX76t0W3DaJ7OevTYpftyvQ6oMe3hclQ== - pify@^2.2.0: version "2.3.0" resolved "https://registry.yarnpkg.com/pify/-/pify-2.3.0.tgz#ed141a6ac043a849ea588498e7dca8b15330e90c" @@ -8104,6 +8317,20 @@ please-upgrade-node@^3.2.0: dependencies: semver-compare "^1.0.0" +plop@^3.0.5: + version "3.0.5" + resolved "https://registry.yarnpkg.com/plop/-/plop-3.0.5.tgz#09720a3c28547ae3be0876b77313a981d56b6dcb" + integrity sha512-bD+/Lr+7NCjNIaYJq1cyHDfxtVCdjwfprgKsNwHwFnwntTiNwZWyxd1NuRDygdQWyPi+rstFMMFAPMek0cYaqA== + dependencies: + "@types/liftoff" "^4.0.0" + chalk "^5.0.0" + interpret "^2.2.0" + liftoff "^4.0.0" + minimist "^1.2.5" + node-plop "^0.30.0" + ora "^6.0.1" + v8flags "^4.0.0" + posix-character-classes@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" @@ -8238,11 +8465,6 @@ proxy-from-env@1.0.0: resolved "https://registry.yarnpkg.com/proxy-from-env/-/proxy-from-env-1.0.0.tgz#33c50398f70ea7eb96d21f7b817630a55791c7ee" integrity sha1-M8UDmPcOp+uW0h97gXYwpVeRx+4= -ps-list@^7.2.0: - version "7.2.0" - resolved "https://registry.yarnpkg.com/ps-list/-/ps-list-7.2.0.tgz#3d110e1de8249a4b178c9b1cf2a215d1e4e42fc0" - integrity sha512-v4Bl6I3f2kJfr5o80ShABNHAokIgY+wFDTQfE+X3zWYgSGQOCBeYptLZUpoOALBqO5EawmDN/tjTldJesd0ujQ== - ps-tree@1.2.0: version "1.2.0" resolved "https://registry.yarnpkg.com/ps-tree/-/ps-tree-1.2.0.tgz#5e7425b89508736cdd4f2224d028f7bb3f722ebd" @@ -8482,7 +8704,7 @@ read-yaml-file@^1.1.0: pify "^4.0.1" strip-bom "^3.0.0" -readable-stream@3, readable-stream@^3.0.0: +readable-stream@3, readable-stream@^3.0.0, readable-stream@^3.4.0: version "3.6.0" resolved "https://registry.yarnpkg.com/readable-stream/-/readable-stream-3.6.0.tgz#337bbda3adc0706bd3e024426a286d4b4b2c9198" integrity sha512-BViHy7LKeTz4oNnkcLJ+lVSL6vpiFeX6/d3oSH8zCW7UxP2onchk+vTGB143xuFjHS3deTgkKoXXymXqymiIdA== @@ -8511,12 +8733,12 @@ readdirp@~3.6.0: dependencies: picomatch "^2.2.1" -rechoir@^0.6.2: - version "0.6.2" - resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.6.2.tgz#85204b54dba82d5742e28c96756ef43af50e3384" - integrity sha1-hSBLVNuoLVdC4oyWdW70OvUOM4Q= +rechoir@^0.8.0: + version "0.8.0" + resolved "https://registry.yarnpkg.com/rechoir/-/rechoir-0.8.0.tgz#49f866e0d32146142da3ad8f0eff352b3215ff22" + integrity sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ== dependencies: - resolve "^1.1.6" + resolve "^1.20.0" redent@^3.0.0: version "3.0.0" @@ -8566,6 +8788,13 @@ registry-url@^5.0.0: dependencies: rc "^1.2.8" +relative@^3.0.2: + version "3.0.2" + resolved "https://registry.yarnpkg.com/relative/-/relative-3.0.2.tgz#0dcd8ec54a5d35a3c15e104503d65375b5a5367f" + integrity sha1-Dc2OxUpdNaPBXhBFA9ZTdbWlNn8= + dependencies: + isobject "^2.0.0" + remove-trailing-separator@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/remove-trailing-separator/-/remove-trailing-separator-1.1.0.tgz#c24bce2a283adad5bc3f58e0d48249b92379d8ef" @@ -8615,6 +8844,14 @@ resolve-cwd@^3.0.0: dependencies: resolve-from "^5.0.0" +resolve-dir@^1.0.0, resolve-dir@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/resolve-dir/-/resolve-dir-1.0.1.tgz#79a40644c362be82f26effe739c9bb5382046f43" + integrity sha1-eaQGRMNivoLybv/nOcm7U4IEb0M= + dependencies: + expand-tilde "^2.0.0" + global-modules "^1.0.0" + resolve-from@5.0.0, resolve-from@^5.0.0: version "5.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-5.0.0.tgz#c35225843df8f776df21c57557bc087e9dfdfc69" @@ -8637,7 +8874,7 @@ resolve-url@^0.2.1: resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" integrity sha1-LGN/53yJOv0qZj/iGqkIAGjiBSo= -resolve@^1.1.6, resolve@^1.10.0, resolve@^1.12.0, resolve@^1.15.1, resolve@^1.18.1, resolve@^1.20.0: +resolve@^1.10.0, resolve@^1.12.0, resolve@^1.15.1, resolve@^1.18.1, resolve@^1.20.0: version "1.20.0" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.20.0.tgz#629a013fb3f70755d6f0b7935cc1c2c5378b1975" integrity sha512-wENBPt4ySzg4ybFQW2TT1zMQucPK95HSh/nq2CFTZVOGut2+pQvSsgtda4d26YrYcr067wjbmzOG8byDPBX63A== @@ -8668,6 +8905,14 @@ restore-cursor@^3.1.0: onetime "^5.1.0" signal-exit "^3.0.2" +restore-cursor@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/restore-cursor/-/restore-cursor-4.0.0.tgz#519560a4318975096def6e609d44100edaa4ccb9" + integrity sha512-I9fPXU9geO9bHOt9pHHOhOkYerIMsmVaWB0rA2AI9ERh/+x/i7MV5HKBNrg+ljO5eoPVgCcnFuRjJ9uH6I/3eg== + dependencies: + onetime "^5.1.0" + signal-exit "^3.0.2" + ret@~0.1.10: version "0.1.15" resolved "https://registry.yarnpkg.com/ret/-/ret-0.1.15.tgz#b8a4825d5bdb1fc3f6f53c2bc33f81388681c7bc" @@ -8716,13 +8961,6 @@ run-parallel@^1.1.9: dependencies: queue-microtask "^1.2.2" -rxjs@^6.4.0, rxjs@^6.6.0: - version "6.6.7" - resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-6.6.7.tgz#90ac018acabf491bf65044235d5863c4dab804c9" - integrity sha512-hTdwr+7yYNIT5n4AMYp85KA6yw2Va0FLa3Rguvbpa4W3I5xynaBZo41cM3XM+4Q6fRMj3sBYIR1VAmZMXYJvRQ== - dependencies: - tslib "^1.9.0" - rxjs@^7.1.0, rxjs@^7.4.0: version "7.4.0" resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.4.0.tgz#a12a44d7eebf016f5ff2441b87f28c9a51cebc68" @@ -8730,6 +8968,13 @@ rxjs@^7.1.0, rxjs@^7.4.0: dependencies: tslib "~2.1.0" +rxjs@^7.2.0, rxjs@^7.5.5: + version "7.5.5" + resolved "https://registry.yarnpkg.com/rxjs/-/rxjs-7.5.5.tgz#2ebad89af0f560f460ad5cc4213219e1f7dd4e9f" + integrity sha512-sy+H0pQofO95VDmFLzyaw9xNJU4KTRSwQIGM6+iG3SypAtCiLDzpeG8sJrNCWn2Up9km+KhkvTdbkrdy+yzZdw== + dependencies: + tslib "^2.1.0" + safe-buffer@^5.0.1, safe-buffer@^5.1.2, safe-buffer@~5.2.0: version "5.2.1" resolved "https://registry.yarnpkg.com/safe-buffer/-/safe-buffer-5.2.1.tgz#1eaf9fa9bdb1fdd4ec75f58f9cdb4e6b7827eec6" @@ -8825,13 +9070,14 @@ semver@^6.0.0, semver@^6.2.0, semver@^6.3.0: resolved "https://registry.yarnpkg.com/semver/-/semver-6.3.0.tgz#ee0a64c8af5e8ceea67687b133761e1becbd1d3d" integrity sha512-b39TBaTSfV6yBrapU89p5fKekE2m/NwnDocOVruQFS1/veMgdzuPcnOM34M6CwxW8jH/lxEa5rBoDeUwu5HHTw== -sentence-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/sentence-case/-/sentence-case-2.1.1.tgz#1f6e2dda39c168bf92d13f86d4a918933f667ed4" - integrity sha1-H24t2jnBaL+S0T+G1KkYkz9mftQ= +sentence-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/sentence-case/-/sentence-case-3.0.4.tgz#3645a7b8c117c787fde8702056225bb62a45131f" + integrity sha512-8LS0JInaQMCRoQ7YUytAo/xUu5W2XnQxV2HI/6uM6U7CITS1RqPElr30V6uIqyMKM9lJGRVFy5/4CuzcixNYSg== dependencies: - no-case "^2.2.0" - upper-case-first "^1.1.2" + no-case "^3.0.4" + tslib "^2.0.3" + upper-case-first "^2.0.2" set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" @@ -8872,20 +9118,6 @@ shebang-regex@^3.0.0: resolved "https://registry.yarnpkg.com/shebang-regex/-/shebang-regex-3.0.0.tgz#ae16f1644d873ecad843b0307b143362d4c42172" integrity sha512-7++dFhtcx3353uBaq8DDR4NuxBetBzC7ZQOhmTQInHEd6bSrXdiEyzCvG07Z44UYdLShWUyXt5M/yhz8ekcb1A== -shelljs@^0.8.5: - version "0.8.5" - resolved "https://registry.yarnpkg.com/shelljs/-/shelljs-0.8.5.tgz#de055408d8361bed66c669d2f000538ced8ee20c" - integrity sha512-TiwcRcrkhHvbrZbnRcFYMLl30Dfov3HKqzp5tO5b4pt6G/SezKcYhmDg15zXVBswHmctSAQKznqNW2LO5tTDow== - dependencies: - glob "^7.0.0" - interpret "^1.0.0" - rechoir "^0.6.2" - -shellwords-ts@^3.0.0: - version "3.0.0" - resolved "https://registry.yarnpkg.com/shellwords-ts/-/shellwords-ts-3.0.0.tgz#cd0679116dbe8581a8a0299b4f5f52a067ac79f2" - integrity sha512-4uZTHR2P7zKRZmSoOiUCFK1K+5LlDxay/RVNWDDImnGG1/4r/dZ2Y3rzpo871Iche913yOgYeKrrxl+3vengFw== - shellwords@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/shellwords/-/shellwords-0.1.1.tgz#d6b9181c1a48d397324c84871efbcfc73fc0654b" @@ -8929,6 +9161,11 @@ slash@^3.0.0: resolved "https://registry.yarnpkg.com/slash/-/slash-3.0.0.tgz#6539be870c165adbd5240220dbe361f1bc4d4634" integrity sha512-g9Q1haeby36OSStwb4ntCGGGaKsaVSjQ68fBxoQcutl5fS1vuY18H3wSt3jFyFtrkx+Kz0V1G85A4MyAdDMi2Q== +slash@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/slash/-/slash-4.0.0.tgz#2422372176c4c6c5addb5e2ada885af984b396a7" + integrity sha512-3dOsAHXXUkQTpOYcoAxLIorMTp4gIQr5IW3iVb7A7lFIp0VHhnynm9izx6TssdrIcVIESAlVjtnO2K8bg+Coew== + slice-ansi@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-3.0.0.tgz#31ddc10930a1b7e0b67b08c96c2f49b77a789787" @@ -8958,12 +9195,13 @@ smartwrap@^1.2.3: wcwidth "^1.0.1" yargs "^15.1.0" -snake-case@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-2.1.0.tgz#41bdb1b73f30ec66a04d4e2cad1b76387d4d6d9f" - integrity sha1-Qb2xtz8w7GagTU4srRt2OH1NbZ8= +snake-case@^3.0.4: + version "3.0.4" + resolved "https://registry.yarnpkg.com/snake-case/-/snake-case-3.0.4.tgz#4f2bbd568e9935abdfd593f34c691dadb49c452c" + integrity sha512-LAOh4z89bGQvl9pFfNF8V146i7o7/CqFPbqzYgP+yYzDIDeS9HaNFtXABamRW+AQzEVODcvE79ljJ+8a9YSdMg== dependencies: - no-case "^2.2.0" + dot-case "^3.0.4" + tslib "^2.0.3" snapdragon-node@^2.0.1: version "2.1.1" @@ -9310,6 +9548,13 @@ strip-ansi@^6.0.0, strip-ansi@^6.0.1: dependencies: ansi-regex "^5.0.1" +strip-ansi@^7.0.1: + version "7.0.1" + resolved "https://registry.yarnpkg.com/strip-ansi/-/strip-ansi-7.0.1.tgz#61740a08ce36b61e50e65653f07060d000975fb2" + integrity sha512-cXNxvT8dFNRVfhVME3JAe98mkXDYN2O1l7jmcwMnOslDeESg1rF/OZMtK0nRAhiari1unG5cD4jG3rapUAkLbw== + dependencies: + ansi-regex "^6.0.1" + strip-bom@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/strip-bom/-/strip-bom-3.0.0.tgz#2334c18e9c759f7bdd56fdef7e9ae3d588e68ed3" @@ -9391,14 +9636,6 @@ svelte@^3.38.2: resolved "https://registry.yarnpkg.com/svelte/-/svelte-3.44.2.tgz#3e69be2598308dfc8354ba584cec54e648a50f7f" integrity sha512-jrZhZtmH3ZMweXg1Q15onb8QlWD+a5T5Oca4C1jYvSURp2oD35h4A5TV6t6MEa93K4LlX6BkafZPdQoFjw/ylA== -swap-case@^1.1.0: - version "1.1.2" - resolved "https://registry.yarnpkg.com/swap-case/-/swap-case-1.1.2.tgz#c39203a4587385fad3c850a0bd1bcafa081974e3" - integrity sha1-w5IDpFhzhfrTyFCgvRvK+ggZdOM= - dependencies: - lower-case "^1.1.1" - upper-case "^1.1.1" - symbol-tree@^3.2.4: version "3.2.4" resolved "https://registry.yarnpkg.com/symbol-tree/-/symbol-tree-3.2.4.tgz#430637d248ba77e078883951fb9aa0eed7c63fa2" @@ -9486,13 +9723,12 @@ tiny-warning@^1.0.3: resolved "https://registry.yarnpkg.com/tiny-warning/-/tiny-warning-1.0.3.tgz#94a30db453df4c643d0fd566060d60a875d84754" integrity sha512-lBN9zLN/oAf68o3zNXYrdCt1kP8WsiGW8Oo2ka41b2IM5JL/S1CTyX1rW0mb/zSuJun0ZUrDxx4sqvYS2FWzPA== -title-case@^2.1.0: - version "2.1.1" - resolved "https://registry.yarnpkg.com/title-case/-/title-case-2.1.1.tgz#3e127216da58d2bc5becf137ab91dae3a7cd8faa" - integrity sha1-PhJyFtpY0rxb7PE3q5Ha46fNj6o= +title-case@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/title-case/-/title-case-3.0.3.tgz#bc689b46f02e411f1d1e1d081f7c3deca0489982" + integrity sha512-e1zGYRvbffpcHIrnuqT0Dh+gEJtDaxDSoG4JAIpq4oDFyooziLBIiYQv0GBT4FUAnUop5uZ1hiIAj7oAF6sOCA== dependencies: - no-case "^2.2.0" - upper-case "^1.0.3" + tslib "^2.0.3" tmp@^0.0.33: version "0.0.33" @@ -9627,30 +9863,21 @@ tsconfig-paths@^3.12.0: minimist "^1.2.0" strip-bom "^3.0.0" -tsconfig-replace-paths@^0.0.11: - version "0.0.11" - resolved "https://registry.yarnpkg.com/tsconfig-replace-paths/-/tsconfig-replace-paths-0.0.11.tgz#0059a5ba5b6c156b00038ce46842e3d4d801a33b" - integrity sha512-BX10vOJL/kTZExQwj22FJgxCpneNYKfXvujBKGFpnvaKWl4/9Cpd678ZvKF+CX5NdxbKphscwtc8QzFA7zhVsA== - dependencies: - commander "^3.0.2" - globby "^10.0.1" - json5 "^2.2.0" - -tslib@2.1.0, tslib@~2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a" - integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A== - -tslib@2.3.1, tslib@^2.3.0, tslib@^2.3.1: +tslib@2.3.1, tslib@^2.0.3, tslib@^2.1.0, tslib@^2.3.0, tslib@^2.3.1: version "2.3.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.3.1.tgz#e8a335add5ceae51aa261d32a490158ef042ef01" integrity sha512-77EbyPPpMz+FRFRuAFlWMtmgUWGe9UOG2Z25NqCwiIjRhOf5iKGuzSe5P2w1laq+FkRy4p+PCuVkJSGkzTEKVw== -tslib@^1.0.0, tslib@^1.8.1, tslib@^1.9.0: +tslib@^1.0.0, tslib@^1.8.1: version "1.14.1" resolved "https://registry.yarnpkg.com/tslib/-/tslib-1.14.1.tgz#cf2d38bdc34a134bcaf1091c41f6619e2f672d00" integrity sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg== +tslib@~2.1.0: + version "2.1.0" + resolved "https://registry.yarnpkg.com/tslib/-/tslib-2.1.0.tgz#da60860f1c2ecaa5703ab7d39bc05b6bf988b97a" + integrity sha512-hcVC3wYEziELGGmEEXue7D75zbwIIVUMWAVbHItGPx0ziyXxrOMQx4rQEVEV45Ut/1IotuEvwqPopzIOkDMf0A== + tsutils@^3.21.0: version "3.21.0" resolved "https://registry.yarnpkg.com/tsutils/-/tsutils-3.21.0.tgz#b48717d394cea6c1e096983eed58e9d61715b623" @@ -9794,7 +10021,7 @@ type-fest@^0.20.2: resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.20.2.tgz#1bf207f4b28f91583666cb5fbd327887301cd5f4" integrity sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ== -type-fest@^0.21.2, type-fest@^0.21.3: +type-fest@^0.21.3: version "0.21.3" resolved "https://registry.yarnpkg.com/type-fest/-/type-fest-0.21.3.tgz#d260a24b0198436e133fa26a524a6d65fa3b2e37" integrity sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w== @@ -9831,30 +10058,6 @@ uglify-js@^3.1.4: resolved "https://registry.yarnpkg.com/uglify-js/-/uglify-js-3.14.3.tgz#c0f25dfea1e8e5323eccf59610be08b6043c15cf" integrity sha512-mic3aOdiq01DuSVx0TseaEzMIVqebMZ0Z3vaeDhFEh9bsc24hV1TFvN74reA2vs08D0ZWfNjAcJ3UbVLaBss+g== -ultra-runner@^3.10.5: - version "3.10.5" - resolved "https://registry.yarnpkg.com/ultra-runner/-/ultra-runner-3.10.5.tgz#7a723b64326642a6d4649ca4cd51a9900c7eccd2" - integrity sha512-0U2OPII7sbvtbu9rhDlUUkP4Au/DPz2Tzbnawd/XwDuUruDqd+t/Bmel3cLJxl3yMLHf0OY0TMcIx9zzxdlAZw== - dependencies: - ansi-split "^1.0.1" - chalk "^4.1.0" - cross-spawn "^7.0.3" - fast-glob "^3.2.5" - globrex "^0.1.2" - ignore "^5.1.8" - json5 "^2.2.0" - micro-memoize "^4.0.9" - npm-run-path "4.0.1" - pid-cwd "^1.2.0" - ps-list "^7.2.0" - shellwords-ts "^3.0.0" - string-width "^4.2.0" - tslib "2.1.0" - type-fest "^0.21.2" - wrap-ansi "^7.0.0" - yamljs "^0.3.0" - yargs "^16.2.0" - unbox-primitive@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/unbox-primitive/-/unbox-primitive-1.0.1.tgz#085e215625ec3162574dc8859abee78a59b14471" @@ -9865,6 +10068,11 @@ unbox-primitive@^1.0.1: has-symbols "^1.0.2" which-boxed-primitive "^1.0.2" +unc-path-regex@^0.1.2: + version "0.1.2" + resolved "https://registry.yarnpkg.com/unc-path-regex/-/unc-path-regex-0.1.2.tgz#e73dd3d7b0d7c5ed86fbac6b0ae7d8c6a69d50fa" + integrity sha1-5z3T17DXxe2G+6xrCufYxqadUPo= + union-value@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.1.tgz#0b6fe7b835aecda61c6ea4d4f02c14221e109847" @@ -9903,17 +10111,19 @@ upath@^2.0.1: resolved "https://registry.yarnpkg.com/upath/-/upath-2.0.1.tgz#50c73dea68d6f6b990f51d279ce6081665d61a8b" integrity sha512-1uEe95xksV1O0CYKXo8vQvN1JEbtJp7lb7C5U9HMsIp6IVwntkH/oNUzyVNQSd4S1sYk2FpSSW44FqMc8qee5w== -upper-case-first@^1.1.0, upper-case-first@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-1.1.2.tgz#5d79bedcff14419518fd2edb0a0507c9b6859115" - integrity sha1-XXm+3P8UQZUY/S7bCgUHybaFkRU= +upper-case-first@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case-first/-/upper-case-first-2.0.2.tgz#992c3273f882abd19d1e02894cc147117f844324" + integrity sha512-514ppYHBaKwfJRK/pNC6c/OxfGa0obSnAl106u97Ed0I625Nin96KAjttZF6ZL3e1XLtphxnqrOi9iWgm+u+bg== dependencies: - upper-case "^1.1.1" + tslib "^2.0.3" -upper-case@^1.0.3, upper-case@^1.1.0, upper-case@^1.1.1, upper-case@^1.1.3: - version "1.1.3" - resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" - integrity sha1-9rRQHC7EzdJrp4vnIilh3ndiFZg= +upper-case@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-2.0.2.tgz#d89810823faab1df1549b7d97a76f8662bae6f7a" + integrity sha512-KgdgDGJt2TpuwBUIjgG6lzw2GWFRCW9Qkfkiv0DxqHHLYJHmtmdUIKcZd8rHgFSjopVTlw6ggzCm1b8MFQwikg== + dependencies: + tslib "^2.0.3" uri-js@^4.2.2: version "4.4.1" @@ -9976,6 +10186,11 @@ v8-to-istanbul@^7.0.0: convert-source-map "^1.6.0" source-map "^0.7.3" +v8flags@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/v8flags/-/v8flags-4.0.0.tgz#dcacd1e0b20a7919cc48022b1bf2d95adb175e83" + integrity sha512-83N0OkTbn6gOjJ2awNuzuK4czeGxwEwBoTqlhBZhnp8o0IJ72mXRQKphj/azwRf3acbDJZYZhbOPEJHd884ELg== + validate-npm-package-license@^3.0.1: version "3.0.4" resolved "https://registry.yarnpkg.com/validate-npm-package-license/-/validate-npm-package-license-3.0.4.tgz#fc91f6b9c7ba15c857f4cb2c5defeec39d4f410a" @@ -10373,7 +10588,7 @@ which-typed-array@^1.1.2: has-tostringtag "^1.0.0" is-typed-array "^1.1.7" -which@^1.2.9: +which@^1.2.14, which@^1.2.9: version "1.3.1" resolved "https://registry.yarnpkg.com/which/-/which-1.3.1.tgz#a45043d54f5805316da8d62f9f50918d3da70b0a" integrity sha512-HxJdYWq1MTIQbJ3nw0cqssHoTNU267KlrDuGZ1WYlxDStUtKUhOaJmh112/TZmHxxUfuJqPXSOm7tDyas0OSIQ== @@ -10499,14 +10714,6 @@ yaml@^2.0.0-8: resolved "https://registry.yarnpkg.com/yaml/-/yaml-2.0.0-9.tgz#0099f0645d1ffa686a2c5141b6da340f545d3634" integrity sha512-Bf2KowHjyVkIIiGMt7+fbhmlvKOaE8DWuD07bnL4+FQ9sPmEl/5IzGpBpoxPqOaHuyasBjJhyXDcISpJWfhCGw== -yamljs@^0.3.0: - version "0.3.0" - resolved "https://registry.yarnpkg.com/yamljs/-/yamljs-0.3.0.tgz#dc060bf267447b39f7304e9b2bfbe8b5a7ddb03b" - integrity sha512-C/FsVVhht4iPQYXOInoxUM/1ELSf9EsgKH34FofQOp6hwCPrW4vG4w5++TED3xRUo8gD7l0P1J1dLlDYzODsTQ== - dependencies: - argparse "^1.0.7" - glob "^7.0.5" - yargs-parser@^18.1.2, yargs-parser@^18.1.3: version "18.1.3" resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-18.1.3.tgz#be68c4975c6b2abf469236b0c870362fab09a7b0" @@ -10585,8 +10792,3 @@ yocto-queue@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/yocto-queue/-/yocto-queue-0.1.0.tgz#0294eb3dee05028d31ee1a5fa2c556a6aaf10a1b" integrity sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q== - -zlib@^1.0.5: - version "1.0.5" - resolved "https://registry.yarnpkg.com/zlib/-/zlib-1.0.5.tgz#6e7c972fc371c645a6afb03ab14769def114fcc0" - integrity sha1-bnyXL8NxxkWmr7A6sUdp3vEU/MA=