@fias/create-fias-plugin 1.1.1 → 1.1.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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@fias/create-fias-plugin",
3
- "version": "1.1.1",
3
+ "version": "1.1.2",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -367,9 +367,16 @@ A separate **runaway-loop detector** fires if any method is called >50 times in
367
367
 
368
368
  ### Check for Updates (DO THIS FIRST)
369
369
 
370
- **At the start of every new session**, check if the FIAS packages and tooling are up to date:
370
+ **At the start of every new session**, install dependencies if they aren't already, then check if the FIAS packages and tooling are up to date:
371
371
 
372
372
  ```bash
373
+ # 1. Install deps first if node_modules/ is missing.
374
+ # fias-dev is a binary inside @fias/plugin-dev-harness, not a standalone
375
+ # npm package — `npx fias-dev …` before `npm install` falls through to
376
+ # the registry and prints a misleading "404 Not Found" for fias-dev.
377
+ [ -d node_modules ] || npm install
378
+
379
+ # 2. Then check for updates.
373
380
  npm outdated @fias/arche-sdk @fias/plugin-dev-harness
374
381
  npx fias-dev sync --dry-run
375
382
  ```
@@ -367,9 +367,16 @@ A separate **runaway-loop detector** fires if any method is called >50 times in
367
367
 
368
368
  ### Check for Updates (DO THIS FIRST)
369
369
 
370
- **At the start of every new session**, check if the FIAS packages and tooling are up to date:
370
+ **At the start of every new session**, install dependencies if they aren't already, then check if the FIAS packages and tooling are up to date:
371
371
 
372
372
  ```bash
373
+ # 1. Install deps first if node_modules/ is missing.
374
+ # fias-dev is a binary inside @fias/plugin-dev-harness, not a standalone
375
+ # npm package — `npx fias-dev …` before `npm install` falls through to
376
+ # the registry and prints a misleading "404 Not Found" for fias-dev.
377
+ [ -d node_modules ] || npm install
378
+
379
+ # 2. Then check for updates.
373
380
  npm outdated @fias/arche-sdk @fias/plugin-dev-harness
374
381
  npx fias-dev sync --dry-run
375
382
  ```