Skip to content

Commit

Permalink
Merge branch 'master' into dependabot/npm_and_yarn/parse-path-and-ler…
Browse files Browse the repository at this point in the history
…na-7.0.0
  • Loading branch information
brandenrodgers committed Aug 8, 2023
2 parents 07e3411 + 54c087f commit ab10f2c
Show file tree
Hide file tree
Showing 268 changed files with 9,904 additions and 60,456 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,2 @@
node_modules/
tmp
packages/cli-lib/lib/processFieldsJs.js
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
- name: Use Node.js
uses: actions/setup-node@v2
with:
node-version: 10.x
node-version: 16.x
- name: Install Yarn
run: npm install -g yarn
- name: Install deps
Expand Down
8 changes: 7 additions & 1 deletion CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,10 +36,16 @@ cd /path/to/other-npm-package
yarn link @hubspot/cli
```

## Local development with cli-lib
When contributing to hubspot-cli, you may also need to make changes to cli-lib. To use a local version of cli-lib as a dependancy, use [yarn link](https://classic.yarnpkg.com/lang/en/docs/cli/link/).
1. Run `yarn link` in cli-lib to set up a symlink.
2. Run `yarn link @hubspot/cli-lib` in hubspot-cli to use the symlinked local package.

To stop using your local cli-lib, you can follow a similar process with [yarn unlink](https://classic.yarnpkg.com/en/docs/cli/unlink).

## Testing
Ensure you are on the minimum version of Node supported by the CLI before running any tests, since that is the version of node that the build step uses. To find the minimum,
see the `engine` entry in the [cli-lib package.json](./packages/cli-lib/package.json).
see the `engine` entry in the [cli package.json](./packages/cli/package.json).

Using [nvm](https://github.com/nvm-sh/nvm) to switch between versions will help speed up development.

Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ A CLI for HubSpot developers to enable local CMS development and automate their

See the `@hubspot/cli` [README](./packages/cli/README.md)

See the node.js `cli-lib` library [README](./packages/cli-lib/README.md)
See the node.js `cli-lib` library [README](https://github.com/HubSpot/cli-lib)

For information on the `hubspot.config.yml` file, see [HubspotConfigFile](./docs/HubspotConfigFile.md)

Expand Down
29 changes: 0 additions & 29 deletions docs/cli-lib/api/findConfig.md

This file was deleted.

27 changes: 0 additions & 27 deletions docs/cli-lib/api/getAccountConfig.md

This file was deleted.

51 changes: 0 additions & 51 deletions docs/cli-lib/api/getAccountId.md

This file was deleted.

35 changes: 0 additions & 35 deletions docs/cli-lib/api/getAndLoadConfigIfNeeded.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/cli-lib/api/getConfig.md

This file was deleted.

19 changes: 0 additions & 19 deletions docs/cli-lib/api/isConfigFlagEnabled.md

This file was deleted.

36 changes: 0 additions & 36 deletions docs/cli-lib/api/loadConfig.md

This file was deleted.

37 changes: 0 additions & 37 deletions docs/cli-lib/api/loadConfigFromEnvironment.md

This file was deleted.

28 changes: 0 additions & 28 deletions docs/cli-lib/api/updateAccountConfig.md

This file was deleted.

23 changes: 0 additions & 23 deletions docs/cli-lib/api/uploadFolder.md

This file was deleted.

30 changes: 0 additions & 30 deletions docs/cli-lib/api/validateConfig.md

This file was deleted.

Loading

0 comments on commit ab10f2c

Please sign in to comment.