Declare create-extension script dependencies (#33169)

This commit is contained in:
Paul Sealock 2022-05-26 09:07:19 +12:00 committed by GitHub
parent 434fab9ac5
commit 4bfecbf42a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 35 additions and 2 deletions

View File

@ -1683,6 +1683,16 @@ importers:
tslib: 2.3.1 tslib: 2.3.1
typescript: 4.6.2 typescript: 4.6.2
tools/create-extension:
specifiers:
chalk: ^4.1.2
fs-extra: 10.1.0
promptly: ^3.2.0
dependencies:
chalk: 4.1.2
fs-extra: 10.1.0
promptly: 3.2.0
tools/monorepo-merge: tools/monorepo-merge:
specifiers: specifiers:
'@oclif/core': ^1 '@oclif/core': ^1
@ -23915,6 +23925,15 @@ packages:
rimraf: 2.7.1 rimraf: 2.7.1
dev: true dev: true
/fs-extra/10.1.0:
resolution: {integrity: sha512-oRXApq54ETRj4eMiFzGnHWGy+zo5raudjuxN0b8H7s/RU2oW0Wvsx9O0ACRN/kRq9E8Vu/ReskGB5o3ji+FzHQ==}
engines: {node: '>=12'}
dependencies:
graceful-fs: 4.2.9
jsonfile: 6.1.0
universalify: 2.0.0
dev: false
/fs-extra/6.0.1: /fs-extra/6.0.1:
resolution: {integrity: sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA==} resolution: {integrity: sha512-GnyIkKhhzXZUWFCaJzvyDLEEgDkPfb4/TPvJCJVuS8MWZgoSsErf++QpiAlDnKFcqhRlm+tIOcencCjyJE6ZCA==}
dependencies: dependencies:
@ -33308,7 +33327,6 @@ packages:
resolution: {integrity: sha512-WnR9obtgW+rG4oUV3hSnNGl1pHm3V1H/qD9iJBumGSmVsSC5HpZOLuu8qdMb6yCItGfT7dcRszejr/5P3i9Pug==} resolution: {integrity: sha512-WnR9obtgW+rG4oUV3hSnNGl1pHm3V1H/qD9iJBumGSmVsSC5HpZOLuu8qdMb6yCItGfT7dcRszejr/5P3i9Pug==}
dependencies: dependencies:
read: 1.0.7 read: 1.0.7
dev: true
/prompts/2.4.2: /prompts/2.4.2:
resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==} resolution: {integrity: sha512-NxNv/kLguCA7p3jE8oL2aEBsrJWgAakBpgmgK6lpPWV+WuOmY6r2/zbAVnP+T8bQlA0nzHXSJSJW0Hq7ylaD2Q==}
@ -34473,7 +34491,6 @@ packages:
engines: {node: '>=0.8'} engines: {node: '>=0.8'}
dependencies: dependencies:
mute-stream: 0.0.8 mute-stream: 0.0.8
dev: true
/readable-stream/2.3.7: /readable-stream/2.3.7:
resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==} resolution: {integrity: sha512-Ebho8K4jIbHAxnuxi7o42OrZgF/ZTNcsZj6nRKyUmkhLFq8CHItp/fy6hQZuZmP/n3yZ9VBUbp4zz/mX8hmYPw==}

View File

@ -3,3 +3,4 @@ packages:
- 'plugins/**' - 'plugins/**'
- 'tools/monorepo-merge' - 'tools/monorepo-merge'
- 'tools/code-analyzer' - 'tools/code-analyzer'
- 'tools/create-extension'

View File

@ -0,0 +1,15 @@
{
"name": "create-extension",
"version": "0.0.0",
"description": "A tool to scaffold out an Admin ready WooCommerce extension",
"author": "Automattic",
"homepage": "https://github.com/woocommerce/woocommerce",
"license": "GPLv2",
"main": "index.js",
"repository": "woocommerce/woocommerce",
"dependencies": {
"chalk": "^4.1.2",
"fs-extra": "10.1.0",
"promptly": "^3.2.0"
}
}