From 99a9e5ee4b023d879c30d8cfa7382dd44378fff4 Mon Sep 17 00:00:00 2001 From: wang1212 Date: Sun, 2 Jan 2022 21:05:36 +0800 Subject: [PATCH] feat: convert command line parameters to interactive command line :recycle: --- .commitlintrc.js => .commitlintrc.cjs | 4 +- .prettierrc.yml | 9 + CHANGELOG.md | 10 +- README.md | 35 +- README.zh-CN.md | 37 +- bin/create-react-app.js | 85 --- bin/create-web-app.js | 167 +++--- index-react.js | 24 - index.js | 25 +- package-lock.json | 823 ++++++++++++++++++++------ package.json | 25 +- 11 files changed, 814 insertions(+), 430 deletions(-) rename .commitlintrc.js => .commitlintrc.cjs (62%) create mode 100644 .prettierrc.yml delete mode 100644 bin/create-react-app.js delete mode 100644 index-react.js diff --git a/.commitlintrc.js b/.commitlintrc.cjs similarity index 62% rename from .commitlintrc.js rename to .commitlintrc.cjs index a9c84d1..1430082 100644 --- a/.commitlintrc.js +++ b/.commitlintrc.cjs @@ -1,5 +1,5 @@ // see docs: https://commitlint.js.org/#/reference-configuration module.exports = { - extends: ['@commitlint/config-conventional'], -} + extends: ['@commitlint/config-conventional'], +}; diff --git a/.prettierrc.yml b/.prettierrc.yml new file mode 100644 index 0000000..9b095de --- /dev/null +++ b/.prettierrc.yml @@ -0,0 +1,9 @@ +# see docs: https://prettier.io/docs/en/configuration.html + +# prettier config +printWidth: 160 +tabWidth: 2 +useTabs: false +singleQuote: true +semi: true +endOfLine: 'auto' diff --git a/CHANGELOG.md b/CHANGELOG.md index 24bae91..01b803f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,14 +2,14 @@ ## v0.6.4(2021-09-22) -- perf(templates): add `web-vitals` to collect performance information :sparkles: c776958 +- perf(templates): add `web-vitals` to collect performance information :sparkles: c776958 https://github.com/wang1212/create-web-app/compare/v0.6.3...v0.6.4 ## v0.6.3(2021-09-21) -- chore(templates): add a polyfill solution based on `core-js@3` :ambulance: 65e9521 -- build(templates): remove `postcss-safe-parser` :wastebasket: 748882e +- chore(templates): add a polyfill solution based on `core-js@3` :ambulance: 65e9521 +- build(templates): remove `postcss-safe-parser` :wastebasket: 748882e https://github.com/wang1212/create-web-app/compare/v0.6.2...v0.6.3 @@ -169,8 +169,8 @@ View all dependent version update information https://github.com/wang1212/create > **Deprecated [flow.js][0] and use [typescript][1] instead.** -[0]: https://flow.org/ "Flow: A Static Type Checker for JavaScript" -[1]: http://www.typescriptlang.org/ "TypeScript is a typed superset of JavaScript that compiles to plain JavaScript" +[0]: https://flow.org/ 'Flow: A Static Type Checker for JavaScript' +[1]: http://www.typescriptlang.org/ 'TypeScript is a typed superset of JavaScript that compiles to plain JavaScript' - Add - **@typescript-eslint/parser** diff --git a/README.md b/README.md index ddfc2e5..2e3a223 100644 --- a/README.md +++ b/README.md @@ -9,35 +9,31 @@ English | [简体中文](./README.zh-CN.md) +:coffee: Create [PWA(Progressive Web App)](https://web.dev/progressive-web-apps/) project development environment startup configuration. + +_**This package is now pure ESM, read https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c.**_ + _**Starting with version `0.3.0`, [flow.js][0] will no longer be used, and [typescript][1] will be used instead.**_ [0]: https://flow.org/ 'Flow: A Static Type Checker for JavaScript' [1]: http://www.typescriptlang.org/ 'TypeScript is a typed superset of JavaScript that compiles to plain JavaScript' -:coffee: Create [PWA(Progressive Web App)](https://web.dev/progressive-web-apps/) project development environment startup configuration. - -## Content +## Template type -Support the following two: +Support the following types: -- create-web-app -- create-react-app(or [Official](https://create-react-app.dev/)) +- javascript +- react.js(or [Official](https://create-react-app.dev/)) -`create-web-app` builds a PWA that doesn't depend on any development framework, while `create-react-app` builds PWA based on React framework ecosystems such as React.js, Redux.js, and React Router. +`javascript` type builds a PWA that doesn't depend on any development framework, while `react.js` type builds PWA based on React framework ecosystems such as React.js, Redux.js, and React Router. ## Usage - You don't need to install the package on your computer, you can use it and run: ``` -npm init @wang1212/web-app [project_name] -npx @wang1212/create-web-app [project_name] // same as the previous line -``` - -or - -``` -npx --package @wang1212/create-web-app create-react-app [project_name] // built web app with react.js +npm init @wang1212/web-app +npx @wang1212/create-web-app // same as the previous line ``` - You can also install the package on your computer, use it to run: @@ -47,17 +43,16 @@ npx --package @wang1212/create-web-app create-react-app [project_name] // built npm install -g @wang1212/create-web-app // now, use it to create a web app project -create-web-app [project_name] // built web app with no framework -create-react-app [project_name] // or, built web app with react.js +create-web-app ``` -Note: `create-web-app` has an alias `create-pwa`, while `create-react-app` also has an alias `create-rpwa`. +Note: `create-web-app` has an alias `create-pwa`. -## Information +## Details For more information, read `templates/*app/README.md` file contents. -## More +## Related If you want to develop a node module package (library), maybe you can take a look: diff --git a/README.zh-CN.md b/README.zh-CN.md index 66edfa2..769e759 100644 --- a/README.zh-CN.md +++ b/README.zh-CN.md @@ -9,35 +9,31 @@ [English](./README.md) | 简体中文 +:coffee: 创建 [PWA(Progressive Web App,渐进式 Web 应用)](https://web.dev/progressive-web-apps/) 项目开发环境启动配置。 + +_**这个包现在是纯 ESM,阅读 https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c.**_ + _**从 `0.3.0` 版本开始, 不再使用 [flow.js][0], 用 [typescript][1] 作为替代。**_ [0]: https://flow.org/ 'Flow: A Static Type Checker for JavaScript' [1]: http://www.typescriptlang.org/ 'TypeScript is a typed superset of JavaScript that compiles to plain JavaScript' -:coffee: 创建 [PWA(Progressive Web App,渐进式 Web 应用)](https://web.dev/progressive-web-apps/) 项目开发环境启动配置。 - -## 内容 +## 模板类型 -支持以下两种: +支持以下类型: -- create-web-app -- create-react-app(或者 [官方的](https://create-react-app.dev/)) +- javascript +- react.js(或者 [官方的](https://create-react-app.dev/)) -`create-web-app` 构建 PWA 不依赖于任何开发框架, 而 `create-react-app` 构建 PWA 则是基于 React.js 框架及其生态技术,例如 React.js, Redux.js, and React Router。 +`javascript` 类型构建 PWA 不依赖于任何开发框架, 而 `react.js` 类型构建 PWA 则是基于 React.js 框架及其生态技术,例如 React.js, Redux.js, and React Router。 -## 使用 +## 用法 - 您无需在计算机上安装该软件包就可以使用它,运行: ``` -npm init @wang1212/web-app [project_name] -npx @wang1212/create-web-app [project_name] // 与上一行相同 -``` - -或者 - -``` -npx --package @wang1212/create-web-app create-react-app [project_name] // 基于 react.js 构建 Web 应用 +npm init @wang1212/web-app +npx @wang1212/create-web-app // 与上一行相同 ``` - 您也可以在计算机上安装该软件包,然后运行: @@ -47,17 +43,16 @@ npx --package @wang1212/create-web-app create-react-app [project_name] // 基于 npm install -g @wang1212/create-web-app // 现在, 使用它创建一个 Web 应用项目 -create-web-app [project_name] // 不基于任何框架开发 Web 应用 -create-react-app [project_name] // 或者, 基于 react.js 开发 Web 应用 +create-web-app ``` -注意: `create-web-app` 有一个别名 `create-pwa`, 而且 `create-react-app` 也有一个别名 `create-rpwa`. +注意: `create-web-app` 有一个别名 `create-pwa`。 -## 信息 +## 详细信息 更多信息, 阅读 `templates/*app/README.zh-CN.md` 文件的内容。 -## 更多 +## 相关的 如果你想开发一个 node 模块包(库),也许你可以看看: diff --git a/bin/create-react-app.js b/bin/create-react-app.js deleted file mode 100644 index a8c192b..0000000 --- a/bin/create-react-app.js +++ /dev/null @@ -1,85 +0,0 @@ -#!/usr/bin/env node - -/** - * Create Web App - * - * The source code is the bin command of create-react-app | create-rpwa. - */ - -'use strict' - -const chalk = require('chalk'), - fse = require('fs-extra'), - path = require('path') - -const app = path.resolve(__dirname, '../templates/react-app/'), - shared = path.resolve(__dirname, '../templates/shared/'), - args = process.argv.slice(2), - project_name = args[0] == null ? 'react-web-app' : args[0] - -function error_exit() { - fse.removeSync(path.resolve(process.cwd(), project_name)) - process.exit() -} - -function filter_file(src, dest) { - // ! /node_modules/ - only use local test - return !src.match(/(\.gitkeep$)/) -} - -// start - -console.log(`\n Current working directory: ${chalk.cyan(process.cwd())} \n`) - -console.log(chalk.blue('> Create web app starting...\n')) - -if (args[0] == null) { - console.log(`${chalk.red(' Note:')} The project name is not explicitly specified, default is ${chalk.cyan(project_name)}. \n`) -} else { - console.log(` The specified project name is ${chalk.cyan(project_name)}. \n`) -} - -/** - * - Step: Create project dir - */ -console.log(chalk.blue(`> Step: Create the project directory... \n`)) - -try { - fse.mkdirSync(project_name) -} catch (err) { - console.error(chalk.red(err.message)) - process.exit() -} - -console.log(`${chalk.green(' Successful,')} project directory ${chalk.cyan(project_name)} has been created. \n`) - -/** - * - Step: Build project dir structure - */ -console.log(chalk.blue(`> Step: Build project directory structure and configuration files... \n`)) - -try { - fse.copySync(app, project_name, { filter: filter_file }) - fse.copySync(path.join(shared, '.gitignore.txt'), path.join(project_name, '.gitignore')) - - // update package name with project name - let file_str = fse.readFileSync(path.resolve(process.cwd(), project_name, 'package.json'), 'utf8') - - file_str = file_str.replace(/"name"\s*:\s*"web-app-with-react"\s*,/, `"name": "${project_name}",`) - - fse.writeFileSync(path.resolve(process.cwd(), project_name, 'package.json'), file_str) -} catch (err) { - console.error(chalk.red(err.message)) - error_exit() -} - -console.log(`${chalk.green(' Successful,')} project directory structure and configuration files are ready. \n`) - -/** - * - Step: All ready - */ -console.log(chalk.blue('> Step: Everything is ready. \n')) - -console.log(` For more information, read the ${chalk.cyan('README.md')} file in your project directory. \n`) - -console.log(chalk.green(' Now, start developing your PWA with React.js! Haha...')) diff --git a/bin/create-web-app.js b/bin/create-web-app.js index f188e93..9aeb275 100644 --- a/bin/create-web-app.js +++ b/bin/create-web-app.js @@ -5,80 +5,107 @@ * * The source code is the bin command of create-web-app | create-pwa. */ - -'use strict' - -const chalk = require('chalk'), - fse = require('fs-extra'), - path = require('path') - -const app = path.resolve(__dirname, '../templates/app/'), - shared = path.resolve(__dirname, '../templates/shared/'), - args = process.argv.slice(2), - project_name = args[0] == null ? 'web-app' : args[0] - -function error_exit() { - fse.removeSync(path.resolve(process.cwd(), project_name)) - process.exit() +import process from 'node:process'; +import path from 'node:path'; +import { fileURLToPath } from 'node:url'; +import chalk from 'chalk'; +import fse from 'fs-extra'; +import inquirer from 'inquirer'; +import ora from 'ora'; + +const APP_TYPE = { + JS: { text: 'javascript', value: 'app' }, + REACT: { text: 'react.js', value: 'react-app' }, +}; + +function error_exit(dirname) { + fse.removeSync(path.resolve(process.cwd(), dirname)); + process.exit(); } function filter_file(src, dest) { - // ! /node_modules/ - only use local test - return !src.match(/(\.gitkeep$)/) + // ! /node_modules/ - only use local test + return !src.match(/(\.gitkeep$)/); } -// start -console.log(`\n Current working directory: ${chalk.cyan(process.cwd())} \n`) - -console.log(chalk.blue('> Create web app starting...\n')) - -if (args[0] == null) { - console.log(`${chalk.red(' Note:')} The project name is not explicitly specified, default is ${chalk.cyan(project_name)}. \n`) -} else { - console.log(` The specified project name is ${chalk.cyan(project_name)}. \n`) +async function start() { + const answers = await inquirer + .prompt([ + { + name: 'type', + type: 'list', + message: 'Please choose the type:', + choices: [ + { name: APP_TYPE.JS.text, value: APP_TYPE.JS.value }, + { name: APP_TYPE.REACT.text, value: APP_TYPE.REACT.value }, + ], + }, + { + name: 'project_name', + type: 'input', + message: 'Enter project name:', + default: 'my-web-app', + }, + ]) + .catch((error) => { + if (error.isTtyError) { + // Prompt couldn't be rendered in the current environment + } else { + // Something else went wrong + } + }); + + const shared_template = fileURLToPath(new URL(`../templates/shared`, import.meta.url)); + const template = fileURLToPath(new URL(`../templates/${answers.type}`, import.meta.url)); + + // ---------------------------------------------------------------- + + console.log(`\n Current working directory: ${chalk.cyan(process.cwd())} \n`); + + // ---------------------------------------------------------------- + + const spinner = ora('Create web app starting...').start(); + + // * STEP 1: Create Project Directory + try { + spinner.start('Create the project directory...'); + + await fse.mkdir(answers.project_name); + + spinner.succeed(`${chalk.green('Successful,')} project directory ${chalk.cyan(answers.project_name)} has been created.`); + } catch (err) { + spinner.fail(); + console.error(chalk.red(err.message)); + process.exit(); + } + + // * STEP 2: Build Project Directory + try { + spinner.start('Build project directory structure and configuration files...'); + + await fse.copy(template, answers.project_name, { filter: filter_file }); + await fse.copy(path.join(shared_template, '.gitignore.txt'), path.join(answers.project_name, '.gitignore')); + + // update package name with project name + const package_json_file = path.resolve(process.cwd(), answers.project_name, 'package.json'); + let package_json_file_content = await fse.readFile(package_json_file, 'utf8'); + package_json_file_content = package_json_file_content.replace(/"name"\s*:\s*".*?"\s*,/, `"name": "${answers.project_name}",`); + + await fse.writeFile(package_json_file, package_json_file_content); + + spinner.succeed(`${chalk.green('Successful,')} project directory structure and configuration files are ready.`); + } catch (err) { + spinner.fail(); + console.error(chalk.red(err.message)); + error_exit(answers.project_name); + } + + // * STEP 3: All Ready + console.log(chalk.green('Everything is ready! \n')); + + console.log(` For more information, read the ${chalk.cyan('README.md')} file in your project directory. \n`); + + console.log(chalk.yellow(`Now, run "cd ${answers.project_name} && npm install", \n then run "npm start" to start developing your PWA! Haha...`)); } -/** - * - Step: Create project dir - */ -console.log(chalk.blue(`> Step: Create the project directory... \n`)) - -try { - fse.mkdirSync(project_name) -} catch (err) { - console.error(chalk.red(err.message)) - process.exit() -} - -console.log(`${chalk.green(' Successful,')} project directory ${chalk.cyan(project_name)} has been created. \n`) - -/** - * - Step: Build project dir structure - */ -console.log(chalk.blue(`> Step: Build project directory structure and configuration files... \n`)) - -try { - fse.copySync(app, project_name, { filter: filter_file }) - fse.copySync(path.join(shared, '.gitignore.txt'), path.join(project_name, '.gitignore')) - - // update package name with project name - let file_str = fse.readFileSync(path.resolve(process.cwd(), project_name, 'package.json'), 'utf8') - - file_str = file_str.replace(/"name"\s*:\s*"web-app"\s*,/, `"name": "${project_name}",`) - - fse.writeFileSync(path.resolve(process.cwd(), project_name, 'package.json'), file_str) -} catch (err) { - console.error(chalk.red(err.message)) - error_exit() -} - -console.log(`${chalk.green(' Successful,')} project directory structure and configuration files are ready. \n`) - -/** - * - Step: All ready - */ -console.log(chalk.blue('> Step: Everything is ready. \n')) - -console.log(` For more information, read the ${chalk.cyan('README.md')} file in your project directory. \n`) - -console.log(chalk.green(' Now, start developing your PWA! Haha...')) +start(); diff --git a/index-react.js b/index-react.js deleted file mode 100644 index 3a3a4b7..0000000 --- a/index-react.js +++ /dev/null @@ -1,24 +0,0 @@ -#!/usr/bin/env node - -/** - * Create React Web App - * - * The source code is the main bin command of create-react-app. - */ - -'use strict' - -const chalk = require('chalk') - -const currentNodeVersion = process.versions.node, - semver = currentNodeVersion.split('.'), - major = semver[0] - -if (major < 12) { - console.error( - chalk.red(`You are running Node ${currentNodeVersion}. \nCreate React App requires Node 12.x or higher. \nPlease update your version of Node.`) - ) - process.exit(1) -} - -require('./bin/create-react-app') diff --git a/index.js b/index.js index 8cc5e59..9c83885 100644 --- a/index.js +++ b/index.js @@ -3,22 +3,23 @@ /** * Create Web App * - * The source code is the main bin command of create-web-app. + * The source code is the main bin command of `create-web-app`. */ -'use strict' - -const chalk = require('chalk') +import chalk from 'chalk'; const currentNodeVersion = process.versions.node, - semver = currentNodeVersion.split('.'), - major = semver[0] + semver = currentNodeVersion.split('.'), + major = semver[0], + minor = semver[1]; + +if (major < 12 || (major === 12 && minor <= 20) || (major === 14 && minor <= 14)) { + console.error( + chalk.red(`You are running Node ${currentNodeVersion}. \nThis package is now pure ESM, read https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c. \nCreate Web App requires Node 12.20, 14.14 or higher. \nPlease update your version of Node. + `) + ); -if (major < 12) { - console.error( - chalk.red(`You are running Node ${currentNodeVersion}. \nCreate React App requires Node 12.x or higher. \nPlease update your version of Node.`) - ) - process.exit(1) + process.exit(1); } -require('./bin/create-web-app') +import('./bin/create-web-app.js').catch((err) => console.error(err)); diff --git a/package-lock.json b/package-lock.json index 1f37edd..31a2905 100644 --- a/package-lock.json +++ b/package-lock.json @@ -83,143 +83,168 @@ } }, "@commitlint/cli": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/cli/download/@commitlint/cli-12.1.4.tgz", - "integrity": "sha1-r02d08ASLHs5ph+hzSq7rQQi2+A=", + "version": "16.0.1", + "resolved": "https://registry.npmmirror.com/@commitlint/cli/download/@commitlint/cli-16.0.1.tgz", + "integrity": "sha512-61gGRy65WiVDRsqP0dAR2fAgE3qrTBW3fgz9MySv32y5Ib3ZXXDDq6bGyQqi2dSaPuDYzNCRwwlC7mmQM73T/g==", "dev": true, "requires": { - "@commitlint/format": "^12.1.4", - "@commitlint/lint": "^12.1.4", - "@commitlint/load": "^12.1.4", - "@commitlint/read": "^12.1.4", - "@commitlint/types": "^12.1.4", + "@commitlint/format": "^16.0.0", + "@commitlint/lint": "^16.0.0", + "@commitlint/load": "^16.0.0", + "@commitlint/read": "^16.0.0", + "@commitlint/types": "^16.0.0", "lodash": "^4.17.19", "resolve-from": "5.0.0", "resolve-global": "1.0.0", - "yargs": "^16.2.0" + "yargs": "^17.0.0" } }, "@commitlint/config-conventional": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/config-conventional/download/@commitlint/config-conventional-12.1.4.tgz", - "integrity": "sha1-lburYi8Reoo+SflZF7CGVQQMZqg=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/config-conventional/download/@commitlint/config-conventional-16.0.0.tgz", + "integrity": "sha512-mN7J8KlKFn0kROd+q9PB01sfDx/8K/R25yITspL1No8PB4oj9M1p77xWjP80hPydqZG9OvQq+anXK3ZWeR7s3g==", "dev": true, "requires": { "conventional-changelog-conventionalcommits": "^4.3.1" } }, + "@commitlint/config-validator": { + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/config-validator/download/@commitlint/config-validator-16.0.0.tgz", + "integrity": "sha512-i80DGlo1FeC5jZpuoNV9NIjQN/m2dDV3jYGWg+1Wr+KldptkUHXj+6GY1Akll66lJ3D8s6aUGi3comPLHPtWHg==", + "dev": true, + "requires": { + "@commitlint/types": "^16.0.0", + "ajv": "^6.12.6" + } + }, "@commitlint/ensure": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/ensure/download/@commitlint/ensure-12.1.4.tgz", - "integrity": "sha1-KHri3MXMsIbnSXBbG9m9uZdzBW8=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/ensure/download/@commitlint/ensure-16.0.0.tgz", + "integrity": "sha512-WdMySU8DCTaq3JPf0tZFCKIUhqxaL54mjduNhu8v4D2AMUVIIQKYMGyvXn94k8begeW6iJkTf9cXBArayskE7Q==", "dev": true, "requires": { - "@commitlint/types": "^12.1.4", + "@commitlint/types": "^16.0.0", "lodash": "^4.17.19" } }, "@commitlint/execute-rule": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/execute-rule/download/@commitlint/execute-rule-12.1.4.tgz", - "integrity": "sha1-mXOwLpd5rb8VIq6awgekgV7HPeE=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/execute-rule/download/@commitlint/execute-rule-16.0.0.tgz", + "integrity": "sha512-8edcCibmBb386x5JTHSPHINwA5L0xPkHQFY8TAuDEt5QyRZY/o5DF8OPHSa5Hx2xJvGaxxuIz4UtAT6IiRDYkw==", "dev": true }, "@commitlint/format": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/format/download/@commitlint/format-12.1.4.tgz", - "integrity": "sha1-2y1GQYpq5XyQ5ff2Xf9G8CZdnyQ=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/format/download/@commitlint/format-16.0.0.tgz", + "integrity": "sha512-9yp5NCquXL1jVMKL0ZkRwJf/UHdebvCcMvICuZV00NQGYSAL89O398nhqrqxlbjBhM5EZVq0VGcV5+7r3D4zAA==", "dev": true, "requires": { - "@commitlint/types": "^12.1.4", + "@commitlint/types": "^16.0.0", "chalk": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } } }, "@commitlint/is-ignored": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/is-ignored/download/@commitlint/is-ignored-12.1.4.tgz", - "integrity": "sha1-TEMLw7NhqpvlzU3bJSwVWYcOp7w=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/is-ignored/download/@commitlint/is-ignored-16.0.0.tgz", + "integrity": "sha512-gmAQcwIGC/R/Lp0CEb2b5bfGC7MT5rPe09N8kOGjO/NcdNmfFSZMquwrvNJsq9hnAP0skRdHIsqwlkENkN4Lag==", "dev": true, "requires": { - "@commitlint/types": "^12.1.4", + "@commitlint/types": "^16.0.0", "semver": "7.3.5" } }, "@commitlint/lint": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/lint/download/@commitlint/lint-12.1.4.tgz", - "integrity": "sha1-hWt/0rLmNnuDbLhKEvHBs8DkDSI=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/lint/download/@commitlint/lint-16.0.0.tgz", + "integrity": "sha512-HNl15bRC0h+pLzbMzQC3tM0j1aESXsLYhElqKnXcf5mnCBkBkHzu6WwJW8rZbfxX+YwJmNljN62cPhmdBo8x0A==", "dev": true, "requires": { - "@commitlint/is-ignored": "^12.1.4", - "@commitlint/parse": "^12.1.4", - "@commitlint/rules": "^12.1.4", - "@commitlint/types": "^12.1.4" + "@commitlint/is-ignored": "^16.0.0", + "@commitlint/parse": "^16.0.0", + "@commitlint/rules": "^16.0.0", + "@commitlint/types": "^16.0.0" } }, "@commitlint/load": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/load/download/@commitlint/load-12.1.4.tgz", - "integrity": "sha1-48LbwOfY2Sj1emh4vXIZkJ/ArKs=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/load/download/@commitlint/load-16.0.0.tgz", + "integrity": "sha512-7WhrGCkP6K/XfjBBguLkkI2XUdiiIyMGlNsSoSqgRNiD352EiffhFEApMy1/XOU+viwBBm/On0n5p0NC7e9/4A==", "dev": true, "requires": { - "@commitlint/execute-rule": "^12.1.4", - "@commitlint/resolve-extends": "^12.1.4", - "@commitlint/types": "^12.1.4", + "@commitlint/config-validator": "^16.0.0", + "@commitlint/execute-rule": "^16.0.0", + "@commitlint/resolve-extends": "^16.0.0", + "@commitlint/types": "^16.0.0", "chalk": "^4.0.0", "cosmiconfig": "^7.0.0", + "cosmiconfig-typescript-loader": "^1.0.0", "lodash": "^4.17.19", - "resolve-from": "^5.0.0" + "resolve-from": "^5.0.0", + "typescript": "^4.4.3" + }, + "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } } }, "@commitlint/message": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/message/download/@commitlint/message-12.1.4.tgz", - "integrity": "sha1-OJXtzAcJ3spZRfPVX16pWp8fRG0=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/message/download/@commitlint/message-16.0.0.tgz", + "integrity": "sha512-CmK2074SH1Ws6kFMEKOKH/7hMekGVbOD6vb4alCOo2+33ZSLUIX8iNkDYyrw38Jwg6yWUhLjyQLUxREeV+QIUA==", "dev": true }, "@commitlint/parse": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/parse/download/@commitlint/parse-12.1.4.tgz", - "integrity": "sha1-ugPVTSTvhPb9L/McXpmYsi19CqE=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/parse/download/@commitlint/parse-16.0.0.tgz", + "integrity": "sha512-F9EjFlMw4MYgBEqoRrWZZKQBzdiJzPBI0qFDFqwUvfQsMmXEREZ242T4R5bFwLINWaALFLHEIa/FXEPa6QxCag==", "dev": true, "requires": { - "@commitlint/types": "^12.1.4", + "@commitlint/types": "^16.0.0", "conventional-changelog-angular": "^5.0.11", - "conventional-commits-parser": "^3.0.0" + "conventional-commits-parser": "^3.2.2" } }, "@commitlint/read": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/read/download/@commitlint/read-12.1.4.tgz", - "integrity": "sha1-VS/aQu8YXVtXi+tvYmpfiygt46Y=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/read/download/@commitlint/read-16.0.0.tgz", + "integrity": "sha512-H4T2zsfmYQK9B+JtoQaCXWBHUhgIJyOzWZjSfuIV9Ce69/OgHoffNpLZPF2lX6yKuDrS1SQFhI/kUCjVc/e4ew==", "dev": true, "requires": { - "@commitlint/top-level": "^12.1.4", - "@commitlint/types": "^12.1.4", - "fs-extra": "^9.0.0", + "@commitlint/top-level": "^16.0.0", + "@commitlint/types": "^16.0.0", + "fs-extra": "^10.0.0", "git-raw-commits": "^2.0.0" - }, - "dependencies": { - "fs-extra": { - "version": "9.1.0", - "resolved": "https://registry.npmmirror.com/fs-extra/download/fs-extra-9.1.0.tgz?cache=0&sync_timestamp=1632397277365&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ffs-extra%2Fdownload%2Ffs-extra-9.1.0.tgz", - "integrity": "sha1-WVRGDHZKjaIJS6NVS/g55rmnyG0=", - "dev": true, - "requires": { - "at-least-node": "^1.0.0", - "graceful-fs": "^4.2.0", - "jsonfile": "^6.0.1", - "universalify": "^2.0.0" - } - } } }, "@commitlint/resolve-extends": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/resolve-extends/download/@commitlint/resolve-extends-12.1.4.tgz", - "integrity": "sha1-51jtfc35QmGLn2A6fCimQPaggCo=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/resolve-extends/download/@commitlint/resolve-extends-16.0.0.tgz", + "integrity": "sha512-Z/w9MAQUcxeawpCLtjmkVNXAXOmB2nhW+LYmHEZcx9O6UTauF/1+uuZ2/r0MtzTe1qw2JD+1QHVhEWYHVPlkdA==", "dev": true, "requires": { + "@commitlint/config-validator": "^16.0.0", + "@commitlint/types": "^16.0.0", "import-fresh": "^3.0.0", "lodash": "^4.17.19", "resolve-from": "^5.0.0", @@ -227,27 +252,28 @@ } }, "@commitlint/rules": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/rules/download/@commitlint/rules-12.1.4.tgz", - "integrity": "sha1-DhQbCMqj173EiqeEuqi6/z79ZNs=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/rules/download/@commitlint/rules-16.0.0.tgz", + "integrity": "sha512-AOl0y2SBTdJ1bvIv8nwHvQKRT/jC1xb09C5VZwzHoT8sE8F54KDeEzPCwHQFgUcWdGLyS10kkOTAH2MyA8EIlg==", "dev": true, "requires": { - "@commitlint/ensure": "^12.1.4", - "@commitlint/message": "^12.1.4", - "@commitlint/to-lines": "^12.1.4", - "@commitlint/types": "^12.1.4" + "@commitlint/ensure": "^16.0.0", + "@commitlint/message": "^16.0.0", + "@commitlint/to-lines": "^16.0.0", + "@commitlint/types": "^16.0.0", + "execa": "^5.0.0" } }, "@commitlint/to-lines": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/to-lines/download/@commitlint/to-lines-12.1.4.tgz", - "integrity": "sha1-yqWC2/Eh83egWIu2TiXEhUhDzSU=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/to-lines/download/@commitlint/to-lines-16.0.0.tgz", + "integrity": "sha512-iN/qU38TCKU7uKOg6RXLpD49wNiuI0TqMqybHbjefUeP/Jmzxa8ishryj0uLyVdrAl1ZjGeD1ukXGMTtvqz8iA==", "dev": true }, "@commitlint/top-level": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/top-level/download/@commitlint/top-level-12.1.4.tgz", - "integrity": "sha1-ltXHFb/Bvfht/PEbZ/ws92WMem4=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/top-level/download/@commitlint/top-level-16.0.0.tgz", + "integrity": "sha512-/Jt6NLxyFkpjL5O0jxurZPCHURZAm7cQCqikgPCwqPAH0TLgwqdHjnYipl8J+AGnAMGDip4FNLoYrtgIpZGBYw==", "dev": true, "requires": { "find-up": "^5.0.0" @@ -293,12 +319,39 @@ } }, "@commitlint/types": { - "version": "12.1.4", - "resolved": "https://registry.npmmirror.com/@commitlint/types/download/@commitlint/types-12.1.4.tgz", - "integrity": "sha1-lhil3ImR+1jm3m7YnXv3Evp0un4=", + "version": "16.0.0", + "resolved": "https://registry.npmmirror.com/@commitlint/types/download/@commitlint/types-16.0.0.tgz", + "integrity": "sha512-+0FvYOAS39bJ4aKjnYn/7FD4DfWkmQ6G/06I4F0Gvu4KS5twirEg8mIcLhmeRDOOKn4Tp8PwpLwBiSA6npEMQA==", "dev": true, "requires": { "chalk": "^4.0.0" + }, + "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } + } + }, + "@cspotcode/source-map-consumer": { + "version": "0.8.0", + "resolved": "https://registry.npmmirror.com/@cspotcode/source-map-consumer/download/@cspotcode/source-map-consumer-0.8.0.tgz", + "integrity": "sha1-M79LeznBeIIWBvZpu8RHpqYpeGs=", + "dev": true + }, + "@cspotcode/source-map-support": { + "version": "0.7.0", + "resolved": "https://registry.npmmirror.com/@cspotcode/source-map-support/download/@cspotcode/source-map-support-0.7.0.tgz", + "integrity": "sha1-R4mECqhZ5G0vMXNyercHxmvzRPU=", + "dev": true, + "requires": { + "@cspotcode/source-map-consumer": "0.8.0" } }, "@nodelib/fs.scandir": { @@ -359,6 +412,30 @@ "defer-to-connect": "^2.0.0" } }, + "@tsconfig/node10": { + "version": "1.0.8", + "resolved": "https://registry.npmmirror.com/@tsconfig/node10/download/@tsconfig/node10-1.0.8.tgz", + "integrity": "sha1-weToDW+WT77LM1nEO9SLQPfK2tk=", + "dev": true + }, + "@tsconfig/node12": { + "version": "1.0.9", + "resolved": "https://registry.npmmirror.com/@tsconfig/node12/download/@tsconfig/node12-1.0.9.tgz", + "integrity": "sha1-YsH23uLr2a6tgNw6+laBDljhoEw=", + "dev": true + }, + "@tsconfig/node14": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/@tsconfig/node14/download/@tsconfig/node14-1.0.1.tgz", + "integrity": "sha1-lfLRZ/+5uNIGiwsjUwL6/U33EfI=", + "dev": true + }, + "@tsconfig/node16": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/@tsconfig/node16/download/@tsconfig/node16-1.0.2.tgz", + "integrity": "sha1-Qjx3h30Fadsg4fyAiFrEEYMUAQ4=", + "dev": true + }, "@types/cacheable-request": { "version": "6.0.2", "resolved": "https://registry.npmmirror.com/@types/cacheable-request/download/@types/cacheable-request-6.0.2.tgz", @@ -422,13 +499,25 @@ "JSONStream": { "version": "1.3.5", "resolved": "https://registry.npmmirror.com/JSONStream/download/JSONStream-1.3.5.tgz", - "integrity": "sha1-MgjB8I06TZkmGrZPkjArwV4RHKA=", + "integrity": "sha512-E+iruNOY8VV9s4JEbe1aNEm6MiszPRr/UfcHMz0TQh1BXSxHK+ASV1R6W4HpjBhSeS+54PIsAMCBmwD06LLsqQ==", "dev": true, "requires": { "jsonparse": "^1.2.0", "through": ">=2.2.7 <3" } }, + "acorn": { + "version": "8.7.0", + "resolved": "https://registry.npmmirror.com/acorn/download/acorn-8.7.0.tgz", + "integrity": "sha512-V/LGr1APy+PXIwKebEWrkZPwoeoF+w1jiOBUmuxuiUIaOHtob8Qc9BTrYo7VuI5fR8tqsy+buA2WFooR5olqvQ==", + "dev": true + }, + "acorn-walk": { + "version": "8.2.0", + "resolved": "https://registry.npmmirror.com/acorn-walk/download/acorn-walk-8.2.0.tgz", + "integrity": "sha1-dBIQ8uJCZFRQiFOi9E0KuDt/acE=", + "dev": true + }, "aggregate-error": { "version": "3.1.0", "resolved": "https://registry.npmmirror.com/aggregate-error/download/aggregate-error-3.1.0.tgz", @@ -439,6 +528,18 @@ "indent-string": "^4.0.0" } }, + "ajv": { + "version": "6.12.6", + "resolved": "https://registry.npmmirror.com/ajv/download/ajv-6.12.6.tgz", + "integrity": "sha512-j3fVLgvTo527anyYyJOGTYJbG+vnnQYvE0m5mmkc1TK+nxAppkCLMIL0aZ4dblVCNoGShhm+kzE4ZUykBoMg4g==", + "dev": true, + "requires": { + "fast-deep-equal": "^3.1.1", + "fast-json-stable-stringify": "^2.0.0", + "json-schema-traverse": "^0.4.1", + "uri-js": "^4.2.2" + } + }, "ansi-align": { "version": "3.0.1", "resolved": "https://registry.npmmirror.com/ansi-align/download/ansi-align-3.0.1.tgz", @@ -452,7 +553,6 @@ "version": "4.3.2", "resolved": "https://registry.npmmirror.com/ansi-escapes/download/ansi-escapes-4.3.2.tgz", "integrity": "sha1-ayKR0dt9mLZSHV8e+kLQ86n+tl4=", - "dev": true, "requires": { "type-fest": "^0.21.3" }, @@ -460,16 +560,14 @@ "type-fest": { "version": "0.21.3", "resolved": "https://registry.npmmirror.com/type-fest/download/type-fest-0.21.3.tgz", - "integrity": "sha1-0mCiSwGYQ24TP6JqUkptZfo7Ljc=", - "dev": true + "integrity": "sha1-0mCiSwGYQ24TP6JqUkptZfo7Ljc=" } } }, "ansi-regex": { "version": "5.0.1", "resolved": "https://registry.npmmirror.com/ansi-regex/download/ansi-regex-5.0.1.tgz", - "integrity": "sha1-CCyyyJyf6GWaMRpTvWpNxTAdswQ=", - "dev": true + "integrity": "sha1-CCyyyJyf6GWaMRpTvWpNxTAdswQ=" }, "ansi-styles": { "version": "4.3.0", @@ -485,6 +583,12 @@ "integrity": "sha1-q31J/2Tr5t064mdgo/WogejbeR4=", "dev": true }, + "arg": { + "version": "4.1.3", + "resolved": "https://registry.npmmirror.com/arg/download/arg-4.1.3.tgz", + "integrity": "sha512-58S9QDqG0Xx27YwPSt9fJxivjYl432YCwfDMfZ+71RAqUrZef7LrKQZ3LHLOwCS4FLNBplP533Zx895SeOCHvA==", + "dev": true + }, "array-ify": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/array-ify/download/array-ify-1.0.0.tgz", @@ -509,18 +613,27 @@ "integrity": "sha1-i9iwJLDsmxwBzMua+dspvXF9+vM=", "dev": true }, - "at-least-node": { - "version": "1.0.0", - "resolved": "https://registry.npmmirror.com/at-least-node/download/at-least-node-1.0.0.tgz", - "integrity": "sha1-YCzUtG6EStTv/JKoARo8RuAjjcI=", - "dev": true - }, "balanced-match": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/balanced-match/download/balanced-match-1.0.2.tgz", "integrity": "sha1-6D46fj8wCzTLnYf2FfoMvzV2kO4=", "dev": true }, + "base64-js": { + "version": "1.5.1", + "resolved": "https://registry.npmmirror.com/base64-js/download/base64-js-1.5.1.tgz", + "integrity": "sha1-GxtEAWClv3rUC2UPCVljSBkDkwo=" + }, + "bl": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/bl/download/bl-5.0.0.tgz", + "integrity": "sha1-aSiASkHp2pA0ho4cUMqI8h9XrqI=", + "requires": { + "buffer": "^6.0.3", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, "boxen": { "version": "5.1.2", "resolved": "https://registry.npmmirror.com/boxen/download/boxen-5.1.2.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fboxen%2Fdownload%2Fboxen-5.1.2.tgz", @@ -543,6 +656,16 @@ "integrity": "sha512-tVI4q5jjFV5CavAU8DXfza/TJcZutVKo/5Foskmsqcm0MsL91moHvwiGNnqaa2o6PF/7yT5ikDRcVcl8Rj6LCA==", "dev": true }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, "type-fest": { "version": "0.20.2", "resolved": "https://registry.npmmirror.com/type-fest/download/type-fest-0.20.2.tgz", @@ -570,6 +693,15 @@ "fill-range": "^7.0.1" } }, + "buffer": { + "version": "6.0.3", + "resolved": "https://registry.npmmirror.com/buffer/download/buffer-6.0.3.tgz", + "integrity": "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.2.1" + } + }, "builtins": { "version": "1.0.3", "resolved": "https://registry.npmmirror.com/builtins/download/builtins-1.0.3.tgz", @@ -636,19 +768,14 @@ } }, "chalk": { - "version": "4.1.2", - "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", - "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", - "requires": { - "ansi-styles": "^4.1.0", - "supports-color": "^7.1.0" - } + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-5.0.0.tgz", + "integrity": "sha512-/duVOqst+luxCQRKEo4bNxinsOQtMP80ZYm7mMqzuh5PociNL0PvmHFvREJ9ueYL2TxlHjBcmLCdmocx9Vg+IQ==" }, "chardet": { "version": "0.7.0", "resolved": "https://registry.npmmirror.com/chardet/download/chardet-0.7.0.tgz?cache=0&sync_timestamp=1634639163489&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fchardet%2Fdownload%2Fchardet-0.7.0.tgz", - "integrity": "sha1-kAlISfCTfy7twkJdDSip5fDLrZ4=", - "dev": true + "integrity": "sha1-kAlISfCTfy7twkJdDSip5fDLrZ4=" }, "ci-info": { "version": "2.0.0", @@ -672,11 +799,15 @@ "version": "3.1.0", "resolved": "https://registry.npmmirror.com/cli-cursor/download/cli-cursor-3.1.0.tgz?cache=0&sync_timestamp=1632753976771&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcli-cursor%2Fdownload%2Fcli-cursor-3.1.0.tgz", "integrity": "sha1-JkMFp65JDR0Dvwybp8kl0XU68wc=", - "dev": true, "requires": { "restore-cursor": "^3.1.0" } }, + "cli-spinners": { + "version": "2.6.1", + "resolved": "https://registry.npmmirror.com/cli-spinners/download/cli-spinners-2.6.1.tgz?cache=0&sync_timestamp=1636420750777&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcli-spinners%2Fdownload%2Fcli-spinners-2.6.1.tgz", + "integrity": "sha1-rclU6+KBw3pjGb+kAebdJIj/tw0=" + }, "cli-truncate": { "version": "0.2.1", "resolved": "https://registry.npmmirror.com/cli-truncate/download/cli-truncate-0.2.1.tgz?cache=0&sync_timestamp=1633786730624&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcli-truncate%2Fdownload%2Fcli-truncate-0.2.1.tgz", @@ -727,8 +858,7 @@ "cli-width": { "version": "3.0.0", "resolved": "https://registry.npmmirror.com/cli-width/download/cli-width-3.0.0.tgz", - "integrity": "sha1-ovSEN6LKqaIkNueUvwceyeYc7fY=", - "dev": true + "integrity": "sha1-ovSEN6LKqaIkNueUvwceyeYc7fY=" }, "cliui": { "version": "7.0.4", @@ -741,6 +871,11 @@ "wrap-ansi": "^7.0.0" } }, + "clone": { + "version": "1.0.4", + "resolved": "https://registry.npmmirror.com/clone/download/clone-1.0.4.tgz", + "integrity": "sha1-2jCcwmPfFZlMaIypAheco8fNfH4=" + }, "clone-response": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/clone-response/download/clone-response-1.0.2.tgz", @@ -818,9 +953,9 @@ } }, "conventional-changelog-conventionalcommits": { - "version": "4.6.2", - "resolved": "https://registry.npmmirror.com/conventional-changelog-conventionalcommits/download/conventional-changelog-conventionalcommits-4.6.2.tgz", - "integrity": "sha512-fo+VhM0VtD3wdHZtrPhgvTFjAhAMUjYeQV6B5+DB/cupG1O554pJdTwrvBInq8JLHl+GucKQpZycMPye/OpgSw==", + "version": "4.6.3", + "resolved": "https://registry.npmmirror.com/conventional-changelog-conventionalcommits/download/conventional-changelog-conventionalcommits-4.6.3.tgz", + "integrity": "sha512-LTTQV4fwOM4oLPad317V/QNQ1FY4Hju5qeBIM1uTHbrnCE+Eg4CdRZ3gO2pUeR+tzWdp80M2j3qFFEDWVqOV4g==", "dev": true, "requires": { "compare-func": "^2.0.0", @@ -829,9 +964,9 @@ } }, "conventional-commits-parser": { - "version": "3.2.3", - "resolved": "https://registry.npmmirror.com/conventional-commits-parser/download/conventional-commits-parser-3.2.3.tgz", - "integrity": "sha1-/ENwRpgjlFHj7zX9HY7WRPRr2G4=", + "version": "3.2.4", + "resolved": "https://registry.npmmirror.com/conventional-commits-parser/download/conventional-commits-parser-3.2.4.tgz", + "integrity": "sha512-nK7sAtfi+QXbxHCYfhpZsfRtaitZLIA6889kFIouLvz6repszQDgxBu7wf2WbU+Dco7sAnNCJYERCwt54WPC2Q==", "dev": true, "requires": { "JSONStream": "^1.0.4", @@ -855,6 +990,22 @@ "yaml": "^1.10.0" } }, + "cosmiconfig-typescript-loader": { + "version": "1.0.2", + "resolved": "https://registry.npmmirror.com/cosmiconfig-typescript-loader/download/cosmiconfig-typescript-loader-1.0.2.tgz", + "integrity": "sha512-27ZehvijYqAKVzta5xtZBS3PAliC8CmnWkGXN0vgxAZz7yqxpMjf3aG7flxF5rEiu8FAD7nZZXtOI+xUGn+bVg==", + "dev": true, + "requires": { + "cosmiconfig": "^7", + "ts-node": "^10.4.0" + } + }, + "create-require": { + "version": "1.1.1", + "resolved": "https://registry.npmmirror.com/create-require/download/create-require-1.1.1.tgz", + "integrity": "sha1-wdfo8eX2z8n/ZfnNNS03NIdWwzM=", + "dev": true + }, "cross-spawn": { "version": "7.0.3", "resolved": "https://registry.npmmirror.com/cross-spawn/download/cross-spawn-7.0.3.tgz?cache=0&sync_timestamp=1632467460103&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcross-spawn%2Fdownload%2Fcross-spawn-7.0.3.tgz", @@ -923,6 +1074,14 @@ "integrity": "sha1-xPp8lUBKF6nD6Mp+FTcxK3NjMKw=", "dev": true }, + "defaults": { + "version": "1.0.3", + "resolved": "https://registry.npmmirror.com/defaults/download/defaults-1.0.3.tgz", + "integrity": "sha1-xlYFHpgX2f8I7YgUd/P+QBnz730=", + "requires": { + "clone": "^1.0.2" + } + }, "defer-to-connect": { "version": "2.0.1", "resolved": "https://registry.npmmirror.com/defer-to-connect/download/defer-to-connect-2.0.1.tgz", @@ -945,6 +1104,12 @@ "slash": "^3.0.0" } }, + "diff": { + "version": "4.0.2", + "resolved": "https://registry.npmmirror.com/diff/download/diff-4.0.2.tgz", + "integrity": "sha1-YPOuy4nV+uUgwRqhnvwruYKq3n0=", + "dev": true + }, "dir-glob": { "version": "3.0.1", "resolved": "https://registry.npmmirror.com/dir-glob/download/dir-glob-3.0.1.tgz", @@ -978,8 +1143,7 @@ "emoji-regex": { "version": "8.0.0", "resolved": "https://registry.npmmirror.com/emoji-regex/download/emoji-regex-8.0.0.tgz", - "integrity": "sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc=", - "dev": true + "integrity": "sha1-6Bj9ac5cz8tARZT4QpY79TFkzDc=" }, "end-of-stream": { "version": "1.4.4", @@ -1014,8 +1178,7 @@ "escape-string-regexp": { "version": "1.0.5", "resolved": "https://registry.npmmirror.com/escape-string-regexp/download/escape-string-regexp-1.0.5.tgz", - "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=", - "dev": true + "integrity": "sha1-G2HAViGQqN/2rjuyzwIAyhMLhtQ=" }, "execa": { "version": "5.1.1", @@ -1038,13 +1201,18 @@ "version": "3.1.0", "resolved": "https://registry.npmmirror.com/external-editor/download/external-editor-3.1.0.tgz", "integrity": "sha1-ywP3QL764D6k0oPK7SdBqD8zVJU=", - "dev": true, "requires": { "chardet": "^0.7.0", "iconv-lite": "^0.4.24", "tmp": "^0.0.33" } }, + "fast-deep-equal": { + "version": "3.1.3", + "resolved": "https://registry.npmmirror.com/fast-deep-equal/download/fast-deep-equal-3.1.3.tgz", + "integrity": "sha1-On1WtVnWy8PrUSMlJE5hmmXGxSU=", + "dev": true + }, "fast-glob": { "version": "3.2.7", "resolved": "https://registry.npmmirror.com/fast-glob/download/fast-glob-3.2.7.tgz", @@ -1058,6 +1226,12 @@ "micromatch": "^4.0.4" } }, + "fast-json-stable-stringify": { + "version": "2.1.0", + "resolved": "https://registry.npmmirror.com/fast-json-stable-stringify/download/fast-json-stable-stringify-2.1.0.tgz", + "integrity": "sha1-h0v2nG9ATCtdmcSBNBOZ/VWJJjM=", + "dev": true + }, "fastq": { "version": "1.13.0", "resolved": "https://registry.npmmirror.com/fastq/download/fastq-1.13.0.tgz", @@ -1071,7 +1245,6 @@ "version": "3.2.0", "resolved": "https://registry.npmmirror.com/figures/download/figures-3.2.0.tgz?cache=0&sync_timestamp=1632753977164&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Ffigures%2Fdownload%2Ffigures-3.2.0.tgz", "integrity": "sha1-YlwYvSk8YE3EqN2y/r8MiDQXRq8=", - "dev": true, "requires": { "escape-string-regexp": "^1.0.5" } @@ -1130,9 +1303,9 @@ "dev": true }, "git-raw-commits": { - "version": "2.0.10", - "resolved": "https://registry.npmmirror.com/git-raw-commits/download/git-raw-commits-2.0.10.tgz", - "integrity": "sha1-4iVe2VY7HJw+pr0FgGQQKQKXu8E=", + "version": "2.0.11", + "resolved": "https://registry.npmmirror.com/git-raw-commits/download/git-raw-commits-2.0.11.tgz", + "integrity": "sha512-VnctFhw+xfj8Va1xtfEqCUD2XDrbAPSJx+hSrE5K7fGdjZruW7XV+QOrN7LF/RJyvspRiD2I0asWsxFp0ya26A==", "dev": true, "requires": { "dargs": "^7.0.0", @@ -1304,20 +1477,24 @@ "dev": true }, "husky": { - "version": "6.0.0", - "resolved": "https://registry.npmmirror.com/husky/download/husky-6.0.0.tgz", - "integrity": "sha1-gQ8RhprfUWBMMupXftvDd9f5MZ4=", + "version": "7.0.4", + "resolved": "https://registry.npmmirror.com/husky/download/husky-7.0.4.tgz", + "integrity": "sha1-JCBIJF3EnI+xvwzHz7mN1yJTFTU=", "dev": true }, "iconv-lite": { "version": "0.4.24", "resolved": "https://registry.npmmirror.com/iconv-lite/download/iconv-lite-0.4.24.tgz", "integrity": "sha1-ICK0sl+93CHS9SSXSkdKr+czkIs=", - "dev": true, "requires": { "safer-buffer": ">= 2.1.2 < 3" } }, + "ieee754": { + "version": "1.2.1", + "resolved": "https://registry.npmmirror.com/ieee754/download/ieee754-1.2.1.tgz", + "integrity": "sha1-jrehCmP/8l0VpXsAFYbRd9Gw01I=" + }, "ignore": { "version": "5.2.0", "resolved": "https://registry.npmmirror.com/ignore/download/ignore-5.2.0.tgz", @@ -1403,8 +1580,7 @@ "inherits": { "version": "2.0.4", "resolved": "https://registry.npmmirror.com/inherits/download/inherits-2.0.4.tgz", - "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=", - "dev": true + "integrity": "sha1-D6LGT5MpF8NDOg3tVTY6rjdBa3w=" }, "ini": { "version": "1.3.8", @@ -1413,24 +1589,83 @@ "dev": true }, "inquirer": { - "version": "7.3.3", - "resolved": "https://registry.npmmirror.com/inquirer/download/inquirer-7.3.3.tgz", - "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", - "dev": true, + "version": "8.2.0", + "resolved": "https://registry.npmmirror.com/inquirer/download/inquirer-8.2.0.tgz", + "integrity": "sha512-0crLweprevJ02tTuA6ThpoAERAGyVILC4sS74uib58Xf/zSr1/ZWtmm7D5CI+bSQEaA04f0K7idaHpQbSWgiVQ==", "requires": { "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.2.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0", "through": "^2.3.6" + }, + "dependencies": { + "bl": { + "version": "4.1.0", + "resolved": "https://registry.npmmirror.com/bl/download/bl-4.1.0.tgz", + "integrity": "sha1-RRU1JkGCvsL7vIOmKrmM8R2fezo=", + "requires": { + "buffer": "^5.5.0", + "inherits": "^2.0.4", + "readable-stream": "^3.4.0" + } + }, + "buffer": { + "version": "5.7.1", + "resolved": "https://registry.npmmirror.com/buffer/download/buffer-5.7.1.tgz", + "integrity": "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ==", + "requires": { + "base64-js": "^1.3.1", + "ieee754": "^1.1.13" + } + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "ora": { + "version": "5.4.1", + "resolved": "https://registry.npmmirror.com/ora/download/ora-5.4.1.tgz", + "integrity": "sha1-GyZ4Qmr0rEpQkAjl5KyemVnbnhg=", + "requires": { + "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" + } + }, + "rxjs": { + "version": "7.5.1", + "resolved": "https://registry.npmmirror.com/rxjs/download/rxjs-7.5.1.tgz", + "integrity": "sha512-KExVEeZWxMZnZhUZtsJcFwz8IvPvgu4G2Z2QyqjZQzUGr32KDYuSxrEYO4w3tFFNbfLozcrKUTvTPi+E9ywJkQ==", + "requires": { + "tslib": "^2.1.0" + } + }, + "tslib": { + "version": "2.3.1", + "resolved": "https://registry.npmmirror.com/tslib/download/tslib-2.3.1.tgz", + "integrity": "sha1-6KM1rdXOrlGqJh0ypJAVjvBC7wE=" + } } }, "inquirer-autosubmit-prompt": { @@ -1667,8 +1902,7 @@ "is-fullwidth-code-point": { "version": "3.0.0", "resolved": "https://registry.npmmirror.com/is-fullwidth-code-point/download/is-fullwidth-code-point-3.0.0.tgz", - "integrity": "sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0=", - "dev": true + "integrity": "sha1-8Rb4Bk/pCz94RKOJl8C3UFEmnx0=" }, "is-glob": { "version": "4.0.3", @@ -1709,8 +1943,7 @@ "is-interactive": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/is-interactive/download/is-interactive-1.0.0.tgz", - "integrity": "sha1-zqbmrlyHCnsKAAQHC3tYfgJSkS4=", - "dev": true + "integrity": "sha1-zqbmrlyHCnsKAAQHC3tYfgJSkS4=" }, "is-npm": { "version": "5.0.0", @@ -1804,8 +2037,7 @@ "is-unicode-supported": { "version": "0.1.0", "resolved": "https://registry.npmmirror.com/is-unicode-supported/download/is-unicode-supported-0.1.0.tgz", - "integrity": "sha1-PybHaoCVk7Ur+i7LVxDtJ3m1Iqc=", - "dev": true + "integrity": "sha1-PybHaoCVk7Ur+i7LVxDtJ3m1Iqc=" }, "is-url-superb": { "version": "4.0.0", @@ -1858,6 +2090,12 @@ "integrity": "sha1-fEeAWpQxmSjgV3dAXcEuH3pO4C0=", "dev": true }, + "json-schema-traverse": { + "version": "0.4.1", + "resolved": "https://registry.npmmirror.com/json-schema-traverse/download/json-schema-traverse-0.4.1.tgz", + "integrity": "sha1-afaofZUTq4u4/mO9sJecRI5oRmA=", + "dev": true + }, "jsonfile": { "version": "6.1.0", "resolved": "https://registry.npmmirror.com/jsonfile/download/jsonfile-6.1.0.tgz", @@ -1944,6 +2182,41 @@ "inquirer-autosubmit-prompt": "^0.2.0", "rxjs": "^6.5.3", "through": "^2.3.8" + }, + "dependencies": { + "inquirer": { + "version": "7.3.3", + "resolved": "https://registry.npmmirror.com/inquirer/download/inquirer-7.3.3.tgz", + "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", + "dev": true, + "requires": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.19", + "mute-stream": "0.0.8", + "run-async": "^2.4.0", + "rxjs": "^6.6.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6" + }, + "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } + } + } } }, "listr-silent-renderer": { @@ -2154,8 +2427,7 @@ "lodash": { "version": "4.17.21", "resolved": "https://registry.npmmirror.com/lodash/download/lodash-4.17.21.tgz", - "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==", - "dev": true + "integrity": "sha512-v2kDEe57lecTulaDIuNTPy3Ry4gLGJ6Z1O3vE1krgXZNrsQ+LFTGHVxVjcXPs17LhbZVGedAJv8XZ1tvj5FvSg==" }, "lodash.isequal": { "version": "4.5.0", @@ -2173,10 +2445,20 @@ "version": "4.1.0", "resolved": "https://registry.npmmirror.com/log-symbols/download/log-symbols-4.1.0.tgz", "integrity": "sha1-P727lbRoOsn8eFER55LlWNSr1QM=", - "dev": true, "requires": { "chalk": "^4.1.0", "is-unicode-supported": "^0.1.0" + }, + "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + } } }, "log-update": { @@ -2305,6 +2587,12 @@ } } }, + "make-error": { + "version": "1.3.6", + "resolved": "https://registry.npmmirror.com/make-error/download/make-error-1.3.6.tgz", + "integrity": "sha1-LrLjfqm2fEiR9oShOUeZr0hM96I=", + "dev": true + }, "map-age-cleaner": { "version": "0.1.3", "resolved": "https://registry.npmmirror.com/map-age-cleaner/download/map-age-cleaner-0.1.3.tgz", @@ -2364,8 +2652,7 @@ "mimic-fn": { "version": "2.1.0", "resolved": "https://registry.npmmirror.com/mimic-fn/download/mimic-fn-2.1.0.tgz", - "integrity": "sha1-ftLCzMyvhNP/y3pptXcR/CCDQBs=", - "dev": true + "integrity": "sha1-ftLCzMyvhNP/y3pptXcR/CCDQBs=" }, "mimic-response": { "version": "2.1.0", @@ -2408,8 +2695,7 @@ "mute-stream": { "version": "0.0.8", "resolved": "https://registry.npmmirror.com/mute-stream/download/mute-stream-0.0.8.tgz", - "integrity": "sha1-FjDEKyJR/4HiooPelqVJfqkuXg0=", - "dev": true + "integrity": "sha1-FjDEKyJR/4HiooPelqVJfqkuXg0=" }, "new-github-release-url": { "version": "1.0.0", @@ -2493,6 +2779,16 @@ "update-notifier": "^5.0.1" }, "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, "escape-string-regexp": { "version": "4.0.0", "resolved": "https://registry.npmmirror.com/escape-string-regexp/download/escape-string-regexp-4.0.0.tgz", @@ -2507,6 +2803,27 @@ "requires": { "lru-cache": "^6.0.0" } + }, + "inquirer": { + "version": "7.3.3", + "resolved": "https://registry.npmmirror.com/inquirer/download/inquirer-7.3.3.tgz", + "integrity": "sha512-JG3eIAj5V9CwcGvuOmoo6LB9kbAYT8HXffUl6memuszlwDC/qvFAJw49XJ5NROSFNPxp3iQg1GqkFhaY/CR0IA==", + "dev": true, + "requires": { + "ansi-escapes": "^4.2.1", + "chalk": "^4.1.0", + "cli-cursor": "^3.1.0", + "cli-width": "^3.0.0", + "external-editor": "^3.0.3", + "figures": "^3.0.0", + "lodash": "^4.17.19", + "mute-stream": "0.0.8", + "run-async": "^2.4.0", + "rxjs": "^6.6.0", + "string-width": "^4.1.0", + "strip-ansi": "^6.0.0", + "through": "^2.3.6" + } } } }, @@ -2572,7 +2889,6 @@ "version": "5.1.2", "resolved": "https://registry.npmmirror.com/onetime/download/onetime-5.1.2.tgz", "integrity": "sha1-0Oluu1awdHbfHdnEgG5SN5hcpF4=", - "dev": true, "requires": { "mimic-fn": "^2.1.0" } @@ -2587,6 +2903,89 @@ "is-wsl": "^2.1.1" } }, + "ora": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/ora/download/ora-6.0.1.tgz", + "integrity": "sha1-aMqp/WxIWkDW9GxQo5QPo9+Zx/M=", + "requires": { + "bl": "^5.0.0", + "chalk": "^4.1.2", + "cli-cursor": "^4.0.0", + "cli-spinners": "^2.6.0", + "is-interactive": "^2.0.0", + "is-unicode-supported": "^1.1.0", + "log-symbols": "^5.0.0", + "strip-ansi": "^7.0.1", + "wcwidth": "^1.0.1" + }, + "dependencies": { + "ansi-regex": { + "version": "6.0.1", + "resolved": "https://registry.npmmirror.com/ansi-regex/download/ansi-regex-6.0.1.tgz", + "integrity": "sha1-MYPjj66aZdfLXlOUXNWJfQJgoGo=" + }, + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, + "cli-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/cli-cursor/download/cli-cursor-4.0.0.tgz?cache=0&sync_timestamp=1632753976771&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fcli-cursor%2Fdownload%2Fcli-cursor-4.0.0.tgz", + "integrity": "sha1-POz+NzS/T+Aqg2HL3A9v4oxqV+o=", + "requires": { + "restore-cursor": "^4.0.0" + } + }, + "is-interactive": { + "version": "2.0.0", + "resolved": "https://registry.npmmirror.com/is-interactive/download/is-interactive-2.0.0.tgz", + "integrity": "sha1-QMV2FFk4JtoRAK3mBZd41ZfxbpA=" + }, + "is-unicode-supported": { + "version": "1.1.0", + "resolved": "https://registry.npmmirror.com/is-unicode-supported/download/is-unicode-supported-1.1.0.tgz", + "integrity": "sha1-kSe3H5+oL1LKXCDpgue+wO4x7h4=" + }, + "log-symbols": { + "version": "5.1.0", + "resolved": "https://registry.npmmirror.com/log-symbols/download/log-symbols-5.1.0.tgz", + "integrity": "sha512-l0x2DvrW294C9uDCoQe1VSU4gf529FkSZ6leBl4TiqZH/e+0R7hSfHQBNut2mNygDgHwvYHfFLn6Oxb3VWj2rA==", + "requires": { + "chalk": "^5.0.0", + "is-unicode-supported": "^1.1.0" + }, + "dependencies": { + "chalk": { + "version": "5.0.0", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-5.0.0.tgz", + "integrity": "sha512-/duVOqst+luxCQRKEo4bNxinsOQtMP80ZYm7mMqzuh5PociNL0PvmHFvREJ9ueYL2TxlHjBcmLCdmocx9Vg+IQ==" + } + } + }, + "restore-cursor": { + "version": "4.0.0", + "resolved": "https://registry.npmmirror.com/restore-cursor/download/restore-cursor-4.0.0.tgz", + "integrity": "sha1-UZVgpDGJdQlt725gnUQQDtqkzLk=", + "requires": { + "onetime": "^5.1.0", + "signal-exit": "^3.0.2" + } + }, + "strip-ansi": { + "version": "7.0.1", + "resolved": "https://registry.npmmirror.com/strip-ansi/download/strip-ansi-7.0.1.tgz", + "integrity": "sha1-YXQKCM42th5Q5lZT8HBg0ACXX7I=", + "requires": { + "ansi-regex": "^6.0.1" + } + } + } + }, "org-regex": { "version": "1.0.0", "resolved": "https://registry.npmmirror.com/org-regex/download/org-regex-1.0.0.tgz", @@ -2596,8 +2995,7 @@ "os-tmpdir": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/os-tmpdir/download/os-tmpdir-1.0.2.tgz", - "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=", - "dev": true + "integrity": "sha1-u+Z0BseaqFxc/sdm/lc0VV36EnQ=" }, "ow": { "version": "0.21.0", @@ -3023,6 +3421,12 @@ "integrity": "sha1-6SQ0v6XqjBn0HN/UAddBo8gZ2Jc=", "dev": true }, + "prettier": { + "version": "2.5.1", + "resolved": "https://registry.npmmirror.com/prettier/download/prettier-2.5.1.tgz", + "integrity": "sha512-vBZcPRUR5MZJwoyi3ZoyQlc1rXeEck8KgeC9AwwOn+exuxLxq5toTRDTSaVrXHxelDMHy9zlicw8u66yxoSUFg==", + "dev": true + }, "pump": { "version": "3.0.0", "resolved": "https://registry.npmmirror.com/pump/download/pump-3.0.0.tgz", @@ -3033,6 +3437,12 @@ "once": "^1.3.1" } }, + "punycode": { + "version": "2.1.1", + "resolved": "https://registry.npmmirror.com/punycode/download/punycode-2.1.1.tgz", + "integrity": "sha1-tYsBCsQMIsVldhbI0sLALHv0eew=", + "dev": true + }, "pupa": { "version": "2.1.1", "resolved": "https://registry.npmmirror.com/pupa/download/pupa-2.1.1.tgz", @@ -3147,7 +3557,6 @@ "version": "3.6.0", "resolved": "https://registry.npmmirror.com/readable-stream/download/readable-stream-3.6.0.tgz", "integrity": "sha1-M3u9o63AcGvT4CRCaihtS0sskZg=", - "dev": true, "requires": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", @@ -3235,7 +3644,6 @@ "version": "3.1.0", "resolved": "https://registry.npmmirror.com/restore-cursor/download/restore-cursor-3.1.0.tgz", "integrity": "sha1-OfZ8VLOnpYzqUjbZXPADQjljH34=", - "dev": true, "requires": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" @@ -3259,8 +3667,7 @@ "run-async": { "version": "2.4.1", "resolved": "https://registry.npmmirror.com/run-async/download/run-async-2.4.1.tgz", - "integrity": "sha1-hEDsz5nqPnC9QJ1JqriOEMGJpFU=", - "dev": true + "integrity": "sha1-hEDsz5nqPnC9QJ1JqriOEMGJpFU=" }, "run-parallel": { "version": "1.2.0", @@ -3283,14 +3690,12 @@ "safe-buffer": { "version": "5.2.1", "resolved": "https://registry.npmmirror.com/safe-buffer/download/safe-buffer-5.2.1.tgz", - "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=", - "dev": true + "integrity": "sha1-Hq+fqb2x/dTsdfWPnNtOa3gn7sY=" }, "safer-buffer": { "version": "2.1.2", "resolved": "https://registry.npmmirror.com/safer-buffer/download/safer-buffer-2.1.2.tgz", - "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=", - "dev": true + "integrity": "sha1-RPoWGwGHuVSd2Eu5GAL5vYOFzWo=" }, "scoped-regex": { "version": "2.1.0", @@ -3342,8 +3747,7 @@ "signal-exit": { "version": "3.0.6", "resolved": "https://registry.npmmirror.com/signal-exit/download/signal-exit-3.0.6.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fsignal-exit%2Fdownload%2Fsignal-exit-3.0.6.tgz", - "integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==", - "dev": true + "integrity": "sha512-sDl4qMFpijcGw22U5w63KmD3cZJfBuFlVNbVMKje2keoKML7X2UzWbc4XrmEbDwg0NXJc3yv4/ox7b+JWb57kQ==" }, "slash": { "version": "3.0.0", @@ -3411,7 +3815,6 @@ "version": "4.2.3", "resolved": "https://registry.npmmirror.com/string-width/download/string-width-4.2.3.tgz", "integrity": "sha1-JpxxF9J7Ba0uU2gwqOyJXvnG0BA=", - "dev": true, "requires": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", @@ -3422,7 +3825,6 @@ "version": "1.3.0", "resolved": "https://registry.npmmirror.com/string_decoder/download/string_decoder-1.3.0.tgz", "integrity": "sha1-QvEUWUpGzxqOMLCoT1bHjD7awh4=", - "dev": true, "requires": { "safe-buffer": "~5.2.0" } @@ -3431,7 +3833,6 @@ "version": "6.0.1", "resolved": "https://registry.npmmirror.com/strip-ansi/download/strip-ansi-6.0.1.tgz", "integrity": "sha1-nibGPTD1NEPpSJSVshBdN7Z6hdk=", - "dev": true, "requires": { "ansi-regex": "^5.0.1" } @@ -3500,8 +3901,7 @@ "through": { "version": "2.3.8", "resolved": "https://registry.npmmirror.com/through/download/through-2.3.8.tgz", - "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=", - "dev": true + "integrity": "sha1-DdTJ/6q8NXlgsbckEV1+Doai4fU=" }, "through2": { "version": "4.0.2", @@ -3516,7 +3916,6 @@ "version": "0.0.33", "resolved": "https://registry.npmmirror.com/tmp/download/tmp-0.0.33.tgz", "integrity": "sha1-bTQzWIl2jSGyvNoKonfO07G/rfk=", - "dev": true, "requires": { "os-tmpdir": "~1.0.2" } @@ -3542,6 +3941,26 @@ "integrity": "sha1-Jgpdli2LdSQlsy86fbDcrNF2wUQ=", "dev": true }, + "ts-node": { + "version": "10.4.0", + "resolved": "https://registry.npmmirror.com/ts-node/download/ts-node-10.4.0.tgz", + "integrity": "sha1-aA+IlFiF9ObPRQ5/DWIj3UBIlfc=", + "dev": true, + "requires": { + "@cspotcode/source-map-support": "0.7.0", + "@tsconfig/node10": "^1.0.7", + "@tsconfig/node12": "^1.0.7", + "@tsconfig/node14": "^1.0.0", + "@tsconfig/node16": "^1.0.2", + "acorn": "^8.4.1", + "acorn-walk": "^8.1.1", + "arg": "^4.1.0", + "create-require": "^1.1.0", + "diff": "^4.0.1", + "make-error": "^1.1.1", + "yn": "3.1.1" + } + }, "tslib": { "version": "1.14.1", "resolved": "https://registry.npmmirror.com/tslib/download/tslib-1.14.1.tgz", @@ -3563,6 +3982,12 @@ "is-typedarray": "^1.0.0" } }, + "typescript": { + "version": "4.5.4", + "resolved": "https://registry.npmmirror.com/typescript/download/typescript-4.5.4.tgz", + "integrity": "sha512-VgYs2A2QIRuGphtzFV7aQJduJ2gyfTljngLzjpfW9FoYZF6xuw1W0vW9ghCKLfcWrCFxK81CSGRAvS1pn4fIUg==", + "dev": true + }, "unique-string": { "version": "2.0.0", "resolved": "https://registry.npmmirror.com/unique-string/download/unique-string-2.0.0.tgz", @@ -3599,6 +4024,16 @@ "xdg-basedir": "^4.0.0" }, "dependencies": { + "chalk": { + "version": "4.1.2", + "resolved": "https://registry.npmmirror.com/chalk/download/chalk-4.1.2.tgz", + "integrity": "sha1-qsTit3NKdAhnrrFr8CqtVWoeegE=", + "dev": true, + "requires": { + "ansi-styles": "^4.1.0", + "supports-color": "^7.1.0" + } + }, "global-dirs": { "version": "3.0.0", "resolved": "https://registry.npmmirror.com/global-dirs/download/global-dirs-3.0.0.tgz", @@ -3626,6 +4061,15 @@ } } }, + "uri-js": { + "version": "4.4.1", + "resolved": "https://registry.npmmirror.com/uri-js/download/uri-js-4.4.1.tgz", + "integrity": "sha1-mxpSWVIlhZ5V9mnZKPiMbFfyp34=", + "dev": true, + "requires": { + "punycode": "^2.1.0" + } + }, "url-parse-lax": { "version": "3.0.0", "resolved": "https://registry.npmmirror.com/url-parse-lax/download/url-parse-lax-3.0.0.tgz", @@ -3638,8 +4082,7 @@ "util-deprecate": { "version": "1.0.2", "resolved": "https://registry.npmmirror.com/util-deprecate/download/util-deprecate-1.0.2.tgz", - "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=", - "dev": true + "integrity": "sha1-RQ1Nyfpw3nMnYvvS1KKJgUGaDM8=" }, "vali-date": { "version": "1.0.0", @@ -3666,6 +4109,14 @@ "builtins": "^1.0.3" } }, + "wcwidth": { + "version": "1.0.1", + "resolved": "https://registry.npmmirror.com/wcwidth/download/wcwidth-1.0.1.tgz", + "integrity": "sha1-8LDc+RW8X/FSivrbLA4XtTLaL+g=", + "requires": { + "defaults": "^1.0.3" + } + }, "which": { "version": "2.0.2", "resolved": "https://registry.npmmirror.com/which/download/which-2.0.2.tgz", @@ -3738,18 +4189,26 @@ "dev": true }, "yargs": { - "version": "16.2.0", - "resolved": "https://registry.npmmirror.com/yargs/download/yargs-16.2.0.tgz", - "integrity": "sha1-HIK/D2tqZur85+8w43b0mhJHf2Y=", + "version": "17.3.1", + "resolved": "https://registry.npmmirror.com/yargs/download/yargs-17.3.1.tgz", + "integrity": "sha512-WUANQeVgjLbNsEmGk20f+nlHgOqzRFpiGWVaBrYGYIGANIIu3lWjoyi0fNlFmJkvfhCZ6BXINe7/W2O2bV4iaA==", "dev": true, "requires": { "cliui": "^7.0.2", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", - "string-width": "^4.2.0", + "string-width": "^4.2.3", "y18n": "^5.0.5", - "yargs-parser": "^20.2.2" + "yargs-parser": "^21.0.0" + }, + "dependencies": { + "yargs-parser": { + "version": "21.0.0", + "resolved": "https://registry.npmmirror.com/yargs-parser/download/yargs-parser-21.0.0.tgz?cache=0&sync_timestamp=1637031019317&other_urls=https%3A%2F%2Fregistry.npmmirror.com%2Fyargs-parser%2Fdownload%2Fyargs-parser-21.0.0.tgz", + "integrity": "sha512-z9kApYUOCwoeZ78rfRYYWdiU/iNL6mwwYlkkZfJoyMR1xps+NEBX5X7XmRpxkZHhXJ6+Ey00IwKxBBSW9FIjyA==", + "dev": true + } } }, "yargs-parser": { @@ -3758,6 +4217,12 @@ "integrity": "sha1-LrfcOwKJcY/ClfNidThFxBoMlO4=", "dev": true }, + "yn": { + "version": "3.1.1", + "resolved": "https://registry.npmmirror.com/yn/download/yn-3.1.1.tgz", + "integrity": "sha1-HodAGgnXZ8HV6rJqbkwYUYLS61A=", + "dev": true + }, "yocto-queue": { "version": "0.1.0", "resolved": "https://registry.npmmirror.com/yocto-queue/download/yocto-queue-0.1.0.tgz", diff --git a/package.json b/package.json index d672502..ecf91ba 100644 --- a/package.json +++ b/package.json @@ -23,15 +23,14 @@ "url": "https://github.com/wang1212/create-web-app/issues" }, "license": "MIT", + "type": "module", "engines": { - "node": ">=12" + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" }, "author": "wang1212", "bin": { "create-web-app": "index.js", - "create-pwa": "index.js", - "create-react-app": "index-react.js", - "create-rpwa": "index-react.js" + "create-pwa": "index.js" }, "scripts": { "prepare": "husky install", @@ -44,17 +43,19 @@ "files": [ "bin/", "templates/", - "index.js", - "index-react.js" + "index.js" ], "dependencies": { - "chalk": "^4.1.1", - "fs-extra": "^10.0.0" + "chalk": "^5.0.0", + "fs-extra": "^10.0.0", + "inquirer": "^8.2.0", + "ora": "^6.0.1" }, "devDependencies": { - "@commitlint/cli": "^12.1.4", - "@commitlint/config-conventional": "^12.1.4", - "husky": "^6.0.0", - "np": "*" + "@commitlint/cli": "^16.0.1", + "@commitlint/config-conventional": "^16.0.0", + "husky": "^7.0.4", + "np": "*", + "prettier": "2.5.1" } }