@api-now/cli 1.0.4 → 1.2.0
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 +11 -1
- package/dist/index.js +170 -79
- package/package.json +7 -3
- package/dist/commands/auth.js +0 -314
- package/dist/commands/catalog.js +0 -289
- package/dist/commands/config.js +0 -59
- package/dist/commands/files.js +0 -293
- package/dist/commands/orgs.js +0 -104
- package/dist/commands/tokens.js +0 -145
- package/dist/utils/api.js +0 -54
- package/dist/utils/config.js +0 -202
- package/dist/utils/formatter.js +0 -195
- package/dist/utils/org-setup.js +0 -96
- package/dist/utils/prompt.js +0 -41
package/README.md
CHANGED
|
@@ -127,7 +127,17 @@ apinow catalog list --scope <all|public|organization|private> [--key <domain_key
|
|
|
127
127
|
## Development
|
|
128
128
|
|
|
129
129
|
### Local Setup & Building
|
|
130
|
-
|
|
130
|
+
|
|
131
|
+
> [!NOTE]
|
|
132
|
+
> This project depends on private workspace packages (such as `@api-now/core`) during development and local testing. Before running `npm install`, ensure you have configured a local `.npmrc` file at the root of the workspace with access to the private registry.
|
|
133
|
+
>
|
|
134
|
+
> Example `.npmrc`:
|
|
135
|
+
> ```ini
|
|
136
|
+
> @api-now:registry=https://registry.npmjs.org/
|
|
137
|
+
> //registry.npmjs.org/:_authToken=YOUR_NPM_TOKEN
|
|
138
|
+
> ```
|
|
139
|
+
|
|
140
|
+
1. Clone the repository, set up your `.npmrc`, and install dependencies:
|
|
131
141
|
```bash
|
|
132
142
|
npm install
|
|
133
143
|
```
|