@automattic/jetpack-cli 1.0.0 → 1.0.1

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.
Files changed (3) hide show
  1. package/README.md +3 -7
  2. package/bin/jp.js +1 -1
  3. package/package.json +1 -1
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
- ## How to install Jetpack plugin on your site
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.writeFileSync( resolve( monorepoRoot, 'tools/docker/.env' ), '' );
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,6 +1,6 @@
1
1
  {
2
2
  "name": "@automattic/jetpack-cli",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Docker-based CLI for Jetpack development",
5
5
  "bin": {
6
6
  "jp": "bin/jp.js"