@group107/create-wp107 1.1.1-rc.1 → 1.2.0-rc.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.
package/README.md CHANGED
@@ -22,7 +22,8 @@ Project setup and resume behavior are documented by the installed WP107 release.
22
22
  The delegated CLI captures routine subprocess output, keeps unique PHP/WP-CLI warnings separate from success lines,
23
23
  and accepts `--debug` when detailed successful-command output is needed.
24
24
 
25
- On the supported Windows developer setup, store the corporate ACF PRO key once through a hidden prompt:
25
+ On the supported Windows developer setup, store the corporate ACF PRO key once through a masked prompt (setup
26
+ also offers it when the site needs it):
26
27
 
27
28
  ```bash
28
29
  npx --yes @group107/create-wp107 acf-credential set
@@ -4,7 +4,7 @@ import { existsSync, realpathSync } from 'node:fs';
4
4
  import { dirname, join } from 'node:path';
5
5
  import { fileURLToPath } from 'node:url';
6
6
 
7
- export const WP107_VERSION = '1.1.1-rc.1';
7
+ export const WP107_VERSION = '1.2.0-rc.1';
8
8
  export const DEFAULT_SPEC = `git+https://github.com/Israel-IT/WP107.git#v${WP107_VERSION}`;
9
9
 
10
10
  export function accessTarget(spec) {
@@ -30,8 +30,10 @@ export function npmCli(env = process.env) {
30
30
  return candidates.find((candidate) => existsSync(candidate)) ?? null;
31
31
  }
32
32
 
33
- export function launch(args, { env = process.env, execute = spawnSync } = {}) {
33
+ export function launch(args, { env = process.env, execute = spawnSync, stderr = process.stderr } = {}) {
34
34
  const spec = env.WP107_PLATFORM_SPEC || DEFAULT_SPEC;
35
+ // The first run downloads the private release silently for a while; say what is happening.
36
+ if (stderr.isTTY) stderr.write(`WP107 ${WP107_VERSION}: preparing the installer…\n`);
35
37
  const access = checkAccess(spec, execute);
36
38
  if (!access.ok) {
37
39
  console.error(`[create-wp107] Cannot read the private WP107 release ${access.target.ref}.\n` +
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@group107/create-wp107",
3
- "version": "1.1.1-rc.1",
3
+ "version": "1.2.0-rc.1",
4
4
  "description": "Thin public launcher for the private WP107 project initializer",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",