@automattic/jetpack-cli 1.0.0 → 1.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -7
- package/bin/jp.js +1 -1
- package/package.json +7 -7
package/README.md
CHANGED
|
@@ -1,12 +1,8 @@
|
|
|
1
|
-
# Jetpack
|
|
1
|
+
# Jetpack CLI
|
|
2
2
|
|
|
3
|
+
This adds the `jp` command to the monorepo. It is a development tool that runs commands in a Docker container so you don't have to deal with mismatched node/pnpm/PHP versions.
|
|
3
4
|
|
|
4
|
-
|
|
5
|
-
### Installation From Git Repo
|
|
6
|
-
|
|
7
|
-
## Contribute
|
|
8
|
-
|
|
9
|
-
## Get Help
|
|
5
|
+
In large part this is a wrapper for the older `jetpack` command, but runs its commands in a Docker container.
|
|
10
6
|
|
|
11
7
|
## Security
|
|
12
8
|
|
package/bin/jp.js
CHANGED
|
@@ -170,7 +170,7 @@ const main = async () => {
|
|
|
170
170
|
fs.mkdirSync( resolve( monorepoRoot, 'tools/docker/wordpress' ), { recursive: true } );
|
|
171
171
|
|
|
172
172
|
// Create empty .env file
|
|
173
|
-
fs.
|
|
173
|
+
fs.closeSync( fs.openSync( resolve( monorepoRoot, 'tools/docker/.env' ), 'a' ) );
|
|
174
174
|
|
|
175
175
|
const configResult = spawnSync(
|
|
176
176
|
resolve( monorepoRoot, 'tools/docker/bin/monorepo' ),
|
package/package.json
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@automattic/jetpack-cli",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Docker-based CLI for Jetpack development",
|
|
5
|
-
"
|
|
6
|
-
|
|
5
|
+
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/jetpack-cli/#readme",
|
|
6
|
+
"bugs": {
|
|
7
|
+
"url": "https://github.com/Automattic/jetpack/labels/[JS Package] Jetpack Cli"
|
|
7
8
|
},
|
|
8
9
|
"repository": {
|
|
9
10
|
"type": "git",
|
|
10
11
|
"url": "https://github.com/Automattic/jetpack.git",
|
|
11
12
|
"directory": "projects/js-packages/jetpack-cli"
|
|
12
13
|
},
|
|
13
|
-
"
|
|
14
|
-
|
|
14
|
+
"type": "module",
|
|
15
|
+
"bin": {
|
|
16
|
+
"jp": "bin/jp.js"
|
|
15
17
|
},
|
|
16
|
-
"homepage": "https://github.com/Automattic/jetpack/tree/HEAD/projects/js-packages/jetpack-cli/#readme",
|
|
17
18
|
"files": [
|
|
18
19
|
"bin"
|
|
19
20
|
],
|
|
20
|
-
"type": "module",
|
|
21
21
|
"dependencies": {
|
|
22
22
|
"chalk": "^5.4.1",
|
|
23
23
|
"dotenv": "^16.3.1",
|