From 1e84e319e92cd1e41cedab7b047531b167fe149a Mon Sep 17 00:00:00 2001 From: linbudu599 Date: Sat, 5 Mar 2022 16:46:23 +0800 Subject: [PATCH] docs: use named import for all esbuild plugin examples --- docs/derived/esbuild.md | 26 +- package.json | 13 + .../esbuild-plugin-alias-path/package.json | 1 + pnpm-lock.yaml | 535 +++++++++--------- pnpm-workspace.yaml | 1 + scripts/release/index.ts | 13 +- workspace.json | 9 + 7 files changed, 312 insertions(+), 286 deletions(-) diff --git a/docs/derived/esbuild.md b/docs/derived/esbuild.md index da722ce3..9e25ca6c 100644 --- a/docs/derived/esbuild.md +++ b/docs/derived/esbuild.md @@ -1,11 +1,13 @@ # ESBuild +## Note + +**Note: All plugins require ESBuild version ^0.14.0 as peerDependencies.** + ## alias path ESBuild plugin for alias replacement. -**Note: this plugin require ESBuild version ^0.11.19 for the `onStart`/`onEnd` hooks.** - ```bash npm install esbuild-plugin-alias-path --save-dev yarn add esbuild-plugin-alias-path --save-dev @@ -70,8 +72,6 @@ esbuildPluginAliasPath({ ESBuild plugin for cleaning up output/assets before building. -**Note: this plugin require ESBuild version ^0.11.19 for the `onStart`/`onEnd` hooks.** - ```bash npm install esbuild-plugin-clean --save-dev pnpm install esbuild-plugin-clean --save-dev @@ -80,7 +80,7 @@ yarn add esbuild-plugin-clean --save-dev ```typescript import { build } from 'esbuild'; -import clean from 'esbuild-plugin-clean'; +import { clean } from 'esbuild-plugin-clean'; (async () => { const res = await build({ @@ -125,8 +125,6 @@ export interface CleanOptions { ESBuild plugin for output compression (`gzip`/`brotli`). -**Note: this plugin require ESBuild version ^0.11.19 for the `onStart`/`onEnd` hooks.** - ```bash npm install esbuild-plugin-compress --save-dev pnpm install esbuild-plugin-compress --save-dev @@ -135,7 +133,7 @@ yarn add esbuild-plugin-compress --save-dev ```typescript import { build } from 'esbuild'; -import compress from 'esbuild-plugin-compress'; +import { compress } from 'esbuild-plugin-compress'; (async () => { const res = await build({ @@ -181,8 +179,6 @@ export interface CompressOptions { ESBuild plugin for assets copy handle. -**Note: this plugin require ESBuild version ^0.11.19 for the `onStart`/`onEnd` hooks.** - ```bash npm install esbuild-plugin-copy --save-dev pnpm install esbuild-plugin-copy --save-dev @@ -191,7 +187,7 @@ yarn add esbuild-plugin-copy --save-dev ```typescript import { build } from 'esbuild'; -import copy from 'esbuild-plugin-copy'; +import { copy } from 'esbuild-plugin-copy'; (async () => { const res = await build({ @@ -315,8 +311,6 @@ export interface ESBuildPluginDecoratorOptions { ESBuild plugin for displaying output file size info. -**Note: this plugin require ESBuild version ^0.11.19 for the `onStart`/`onEnd` hooks.** - ```bash npm install esbuild-plugin-filesize --save-dev pnpm install esbuild-plugin-filesize --save-dev @@ -374,7 +368,7 @@ yarn add esbuild-plugin-ignore-module --save-dev ```typescript import { build } from 'esbuild'; -import ignore from 'esbuild-plugin-ignore-module'; +import { ignore } from 'esbuild-plugin-ignore-module'; (async () => { const res = await build({ @@ -471,7 +465,7 @@ yarn add esbuild-plugin-markdown-import --save-dev ```typescript import { build } from 'esbuild'; -import markdown from 'esbuild-plugin-markdown-import'; +import { markdown } from 'esbuild-plugin-markdown-import'; (async () => { const res = await build({ @@ -611,7 +605,7 @@ yarn add esbuild-plugin-run --save-dev ```typescript import { build } from 'esbuild'; -import run from 'esbuild-plugin-run'; +import { run } from 'esbuild-plugin-run'; (async () => { const res = await build({ diff --git a/package.json b/package.json index 6e8060a3..76e2bb7f 100644 --- a/package.json +++ b/package.json @@ -17,16 +17,29 @@ "@nrwl/tao": "13.8.4", "@nrwl/workspace": "13.8.4", "@types/fs-extra": "^9.0.13", + "@types/glob": "^7.2.0", "@types/jest": "27.4.1", + "@types/jsonfile": "^6.1.0", + "@types/lodash": "^4.14.179", "@types/node": "17.0.21", + "@types/semver": "^7.3.9", "@typescript-eslint/eslint-plugin": "~5.10.0", "@typescript-eslint/parser": "~5.10.0", + "cac": "^6.7.12", + "consola": "^2.15.3", "esbuild": "^0.14.25", "eslint": "~8.10.0", "eslint-config-prettier": "8.5.0", + "fs-extra": "^10.0.1", "jest": "27.5.1", + "js-yaml": "^4.1.0", + "lodash": "^4.17.21", + "ow": "^0.28.1", + "pacote": "^13.0.3", "prettier": "^2.5.1", + "sort-package-json": "^1.54.0", "ts-jest": "27.1.3", + "ts-morph": "^14.0.0", "tslib": "^2.3.1", "typescript": "~4.6.2" }, diff --git a/packages/esbuild-plugin-alias-path/package.json b/packages/esbuild-plugin-alias-path/package.json index 3e39190e..2b5ca4d5 100644 --- a/packages/esbuild-plugin-alias-path/package.json +++ b/packages/esbuild-plugin-alias-path/package.json @@ -22,6 +22,7 @@ "main": "src/index.js", "typings": "src/index.d.ts" }, + "scripts": {}, "dependencies": { "find-up": "5.0.0", "jsonfile": "^6.1.0" diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 2a252332..4b2f4e58 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -19,16 +19,29 @@ importers: '@nrwl/tao': 13.8.4 '@nrwl/workspace': 13.8.4 '@types/fs-extra': ^9.0.13 + '@types/glob': ^7.2.0 '@types/jest': 27.4.1 + '@types/jsonfile': ^6.1.0 + '@types/lodash': ^4.14.179 '@types/node': 17.0.21 + '@types/semver': ^7.3.9 '@typescript-eslint/eslint-plugin': ~5.10.0 '@typescript-eslint/parser': ~5.10.0 + cac: ^6.7.12 + consola: ^2.15.3 esbuild: ^0.14.0 eslint: ~8.10.0 eslint-config-prettier: 8.5.0 + fs-extra: ^10.0.1 jest: 27.5.1 + js-yaml: ^4.1.0 + lodash: ^4.17.21 + ow: ^0.28.1 + pacote: ^13.0.3 prettier: ^2.5.1 + sort-package-json: ^1.54.0 ts-jest: 27.1.3 + ts-morph: ^14.0.0 tslib: ^2.3.1 typescript: ~4.6.2 dependencies: @@ -44,67 +57,132 @@ importers: '@nrwl/tao': 13.8.4 '@nrwl/workspace': 13.8.4_3a533fa6cc3da0cf8525ef55d41c4384 '@types/fs-extra': 9.0.13 + '@types/glob': 7.2.0 '@types/jest': 27.4.1 + '@types/jsonfile': 6.1.0 + '@types/lodash': 4.14.179 '@types/node': 17.0.21 + '@types/semver': 7.3.9 '@typescript-eslint/eslint-plugin': 5.10.2_34d0b62715f15dabbdf2d6d3e9c520c0 '@typescript-eslint/parser': 5.10.2_eslint@8.10.0+typescript@4.6.2 + cac: 6.7.12 + consola: 2.15.3 esbuild: 0.14.25 eslint: 8.10.0 eslint-config-prettier: 8.5.0_eslint@8.10.0 + fs-extra: 10.0.1 jest: 27.5.1 + js-yaml: 4.1.0 + lodash: 4.17.21 + ow: 0.28.1 + pacote: 13.0.3 prettier: 2.5.1 + sort-package-json: 1.54.0 ts-jest: 27.1.3_73fdabec045fb992a7005650e270836f + ts-morph: 14.0.0 typescript: 4.6.2 + packages/esbuild-plugin-alias-path: + specifiers: + find-up: 5.0.0 + jsonfile: ^6.1.0 + dependencies: + find-up: 5.0.0 + jsonfile: 6.1.0 + + packages/esbuild-plugin-clean: + specifiers: + chalk: ^4.0.0 + del: ^6.0.0 + dependencies: + chalk: 4.1.2 + del: 6.0.0 + + packages/esbuild-plugin-compress: + specifiers: + chalk: ^4.0.0 + fs-extra: ^10.0.0 + dependencies: + chalk: 4.1.2 + fs-extra: 10.0.1 + packages/esbuild-plugin-copy: specifiers: - '@types/glob': ^7.2.0 - '@types/jsonfile': ^6.1.0 - '@types/lodash': ^4.14.179 - '@types/pacote': ^11.1.3 - '@types/semver': ^7.3.9 - cac: ^6.7.12 chalk: ^4.0.0 - consola: ^2.15.3 fs-extra: ^10.0.1 globby: ^11.0.3 - js-yaml: ^4.1.0 - lodash: ^4.17.21 - ow: ^0.28.1 - pacote: ^13.0.3 - sort-package-json: ^1.54.0 - ts-morph: ^14.0.0 dependencies: chalk: 4.1.2 + fs-extra: 10.0.1 globby: 11.1.0 - devDependencies: - '@types/glob': 7.2.0 - '@types/jsonfile': 6.1.0 - '@types/lodash': 4.14.179 - '@types/pacote': 11.1.3 - '@types/semver': 7.3.9 - cac: 6.7.12 + + packages/esbuild-plugin-decorator: + specifiers: + chalk: ^4.0.0 + consola: ^2.15.3 + fs-extra: ^10.0.0 + jsonfile: ^6.1.0 + lodash: ^4.17.21 + strip-comments: ^2.0.1 + dependencies: + chalk: 4.1.2 consola: 2.15.3 fs-extra: 10.0.1 - js-yaml: 4.1.0 + jsonfile: 6.1.0 lodash: 4.17.21 - ow: 0.28.1 - pacote: 13.0.3 - sort-package-json: 1.54.0 - ts-morph: 14.0.0 + strip-comments: 2.0.1 - packages/esbuild-plugin-copy/dist: + packages/esbuild-plugin-filesize: specifiers: - '@schematics/angular': ^12.2.0 + boxen: ^5.0.1 + brotli-size: ^4.0.0 chalk: ^4.0.0 + cli-table3: ^0.6.0 + filesize: ^6.3.0 fs-extra: ^10.0.0 - globby: ^11.0.3 + gzip-size: ^6.0.0 + terser: ^5.7.0 dependencies: + boxen: 5.1.2 + brotli-size: 4.0.0 chalk: 4.1.2 + cli-table3: 0.6.1 + filesize: 6.4.0 + fs-extra: 10.0.1 + gzip-size: 6.0.0 + terser: 5.12.0 + + packages/esbuild-plugin-ignore: + specifiers: + chalk: ^4.0.0 + dependencies: + chalk: 4.1.2 + + packages/esbuild-plugin-markdown-import: + specifiers: + fs-extra: ^10.0.0 + marked: ^4.0.12 + dependencies: + fs-extra: 10.0.1 + marked: 4.0.12 + + packages/esbuild-plugin-node-externals: + specifiers: + find-up: 5.0.0 + jsonfile: ^6.1.0 + dependencies: + find-up: 5.0.0 + jsonfile: 6.1.0 + + packages/esbuild-plugin-run: + specifiers: + chalk: ^4.0.0 + execa: ^5.0.0 + fs-extra: ^10.0.0 + dependencies: + chalk: 4.1.2 + execa: 5.1.1 fs-extra: 10.0.1 - globby: 11.1.0 - devDependencies: - '@schematics/angular': 12.2.16 packages/nx-plugin-demo: specifiers: {} @@ -118,27 +196,6 @@ packages: '@jridgewell/trace-mapping': 0.3.4 dev: true - /@angular-devkit/core/12.2.16: - resolution: {integrity: sha512-cnVtUYSET27B5mRIBp38mpKIX0iHv/hWKiPo74WCGrNwTgwmMHngjgQ4ySn/w1W4s8LL6TDW55ZkRdwyk8TVMQ==} - engines: {node: ^12.14.1 || >=14.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} - dependencies: - ajv: 8.6.2 - ajv-formats: 2.1.0 - fast-json-stable-stringify: 2.1.0 - magic-string: 0.25.7 - rxjs: 6.6.7 - source-map: 0.7.3 - dev: true - - /@angular-devkit/schematics/12.2.16: - resolution: {integrity: sha512-ToyZBCGilSeeLmhAxmeJ0PykmbKLoME+uK78gC64xJtNu9e3oVnmog8b8g9Ay9hTwZJ96HvNa16po11Gfbbn6A==} - engines: {node: ^12.14.1 || >=14.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} - dependencies: - '@angular-devkit/core': 12.2.16 - ora: 5.4.1 - rxjs: 6.6.7 - dev: true - /@babel/code-frame/7.16.7: resolution: {integrity: sha512-iAXqUn8IIeBTNd72xsFlgaXHkMBMt6y4HJp1tIaK465CWLT/fG1aqB7ykr95gHHmlBdGbFeWWfyB4NJJ0nmeIg==, tarball: '@babel/code-frame/download/@babel/code-frame-7.16.7.tgz'} engines: {node: '>=6.9.0'} @@ -1083,15 +1140,6 @@ packages: typescript: 4.6.2 dev: true - /@schematics/angular/12.2.16: - resolution: {integrity: sha512-EITPMaRE7iCosf0nyZFOpxTDAiPD3qm4QUxHKcwIaJTrzi89nBoUubw8+pFy5/Gtpadww80YD8ODV64B1bPGMA==} - engines: {node: ^12.14.1 || >=14.0.0, npm: ^6.11.0 || ^7.5.6 || >=8.0.0, yarn: '>= 1.13.0'} - dependencies: - '@angular-devkit/core': 12.2.16 - '@angular-devkit/schematics': 12.2.16 - jsonc-parser: 3.0.0 - dev: true - /@sindresorhus/is/4.6.0: resolution: {integrity: sha512-t09vSN3MdfsyCHoFcTRCH/iUtG7OJ0CsjzB8cjAmKc/va/kIgeDI/TxsigdncE/4be734m0cvIYwNaV4i2XqAw==} engines: {node: '>=10'} @@ -1385,44 +1433,10 @@ packages: resolution: {integrity: sha512-Klz949h02Gz2uZCMGwDUSDS1YBlTdDDgbWHi+81l29tQALUtvz4rAYi5uoVhE5Lagoq6DeqAUlbrHvW/mXDgdQ==} dev: true - /@types/node-fetch/2.6.1: - resolution: {integrity: sha512-oMqjURCaxoSIsHSr1E47QHzbmzNR5rK8McHuNb11BOM9cHcIK3Avy0s/b2JlXHoQGTYS3NsvWzV1M0iK7l0wbA==} - dependencies: - '@types/node': 17.0.21 - form-data: 3.0.1 - dev: true - /@types/node/17.0.21: resolution: {integrity: sha512-DBZCJbhII3r90XbQxI8Y9IjjiiOGlZ0Hr32omXIZvwwZ7p4DMMXGrKXVyPfuoBOri9XNtL0UK69jYIBIsRX3QQ==} dev: true - /@types/npm-package-arg/6.1.1: - resolution: {integrity: sha512-452/1Kp9IdM/oR10AyqAgZOxUt7eLbm+EMJ194L6oarMYdZNiFIFAOJ7IIr0OrZXTySgfHjJezh2oiyk2kc3ag==} - dev: true - - /@types/npm-registry-fetch/8.0.4: - resolution: {integrity: sha512-R9yEj6+NDmXLpKNS19cIaMyaHfV0aHjy/1qbo8K9jiHyjyaYg0CEmuOV/L0Q91DZDi3SuxlYY+2XYwh9TbB+eQ==} - dependencies: - '@types/node': 17.0.21 - '@types/node-fetch': 2.6.1 - '@types/npm-package-arg': 6.1.1 - '@types/npmlog': 4.1.4 - '@types/ssri': 7.1.1 - dev: true - - /@types/npmlog/4.1.4: - resolution: {integrity: sha512-WKG4gTr8przEZBiJ5r3s8ZIAoMXNbOgQ+j/d5O4X3x6kZJRLNvyUJuUK/KoG3+8BaOHPhp2m7WC6JKKeovDSzQ==} - dev: true - - /@types/pacote/11.1.3: - resolution: {integrity: sha512-1SN4uFKLEcuZwWXCMQUOnJWk+8cL6aRaToAn3+IZtkWBG3i2R3BTyW/BimfCHn9OTzrfrQAX0+InKBurX6ZTuQ==} - dependencies: - '@types/node': 17.0.21 - '@types/npm-registry-fetch': 8.0.4 - '@types/npmlog': 4.1.4 - '@types/ssri': 7.1.1 - dev: true - /@types/prettier/2.4.4: resolution: {integrity: sha512-ReVR2rLTV1kvtlWFyuot+d1pkpG2Fw/XKE3PDAdj57rbM97ttSp9JZ2UsP+2EHTylra9cUf6JA7tGwW1INzUrA==, tarball: '@types/prettier/download/@types/prettier-2.4.4.tgz'} dev: true @@ -1431,12 +1445,6 @@ packages: resolution: {integrity: sha512-L/TMpyURfBkf+o/526Zb6kd/tchUP3iBDEPjqjb+U2MAJhVRxxrmr2fwpe08E7QsV7YLcpq0tUaQ9O9x97ZIxQ==} dev: true - /@types/ssri/7.1.1: - resolution: {integrity: sha512-DPP/jkDaqGiyU75MyMURxLWyYLwKSjnAuGe9ZCsLp9QZOpXmDfuevk769F0BS86TmRuD5krnp06qw9nSoNO+0g==} - dependencies: - '@types/node': 17.0.21 - dev: true - /@types/stack-utils/2.0.1: resolution: {integrity: sha1-IPGClPeX8iCbX2XI47XI6CYdEnw=, tarball: '@types/stack-utils/download/@types/stack-utils-2.0.1.tgz'} dev: true @@ -1628,7 +1636,6 @@ packages: resolution: {integrity: sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==, tarball: acorn/download/acorn-8.7.0.tgz} engines: {node: '>=0.4.0'} hasBin: true - dev: true /agent-base/6.0.2: resolution: {integrity: sha1-Sf/1hXfP7j83F2/qtMIuAPhtf3c=, tarball: agent-base/download/agent-base-6.0.2.tgz} @@ -1656,16 +1663,6 @@ packages: dependencies: clean-stack: 2.2.0 indent-string: 4.0.0 - dev: true - - /ajv-formats/2.1.0: - resolution: {integrity: sha512-USH2jBb+C/hIpwD2iRjp0pe0k+MvzG0mlSn/FIdCgQhUb9ALPRjt2KIQdfZDS9r0ZIeUAg7gOu9KL0PFqGqr5Q==} - peerDependenciesMeta: - ajv: - optional: true - dependencies: - ajv: 8.6.2 - dev: true /ajv/6.12.6: resolution: {integrity: sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==} @@ -1676,14 +1673,11 @@ packages: uri-js: 4.4.1 dev: true - /ajv/8.6.2: - resolution: {integrity: sha512-9807RlWAgT564wT+DjeyU5OFMPjmzxVobvDFmNAhY+5zD6A2ly3jDp6sgnfyDtlIQ+7H97oc/DGCzzfu9rjw9w==} + /ansi-align/3.0.1: + resolution: {integrity: sha512-IOfwwBF5iczOjp/WeY4YxyjqAFMQoZufdQWDd19SEExbVLNXqvpzSJ/M7Za4/sCPmQ0+GRquoA7bGcINcxew6w==} dependencies: - fast-deep-equal: 3.1.3 - json-schema-traverse: 1.0.0 - require-from-string: 2.0.2 - uri-js: 4.4.1 - dev: true + string-width: 4.2.3 + dev: false /ansi-colors/4.1.1: resolution: {integrity: sha1-y7muJWv3UK8eqzRPIpqif+lLo0g=, tarball: ansi-colors/download/ansi-colors-4.1.1.tgz} @@ -1700,7 +1694,6 @@ packages: /ansi-regex/5.0.1: resolution: {integrity: sha512-quJQXlTSUGL2LH9SUXo8VwsY4soanhgo6LNSm84E1LBcE8s3O0wpdiRzyR9z/ZZJMlMWv37qOOb9pdJlMUEKFQ==} engines: {node: '>=8'} - dev: true /ansi-styles/4.3.0: resolution: {integrity: sha512-zbB9rCJAT1rbjiVDb2hqKFHNYLxgtk8NURxZ3IZwD3F6NtxbXZQCnnSi1Lkx+IDohdPlFp222wVALIheZJQSEg==} @@ -1734,7 +1727,7 @@ packages: dev: true /argparse/1.0.10: - resolution: {integrity: sha1-vNZ5HqWuCXJeF+WtmIE0zUCz2RE=, tarball: argparse/download/argparse-1.0.10.tgz} + resolution: {integrity: sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg==} dependencies: sprintf-js: 1.0.3 dev: true @@ -1835,31 +1828,31 @@ packages: /balanced-match/1.0.2: resolution: {integrity: sha512-3oSeUO0TMV67hN1AmbXsK4yaqU7tjiHlbxRDZOpH0KW9+CeX4bRAaX0Anxt0tx2MrpRpWwQaPwIlISEJhYU5Pw==} - dev: true - - /base64-js/1.5.1: - resolution: {integrity: sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA==} - dev: true /binary-extensions/2.2.0: resolution: {integrity: sha1-dfUC7q+f/eQvyYgpZFvk6na9ni0=, tarball: binary-extensions/download/binary-extensions-2.2.0.tgz} engines: {node: '>=8'} dev: true - /bl/4.1.0: - resolution: {integrity: sha512-1W07cM9gS6DcLperZfFSj+bWLtaPGSOHWhPiGzXmvVJbRLdG82sH/Kn8EtW1VqWVA54AKf2h5k5BbnIbwF3h6w==} + /boxen/5.1.2: + resolution: {integrity: sha512-9gYgQKXx+1nP8mP7CzFyaUARhg7D3n1dF/FnErWmu9l6JvGpNUN278h0aSb+QjoiKSWG+iZ3uHrcqk0qrY9RQQ==} + engines: {node: '>=10'} dependencies: - buffer: 5.7.1 - inherits: 2.0.4 - readable-stream: 3.6.0 - dev: true + ansi-align: 3.0.1 + camelcase: 6.3.0 + chalk: 4.1.2 + cli-boxes: 2.2.1 + string-width: 4.2.3 + type-fest: 0.20.2 + widest-line: 3.1.0 + wrap-ansi: 7.0.0 + dev: false /brace-expansion/1.1.11: resolution: {integrity: sha1-PH/L9SnYcibz0vUrlm/1Jx60Qd0=, tarball: brace-expansion/download/brace-expansion-1.1.11.tgz} dependencies: balanced-match: 1.0.2 concat-map: 0.0.1 - dev: true /brace-expansion/2.0.1: resolution: {integrity: sha512-XnAIvQ8eM+kC6aULx6wuQiwVsnzsi9d3WxzV3FpWTGA19F621kwdbsAcFKXgKUHZWsy+mY6iL1sHTxWEFCytDA==} @@ -1873,6 +1866,13 @@ packages: dependencies: fill-range: 7.0.1 + /brotli-size/4.0.0: + resolution: {integrity: sha512-uA9fOtlTRC0iqKfzff1W34DXUA3GyVqbUaeo3Rw3d4gd1eavKVCETXrn3NzO74W+UVkG3UHu8WxUi+XvKI/huA==} + engines: {node: '>= 10.16.0'} + dependencies: + duplexer: 0.1.1 + dev: false + /browser-process-hrtime/1.0.0: resolution: {integrity: sha1-PJtLfXgsgSHlbxAQbYTA0P/JRiY=, tarball: browser-process-hrtime/download/browser-process-hrtime-1.0.0.tgz} dev: true @@ -1904,14 +1904,6 @@ packages: /buffer-from/1.1.2: resolution: {integrity: sha1-KxRqb9cugLT1XSVfNe1Zo6mkG9U=, tarball: buffer-from/download/buffer-from-1.1.2.tgz} - dev: true - - /buffer/5.7.1: - resolution: {integrity: sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==} - dependencies: - base64-js: 1.5.1 - ieee754: 1.2.1 - dev: true /builtins/1.0.3: resolution: {integrity: sha1-y5T662HIaWRR2zZTThQi+U8K7og=} @@ -1957,9 +1949,8 @@ packages: dev: true /camelcase/6.3.0: - resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==, tarball: camelcase/download/camelcase-6.3.0.tgz} + resolution: {integrity: sha512-Gmy6FhYlCY7uOElZUSbxo2UCDH8owEk996gkbrpsgGtrJLM3J7jGxl9Ic7Qwwj4ivOE5AWZWRMecDdF7hqGjFA==} engines: {node: '>=10'} - dev: true /caniuse-lite/1.0.30001313: resolution: {integrity: sha512-rI1UN0koZUiKINjysQDuRi2VeSCce3bYJNmDcj3PIKREiAmjakugBul1QSkg/fPrlULYl6oWfGg3PbgOSY9X4Q==, tarball: caniuse-lite/download/caniuse-lite-1.0.30001313.tgz} @@ -2016,7 +2007,11 @@ packages: /clean-stack/2.2.0: resolution: {integrity: sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==} engines: {node: '>=6'} - dev: true + + /cli-boxes/2.2.1: + resolution: {integrity: sha512-y4coMcylgSCdVinjiDBuR8PCC2bLjyGTwEmPb9NHR/QaNU6EUOXcTY/s6VjGMD6ENSEaeQYHCY0GNGS5jfMwPw==} + engines: {node: '>=6'} + dev: false /cli-cursor/3.1.0: resolution: {integrity: sha1-JkMFp65JDR0Dvwybp8kl0XU68wc=, tarball: cli-cursor/download/cli-cursor-3.1.0.tgz} @@ -2030,6 +2025,15 @@ packages: engines: {node: '>=6'} dev: true + /cli-table3/0.6.1: + resolution: {integrity: sha512-w0q/enDHhPLq44ovMGdQeeDLvwxwavsJX7oQGYt/LrBlYsyaxyDnp6z3QzFut/6kLLKnlcUVJLrpB7KBfgG/RA==} + engines: {node: 10.* || >= 12.*} + dependencies: + string-width: 4.2.3 + optionalDependencies: + colors: 1.4.0 + dev: false + /cliui/6.0.0: resolution: {integrity: sha1-UR1wLAxOQcoVbX0OlgIfI+EyJbE=, tarball: cliui/download/cliui-6.0.0.tgz} dependencies: @@ -2046,11 +2050,6 @@ packages: wrap-ansi: 7.0.0 dev: true - /clone/1.0.4: - resolution: {integrity: sha1-2jCcwmPfFZlMaIypAheco8fNfH4=} - engines: {node: '>=0.8'} - dev: true - /co/4.6.0: resolution: {integrity: sha1-bqa989hTrlTMuOR7+gvz+QMfsYQ=, tarball: co/download/co-4.6.0.tgz} engines: {iojs: '>= 1.0.0', node: '>= 0.12.0'} @@ -2080,6 +2079,13 @@ packages: hasBin: true dev: true + /colors/1.4.0: + resolution: {integrity: sha512-a+UqTh4kgZg/SlGvfbzDHpgRu7AAQOmmqRHJnxhRZICKFUT91brVhNNt58CMWU9PsBbv3PDCZUHbVxuDiH2mtA==} + engines: {node: '>=0.1.90'} + requiresBuild: true + dev: false + optional: true + /combined-stream/1.0.8: resolution: {integrity: sha1-w9RaizT9cwYxoRCoolIGgrMdWn8=, tarball: combined-stream/download/combined-stream-1.0.8.tgz} engines: {node: '>= 0.8'} @@ -2087,9 +2093,12 @@ packages: delayed-stream: 1.0.0 dev: true + /commander/2.20.3: + resolution: {integrity: sha512-GpVkmM8vF2vQUkj2LvZmD35JxeJOLCwJ9cUkugyk2nuhbv3+mJvpLYYt+0+USMxE+oj+ey/lJEnhZw75x/OMcQ==} + dev: false + /concat-map/0.0.1: resolution: {integrity: sha1-2Klr13/Wjfd5OnMDajug1UBdR3s=, tarball: concat-map/download/concat-map-0.0.1.tgz} - dev: true /confusing-browser-globals/1.0.11: resolution: {integrity: sha512-JsPKdmh8ZkmnHxDk55FZ1TqVLvEQTvoByJZRN9jzI0UjxK/QgAmsphz7PGtqgPieQZ/CQcHWXCR7ATDNhGe+YA==, tarball: confusing-browser-globals/download/confusing-browser-globals-1.0.11.tgz} @@ -2097,7 +2106,6 @@ packages: /consola/2.15.3: resolution: {integrity: sha512-9vAdYbHj6x2fLKC4+oPH0kFzY/orMZyG2Aj+kNylHxKGJ/Ed4dpNyAQYwJOdqO4zdM7XpVHmyejQDcQHrnuXbw==} - dev: true /console-control-strings/1.1.0: resolution: {integrity: sha1-PXz0Rk22RG6mRL9LOVB/mFEAjo4=} @@ -2116,7 +2124,6 @@ packages: path-key: 3.1.1 shebang-command: 2.0.0 which: 2.0.2 - dev: true /cssom/0.3.8: resolution: {integrity: sha1-nxJ29bK0Y/IRTT8sdSUK+MGjb0o=, tarball: cssom/download/cssom-0.3.8.tgz} @@ -2176,17 +2183,25 @@ packages: engines: {node: '>=0.10.0'} dev: true - /defaults/1.0.3: - resolution: {integrity: sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=} - dependencies: - clone: 1.0.4 - dev: true - /define-lazy-prop/2.0.0: resolution: {integrity: sha1-P3rkIRKbyqrJvHSQXJigAJ7J7n8=, tarball: define-lazy-prop/download/define-lazy-prop-2.0.0.tgz} engines: {node: '>=8'} dev: true + /del/6.0.0: + resolution: {integrity: sha512-1shh9DQ23L16oXSZKB2JxpL7iMy2E0S9d517ptA1P8iw0alkPtQcrKH7ru31rYtKwF499HkTu+DRzq3TCKDFRQ==} + engines: {node: '>=10'} + dependencies: + globby: 11.1.0 + graceful-fs: 4.2.9 + is-glob: 4.0.3 + is-path-cwd: 2.2.0 + is-path-inside: 3.0.3 + p-map: 4.0.0 + rimraf: 3.0.2 + slash: 3.0.0 + dev: false + /delayed-stream/1.0.0: resolution: {integrity: sha1-3zrhmayt+31ECqrgsp4icrJOxhk=, tarball: delayed-stream/download/delayed-stream-1.0.0.tgz} engines: {node: '>=0.4.0'} @@ -2248,6 +2263,14 @@ packages: engines: {node: '>=10'} dev: true + /duplexer/0.1.1: + resolution: {integrity: sha1-rOb/gIwc5mtX0ev5eXessCM0z8E=} + dev: false + + /duplexer/0.1.2: + resolution: {integrity: sha512-jtD6YG370ZCIi/9GTaJKQxWTZD045+4R4hTk/x1UyoqadyJ9x9CgSi1RlVDQF8U2sxLLSnFkCaMihqljHIWgMg==} + dev: false + /ejs/3.1.6: resolution: {integrity: sha1-W/0KBol0O7UmizVQzO7rvBcCgio=, tarball: ejs/download/ejs-3.1.6.tgz} engines: {node: '>=0.10.0'} @@ -2267,7 +2290,6 @@ packages: /emoji-regex/8.0.0: resolution: {integrity: sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A==} - dev: true /encoding/0.1.13: resolution: {integrity: sha512-ETBauow1T35Y/WZMkio9jiM0Z5xjHHmJ4XmjZOq1l/dXz3lr2sRn87nJy20RupqSh1F2m3HHPSp8ShIPQJrJ3A==} @@ -2686,7 +2708,6 @@ packages: onetime: 5.1.2 signal-exit: 3.0.7 strip-final-newline: 2.0.0 - dev: true /exit/0.1.2: resolution: {integrity: sha1-BjJjj42HfMghB9MKD/8aF8uhzQw=, tarball: exit/download/exit-0.1.2.tgz} @@ -2767,6 +2788,11 @@ packages: minimatch: 3.1.2 dev: true + /filesize/6.4.0: + resolution: {integrity: sha512-mjFIpOHC4jbfcTfoh4rkWpI31mF7viw9ikj/JyLoKzqlwG/YsefKfvYlYhdYdg/9mtK2z1AzgN/0LvVQ3zdlSQ==} + engines: {node: '>= 0.4.0'} + dev: false + /fill-range/7.0.1: resolution: {integrity: sha1-GRmmp8df44ssfHflGYU12prN2kA=, tarball: fill-range/download/fill-range-7.0.1.tgz} engines: {node: '>=8'} @@ -2781,6 +2807,14 @@ packages: path-exists: 4.0.0 dev: true + /find-up/5.0.0: + resolution: {integrity: sha512-78/PXT1wlLLDgTzDs7sjq9hzz0vXD+zn+7wypEe4fXQxCmdmqfGsEPQxmiCSQI3ajFV91bVSsvNtrJRiW6nGng==} + engines: {node: '>=10'} + dependencies: + locate-path: 6.0.0 + path-exists: 4.0.0 + dev: false + /flat-cache/3.0.4: resolution: {integrity: sha512-dm9s5Pw7Jc0GvMYbshN6zchCA9RgQlzzEZX3vylR9IqFfS8XciblUXOKfW6SiuJ0e13eDYZoZV5wdrev7P3Nwg==} engines: {node: ^10.12.0 || >=12.0.0} @@ -2816,7 +2850,7 @@ packages: universalify: 2.0.0 /fs-extra/9.1.0: - resolution: {integrity: sha1-WVRGDHZKjaIJS6NVS/g55rmnyG0=, tarball: fs-extra/download/fs-extra-9.1.0.tgz} + resolution: {integrity: sha512-hcg3ZmepS30/7BSFqRvoo3DOMQu7IjqxO5nCDt+zM9XWjb33Wg7ziNT+Qvqbuc3+gWpzO02JubVyk2G4Zvo1OQ==} engines: {node: '>=10'} dependencies: at-least-node: 1.0.0 @@ -2834,7 +2868,6 @@ packages: /fs.realpath/1.0.0: resolution: {integrity: sha1-FQStJSMVjKpA20onh8sBQRmU6k8=, tarball: fs.realpath/download/fs.realpath-1.0.0.tgz} - dev: true /fsevents/2.3.2: resolution: {integrity: sha512-xiqMQR4xAeHTuB9uWm+fFRcIOgKBMiOBP+eXiyT7jsgVCq1bkVygt00oASowB7EdtpOHaaPgKt812P9ab+DDKA==} @@ -2885,7 +2918,6 @@ packages: /get-stream/6.0.1: resolution: {integrity: sha1-omLY7vZ6ztV8KFKtYWdSakPL97c=, tarball: get-stream/download/get-stream-6.0.1.tgz} engines: {node: '>=10'} - dev: true /git-hooks-list/1.0.3: resolution: {integrity: sha512-Y7wLWcrLUXwk2noSka166byGCvhMtDRpgHdzCno1UQv/n/Hegp++a2xBWJL1lJarnKD3SWaljD+0z1ztqxuKyQ==} @@ -2924,7 +2956,6 @@ packages: minimatch: 3.1.2 once: 1.4.0 path-is-absolute: 1.0.1 - dev: true /globals/11.12.0: resolution: {integrity: sha1-q4eVM4hooLq9hSV1gBjCp+uVxC4=, tarball: globals/download/globals-11.12.0.tgz} @@ -2966,6 +2997,13 @@ packages: /graceful-fs/4.2.9: resolution: {integrity: sha512-NtNxqUcXgpW2iMrfqSfR73Glt39K+BLwWsPs94yR63v45T0Wbej7eRmL5cWfwEgqXnmjQp3zaJTshdRW/qC2ZQ==, tarball: graceful-fs/download/graceful-fs-4.2.9.tgz} + /gzip-size/6.0.0: + resolution: {integrity: sha512-ax7ZYomf6jqPTQ4+XCpUGyXKHk5WweS+e05MBO4/y3WJ5RkmPXNKvX+bx1behVILVwr6JSQvZAku021CHPXG3Q==} + engines: {node: '>=10'} + dependencies: + duplexer: 0.1.2 + dev: false + /harmony-reflect/1.6.2: resolution: {integrity: sha1-Mey9MuZIo00DDYattn1NR1R/5xA=, tarball: harmony-reflect/download/harmony-reflect-1.6.2.tgz} dev: true @@ -3042,7 +3080,6 @@ packages: /human-signals/2.1.0: resolution: {integrity: sha1-3JH8ukLk0G5Kuu0zs+ejwC9RTqA=, tarball: human-signals/download/human-signals-2.1.0.tgz} engines: {node: '>=10.17.0'} - dev: true /humanize-ms/1.2.1: resolution: {integrity: sha1-xG4xWaKT9riW2ikxbYtv6Lt5u+0=} @@ -3072,10 +3109,6 @@ packages: harmony-reflect: 1.6.2 dev: true - /ieee754/1.2.1: - resolution: {integrity: sha512-dcyqhDvX1C46lXZcVqCpK+FtMRQVdIMN6/Df5js2zouUsqG7I6sFxitIC+7KYK29KdXOLHdu9zL4sFnoVQnqaA==} - dev: true - /ignore-walk/4.0.1: resolution: {integrity: sha512-rzDQLaW4jQbh2YrOFlJdCtX8qgJTehFRYiUB2r1osqTeDzV/3+Jh8fz1oAPzUThf3iku8Ds4IDqawI5d8mUiQw==} engines: {node: '>=10'} @@ -3117,7 +3150,6 @@ packages: /indent-string/4.0.0: resolution: {integrity: sha512-EdDDZu4A2OyIK7Lr/2zG+w5jmbuk1DVBnEwREQvBzspBJkCEbRa8GxU1lghYcaGJCnRWibjDXlq779X1/y5xwg==} engines: {node: '>=8'} - dev: true /infer-owner/1.0.4: resolution: {integrity: sha512-IClj+Xz94+d7irH5qRyfJonOdfTzuDaifE6ZPWfx0N0+/ATZCbuTPq2prFl526urkQd90WyUKIh1DfBQ2hMz9A==} @@ -3128,11 +3160,9 @@ packages: dependencies: once: 1.4.0 wrappy: 1.0.2 - dev: true /inherits/2.0.4: resolution: {integrity: sha512-k/vGaX4/Yla3WzyMCvTQOXYeIHvqOKtnqBduzTHpzpQZzAskKMhZ2K+EnBiSM9zGSoIFeMpXKxa4dYeZIQqewQ==} - dev: true /ip/1.1.5: resolution: {integrity: sha1-vd7XARQpCCjAoDnnLvJfWq7ENUo=} @@ -3175,7 +3205,6 @@ packages: /is-fullwidth-code-point/3.0.0: resolution: {integrity: sha512-zymm5+u+sCsSWyD9qNaejV3DFvhCKclKdizYaJUuHA83RLjb7nSuGnddCHGv0hk+KY7BMAlsWeK4Ueg6EV6XQg==} engines: {node: '>=8'} - dev: true /is-generator-fn/2.1.0: resolution: {integrity: sha1-fRQK3DiarzARqPKipM+m+q3/sRg=, tarball: is-generator-fn/download/is-generator-fn-2.1.0.tgz} @@ -3188,11 +3217,6 @@ packages: dependencies: is-extglob: 2.1.1 - /is-interactive/1.0.0: - resolution: {integrity: sha512-2HvIEKRoqS62guEC+qBjpvRubdX910WCMuJTZ+I9yvqKU2/12eSL549HMwtabb4oupdj2sMP50k+XJfB/8JE6w==} - engines: {node: '>=8'} - dev: true - /is-lambda/1.0.1: resolution: {integrity: sha1-PZh3iZ5qU+/AFgUEzeFfgubwYdU=} dev: true @@ -3206,6 +3230,16 @@ packages: engines: {node: '>=8'} dev: true + /is-path-cwd/2.2.0: + resolution: {integrity: sha512-w942bTcih8fdJPJmQHFzkS76NEP8Kzzvmw92cXsazb8intwLqPibPPdXf4ANdKV3rYMuuQYGIWtvz9JilB3NFQ==} + engines: {node: '>=6'} + dev: false + + /is-path-inside/3.0.3: + resolution: {integrity: sha512-Fd4gABb+ycGAmKou8eMftCupSir5lRxqf4aD/vd0cD2qc4HL07OjCeuHMr8Ro4CoMaeCKDB0/ECBOVWjTwUvPQ==} + engines: {node: '>=8'} + dev: false + /is-plain-obj/2.1.0: resolution: {integrity: sha512-YWnfyRwxL/+SsrWYfOpUtz5b3YD+nyfkHvjbcanzk8zgyO4ASD67uVMRt8k5bM4lLMDnXfriRhOpemw+NfT1eA==} engines: {node: '>=8'} @@ -3218,17 +3252,11 @@ packages: /is-stream/2.0.1: resolution: {integrity: sha1-+sHj1TuXrVqdCunO8jifWBClwHc=, tarball: is-stream/download/is-stream-2.0.1.tgz} engines: {node: '>=8'} - dev: true /is-typedarray/1.0.0: resolution: {integrity: sha1-5HnICFjfDBsR3dppQPlgEfzaSpo=, tarball: is-typedarray/download/is-typedarray-1.0.0.tgz} dev: true - /is-unicode-supported/0.1.0: - resolution: {integrity: sha512-knxG2q4UC3u8stRGyAVJCOdxFmv5DZiRcdlIaAQXAbSfJya+OhopNotLQrstBhququ4ZpuKbDc/8S6mgXgPFPw==} - engines: {node: '>=10'} - dev: true - /is-wsl/2.2.0: resolution: {integrity: sha1-dKTHbnfKn9P5MvKQwX6jJs0VcnE=, tarball: is-wsl/download/is-wsl-2.2.0.tgz} engines: {node: '>=8'} @@ -3238,7 +3266,6 @@ packages: /isexe/2.0.0: resolution: {integrity: sha1-6PvzdNxVb/iUehDcsFctYz8s+hA=} - dev: true /istanbul-lib-coverage/3.2.0: resolution: {integrity: sha1-GJ55CdCjn6Wj361bA/cZR3cBkdM=, tarball: istanbul-lib-coverage/download/istanbul-lib-coverage-3.2.0.tgz} @@ -3856,7 +3883,7 @@ packages: dev: true /js-yaml/3.14.1: - resolution: {integrity: sha1-2ugS/bOCX6MGYJqHFzg8UMNqBTc=, tarball: js-yaml/download/js-yaml-3.14.1.tgz} + resolution: {integrity: sha512-okMH7OXXJ7YrN9Ok3/SXrnu4iX9yOk+25nqX4imS2npuvTYDmo/QEZoqwZkYaIDk3jVvBOTOIEgEhaLOynBS9g==} hasBin: true dependencies: argparse: 1.0.10 @@ -3926,10 +3953,6 @@ packages: resolution: {integrity: sha512-xbbCH5dCYU5T8LcEhhuh7HJ88HXuW3qsI3Y0zOZFKfZEHcpWiHU/Jxzk629Brsab/mMiHQti9wMP+845RPe3Vg==} dev: true - /json-schema-traverse/1.0.0: - resolution: {integrity: sha512-NM8/P9n3XjXhIZn1lLhkFaACTOURQXjWhV4BA/RnOv8xvgqtqpAX9IO4mRQxSx1Rlo4tqzeqb0sOlruaOy3dug==} - dev: true - /json-stable-stringify-without-jsonify/1.0.1: resolution: {integrity: sha1-nbe1lJatPzz+8wp1FC0tkwrXJlE=} dev: true @@ -3954,7 +3977,7 @@ packages: dev: true /jsonfile/6.1.0: - resolution: {integrity: sha1-vFWyY0eTxnnsZAMJTrE2mKbsCq4=, tarball: jsonfile/download/jsonfile-6.1.0.tgz} + resolution: {integrity: sha512-5dgndWOriYSm5cnYaJNhalLNDKOqFwyDB/rr1E9ZsGciGvKPs8R2xYGCacuf3z6K1YKDz182fd+fY3cn3pMqXQ==} dependencies: universalify: 2.0.0 optionalDependencies: @@ -4002,6 +4025,13 @@ packages: p-locate: 4.1.0 dev: true + /locate-path/6.0.0: + resolution: {integrity: sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw==} + engines: {node: '>=10'} + dependencies: + p-locate: 5.0.0 + dev: false + /lodash.isequal/4.5.0: resolution: {integrity: sha1-QVxEePK8wwEgwizhDtMib30+GOA=} dev: true @@ -4016,15 +4046,6 @@ packages: /lodash/4.17.21: resolution: {integrity: sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==} - dev: true - - /log-symbols/4.1.0: - resolution: {integrity: sha512-8XPvpAA8uyhfteu8pIvQxpJZ7SYYdpUivZpGy6sFsBuKRY/7rQGavedeB8aK+Zkyq6upMFVL/9AW6vOYzfRyLg==} - engines: {node: '>=10'} - dependencies: - chalk: 4.1.2 - is-unicode-supported: 0.1.0 - dev: true /lru-cache/6.0.0: resolution: {integrity: sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==} @@ -4038,12 +4059,6 @@ packages: engines: {node: '>=12'} dev: true - /magic-string/0.25.7: - resolution: {integrity: sha512-4CrMT5DOHTDk4HYDlzmwu4FVCcIYI8gauveasrdCu2IKIFOJ3f0v/8MDGJCDL9oD2ppz/Av1b0Nj345H9M+XIA==} - dependencies: - sourcemap-codec: 1.4.8 - dev: true - /make-dir/3.1.0: resolution: {integrity: sha1-QV6WcEazp/HRhSd9hKpYIDcmoT8=, tarball: make-dir/download/make-dir-3.1.0.tgz} engines: {node: '>=8'} @@ -4085,9 +4100,14 @@ packages: tmpl: 1.0.5 dev: true + /marked/4.0.12: + resolution: {integrity: sha512-hgibXWrEDNBWgGiK18j/4lkS6ihTe9sxtV4Q1OQppb/0zzyPSzoFANBa5MfsG/zgsWklmNnhm0XACZOH/0HBiQ==} + engines: {node: '>= 12'} + hasBin: true + dev: false + /merge-stream/2.0.0: resolution: {integrity: sha1-UoI2KaFN0AyXcPtq1H3GMQ8sH2A=, tarball: merge-stream/download/merge-stream-2.0.0.tgz} - dev: true /merge2/1.4.1: resolution: {integrity: sha1-Q2iJL4hekHRVpv19xVwMnUBJkK4=, tarball: merge2/download/merge2-1.4.1.tgz} @@ -4115,7 +4135,6 @@ packages: /mimic-fn/2.1.0: resolution: {integrity: sha1-ftLCzMyvhNP/y3pptXcR/CCDQBs=, tarball: mimic-fn/download/mimic-fn-2.1.0.tgz} engines: {node: '>=6'} - dev: true /minimatch/3.0.4: resolution: {integrity: sha1-UWbihkV/AzBgZL5Ul+jbsMPTIIM=, tarball: minimatch/download/minimatch-3.0.4.tgz} @@ -4127,7 +4146,6 @@ packages: resolution: {integrity: sha512-J7p63hRiAjw1NDEww1W7i37+ByIrOWO5XQQAzZ3VOcL0PNybwpfmV/N05zFAzwQ9USyEcX6t3UO+K5aqBQOIHw==, tarball: minimatch/download/minimatch-3.1.2.tgz} dependencies: brace-expansion: 1.1.11 - dev: true /minimatch/5.0.1: resolution: {integrity: sha512-nLDxIFRyhDblz3qMuq+SoRZED4+miJ/G+tdDrjkkkRnjAsBexeGpgjLEQ0blJy7rHhR2b93rhQY4SvyWu9v03g==} @@ -4346,7 +4364,6 @@ packages: engines: {node: '>=8'} dependencies: path-key: 3.1.1 - dev: true /npmlog/6.0.1: resolution: {integrity: sha512-BTHDvY6nrRHuRfyjt1MAufLxYdVXZfd099H4+i1f0lPywNQyI4foeNXJRObB/uy+TYqUW0vAD9gbdSOXPst7Eg==} @@ -4373,14 +4390,12 @@ packages: resolution: {integrity: sha1-WDsap3WWHUsROsF9nFC6753Xa9E=, tarball: once/download/once-1.4.0.tgz} dependencies: wrappy: 1.0.2 - dev: true /onetime/5.1.2: resolution: {integrity: sha1-0Oluu1awdHbfHdnEgG5SN5hcpF4=, tarball: onetime/download/onetime-5.1.2.tgz} engines: {node: '>=6'} dependencies: mimic-fn: 2.1.0 - dev: true /open/8.4.0: resolution: {integrity: sha1-NFMhrhj4E4+CVlqRD9xrOejCRPg=, tarball: open/download/open-8.4.0.tgz} @@ -4415,21 +4430,6 @@ packages: word-wrap: 1.2.3 dev: true - /ora/5.4.1: - resolution: {integrity: sha512-5b6Y85tPxZZ7QytO+BQzysW31HJku27cRIlkbAXaNx+BdcVi+LlRFmVXzeF6a7JCwJpyw5c4b+YSVImQIrBpuQ==} - engines: {node: '>=10'} - dependencies: - bl: 4.1.0 - chalk: 4.1.2 - cli-cursor: 3.1.0 - cli-spinners: 2.6.1 - is-interactive: 1.0.0 - is-unicode-supported: 0.1.0 - log-symbols: 4.1.0 - strip-ansi: 6.0.1 - wcwidth: 1.0.1 - dev: true - /ow/0.28.1: resolution: {integrity: sha512-1EZTywPZeUKac9gD7q8np3Aj+V54kvfIcjNEVNDSbG2Ys5xA5foW2HquvMMqgyWGLqIFMlc0Iq/HmyMHqN48sA==} engines: {node: '>=12'} @@ -4449,6 +4449,13 @@ packages: p-try: 2.2.0 dev: true + /p-limit/3.1.0: + resolution: {integrity: sha512-TYOanM3wGwNGsZN2cVTYPArw454xnXj5qmWF1bEoAc4+cU/ol7GVh7odevjp1FNHduHc3KZMcFduxU5Xc6uJRQ==} + engines: {node: '>=10'} + dependencies: + yocto-queue: 0.1.0 + dev: false + /p-locate/4.1.0: resolution: {integrity: sha1-o0KLtwiLOmApL2aRkni3wpetTwc=, tarball: p-locate/download/p-locate-4.1.0.tgz} engines: {node: '>=8'} @@ -4456,12 +4463,18 @@ packages: p-limit: 2.3.0 dev: true + /p-locate/5.0.0: + resolution: {integrity: sha512-LaNjtRWUBY++zB5nE/NwcaoMylSPk+S+ZHNB1TzdbMJMny6dynpAGt7X/tl/QYq3TIeE6nxHppbo2LGymrG5Pw==} + engines: {node: '>=10'} + dependencies: + p-limit: 3.1.0 + dev: false + /p-map/4.0.0: resolution: {integrity: sha512-/bjOqmgETBYB5BoEeGVea8dmvHb2m9GLy1E9W43yeyfP6QQCZGFNa+XRceJEuDB6zqr+gKpIAmlLebMpykw/MQ==} engines: {node: '>=10'} dependencies: aggregate-error: 3.1.0 - dev: true /p-try/2.2.0: resolution: {integrity: sha1-yyhoVA4xPWHeWPr741zpAE1VQOY=, tarball: p-try/download/p-try-2.2.0.tgz} @@ -4524,19 +4537,16 @@ packages: dev: true /path-exists/4.0.0: - resolution: {integrity: sha1-UTvb4tO5XXdi6METfvoZXGxhtbM=, tarball: path-exists/download/path-exists-4.0.0.tgz} + resolution: {integrity: sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w==} engines: {node: '>=8'} - dev: true /path-is-absolute/1.0.1: resolution: {integrity: sha1-F0uSaHNVNP+8es5r9TpanhtcX18=, tarball: path-is-absolute/download/path-is-absolute-1.0.1.tgz} engines: {node: '>=0.10.0'} - dev: true /path-key/3.1.1: resolution: {integrity: sha1-WB9q3mWMu6ZaDTOA3ndTKVBU83U=, tarball: path-key/download/path-key-3.1.1.tgz} engines: {node: '>=8'} - dev: true /path-parse/1.0.7: resolution: {integrity: sha1-+8EUtgykKzDZ2vWFjkvWi77bZzU=, tarball: path-parse/download/path-parse-1.0.7.tgz} @@ -4676,11 +4686,6 @@ packages: engines: {node: '>=0.10.0'} dev: true - /require-from-string/2.0.2: - resolution: {integrity: sha512-Xf0nWe6RseziFMu+Ap9biiUbmplq6S9/p+7w7YXP/JBHhrUDDUhwa+vANyubuqfZWTveU//DYVGsDG7RKL/vEw==} - engines: {node: '>=0.10.0'} - dev: true - /require-main-filename/2.0.0: resolution: {integrity: sha1-0LMp7MfMD2Fkn2IhW+aa9UqomJs=, tarball: require-main-filename/download/require-main-filename-2.0.0.tgz} dev: true @@ -4738,7 +4743,6 @@ packages: hasBin: true dependencies: glob: 7.2.0 - dev: true /run-parallel/1.2.0: resolution: {integrity: sha1-ZtE2jae9+SHrnZW9GpIp5/IaQ+4=, tarball: run-parallel/download/run-parallel-1.2.0.tgz} @@ -4809,16 +4813,13 @@ packages: engines: {node: '>=8'} dependencies: shebang-regex: 3.0.0 - dev: true /shebang-regex/3.0.0: resolution: {integrity: sha1-rhbxZE2HPsrYQ7AwexQzYtTEIXI=, tarball: shebang-regex/download/shebang-regex-3.0.0.tgz} engines: {node: '>=8'} - dev: true /signal-exit/3.0.7: resolution: {integrity: sha512-wnD2ZE+l+SPC/uoS0vXeE9L1+0wuaMqKlfz9AMUo38JsyLSBWSFcHR1Rri62LZc12vLr1gb3jl7iwQhgwpAbGQ==} - dev: true /sisteransi/1.0.5: resolution: {integrity: sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==} @@ -4880,7 +4881,6 @@ packages: dependencies: buffer-from: 1.1.2 source-map: 0.6.1 - dev: true /source-map/0.5.7: resolution: {integrity: sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w=, tarball: source-map/download/source-map-0.5.7.tgz} @@ -4890,16 +4890,10 @@ packages: /source-map/0.6.1: resolution: {integrity: sha1-dHIq8y6WFOnCh6jQu95IteLxomM=, tarball: source-map/download/source-map-0.6.1.tgz} engines: {node: '>=0.10.0'} - dev: true /source-map/0.7.3: - resolution: {integrity: sha1-UwL4FpAxc1ImVECS5kmB91F1A4M=, tarball: source-map/download/source-map-0.7.3.tgz} + resolution: {integrity: sha512-CkCj6giN3S+n9qrYiBTX5gystlENnRW5jZeNLHpe6aue+SrHcG5VYwujhW9s4dY31mEGsxBDrHR6oI69fTXsaQ==} engines: {node: '>= 8'} - dev: true - - /sourcemap-codec/1.4.8: - resolution: {integrity: sha512-9NykojV5Uih4lgo5So5dtw+f0JgJX30KCNI8gwhz2J9A15wD0Ml6tjHKwf6fTSa6fAdVBdZeNOs9eJ71qCk8vA==} - dev: true /spdx-correct/3.1.1: resolution: {integrity: sha512-cOYcUWwhCuHCXi49RhFRCyJEK3iPj1Ziz9DpViV3tbZOwXD49QzIN3MpOLJNxh2qwq2lJJZaKMVw9qNi4jTC0w==} @@ -4956,7 +4950,6 @@ packages: emoji-regex: 8.0.0 is-fullwidth-code-point: 3.0.0 strip-ansi: 6.0.1 - dev: true /string_decoder/1.3.0: resolution: {integrity: sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA==} @@ -4969,7 +4962,6 @@ packages: engines: {node: '>=8'} dependencies: ansi-regex: 5.0.1 - dev: true /strip-bom/3.0.0: resolution: {integrity: sha1-IzTBjpx1n3vdVv3vfprj1YjmjtM=, tarball: strip-bom/download/strip-bom-3.0.0.tgz} @@ -4981,10 +4973,14 @@ packages: engines: {node: '>=8'} dev: true + /strip-comments/2.0.1: + resolution: {integrity: sha512-ZprKx+bBLXv067WTCALv8SSz5l2+XhpYCsVtSqlMnkAXMWDq+/ekVbl1ghqP9rUHTzv6sm/DwCOiYutU/yp1fw==} + engines: {node: '>=10'} + dev: false + /strip-final-newline/2.0.0: resolution: {integrity: sha1-ibhS+y/L6Tb29LMYevsKEsGrWK0=, tarball: strip-final-newline/download/strip-final-newline-2.0.0.tgz} engines: {node: '>=6'} - dev: true /strip-json-comments/3.1.1: resolution: {integrity: sha512-6fPc+R4ihwqP6N/aIv2f1gMH8lOVtWQHoqC4yK6oSDVVocumAsfCqjkXnqiYMhmMwS/mEHLp7Vehlt3ql6lEig==} @@ -5041,6 +5037,17 @@ packages: supports-hyperlinks: 2.2.0 dev: true + /terser/5.12.0: + resolution: {integrity: sha512-R3AUhNBGWiFc77HXag+1fXpAxTAFRQTJemlJKjAgD9r8xXTpjNKqIXwHM/o7Rh+O0kUJtS3WQVdBeMKFk5sw9A==} + engines: {node: '>=10'} + hasBin: true + dependencies: + acorn: 8.7.0 + commander: 2.20.3 + source-map: 0.7.3 + source-map-support: 0.5.21 + dev: false + /test-exclude/6.0.0: resolution: {integrity: sha1-BKhphmHYBepvopO2y55jrARO8V4=, tarball: test-exclude/download/test-exclude-6.0.0.tgz} engines: {node: '>=8'} @@ -5191,7 +5198,6 @@ packages: /type-fest/0.20.2: resolution: {integrity: sha512-Ne+eE4r0/iWnpAxD852z3A+N0Bt5RN//NjJwRd2VFHEmrywxf5vsZlh4R6lixl6B+wz/8d+maTSAkN1FIkI3LQ==} engines: {node: '>=10'} - dev: true /type-fest/0.21.3: resolution: {integrity: sha1-0mCiSwGYQ24TP6JqUkptZfo7Ljc=, tarball: type-fest/download/type-fest-0.21.3.tgz} @@ -5233,7 +5239,7 @@ packages: dev: true /universalify/2.0.0: - resolution: {integrity: sha1-daSYTv7cSwiXXFrrc/Uw0C3yVxc=, tarball: universalify/download/universalify-2.0.0.tgz} + resolution: {integrity: sha512-hAZsKq7Yy11Zu1DE0OzWjw7nnLZmJZYTDZZyEFHZdUhV8FkH5MCfoU1XMaxXovpyW5nq5scPqq0ZDP9Zyl04oQ==} engines: {node: '>= 10.0.0'} /uri-js/4.4.1: @@ -5296,12 +5302,6 @@ packages: makeerror: 1.0.12 dev: true - /wcwidth/1.0.1: - resolution: {integrity: sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=} - dependencies: - defaults: 1.0.3 - dev: true - /webidl-conversions/5.0.0: resolution: {integrity: sha1-rlnIoAsSFUOirMZcBDT1ew/BGv8=, tarball: webidl-conversions/download/webidl-conversions-5.0.0.tgz} engines: {node: '>=8'} @@ -5341,7 +5341,6 @@ packages: hasBin: true dependencies: isexe: 2.0.0 - dev: true /wide-align/1.1.5: resolution: {integrity: sha512-eDMORYaPNZ4sQIuuYPDHdQvf4gyCF9rEEV/yPxGfwPkRodwEgiMUUXTx/dex+Me0wxx53S+NgUHaP7y3MGlDmg==} @@ -5349,6 +5348,13 @@ packages: string-width: 4.2.3 dev: true + /widest-line/3.1.0: + resolution: {integrity: sha512-NsmoXalsWVDMGupxZ5R08ka9flZjjiLvHVAWYOKtiKM8ujtZWr9cRffak+uSE48+Ob8ObalXpwyeUiyDD6QFgg==} + engines: {node: '>=8'} + dependencies: + string-width: 4.2.3 + dev: false + /word-wrap/1.2.3: resolution: {integrity: sha512-Hz/mrNwitNRh/HUAtM/VT/5VH+ygD6DV7mYKZAtHOrbs8U7lvPS6xf7EJKMF0uW1KJCl0H701g3ZGus+muE5vQ==} engines: {node: '>=0.10.0'} @@ -5370,11 +5376,9 @@ packages: ansi-styles: 4.3.0 string-width: 4.2.3 strip-ansi: 6.0.1 - dev: true /wrappy/1.0.2: resolution: {integrity: sha1-tSQ9jz7BqjXxNkYFvA0QNuMKtp8=, tarball: wrappy/download/wrappy-1.0.2.tgz} - dev: true /write-file-atomic/3.0.3: resolution: {integrity: sha1-Vr1cWlxwSBzRnFcb05q5ZaXeVug=, tarball: write-file-atomic/download/write-file-atomic-3.0.3.tgz} @@ -5466,3 +5470,8 @@ packages: y18n: 5.0.8 yargs-parser: 20.2.9 dev: true + + /yocto-queue/0.1.0: + resolution: {integrity: sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q==} + engines: {node: '>=10'} + dev: false diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yaml index 8049d39f..34899fec 100644 --- a/pnpm-workspace.yaml +++ b/pnpm-workspace.yaml @@ -1,5 +1,6 @@ packages: - 'packages/**' + - '!**/dist' # 设置为 false 时,workspace: 协议仍然有效 link-workspace-packages: true # prefer-workspace-packages​: false diff --git a/scripts/release/index.ts b/scripts/release/index.ts index d82dfbf6..5b04383e 100644 --- a/scripts/release/index.ts +++ b/scripts/release/index.ts @@ -179,13 +179,12 @@ export default function useReleaseProject(cli: CAC) { consola.info('Building packages...'); - !dryRun && - (await execa('nx', ['build', projectToRelease, '--verbose'], { - cwd: process.cwd(), - // enable preferLocal will cause workspace deps in dist package.json doesnot got update - // preferLocal: true, - stdio: 'inherit', - })); + await execa('nx', ['build', projectToRelease, '--verbose'], { + cwd: process.cwd(), + // enable preferLocal will cause workspace deps in dist package.json doesnot got update + // preferLocal: true, + stdio: 'inherit', + }); dryRunSuccessLogger( `Package ${projectToRelease} built successfully.\n`, diff --git a/workspace.json b/workspace.json index 63a77cbe..f03b3ca0 100644 --- a/workspace.json +++ b/workspace.json @@ -1,7 +1,16 @@ { "version": 2, "projects": { + "esbuild-plugin-alias-path": "packages/esbuild-plugin-alias-path", + "esbuild-plugin-clean": "packages/esbuild-plugin-clean", + "esbuild-plugin-compress": "packages/esbuild-plugin-compress", "esbuild-plugin-copy": "packages/esbuild-plugin-copy", + "esbuild-plugin-decorator": "packages/esbuild-plugin-decorator", + "esbuild-plugin-filesize": "packages/esbuild-plugin-filesize", + "esbuild-plugin-ignore": "packages/esbuild-plugin-ignore", + "esbuild-plugin-markdown-import": "packages/esbuild-plugin-markdown-import", + "esbuild-plugin-node-externals": "packages/esbuild-plugin-node-externals", + "esbuild-plugin-run": "packages/esbuild-plugin-run", "nx-plugin-demo": "packages/nx-plugin-demo", "nx-plugin-demo-e2e": "packages/nx-plugin-demo-e2e" }