@stackone/cli 1.35.1 → 1.36.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
@@ -720,33 +720,51 @@ stackone agent cleanup
720
720
 
721
721
  ### Local Development
722
722
 
723
+ This project uses [pnpm](https://pnpm.io) as its package manager. To install
724
+ pnpm follow the [pnpm install docs](https://pnpm.io/installation) — note that
725
+ unless you use the standalone installer, pnpm itself needs an existing Node.js
726
+ installation to run, so have one available before bootstrapping the repo.
727
+
728
+ The exact Node.js version used by this project (Node 22, see
729
+ `devEngines.runtime` in `package.json`) is managed by pnpm: it downloads the
730
+ pinned version on install and uses it for all `pnpm run` scripts, regardless
731
+ of which Node.js you have installed system-wide. This keeps every contributor
732
+ on the same toolchain.
733
+
734
+ Use the pnpm version pinned in the `packageManager` field of `package.json`
735
+ (Corepack and recent pnpm versions pick it up automatically). Older pnpm
736
+ releases ran the strict `engines` check before downloading the pinned Node
737
+ runtime ([pnpm/pnpm#10033](https://github.com/pnpm/pnpm/issues/10033)), so an
738
+ unpinned pnpm on a system Node outside the supported range can fail with
739
+ `ERR_PNPM_UNSUPPORTED_ENGINE` instead of fetching Node 22 as intended.
740
+
723
741
  ```bash
724
742
  # Install dependencies
725
- npm install
743
+ pnpm install
726
744
 
727
745
  # Build the package
728
- npm run build
746
+ pnpm build
729
747
 
730
748
  # Link for global testing
731
- npm link
749
+ pnpm link --global
732
750
 
733
751
  # Run tests
734
- npm test
752
+ pnpm test
735
753
 
736
754
  # Lint and format
737
- npm run lint:fix
755
+ pnpm lint:fix
738
756
  ```
739
757
 
740
758
  ### Building
741
759
 
742
760
  ```bash
743
- npm run build
761
+ pnpm build
744
762
  ```
745
763
 
746
764
  ### Testing
747
765
 
748
766
  ```bash
749
- npm test
767
+ pnpm test
750
768
  ```
751
769
 
752
770
  ## Publishing
@@ -754,7 +772,7 @@ npm test
754
772
  The package is configured to be published to NPM with public access:
755
773
 
756
774
  ```bash
757
- npm run publish-release
775
+ pnpm run publish-release
758
776
  ```
759
777
 
760
778
  ## Architecture
package/dist/cli.cjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- const e=require(`./agentConfig-KBkYYmMr.cjs`),t=require(`./cliCore-DZnmJlqN.cjs`);require(`./setupMigration-rqPZ8MV6.cjs`),require(`./agentApiKey-BDp7EFMI.cjs`);let n=require(`dotenv`);process.env.DOTENV_CONFIG_QUIET=`true`,(0,n.config)(),new t.t().run();
2
+ const e=require(`./agentConfig-KBkYYmMr.cjs`),t=require(`./cliCore-LP8Ix1bV.cjs`);require(`./setupMigration-rqPZ8MV6.cjs`),require(`./agentApiKey-BDp7EFMI.cjs`);let n=require(`dotenv`);process.env.DOTENV_CONFIG_QUIET=`true`,(0,n.config)(),new t.t().run();
package/dist/cli.mjs CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- import{t as e}from"./cliCore-_BZmg0kj.mjs";import"./agentConfig-BWQWMYKQ.mjs";import"./setupMigration-C1ShGzOu.mjs";import"./agentApiKey-CWXxJgCO.mjs";import{config as t}from"dotenv";process.env.DOTENV_CONFIG_QUIET=`true`,t(),new e().run();export{};
2
+ import{t as e}from"./cliCore-DmJbhV-N.mjs";import"./agentConfig-BWQWMYKQ.mjs";import"./setupMigration-C1ShGzOu.mjs";import"./agentApiKey-CWXxJgCO.mjs";import{config as t}from"dotenv";process.env.DOTENV_CONFIG_QUIET=`true`,t(),new e().run();export{};