From 89786465ae3a43602b0d67e5dc89b729ccd503b3 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Fri, 24 Jul 2020 17:19:44 -0500 Subject: [PATCH 01/66] Update nr1-subscription.mdx Updated for anchor link fix. --- src/markdown-pages/nr1-cli/nr1-subscription.mdx | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-subscription.mdx b/src/markdown-pages/nr1-cli/nr1-subscription.mdx index 3c40f6b45..64af3b60e 100644 --- a/src/markdown-pages/nr1-cli/nr1-subscription.mdx +++ b/src/markdown-pages/nr1-cli/nr1-subscription.mdx @@ -18,9 +18,9 @@ To manage your Nerdpack subscriptions, use the commands below. You can click any | Command | Description | |---|---| -| [`nr1 subscription:set`](#nr1-subscription-set) | Subscribes your account to a Nerdpack and channel. | -| [`nr1 subscription:list`](#nr1-subscription-list) | Lists all the Nerdpacks your account is subscribed to. | -| [`nr1 subscription:unset`](#nr1-subscription-unset) | Unsubscribes your account from a Nerdpack. | +| [`nr1 subscription:set`](#nr1-subscriptionset) | Subscribes your account to a Nerdpack and channel. | +| [`nr1 subscription:list`](#nr1-subscriptionlist) | Lists all the Nerdpacks your account is subscribed to. | +| [`nr1 subscription:unset`](#nr1-subscriptionunset) | Unsubscribes your account from a Nerdpack. | # Command details From 827ff09b3536ed35012f3e1af1aedac15c4bc629 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Fri, 24 Jul 2020 17:19:47 -0500 Subject: [PATCH 02/66] Update nr1-config.mdx Updated for anchor link fix. --- src/markdown-pages/nr1-cli/nr1-config.mdx | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-config.mdx b/src/markdown-pages/nr1-cli/nr1-config.mdx index 19f1756be..79e23a319 100644 --- a/src/markdown-pages/nr1-cli/nr1-config.mdx +++ b/src/markdown-pages/nr1-cli/nr1-config.mdx @@ -8,7 +8,6 @@ tileShorthand: description: 'Configure your New Relic One CLI preferences.' redirects: --- - To configure your New Relic One CLI preferences, use the commands below. You can click any command to see its usage options and additional details about the command. @@ -19,16 +18,16 @@ To configure your New Relic One CLI preferences, use the commands below. You can | Command | Description | |---|---| -| [`nr1 config:set`](#nr1-config-set) | Sets a specific configuration value. | -| [`nr1 config:get`](#nr1-config-get) | Shows a specific configuration. | -| [`nr1 config:list`](#nr1-config-list) | Lists your configuration choices. | -| [`nr1 config:delete`](#nr1-config-delete) | Removes the value of a specific configuration. | +| [`nr1 config:set`](#nr1-configset) | Sets a specific configuration value. | +| [`nr1 config:get`](#nr1-configget) | Shows a specific configuration. | +| [`nr1 config:list`](#nr1-configlist) | Lists your configuration choices. | +| [`nr1 config:delete`](#nr1-configdelete) | Removes the value of a specific configuration. | # Command details *** -## `nr1 config:set` +## `nr1 config:set` ### Set a configuration Sets a specific configuration value. @@ -66,8 +65,7 @@ Shows the value for a specific configuration. *** - -## `nr1 config:list` +## `nr1 config:list` ### See all your configurations Shows a list of all your configuration choices. From 822de9cfb6d70506a82517546c10887410a305a1 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:32:35 -0500 Subject: [PATCH 03/66] Create nr1-catalog.mdx Created first draft of nr1-catalog. --- src/markdown-pages/nr1-cli/nr1-catalog.mdx | 65 ++++++++++++++++++++++ 1 file changed, 65 insertions(+) create mode 100644 src/markdown-pages/nr1-cli/nr1-catalog.mdx diff --git a/src/markdown-pages/nr1-cli/nr1-catalog.mdx b/src/markdown-pages/nr1-cli/nr1-catalog.mdx new file mode 100644 index 000000000..224bd2080 --- /dev/null +++ b/src/markdown-pages/nr1-cli/nr1-catalog.mdx @@ -0,0 +1,65 @@ +--- +path: '/explore-docs/nr1-catalog' +title: 'New Relic One CLI catalog commands' +template: 'GuideTemplate' +description: 'An overview of the CLI commands you can use to manage your New Relic One Catalog information.' +tileShorthand: + title: 'Catalog CLI commands' + description: 'Manage your New Relic One Catalog with our CLI.' +redirects: +--- + + + +To manage your New Relic One Catalog, use the commands below. You can click any command to see its usage options and additional details about the command. + + + +
+ +| Command | Description | +|---|---| +| [`nr1 catalog:info`](#nr1-cataloginfo) | Shows the Nerdpack info stored in the catalog. | +| [`nr1 catalog:submit`](#nr1-catalogsubmit) | Gathers and submits the catalog info on the current folder. | + +# Command details + +*** + + +## `nr1 catalog:info` +### Subscribe to a Nerdpack +Shows the information about your application that's displayed in the New Relic One Catalog. + +If run within a specific Nerdpack folder, the info from that Nerdpack will be shown. If you don't want to get info from your local Nerdpack, use the `--nerdpack-id=NERDPACK_ID` option to query from a specific Nerdpack. + +### Usage +`$ nr1 catalog:info` + +### Options +| | | +|---|---| +| `-f, --field=FIELD` | Specifies which field you want info from. | +| `-i, --nerdpack-id=NERDPACK_ID` | Specifies which Nerdpack to get info from. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + +## `nr1 catalog:submit` +### See your subscription +Gathers the information you add to the catalog directory for your application and saves it to the New Relic One Catalog. See our [New Relic One Catalog docs](https://docs.newrelic.com/docs/new-relic-one/use-new-relic-one/build-new-relic-one/discover-manage-applications-new-relic-one-catalog#add_images_metadata_to_apps) for details on adding screenshots and metadata to your applications to make them easy to find, attractive, and informative. + + This command must be run on a Nerdpack folder. The command will search for specific files using convention names. + +### Usage +`$ nr1 catalog:submit` + +### Options +| | | +|---|---| +| `-P, --skip-screenshots` | Skips upload of screenshot assets. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | From 621f772e9605e9a46105e4fae2e779164f700a01 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:32:47 -0500 Subject: [PATCH 04/66] Update nr1-config.mdx Small spacing fix. --- src/markdown-pages/nr1-cli/nr1-config.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/markdown-pages/nr1-cli/nr1-config.mdx b/src/markdown-pages/nr1-cli/nr1-config.mdx index 79e23a319..51bbf44d5 100644 --- a/src/markdown-pages/nr1-cli/nr1-config.mdx +++ b/src/markdown-pages/nr1-cli/nr1-config.mdx @@ -8,6 +8,7 @@ tileShorthand: description: 'Configure your New Relic One CLI preferences.' redirects: --- + To configure your New Relic One CLI preferences, use the commands below. You can click any command to see its usage options and additional details about the command. From b6b3203c50f97140991c0e6158a1c68bcd02b25a Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:32:53 -0500 Subject: [PATCH 05/66] Update nr1-subscription.mdx Small spacing fix. --- src/markdown-pages/nr1-cli/nr1-subscription.mdx | 1 + 1 file changed, 1 insertion(+) diff --git a/src/markdown-pages/nr1-cli/nr1-subscription.mdx b/src/markdown-pages/nr1-cli/nr1-subscription.mdx index 64af3b60e..ed295344b 100644 --- a/src/markdown-pages/nr1-cli/nr1-subscription.mdx +++ b/src/markdown-pages/nr1-cli/nr1-subscription.mdx @@ -8,6 +8,7 @@ tileShorthand: description: 'Manage your Nerdpack subscriptions with the New Relic One CLI.' redirects: --- + To manage your Nerdpack subscriptions, use the commands below. You can click any command to see its usage options and additional details about the command. From 98372a4c6387bb8d7be68a5e218bab2545e4ecd7 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:33:02 -0500 Subject: [PATCH 06/66] Create nr1-plugins.mdx Created first draft of nr1-plugins. --- src/markdown-pages/nr1-cli/nr1-plugins.mdx | 134 +++++++++++++++++++++ 1 file changed, 134 insertions(+) create mode 100644 src/markdown-pages/nr1-cli/nr1-plugins.mdx diff --git a/src/markdown-pages/nr1-cli/nr1-plugins.mdx b/src/markdown-pages/nr1-cli/nr1-plugins.mdx new file mode 100644 index 000000000..047ac1c2b --- /dev/null +++ b/src/markdown-pages/nr1-cli/nr1-plugins.mdx @@ -0,0 +1,134 @@ +--- +path: '/explore-docs/nr1-plugins' +title: 'New Relic One CLI plugin commands' +template: 'GuideTemplate' +description: 'An overview of the CLI commands you can use to install and manage your plugins.' +tileShorthand: + title: 'Plugin CLI commands' + description: 'Install and manage plugins with the New Relic One CLI.' +redirects: +--- + + + +To install and manage your plugins, use the commands below. You can click any command to see its usage options and additional details about the command. + + + +
+ +| Command | Description | +|---|---| +| [`nr1 plugins:install`](#nr1-pluginsinstall) | Installs a plugin into the CLI. | +| [`nr1 plugins:link`](#nr1-pluginslink) | Links a plugin into the CLI for development. | +| [`nr1 plugins:update`](#nr1-pluginsupdate) | Updates your installed plugins. | +| [`nr1 plugins:uninstall`](#nr1-pluginsuninstall) | Removes a plugin from the CLI. | + +# Command details + +*** + +## `nr1 plugins:install` +### Install a plugin +Installs a plugin into the CLI. You can install plugins from npm or a git url. + +Please note that installing a plugin will override the core plugin. + + For example, if you have a core plugin that has a 'hello' command, then installing a plugin with a 'hello' command will override the core plugin implementation. This is useful if you want to update the core plugin functionality without patching and updating the whole CLI. + +### Usage +`$ nr1 plugins:install PLUGIN` + +### Arguments +| | | +|---|---| +| `PLUGIN` | The plugin you want to install. **required** | + +### Options +| | | +|---|---| +| `-f, --force` | Runs `yarn install --force`. This forces a re-download of all the plugin's packages. | +| `-h, --help` | Shows CLI help. | +| `--verbose` | Adds extra information to the output. | + +### Examples +* `$ nr1 plugins:install myplugin` +* `$ nr1 plugins:install https://github.com/someuser/someplugin` +* `$ nr1 plugins:install someuser/someplugin` + +### Aliases +* `$ nr1 plugins:add` + +
+ +*** + +## `nr1 plugins:link` +### Link your plugin +Links a local plugin into the CLI for development. + +Please note that installing a linked plugin will override your user-installed plugin or core plugin. + +For example, if you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work. + + + +### Usage +`$ nr1 plugins:link PATH` + +### Arguments +| | | +|---|---| +| `PATH` | Specifies the plugin's path. [Default: `.`]| + +### Options +| | | +|---|---| +| `-h, --help` | Shows CLI help. | +| `--verbose` | Adds extra information to the output. | + +### Examples +* `$ nr1 plugins:link myplugin` + +
+ +*** + +## `nr1 plugins:update` +### Update your plugins +Updates all of your installed plugins. + +### Usage +`$ nr1 plugins:update` + +### Options +| | | +|---|---| +| `-h, --help` | Shows CLI help. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + +## `nr1 plugins:uninstall` +### Uninstall your plugin +Removes a plugin from the CLI. + +### Usage +`$ nr1 plugins:uninstall PLUGIN` + +### Arguments +| | | +|---|---| +| `PLUGIN` | The plugin you want to uninstall. **required** | + +### Options +| | | +|---|---| +| `-h, --help` | Shows CLI help. | +| `--verbose` | Adds extra information to the output. | + +### Aliases +* `$ nr1 plugins:unlink` +* `$ nr1 plugins:remove` \ No newline at end of file From 68862bec5a19d14e3d01b2e8c7512ec49fb632d9 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:33:23 -0500 Subject: [PATCH 07/66] Create nr1-nerdpack.mdx Added undeploy command. --- src/markdown-pages/nr1-cli/nr1-nerdpack.mdx | 165 ++++++++++++++++++++ 1 file changed, 165 insertions(+) create mode 100644 src/markdown-pages/nr1-cli/nr1-nerdpack.mdx diff --git a/src/markdown-pages/nr1-cli/nr1-nerdpack.mdx b/src/markdown-pages/nr1-cli/nr1-nerdpack.mdx new file mode 100644 index 000000000..0f06ec2b1 --- /dev/null +++ b/src/markdown-pages/nr1-cli/nr1-nerdpack.mdx @@ -0,0 +1,165 @@ +--- +path: '/explore-docs/nr1-nerdpack' +title: 'New Relic One CLI Nerdpack commands' +template: 'GuideTemplate' +description: 'An overview of the CLI commands you can use to set up your New Relic One Nerdpacks.' +tileShorthand: + title: 'Nerdpack CLI commands' + description: 'Set up your Nerdpacks with the New Relic One CLI.' +redirects: +--- + + + +To set up your Nerdpacks, use the commands below. You can click any command to see its usage options and additional details about the command. + + + + +
+ +| Command | Description | +|---|---| +| [`nr1 nerdpack:clone`](#nr1-nerdpackclone) | Clones a Nerdpack from a git repository. | +| [`nr1 nerdpack:serve`](#nr1-nerdpackserve) | Serves your Nerdpack for testing and development purposes. | +| [`nr1 nerdpack:uuid`](#nr1-nerdpackuuid) | Shows or regenerates the UUID of a Nerdpack. | +| [`nr1 nerdpack:publish`](#nr1-nerdpackpublish) | Publishes your Nerdpack to New Relic. | +| [`nr1 nerdpack:deploy`](#nr1-nerdpackdeploy) | Deploys a Nerdpack version to a specific channel. | +| [`nr1 nerdpack:undeploy`](#nr1-nerdpackundeploy) | Undeploys a Nerdpack version from a specific channel. | + +# Command details + +*** + +## `nr1 nerdpack:clone` + +### Clone an existing Nerdpack +Duplicates an existing Nerdpack onto your local computer. You can clone an open source Nerdpack from [our Open Source GitHub repositories](https://opensource.newrelic.com/explore-projects/). After choosing a git repository, this command performs the following actions so that you can start using the Nerdpack: +1. Clones the repository. +2. Sets the repository as remote upstream. +3. Installs all of its dependencies (using npm). +4. Generates a new UUID using your profile, and commits it. + +### Usage +`$ nr1 nerdpack:clone OPTION` + +### Options +| | | +|---|---| +| `-r, --repo=REPO` | Repository location (either an HTTPS or SSH path). **(Required)** | +| `-p, --path=PATH` | Determines the directory to clone to (defaults to the repository name). | +| `-f, --force` | Replaces destination folder if it exists. | +| `--profile=PROFILE`| The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + +## `nr1 nerdpack:serve` +### Serve your Nerdpack locally +Launches a server with your Nerdpack locally on the [New Relic One platform](https://one.newrelic.com/?nerdpacks=local), where it can be tested live. + +To learn more about working with apps locally, see our guide on how to [serve, publish, and deploy documentation](/build-apps/publish-deploy/). + +### Usage +`$ nr1 nerdpack:serve` + +### Options +| | | +|---|---| +| `--profile=PROFILE`| The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + +## `nr1 nerdpack:uuid` +### Get your Nerdpack's UUID +Prints the UUID (Universal Unique ID) of your Nerdpack, by default. The UUID determines what data the Nerdpack can access and who can subscribe to the Nerdpack. To deploy a Nerdpack you didn't make, you'll have to assign it a new UUID by using the `-g` or `--generate` option. + +For more details, see the [Access to data page](https://developer.newrelic.com/build-tools/new-relic-one-applications/guide-to-authentication--data-access--and-permissions#Appaccesstodata) or [our workshop](https://github.com/newrelic/nr1-workshop/blob/master/lab-cli/INSTRUCTIONS.md) on GitHub. + +### Usage +`$ nr1 nerdpack:uuid` + +### Options +| | | +|---|---| +| `--profile=PROFILE`| The authentication profile you want to use. | +| `-f, --force` | If present, it will override the existing UUID without asking. | +| `-g, --generate` | Generates a new UUID if not available. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + +## `nr1 nerdpack:publish` +### Publish your Nerdpack +Publishes your Nerdpack to New Relic. + +Please note: +* If no additional parameters are passed in, this command will automatically deploy the Nerdpack onto the DEV channel. +* If you want to specify your own list of deploy channels, add the `--channel` option. For example, `$ nr1 nerdpack:publish --channel BETA --channel STABLE`. +* If you want to disable this behavior, add `-D` or `--skip-deploy` to the command. Then, you can use `nr1 nerdpack:deploy` to perform a deploy manually. + +For more on publishing and deploying, see [Deploy to New Relic One](/build-tools/new-relic-one-applications/publish-deploy). + +### Usage +`$ nr1 nerdpack:publish` + +### Options +| | | +|---|---| +| `-B, --skip-build` | Skips the previous build process. | +| `-D, --skip-deploy` | Skips the following deploy process. | +| `-c, --channel=DEV/BETA/STABLE` | Specifies the channel to deploys to. [default: STABLE] | +| `-f, --force` | Forces the publish, overriding any existing version in the registry. | +| `--dry-run` | Undergoes publishing process without actually publishing anything. | +| `--extra-metadata-path=extra-metadata-path` | Specifies a json file .path with extra metadata. [default: extra-metadata.json] | +| `--prerelease=STRING` | The value you enter will be appended to the current version of generated files. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + +## `nr1 nerdpack:deploy` +### Deploy your Nerdpack to a channel +Deploys a Nerdpack version to a specific channel (DEV, BETA, or STABLE). A channel can only have one Nerdpack version deployed to it at one time. If a channel has an existing Nerdpack associated with it, deploying a new Nerdpack version to that channel will undeploy the previous one. + +For more on publishing and deploying, see [Deploy to New Relic One](/build-tools/new-relic-one-applications/publish-deploy). + +### Usage +`$ nr1 nerdpack:deploy OPTION` + +### Options +| | | +|---|---| +| `-c, --channel=DEV/BETA/STABLE` | Specifies the channel to deploy to. **(required)** | +| `-i, --nerdpack-id=NERDPACK_ID` | Specifies the Nerdpack to deploy. By default, the command will use the one in package.json. | +| `--from-version=VERSION` | Specifies which version to deploy. By default, the command will use the one in package.json. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + +## `nr1 nerdpack:undeploy` +### Undeploy your Nerdpack +Undeploys a Nerdpack version from a specific channel (for example, DEV, BETA, or STABLE). + +### Usage +`$ nr1 nerdpack:undeploy OPTION` + +### Options +| | | +|---|---| +| `-c, --channel=DEV/BETA/STABLE` | Specifies the channel to undeploy from. **(required)** | +| `-i, --nerdpack-id=NERDPACK_ID` | Specifies the Nerdpack to deploy. By default, the command will use the one in package.json. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | \ No newline at end of file From dbb95c94434ef81d55ac0355dcaa6a341055baba Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:33:32 -0500 Subject: [PATCH 08/66] Create nr1-general.mdx Created 1st draft for nr1-general commands. --- src/markdown-pages/nr1-cli/nr1-general.mdx | 145 +++++++++++++++++++++ 1 file changed, 145 insertions(+) create mode 100644 src/markdown-pages/nr1-cli/nr1-general.mdx diff --git a/src/markdown-pages/nr1-cli/nr1-general.mdx b/src/markdown-pages/nr1-cli/nr1-general.mdx new file mode 100644 index 000000000..c9e7bb267 --- /dev/null +++ b/src/markdown-pages/nr1-cli/nr1-general.mdx @@ -0,0 +1,145 @@ +--- +path: '/explore-docs/nr1-general' +title: 'New Relic One CLI general commands' +template: 'GuideTemplate' +description: 'An overview of some general commands you can use with the New Relic One CLI.' +tileShorthand: + title: 'New Relic One general commands' + description: 'A few commands to get you started with the New Relic One CLI.' +redirects: +--- + + + +Here are a few commands to get you started with the New Relic One CLI. You can click any command to see its usage options and additional details about the command. + + + +
+ +| Command | Description | +|---|---| +| [`nr1 help`](#nr1-help) | Shows all `nr1` commands or details about each command. | +| [`nr1 update`](#nr1-update) | Updates to the latest version of the CLI. | +| [`nr1 create`](#nr1-create) | Creates a new component from a template list (Nerdpack, Nerdlet, launcher, or catalog). | +| [`nr1 profiles`](#nr1-profiles) | Manages the profiles you use to run CLI commands. | +| [`nr1 autocomplete`](#nr1-autocomplete) | Displays autocomplete installation instructions. | + +See our other New Relic One CLI docs for commands specific to [Nerdpack set-up](/explore-docs/nr1-nerdpack), [Nerdpack subscriptions](explore-docs/nr1-subscription), [CLI configuration](/explore-docs/nr1-config), [plugins](/explore-docs/nr1-plugins), or [catalogs](/explore-docs/nr1-catalog). + +# Command details + +*** + +## `nr1 help` +### See commands and get details +Shows all nr1 commands by default. To get details about a specific command, run `nr1 help COMMAND_NAME`. + +### Usage +`$ nr1 help` + +### Arguments +| | | +|---|---| +| `COMMAND_NAME` | The name of a particular command.| + +### Examples +* `$ nr1 help` +* `$ nr1 help nerdpack` +* `$ nr1 help nerdpack:deploy` + +
+ +*** + +## `nr1 update` +### Update your CLI +Updates to latest version of the CLI. You can specify which channel to update if you'd like. + +### Usage +`$ nr1 update` + +### Arguments +| | | +|---|---| +| `CHANNEL` | The name of a particular channel. | + +### Examples +* `$ nr1 update` +* `$ nr1 update somechannel` + +
+ +*** + +## `nr1 create` +### Create a new component +Creates a new component from our template list (either a Nerdpack, Nerdlet, launcher, or catalog). The CLI will walk you through this process. + +To learn more about Nerdpacks and their file structure, see [Nerdpack file structure](/explore-docs/nerdpack-file-structure). For more on how to set up your Nerdpacks, see our [Nerdpack CLI commands](/explore-docs/nr1-nerdpack). + +### Usage +`$ nr1 create` + +### Options +| | | +|---|---| +| `-f, --force` | If present, overrides existing files without asking. | +| `-n, --name=NAME` | Names the component. | +| `-t, --type=TYPE` | Specifies the component type. | +| `--path=PATH` | The route to the component. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + + +## `nr1 profiles` +### Manage your profiles keychain +Displays a list of commands you can use to manage your profiles. Run `nr1 help profiles:COMMAND` for more on their specific usages. You can have more than one profile, which is helpful for executing commands on multiple New Relic accounts. + +To learn more about setting up profiles, see [our Github workshop](https://github.com/newrelic/nr1-workshop/blob/master/lab-cli/INSTRUCTIONS.md). + +### Usage +`$ nr1 profiles:COMMAND` + +### Commands + +| | | +|---|---| +| `profiles:add` | Adds a new profile to your profiles keychain. | +| `profiles:default` | Chooses which profile should be default. | +| `profiles:list` | Lists the profiles on your keychain. | +| `profiles:remove | Removes a profile from your keychain. | + +
+ +*** + + +## `nr1 autocomplete` +### See autocomplete installation instructions +Displays the autocomplete installation instructions. + +By default, the command displays the autocomplete instructions for zsh. If you want instructions for bash, run `nr1 autocomplete bash`. + +### Usage +`$ nr1 autocomplete` + +### Arguments +| | | +|---|---| +| `SHELL` | The shell type you want instructions for. | + +### Options +| | | +|---|---| +| `-r, --refresh-cache` | Refreshes cache (ignores displaying instructions). | + +### Examples +* `$ nr1 autocomplete` +* `$ nr1 autocomplete zsh` +* `$ nr1 autocomplete bash` +* `$ nr1 autocomplete --refresh-cache` From a6393909595a714cee1c63711a1241a0bea3f4c0 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:40:01 -0500 Subject: [PATCH 09/66] Update nr1-general.mdx Added nrq nrql command. --- src/markdown-pages/nr1-cli/nr1-general.mdx | 33 +++++++++++++++++++--- 1 file changed, 29 insertions(+), 4 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-general.mdx b/src/markdown-pages/nr1-cli/nr1-general.mdx index c9e7bb267..1d49a926f 100644 --- a/src/markdown-pages/nr1-cli/nr1-general.mdx +++ b/src/markdown-pages/nr1-cli/nr1-general.mdx @@ -19,11 +19,12 @@ Here are a few commands to get you started with the New Relic One CLI. You can c | Command | Description | |---|---| -| [`nr1 help`](#nr1-help) | Shows all `nr1` commands or details about each command. | -| [`nr1 update`](#nr1-update) | Updates to the latest version of the CLI. | -| [`nr1 create`](#nr1-create) | Creates a new component from a template list (Nerdpack, Nerdlet, launcher, or catalog). | -| [`nr1 profiles`](#nr1-profiles) | Manages the profiles you use to run CLI commands. | +| [`nr1 help`](#nr1-help) | Shows all `nr1` commands or details about each command. | +| [`nr1 update`](#nr1-update) | Updates to the latest version of the CLI. | +| [`nr1 create`](#nr1-create) | Creates a new component from a template list (Nerdpack, Nerdlet, launcher, or catalog). | +| [`nr1 profiles`](#nr1-profiles) | Manages the profiles you use to run CLI commands. | | [`nr1 autocomplete`](#nr1-autocomplete) | Displays autocomplete installation instructions. | +| [`nr1 nrql`](#nr1-nrql) | Fetches data from New Relic using [NRQL](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) (New Relic query language). | | See our other New Relic One CLI docs for commands specific to [Nerdpack set-up](/explore-docs/nr1-nerdpack), [Nerdpack subscriptions](explore-docs/nr1-subscription), [CLI configuration](/explore-docs/nr1-config), [plugins](/explore-docs/nr1-plugins), or [catalogs](/explore-docs/nr1-catalog). @@ -143,3 +144,27 @@ By default, the command displays the autocomplete instructions for zsh. If you w * `$ nr1 autocomplete zsh` * `$ nr1 autocomplete bash` * `$ nr1 autocomplete --refresh-cache` + +
+ +*** + +## `nr1 nrql` +### Query using NRQL +Fetches data from New Relic databases using a NRQL (New Relic query language) query. + +To learn more about NRQL and how to use it, see our [NRQL docs](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) + + + +### Usage +`$ nr1 nrql OPTION ...` + +### Options +| | | +|---|---| +| `-a, --account=ACCOUNT` | The user account ID. **required** | +| `-q, --query=QUERY` | The NRQL query to run. **required** | +| `-u, --ugly` | Displays the content without tabs or spaces. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | From 7852fadeb97349756134a31ad7184572e14886c6 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:44:39 -0500 Subject: [PATCH 10/66] Update nr1-plugins.mdx Edited formatting slightly for arguments. --- src/markdown-pages/nr1-cli/nr1-plugins.mdx | 18 +++--------------- 1 file changed, 3 insertions(+), 15 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-plugins.mdx b/src/markdown-pages/nr1-cli/nr1-plugins.mdx index 047ac1c2b..ba00e235f 100644 --- a/src/markdown-pages/nr1-cli/nr1-plugins.mdx +++ b/src/markdown-pages/nr1-cli/nr1-plugins.mdx @@ -38,11 +38,7 @@ Please note that installing a plugin will override the core plugin. ### Usage `$ nr1 plugins:install PLUGIN` - -### Arguments -| | | -|---|---| -| `PLUGIN` | The plugin you want to install. **required** | +* `PLUGIN`: the name or URL of the plugin you want to install. **required** ### Options | | | @@ -75,11 +71,7 @@ For example, if you have a user-installed or core plugin that has a 'hello' comm ### Usage `$ nr1 plugins:link PATH` - -### Arguments -| | | -|---|---| -| `PATH` | Specifies the plugin's path. [Default: `.`]| +* `PATH`: The the plugin's path. [Default: `.`] ### Options | | | @@ -117,11 +109,7 @@ Removes a plugin from the CLI. ### Usage `$ nr1 plugins:uninstall PLUGIN` - -### Arguments -| | | -|---|---| -| `PLUGIN` | The plugin you want to uninstall. **required** | +* `PLUGIN`: the name of the plugin you want to uninstall. **required** | ### Options | | | From 1663d1abb4854a30f5f965eae44f882925789da4 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Mon, 27 Jul 2020 18:44:44 -0500 Subject: [PATCH 11/66] Update nr1-general.mdx fixed spacing. --- src/markdown-pages/nr1-cli/nr1-general.mdx | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-general.mdx b/src/markdown-pages/nr1-cli/nr1-general.mdx index 1d49a926f..ef71d4132 100644 --- a/src/markdown-pages/nr1-cli/nr1-general.mdx +++ b/src/markdown-pages/nr1-cli/nr1-general.mdx @@ -96,7 +96,6 @@ To learn more about Nerdpacks and their file structure, see [Nerdpack file struc *** - ## `nr1 profiles` ### Manage your profiles keychain Displays a list of commands you can use to manage your profiles. Run `nr1 help profiles:COMMAND` for more on their specific usages. You can have more than one profile, which is helpful for executing commands on multiple New Relic accounts. @@ -119,7 +118,6 @@ To learn more about setting up profiles, see [our Github workshop](https://githu *** - ## `nr1 autocomplete` ### See autocomplete installation instructions Displays the autocomplete installation instructions. @@ -155,8 +153,6 @@ Fetches data from New Relic databases using a NRQL (New Relic query language) qu To learn more about NRQL and how to use it, see our [NRQL docs](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) - - ### Usage `$ nr1 nrql OPTION ...` @@ -167,4 +163,4 @@ To learn more about NRQL and how to use it, see our [NRQL docs](https://newrelic | `-q, --query=QUERY` | The NRQL query to run. **required** | | `-u, --ugly` | Displays the content without tabs or spaces. | | `--profile=PROFILE` | The authentication profile you want to use. | -| `--verbose` | Adds extra information to the output. | +| `--verbose` | Adds extra information to the output. | \ No newline at end of file From c5a7e0b575f77b62061599efbc65c2fbe65d33c4 Mon Sep 17 00:00:00 2001 From: snyk-bot Date: Tue, 28 Jul 2020 04:52:16 +0000 Subject: [PATCH 12/66] fix: upgrade gatsby-plugin-mdx from 1.2.21 to 1.2.22 Snyk has created this PR to upgrade gatsby-plugin-mdx from 1.2.21 to 1.2.22. See this package in npm: https://www.npmjs.com/package/gatsby-plugin-mdx See this project in Snyk: https://app.snyk.io/org/github-newrelic/project/868cac7a-942a-4cb5-a87b-05381c8ca7ec?utm_source=github&utm_medium=upgrade-pr --- package-lock.json | 32 ++++++++++++++++---------------- package.json | 2 +- 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/package-lock.json b/package-lock.json index e1f7585ab..5a149457f 100644 --- a/package-lock.json +++ b/package-lock.json @@ -13120,9 +13120,9 @@ } }, "gatsby-plugin-mdx": { - "version": "1.2.21", - "resolved": "https://registry.npmjs.org/gatsby-plugin-mdx/-/gatsby-plugin-mdx-1.2.21.tgz", - "integrity": "sha512-RoMpr6lGYVZgx1GbdA0dpJRu+lt5SCP2qGFhF2r6fFrDkPPhgwbxyb/ZjcI1Nol3PC+Mh98tkJ/mNOPSyo7UTA==", + "version": "1.2.22", + "resolved": "https://registry.npmjs.org/gatsby-plugin-mdx/-/gatsby-plugin-mdx-1.2.22.tgz", + "integrity": "sha512-SBWP+ew9tygf0EVnOAqd2fqeHN8DceBGamEgNXeohay8XR33itcp/dE3j9p8ULwgOJtAqB+GDdBEzxUt2t9zoQ==", "requires": { "@babel/core": "^7.10.3", "@babel/generator": "^7.10.3", @@ -13139,7 +13139,7 @@ "escape-string-regexp": "^1.0.5", "eval": "^0.1.4", "fs-extra": "^8.1.0", - "gatsby-core-utils": "^1.3.10", + "gatsby-core-utils": "^1.3.11", "gray-matter": "^4.0.2", "json5": "^2.1.3", "loader-utils": "^1.4.0", @@ -14070,9 +14070,9 @@ } }, "caniuse-lite": { - "version": "1.0.30001105", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001105.tgz", - "integrity": "sha512-JupOe6+dGMr7E20siZHIZQwYqrllxotAhiaej96y6x00b/48rPt42o+SzOSCPbrpsDWvRja40Hwrj0g0q6LZJg==" + "version": "1.0.30001107", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001107.tgz", + "integrity": "sha512-86rCH+G8onCmdN4VZzJet5uPELII59cUzDphko3thQFgAQG1RNa+sVLDoALIhRYmflo5iSIzWY3vu1XTWtNMQQ==" }, "debug": { "version": "4.1.1", @@ -14083,14 +14083,14 @@ } }, "electron-to-chromium": { - "version": "1.3.504", - "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.504.tgz", - "integrity": "sha512-yOXnuPaaLAIZUVuXHYDCo3EeaiEfbFgYWCPH1tBMp+jznCq/zQYKnf6HmkKBmLJ0VES81avl18JZO1lx/XAHOw==" + "version": "1.3.510", + "resolved": "https://registry.npmjs.org/electron-to-chromium/-/electron-to-chromium-1.3.510.tgz", + "integrity": "sha512-sLtGB0znXdmo6lM8hy5wTVo+fLqvIuO8hEpgc0DvPmFZqvBu/WB7AarEwhxVKjf3rVbws/rC8Xf+AlsOb36lJQ==" }, "gatsby-core-utils": { - "version": "1.3.13", - "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-1.3.13.tgz", - "integrity": "sha512-2I8stv39t89fEbZ08VP5TsmlmB+0Jog4OH6ebf4+yaKxPjQCOEtui8TzMqJteqrIUhqV4gMzCgG4cZlRmbRqgQ==", + "version": "1.3.14", + "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-1.3.14.tgz", + "integrity": "sha512-jfC+x5rrYUfl70MHRLsOtsXqdlqIbQGVDKXrvp6IPIUP8TKU6XIpYktF0Yd4ldJIWmGZTa062RWUOd2DFBHVSw==", "requires": { "ci-info": "2.0.0", "configstore": "^5.0.1", @@ -14112,9 +14112,9 @@ } }, "node-releases": { - "version": "1.1.59", - "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.59.tgz", - "integrity": "sha512-H3JrdUczbdiwxN5FuJPyCHnGHIFqQ0wWxo+9j1kAXAzqNMAHlo+4I/sYYxpyK0irQ73HgdiyzD32oqQDcU2Osw==" + "version": "1.1.60", + "resolved": "https://registry.npmjs.org/node-releases/-/node-releases-1.1.60.tgz", + "integrity": "sha512-gsO4vjEdQaTusZAEebUWp2a5d7dF5DYoIpDG7WySnk7BuZDW+GPpHXoXXuYawRBr/9t5q54tirPz79kFIWg4dA==" }, "unified": { "version": "8.4.2", diff --git a/package.json b/package.json index 682f16cf9..de0c31d81 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "gatsby-plugin-emotion": "^4.3.9", "gatsby-plugin-layout": "^1.3.10", "gatsby-plugin-manifest": "^2.4.12", - "gatsby-plugin-mdx": "^1.2.21", + "gatsby-plugin-mdx": "^1.2.22", "gatsby-plugin-meta-redirect": "^1.1.1", "gatsby-plugin-offline": "^3.2.11", "gatsby-plugin-react-helmet": "^3.3.4", From a0102b6d9984d1e367a6439f69adb2ac22156cc8 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Tue, 28 Jul 2020 11:04:45 -0500 Subject: [PATCH 13/66] Update nr1-plugins.mdx Made slight copy edits. --- src/markdown-pages/nr1-cli/nr1-plugins.mdx | 19 +++++++++++++------ 1 file changed, 13 insertions(+), 6 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-plugins.mdx b/src/markdown-pages/nr1-cli/nr1-plugins.mdx index ba00e235f..cb97560b5 100644 --- a/src/markdown-pages/nr1-cli/nr1-plugins.mdx +++ b/src/markdown-pages/nr1-cli/nr1-plugins.mdx @@ -38,7 +38,9 @@ Please note that installing a plugin will override the core plugin. ### Usage `$ nr1 plugins:install PLUGIN` -* `PLUGIN`: the name or URL of the plugin you want to install. **required** + +### Arguments +* `PLUGIN`: the name, path, or URL of the plugin you want to install. **required** ### Options | | | @@ -63,15 +65,17 @@ Please note that installing a plugin will override the core plugin. ### Link your plugin Links a local plugin into the CLI for development. -Please note that installing a linked plugin will override your user-installed plugin or core plugin. +Please note that linking a plugin will override your user-installed plugin or core plugin. -For example, if you have a user-installed or core plugin that has a 'hello' command, installing a linked plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work. +For example, if you have a user-installed or core plugin that has a 'hello' command, linking a plugin with a 'hello' command will override the user-installed or core plugin implementation. This is useful for development work. ### Usage -`$ nr1 plugins:link PATH` -* `PATH`: The the plugin's path. [Default: `.`] +`$ nr1 plugins:link PLUGIN` + +### Arguments +* `PLUGIN`: the name, path, or URL of the plugin you want to link. **required** ### Options | | | @@ -81,6 +85,7 @@ For example, if you have a user-installed or core plugin that has a 'hello' comm ### Examples * `$ nr1 plugins:link myplugin` +* `$ nr1 plugins:link someuser/someplugin`
@@ -109,7 +114,9 @@ Removes a plugin from the CLI. ### Usage `$ nr1 plugins:uninstall PLUGIN` -* `PLUGIN`: the name of the plugin you want to uninstall. **required** | + +### Arguments +* `PLUGIN`: the name of the plugin you want to uninstall. **required** ### Options | | | From cf6982fc1825f98fe99c9072c0cab84e971a7ce0 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Tue, 28 Jul 2020 11:05:05 -0500 Subject: [PATCH 14/66] Update nr1-general.mdx Made slight copy edits. --- src/markdown-pages/nr1-cli/nr1-general.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-general.mdx b/src/markdown-pages/nr1-cli/nr1-general.mdx index ef71d4132..a9f5b4b43 100644 --- a/src/markdown-pages/nr1-cli/nr1-general.mdx +++ b/src/markdown-pages/nr1-cli/nr1-general.mdx @@ -112,7 +112,7 @@ To learn more about setting up profiles, see [our Github workshop](https://githu | `profiles:add` | Adds a new profile to your profiles keychain. | | `profiles:default` | Chooses which profile should be default. | | `profiles:list` | Lists the profiles on your keychain. | -| `profiles:remove | Removes a profile from your keychain. | +| `profiles:remove` | Removes a profile from your keychain. |
@@ -151,7 +151,7 @@ By default, the command displays the autocomplete instructions for zsh. If you w ### Query using NRQL Fetches data from New Relic databases using a NRQL (New Relic query language) query. -To learn more about NRQL and how to use it, see our [NRQL docs](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) +To learn more about NRQL and how to use it, see our [NRQL docs](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql). ### Usage `$ nr1 nrql OPTION ...` From 1b047c93bf5d771f17ac55cc7cd73e51963bc5a6 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Tue, 28 Jul 2020 11:39:29 -0500 Subject: [PATCH 15/66] Update nr1-nerdpack.mdx Deleted broken link. --- src/markdown-pages/nr1-cli/nr1-nerdpack.mdx | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-nerdpack.mdx b/src/markdown-pages/nr1-cli/nr1-nerdpack.mdx index 0f06ec2b1..c04b9693c 100644 --- a/src/markdown-pages/nr1-cli/nr1-nerdpack.mdx +++ b/src/markdown-pages/nr1-cli/nr1-nerdpack.mdx @@ -13,7 +13,6 @@ redirects: To set up your Nerdpacks, use the commands below. You can click any command to see its usage options and additional details about the command. -

@@ -79,7 +78,7 @@ To learn more about working with apps locally, see our guide on how to [serve, p ### Get your Nerdpack's UUID Prints the UUID (Universal Unique ID) of your Nerdpack, by default. The UUID determines what data the Nerdpack can access and who can subscribe to the Nerdpack. To deploy a Nerdpack you didn't make, you'll have to assign it a new UUID by using the `-g` or `--generate` option. -For more details, see the [Access to data page](https://developer.newrelic.com/build-tools/new-relic-one-applications/guide-to-authentication--data-access--and-permissions#Appaccesstodata) or [our workshop](https://github.com/newrelic/nr1-workshop/blob/master/lab-cli/INSTRUCTIONS.md) on GitHub. +For more details, see [our GitHub workshop](https://github.com/newrelic/nr1-workshop/blob/master/lab-cli/INSTRUCTIONS.md) on GitHub. ### Usage `$ nr1 nerdpack:uuid` From aee0130cbf27d46023a3f56b50ddf8b0bd136cac Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Tue, 28 Jul 2020 11:39:45 -0500 Subject: [PATCH 16/66] Create nr1-cli-revised.mdx 1st draft of revised nr1 cli home page. --- .../nr1-cli/nr1-cli-revised.mdx | 92 +++++++++++++++++++ 1 file changed, 92 insertions(+) create mode 100644 src/markdown-pages/nr1-cli/nr1-cli-revised.mdx diff --git a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx new file mode 100644 index 000000000..4a5c7a327 --- /dev/null +++ b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx @@ -0,0 +1,92 @@ +--- +path: '/explore-docs/nr1-cli' +title: 'New Relic One CLI reference' +template: 'GuideTemplate' +description: 'An overview of the CLI to help you build, deploy, and manage New Relic apps.' +tileShorthand: + title: 'New Relic One CLI reference' + description: 'Learn commands to build and enhance apps' +redirects: + - /build-tools/new-relic-one-applications/cli +--- + + + +To build a [New Relic One app](/build-apps/build-hello-world-app), you must install the New Relic One CLI. The CLI helps you build, publish, and manage your New Relic app. + + + +We provide a variety of tools for building New Relic One apps, including the New Relic One CLI (command line interface). This page will explain how to use [CLI commands](#new-relic-one-cli-commands) to: + +- Generate Nerdpack/Nerdlet templates + +- Locally serve Nerdpacks (when developing) + +- Publish and deploy + +- Subscribe to Nerdpacks + +- Add screenshots and metadata to the New Relic One Catalog + +## Installing the New Relic One CLI + +From _within_ New Relic, go to the [**Build your own application** launcher](https://one.newrelic.com/launcher/developer-center.launcher) and follow the instructions. This launcher will automatically generate an API key for the account you select, and give you the pre-populated commands to create a profile, generate your first "Hello World" app, and serve it locally. + +![Build New Relic One application](../../images/developercenter.png) + +## New Relic One CLI Commands + +This table gives descriptions for some of the most important CLI commands. For more context, including usage and option details, click any individual command or the command category. + +For details on user permissions, see [Authentication and permissions](/build-apps/set-up-dev-env). + +For more on how to serve and publish your application, see our guide on [Deploying your New Relic One app](/build-tools/new-relic-one-applications/publish-deploy). + +### [Get started](/explore-docs/nr1-general) +| | | +|-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| +| [`nr1 help`](/explore-docs/nr1-general/#nr1-help) | Shows all `nr1` commands or details about each command. | +| [`nr1 update`](/explore-docs/nr1-general/#nr1-update) | Updates to the latest version of the CLI. | +| [`nr1 create`](/explore-docs/nr1-general/#nr1-create) | Creates a new component from a template list (Nerdpack, Nerdlet, launcher, or catalog). | +| [`nr1 profiles`](/explore-docs/nr1-general/#nr1-profiles) | Manages the profiles you use to run CLI commands. | +| [`nr1 autocomplete`](/explore-docs/nr1-general/#nr1-autocomplete) | Displays autocomplete installation instructions. | +| [`nr1 nrql`](/explore-docs/nr1-general/#nr1-nrql) | Fetches data from New Relic using [NRQL](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) (New Relic query language). | | + +### [Configure your CLI preferences](/explore-docs/nr1-config) +| | | +|---|---| +| [`nr1 config:set`](/explore-docs/nr1-config/#nr1-configset) | Sets a specific configuration value. | +| [`nr1 config:get`](/explore-docs/nr1-config/#nr1-configget) | Shows a specific configuration. | +| [`nr1 config:list`](/explore-docs/nr1-config/#nr1-configlist) | Lists your configuration choices. | +| [`nr1 config:delete`](/explore-docs/nr1-config/#nr1-configdelete) | Removes the value of a specific configuration. | + +### [Set up your Nerdpacks](/explore-docs/nr1-nerdpack) +| | | +|-----------------------------------------------------------------------------|-----------------------------------------------------------------------------------------------------------------| +| [`nr1 nerdpack:clone`](/explore-docs/nr1-nerdpack/#nr1-nerdpackclone) | Clones an open source Nerdpack from [our GitHub repository](https://opensource.newrelic.com/explore-projects). | +| [`nr1 nerdpack:serve`](/explore-docs/nr1-nerdpack/#nr1-nerdpackserve) | Serves your Nerdpack for testing and development purposes. | +| [`nr1 nerdpack:uuid`](/explore-docs/nr1-nerdpack/#nr1-nerdpackuuid) | Shows or regenerates the UUID of a Nerdpack. | +| [`nr1 nerdpack:publish`](/explore-docs/nr1-nerdpack/#nr1-nerdpackpublish) | Publishes your Nerdpack to New Relic. | +| [`nr1 nerdpack:deploy`](/explore-docs/nr1-nerdpack/#nr1-nerdpackdeploy) | Deploys a Nerdpack version to a specific channel. | +| [`nr1 nerdpack:undeploy`](/explore-docs/nr1-nerdpack/#nr1-nerdpackundeploy) | Undeploys a Nerdpack version from a specific channel. | + +### [Manage your Nerdpack subscriptions](/explore-docs/nr1-subscriptions) +| | | +|------------------------------------------------------------------------------------|--------------------------------------------------------| +| [`nr1 subscription:set`](/explore-docs/nr1-subscriptions/#nr1-subscriptionset) | Subscribes your account to a Nerdpack and channel. | +| [`nr1 subscription:list`](/explore-docs/nr1-subscriptions/#nr1-subscriptionlist) | Lists all the Nerdpacks your account is subscribed to. | +| [`nr1 subscription:unset`](/explore-docs/nr1-subscriptions/#nr1-subscriptionunset) | Unsubscribes your account from a Nerdpack. | + +### [Install and manage plugins](/explore-docs/nr1-plugins) +| | | +|--------------------------------------------------------------------------------|----------------------------------------------| +| [`nr1 plugins:install`](/explore-docs/nr1-plugins/#nr1-pluginsinstall) | Installs a plugin into the CLI. | +| [`nr1 plugins:link`](/explore-docs/nr1-plugins/#nr1-pluginslink) | Links a plugin into the CLI for development. | +| [`nr1 plugins:update`](/explore-docs/nr1-plugins/#nr1-pluginsupdate) | Updates your installed plugins. | +| [`nr1 plugins:uninstall`](/explore-docs/nr1-plugins/#nr1-pluginsuninstall) | Removes a plugin from the CLI. | + +### [Manage catalog information](/explore-docs/nr1-catalog) +| | | +|------------------------------------------------------------------------|-------------------------------------------------------------| +| [`nr1 catalog:info`](/explore-docs/nr1-catalog/#nr1-cataloginfo) | Shows the Nerdpack info stored in the catalog. | +| [`nr1 catalog:submit`](/explore-docs/nr1-catalog/#nr1-catalogsubmit) | Gathers and submits the catalog info on the current folder. | From d67787fcde17bac244f5214fc434dd4bbb5d4e3c Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Tue, 28 Jul 2020 11:42:00 -0500 Subject: [PATCH 17/66] Update nr1-cli-revised.mdx --- src/markdown-pages/nr1-cli/nr1-cli-revised.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx index 4a5c7a327..5dfaab782 100644 --- a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx +++ b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx @@ -54,7 +54,7 @@ For more on how to serve and publish your application, see our guide on [Deploy ### [Configure your CLI preferences](/explore-docs/nr1-config) | | | -|---|---| +|-------------------------------------------------------------|---------------------------------------------------------| | [`nr1 config:set`](/explore-docs/nr1-config/#nr1-configset) | Sets a specific configuration value. | | [`nr1 config:get`](/explore-docs/nr1-config/#nr1-configget) | Shows a specific configuration. | | [`nr1 config:list`](/explore-docs/nr1-config/#nr1-configlist) | Lists your configuration choices. | From 3aaa31e16cf24369e333b99cf6f2a4db81d72bc0 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Tue, 28 Jul 2020 11:46:55 -0500 Subject: [PATCH 18/66] Update nr1-catalog.mdx Fixed headers. --- src/markdown-pages/nr1-cli/nr1-catalog.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-catalog.mdx b/src/markdown-pages/nr1-cli/nr1-catalog.mdx index 224bd2080..03d84bab8 100644 --- a/src/markdown-pages/nr1-cli/nr1-catalog.mdx +++ b/src/markdown-pages/nr1-cli/nr1-catalog.mdx @@ -28,7 +28,7 @@ To manage your New Relic One Catalog, use the commands below. You can click any ## `nr1 catalog:info` -### Subscribe to a Nerdpack +### Get catalog details Shows the information about your application that's displayed in the New Relic One Catalog. If run within a specific Nerdpack folder, the info from that Nerdpack will be shown. If you don't want to get info from your local Nerdpack, use the `--nerdpack-id=NERDPACK_ID` option to query from a specific Nerdpack. @@ -49,7 +49,7 @@ If run within a specific Nerdpack folder, the info from that Nerdpack will be sh *** ## `nr1 catalog:submit` -### See your subscription +### Send info to the catalog Gathers the information you add to the catalog directory for your application and saves it to the New Relic One Catalog. See our [New Relic One Catalog docs](https://docs.newrelic.com/docs/new-relic-one/use-new-relic-one/build-new-relic-one/discover-manage-applications-new-relic-one-catalog#add_images_metadata_to_apps) for details on adding screenshots and metadata to your applications to make them easy to find, attractive, and informative. This command must be run on a Nerdpack folder. The command will search for specific files using convention names. From 3a0d40665b4f9ca1300f3b1f6727f2eb5f8ba581 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Tue, 28 Jul 2020 12:06:15 -0500 Subject: [PATCH 19/66] Update nr1-config.mdx Added examples and additional context. --- src/markdown-pages/nr1-cli/nr1-config.mdx | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-config.mdx b/src/markdown-pages/nr1-cli/nr1-config.mdx index 51bbf44d5..5fe0517a5 100644 --- a/src/markdown-pages/nr1-cli/nr1-config.mdx +++ b/src/markdown-pages/nr1-cli/nr1-config.mdx @@ -13,6 +13,8 @@ redirects: To configure your New Relic One CLI preferences, use the commands below. You can click any command to see its usage options and additional details about the command. +Run `nr1 config:list` to see all your existing configurations and their keys. +

@@ -30,7 +32,7 @@ To configure your New Relic One CLI preferences, use the commands below. You can ## `nr1 config:set` ### Set a configuration -Sets a specific configuration value. +Sets a specific configuration value given a configuration key. By default, the command will prompt you for a new value after providing a key, but you can also use the `--k, --key=KEY` option to skip this step. ### Usage `$ nr1 config:set OPTION` @@ -44,6 +46,10 @@ Sets a specific configuration value. |` -t, --this-profile-only` | If present, this configuration will only apply while running with the specified profile.| | `--verbose` | Adds extra information to the output. | +### Examples +* `$ nr1 config:set --key=proxyEnabled` +* `$ nr1 config:set --key=proxyEnabled --value=ENABLED` +
*** @@ -68,7 +74,7 @@ Shows the value for a specific configuration. ## `nr1 config:list` ### See all your configurations -Shows a list of all your configuration choices. +Shows a list of all your configuration choices, including the configuration key, value, and origin. ### Usage `$ nr1 config:list` @@ -104,3 +110,7 @@ Removes the value of a specific configuration. ### Aliases * `nr1 config:remove` * `nr1 config:rm` + +### Examples: +* `$ nr1 config:delete --key=proxyHttp` + From 3166dedee15f0908e2fe6ed963b414470381e8e5 Mon Sep 17 00:00:00 2001 From: davidhou17 <55004296+davidhou17@users.noreply.github.com> Date: Wed, 29 Jul 2020 16:15:01 -0500 Subject: [PATCH 20/66] Update src/markdown-pages/nr1-cli/nr1-cli-revised.mdx Co-authored-by: John P Vajda --- src/markdown-pages/nr1-cli/nr1-cli-revised.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx index 5dfaab782..a7c636a47 100644 --- a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx +++ b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx @@ -36,7 +36,7 @@ From _within_ New Relic, go to the [**Build your own application** launcher](h ## New Relic One CLI Commands -This table gives descriptions for some of the most important CLI commands. For more context, including usage and option details, click any individual command or the command category. +This table provides descriptions for the New Relic One CLI commands. For more context, including usage and option details, click any individual command or the command category. For details on user permissions, see [Authentication and permissions](/build-apps/set-up-dev-env). From 3c45552f9ba35b94991fc56df506757b48bb7cfa Mon Sep 17 00:00:00 2001 From: davidhou17 <55004296+davidhou17@users.noreply.github.com> Date: Wed, 29 Jul 2020 16:15:10 -0500 Subject: [PATCH 21/66] Update src/markdown-pages/nr1-cli/nr1-cli-revised.mdx Co-authored-by: John P Vajda --- src/markdown-pages/nr1-cli/nr1-cli-revised.mdx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx index a7c636a47..1ed233ee8 100644 --- a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx +++ b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx @@ -47,7 +47,7 @@ For more on how to serve and publish your application, see our guide on [Deploy |-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| | [`nr1 help`](/explore-docs/nr1-general/#nr1-help) | Shows all `nr1` commands or details about each command. | | [`nr1 update`](/explore-docs/nr1-general/#nr1-update) | Updates to the latest version of the CLI. | -| [`nr1 create`](/explore-docs/nr1-general/#nr1-create) | Creates a new component from a template list (Nerdpack, Nerdlet, launcher, or catalog). | +| [`nr1 create`](/explore-docs/nr1-general/#nr1-create) | Creates a new component from a template (Nerdpack, Nerdlet, launcher, or catalog). | | [`nr1 profiles`](/explore-docs/nr1-general/#nr1-profiles) | Manages the profiles you use to run CLI commands. | | [`nr1 autocomplete`](/explore-docs/nr1-general/#nr1-autocomplete) | Displays autocomplete installation instructions. | | [`nr1 nrql`](/explore-docs/nr1-general/#nr1-nrql) | Fetches data from New Relic using [NRQL](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) (New Relic query language). | | From df240c8c8af8987215c165a47f27fae294ed49aa Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Wed, 29 Jul 2020 16:40:23 -0500 Subject: [PATCH 22/66] Create nr1-common.mdx Renamed from nr1-general.mdx to nr1-common.mdx --- src/markdown-pages/nr1-cli/nr1-common.mdx | 166 ++++++++++++++++++++++ 1 file changed, 166 insertions(+) create mode 100644 src/markdown-pages/nr1-cli/nr1-common.mdx diff --git a/src/markdown-pages/nr1-cli/nr1-common.mdx b/src/markdown-pages/nr1-cli/nr1-common.mdx new file mode 100644 index 000000000..2f70e4ba8 --- /dev/null +++ b/src/markdown-pages/nr1-cli/nr1-common.mdx @@ -0,0 +1,166 @@ +--- +path: '/explore-docs/nr1-common' +title: 'New Relic One CLI common commands' +template: 'GuideTemplate' +description: 'An overview of common commands you can use with the New Relic One CLI.' +tileShorthand: + title: 'New Relic One general commands' + description: 'A few commands to get you started with the New Relic One CLI.' +redirects: +--- + + + +Here are a few common commands to get you started with the New Relic One CLI. You can click any command to see its usage options and additional details about the command. + + + +
+ +| Command | Description | +|---|---| +| [`nr1 help`](#nr1-help) | Shows all `nr1` commands or details about each command. | +| [`nr1 update`](#nr1-update) | Updates to the latest version of the CLI. | +| [`nr1 create`](#nr1-create) | Creates a new component from a template (Nerdpack, Nerdlet, launcher, or catalog). | +| [`nr1 profiles`](#nr1-profiles) | Manages the profiles you use to run CLI commands. | +| [`nr1 autocomplete`](#nr1-autocomplete) | Displays autocomplete installation instructions. | +| [`nr1 nrql`](#nr1-nrql) | Fetches data from New Relic using [NRQL](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) (New Relic query language). | | + +See our other New Relic One CLI docs for commands specific to [Nerdpack set-up](/explore-docs/nr1-nerdpack), [Nerdpack subscriptions](explore-docs/nr1-subscription), [CLI configuration](/explore-docs/nr1-config), [plugins](/explore-docs/nr1-plugins), or [catalogs](/explore-docs/nr1-catalog). + +# Command details + +*** + +## `nr1 help` +### See commands and get details +Shows all nr1 commands by default. To get details about a specific command, run `nr1 help COMMAND_NAME`. + +### Usage +`$ nr1 help` + +### Arguments +| | | +|---|---| +| `COMMAND_NAME` | The name of a particular command.| + +### Examples +* `$ nr1 help` +* `$ nr1 help nerdpack` +* `$ nr1 help nerdpack:deploy` + +
+ +*** + +## `nr1 update` +### Update your CLI +Updates to latest version of the CLI. You can specify which channel to update if you'd like. + +### Usage +`$ nr1 update` + +### Arguments +| | | +|---|---| +| `CHANNEL` | The name of a particular channel. | + +### Examples +* `$ nr1 update` +* `$ nr1 update somechannel` + +
+ +*** + +## `nr1 create` +### Create a new component +Creates a new component from our template (either a Nerdpack, Nerdlet, launcher, or catalog). The CLI will walk you through this process. + +To learn more about Nerdpacks and their file structure, see [Nerdpack file structure](/explore-docs/nerdpack-file-structure). For more on how to set up your Nerdpacks, see our [Nerdpack CLI commands](/explore-docs/nr1-nerdpack). + +### Usage +`$ nr1 create` + +### Options +| | | +|---|---| +| `-f, --force` | If present, overrides existing files without asking. | +| `-n, --name=NAME` | Names the component. | +| `-t, --type=TYPE` | Specifies the component type. | +| `--path=PATH` | The route to the component. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | + +
+ +*** + +## `nr1 profiles` +### Manage your profiles keychain +Displays a list of commands you can use to manage your profiles. Run `nr1 help profiles:COMMAND` for more on their specific usages. You can have more than one profile, which is helpful for executing commands on multiple New Relic accounts. + +To learn more about setting up profiles, see [our Github workshop](https://github.com/newrelic/nr1-workshop/blob/master/lab-cli/INSTRUCTIONS.md). + +### Usage +`$ nr1 profiles:COMMAND` + +### Commands + +| | | +|---|---| +| `profiles:add` | Adds a new profile to your profiles keychain. | +| `profiles:default` | Chooses which profile should be default. | +| `profiles:list` | Lists the profiles on your keychain. | +| `profiles:remove` | Removes a profile from your keychain. | + +
+ +*** + +## `nr1 autocomplete` +### See autocomplete installation instructions +Displays the autocomplete installation instructions. + +By default, the command displays the autocomplete instructions for zsh. If you want instructions for bash, run `nr1 autocomplete bash`. + +### Usage +`$ nr1 autocomplete` + +### Arguments +| | | +|---|---| +| `SHELL` | The shell type you want instructions for. | + +### Options +| | | +|---|---| +| `-r, --refresh-cache` | Refreshes cache (ignores displaying instructions). | + +### Examples +* `$ nr1 autocomplete` +* `$ nr1 autocomplete zsh` +* `$ nr1 autocomplete bash` +* `$ nr1 autocomplete --refresh-cache` + +
+ +*** + +## `nr1 nrql` +### Query using NRQL +Fetches data from New Relic databases using a NRQL (New Relic query language) query. + +To learn more about NRQL and how to use it, see our [NRQL docs](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql). + +### Usage +`$ nr1 nrql OPTION ...` + +### Options +| | | +|---|---| +| `-a, --account=ACCOUNT` | The user account ID. **required** | +| `-q, --query=QUERY` | The NRQL query to run. **required** | +| `-u, --ugly` | Displays the content without tabs or spaces. | +| `--profile=PROFILE` | The authentication profile you want to use. | +| `--verbose` | Adds extra information to the output. | \ No newline at end of file From 373785e9c91eb1faf894f6008f57a96aaccda49e Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Wed, 29 Jul 2020 16:40:26 -0500 Subject: [PATCH 23/66] Delete nr1-general.mdx Renamed from nr1-general.mdx to nr1-common.mdx --- src/markdown-pages/nr1-cli/nr1-general.mdx | 166 --------------------- 1 file changed, 166 deletions(-) delete mode 100644 src/markdown-pages/nr1-cli/nr1-general.mdx diff --git a/src/markdown-pages/nr1-cli/nr1-general.mdx b/src/markdown-pages/nr1-cli/nr1-general.mdx deleted file mode 100644 index a9f5b4b43..000000000 --- a/src/markdown-pages/nr1-cli/nr1-general.mdx +++ /dev/null @@ -1,166 +0,0 @@ ---- -path: '/explore-docs/nr1-general' -title: 'New Relic One CLI general commands' -template: 'GuideTemplate' -description: 'An overview of some general commands you can use with the New Relic One CLI.' -tileShorthand: - title: 'New Relic One general commands' - description: 'A few commands to get you started with the New Relic One CLI.' -redirects: ---- - - - -Here are a few commands to get you started with the New Relic One CLI. You can click any command to see its usage options and additional details about the command. - - - -
- -| Command | Description | -|---|---| -| [`nr1 help`](#nr1-help) | Shows all `nr1` commands or details about each command. | -| [`nr1 update`](#nr1-update) | Updates to the latest version of the CLI. | -| [`nr1 create`](#nr1-create) | Creates a new component from a template list (Nerdpack, Nerdlet, launcher, or catalog). | -| [`nr1 profiles`](#nr1-profiles) | Manages the profiles you use to run CLI commands. | -| [`nr1 autocomplete`](#nr1-autocomplete) | Displays autocomplete installation instructions. | -| [`nr1 nrql`](#nr1-nrql) | Fetches data from New Relic using [NRQL](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) (New Relic query language). | | - -See our other New Relic One CLI docs for commands specific to [Nerdpack set-up](/explore-docs/nr1-nerdpack), [Nerdpack subscriptions](explore-docs/nr1-subscription), [CLI configuration](/explore-docs/nr1-config), [plugins](/explore-docs/nr1-plugins), or [catalogs](/explore-docs/nr1-catalog). - -# Command details - -*** - -## `nr1 help` -### See commands and get details -Shows all nr1 commands by default. To get details about a specific command, run `nr1 help COMMAND_NAME`. - -### Usage -`$ nr1 help` - -### Arguments -| | | -|---|---| -| `COMMAND_NAME` | The name of a particular command.| - -### Examples -* `$ nr1 help` -* `$ nr1 help nerdpack` -* `$ nr1 help nerdpack:deploy` - -
- -*** - -## `nr1 update` -### Update your CLI -Updates to latest version of the CLI. You can specify which channel to update if you'd like. - -### Usage -`$ nr1 update` - -### Arguments -| | | -|---|---| -| `CHANNEL` | The name of a particular channel. | - -### Examples -* `$ nr1 update` -* `$ nr1 update somechannel` - -
- -*** - -## `nr1 create` -### Create a new component -Creates a new component from our template list (either a Nerdpack, Nerdlet, launcher, or catalog). The CLI will walk you through this process. - -To learn more about Nerdpacks and their file structure, see [Nerdpack file structure](/explore-docs/nerdpack-file-structure). For more on how to set up your Nerdpacks, see our [Nerdpack CLI commands](/explore-docs/nr1-nerdpack). - -### Usage -`$ nr1 create` - -### Options -| | | -|---|---| -| `-f, --force` | If present, overrides existing files without asking. | -| `-n, --name=NAME` | Names the component. | -| `-t, --type=TYPE` | Specifies the component type. | -| `--path=PATH` | The route to the component. | -| `--profile=PROFILE` | The authentication profile you want to use. | -| `--verbose` | Adds extra information to the output. | - -
- -*** - -## `nr1 profiles` -### Manage your profiles keychain -Displays a list of commands you can use to manage your profiles. Run `nr1 help profiles:COMMAND` for more on their specific usages. You can have more than one profile, which is helpful for executing commands on multiple New Relic accounts. - -To learn more about setting up profiles, see [our Github workshop](https://github.com/newrelic/nr1-workshop/blob/master/lab-cli/INSTRUCTIONS.md). - -### Usage -`$ nr1 profiles:COMMAND` - -### Commands - -| | | -|---|---| -| `profiles:add` | Adds a new profile to your profiles keychain. | -| `profiles:default` | Chooses which profile should be default. | -| `profiles:list` | Lists the profiles on your keychain. | -| `profiles:remove` | Removes a profile from your keychain. | - -
- -*** - -## `nr1 autocomplete` -### See autocomplete installation instructions -Displays the autocomplete installation instructions. - -By default, the command displays the autocomplete instructions for zsh. If you want instructions for bash, run `nr1 autocomplete bash`. - -### Usage -`$ nr1 autocomplete` - -### Arguments -| | | -|---|---| -| `SHELL` | The shell type you want instructions for. | - -### Options -| | | -|---|---| -| `-r, --refresh-cache` | Refreshes cache (ignores displaying instructions). | - -### Examples -* `$ nr1 autocomplete` -* `$ nr1 autocomplete zsh` -* `$ nr1 autocomplete bash` -* `$ nr1 autocomplete --refresh-cache` - -
- -*** - -## `nr1 nrql` -### Query using NRQL -Fetches data from New Relic databases using a NRQL (New Relic query language) query. - -To learn more about NRQL and how to use it, see our [NRQL docs](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql). - -### Usage -`$ nr1 nrql OPTION ...` - -### Options -| | | -|---|---| -| `-a, --account=ACCOUNT` | The user account ID. **required** | -| `-q, --query=QUERY` | The NRQL query to run. **required** | -| `-u, --ugly` | Displays the content without tabs or spaces. | -| `--profile=PROFILE` | The authentication profile you want to use. | -| `--verbose` | Adds extra information to the output. | \ No newline at end of file From 86bc2928df32a578cb437c99cc4fe72df63a9371 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Wed, 29 Jul 2020 16:45:17 -0500 Subject: [PATCH 24/66] Update nr1-common.mdx --- src/markdown-pages/nr1-cli/nr1-common.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-common.mdx b/src/markdown-pages/nr1-cli/nr1-common.mdx index 2f70e4ba8..cb8d7a35b 100644 --- a/src/markdown-pages/nr1-cli/nr1-common.mdx +++ b/src/markdown-pages/nr1-cli/nr1-common.mdx @@ -5,13 +5,13 @@ template: 'GuideTemplate' description: 'An overview of common commands you can use with the New Relic One CLI.' tileShorthand: title: 'New Relic One general commands' - description: 'A few commands to get you started with the New Relic One CLI.' + description: 'Common commands to get you started with the New Relic One CLI.' redirects: --- -Here are a few common commands to get you started with the New Relic One CLI. You can click any command to see its usage options and additional details about the command. +Here is a list of common commands to get you started with the New Relic One CLI. You can click any command to see its usage options and additional details about the command. From 77a1230715ec5ddef59eace9d1385c74ac325b75 Mon Sep 17 00:00:00 2001 From: davidhou17 Date: Wed, 29 Jul 2020 17:08:15 -0500 Subject: [PATCH 25/66] Update nr1-cli-revised.mdx --- src/markdown-pages/nr1-cli/nr1-cli-revised.mdx | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx index 1ed233ee8..8301f0db5 100644 --- a/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx +++ b/src/markdown-pages/nr1-cli/nr1-cli-revised.mdx @@ -42,15 +42,15 @@ For details on user permissions, see [Authentication and permissions](/build-ap For more on how to serve and publish your application, see our guide on [Deploying your New Relic One app](/build-tools/new-relic-one-applications/publish-deploy). -### [Get started](/explore-docs/nr1-general) +### [Get started](/explore-docs/nr1-common) | | | |-------------------------------------------------------------------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------| -| [`nr1 help`](/explore-docs/nr1-general/#nr1-help) | Shows all `nr1` commands or details about each command. | -| [`nr1 update`](/explore-docs/nr1-general/#nr1-update) | Updates to the latest version of the CLI. | -| [`nr1 create`](/explore-docs/nr1-general/#nr1-create) | Creates a new component from a template (Nerdpack, Nerdlet, launcher, or catalog). | -| [`nr1 profiles`](/explore-docs/nr1-general/#nr1-profiles) | Manages the profiles you use to run CLI commands. | -| [`nr1 autocomplete`](/explore-docs/nr1-general/#nr1-autocomplete) | Displays autocomplete installation instructions. | -| [`nr1 nrql`](/explore-docs/nr1-general/#nr1-nrql) | Fetches data from New Relic using [NRQL](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) (New Relic query language). | | +| [`nr1 help`](/explore-docs/nr1-common/#nr1-help) | Shows all `nr1` commands or details about each command. | +| [`nr1 update`](/explore-docs/nr1-common/#nr1-update) | Updates to the latest version of the CLI. | +| [`nr1 create`](/explore-docs/nr1-common/#nr1-create) | Creates a new component from a template (Nerdpack, Nerdlet, launcher, or catalog). | +| [`nr1 profiles`](/explore-docs/nr1-common/#nr1-profiles) | Manages the profiles you use to run CLI commands. | +| [`nr1 autocomplete`](/explore-docs/nr1-common/#nr1-autocomplete) | Displays autocomplete installation instructions. | +| [`nr1 nrql`](/explore-docs/nr1-common/#nr1-nrql) | Fetches data from New Relic using [NRQL](https://newrelic.com/docs/query-data/nrql-new-relic-query-language/getting-started/introduction-nrql) (New Relic query language). | | ### [Configure your CLI preferences](/explore-docs/nr1-config) | | | From f8c7f2763a3b165305ce04498bd7825d90dbf967 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Fri, 31 Jul 2020 16:32:54 -0700 Subject: [PATCH 26/66] fix: bump gatsby-theme-newrelic version --- package-lock.json | 412 ++++++++++++++++++++++++++++++++++++++++++---- package.json | 2 +- 2 files changed, 383 insertions(+), 31 deletions(-) diff --git a/package-lock.json b/package-lock.json index da6b01d19..3e44ed178 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3771,9 +3771,9 @@ } }, "@newrelic/gatsby-theme-newrelic": { - "version": "1.2.3", - "resolved": "https://registry.npmjs.org/@newrelic/gatsby-theme-newrelic/-/gatsby-theme-newrelic-1.2.3.tgz", - "integrity": "sha512-ACy+Vf1socKdjJgenkO7ztFa6F0f6rvL8APXtE0W/dazY+v4+ldB21jKTq2TqijTDDLDt10KNqCVsHnvqoQaug==", + "version": "1.2.4", + "resolved": "https://registry.npmjs.org/@newrelic/gatsby-theme-newrelic/-/gatsby-theme-newrelic-1.2.4.tgz", + "integrity": "sha512-I1cCWbMladcaHRn7JXrI1P/uub6rAqtkJ+ra+1Gxft+U9D2dO/B6vnitNMrrOJTuNxT8pPh6zS1KVMJ+BTEfng==", "requires": { "@wry/equality": "^0.2.0", "babel-plugin-prismjs": "^2.0.1", @@ -3797,13 +3797,334 @@ }, "dependencies": { "@babel/runtime": { - "version": "7.10.5", - "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.10.5.tgz", - "integrity": "sha512-otddXKhdNn7d0ptoFRHtMLa8LqDxLYwTjB4nYgM1yy5N6gU/MUf8zqyyLltCH3yAVitBzmwK4us+DD0l/MauAg==", + "version": "7.11.0", + "resolved": "https://registry.npmjs.org/@babel/runtime/-/runtime-7.11.0.tgz", + "integrity": "sha512-qArkXsjJq7H+T86WrIFV0Fnu/tNOkZ4cgXmjkzAu3b/58D5mFIO8JH/y77t7C9q0OdDRdh9s7Ue5GasYssxtXw==", "requires": { "regenerator-runtime": "^0.13.4" } }, + "@jimp/bmp": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/bmp/-/bmp-0.14.0.tgz", + "integrity": "sha512-5RkX6tSS7K3K3xNEb2ygPuvyL9whjanhoaB/WmmXlJS6ub4DjTqrapu8j4qnIWmO4YYtFeTbDTXV6v9P1yMA5A==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0", + "bmp-js": "^0.1.0" + } + }, + "@jimp/core": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/core/-/core-0.14.0.tgz", + "integrity": "sha512-S62FcKdtLtj3yWsGfJRdFXSutjvHg7aQNiFogMbwq19RP4XJWqS2nOphu7ScB8KrSlyy5nPF2hkWNhLRLyD82w==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0", + "any-base": "^1.1.0", + "buffer": "^5.2.0", + "exif-parser": "^0.1.12", + "file-type": "^9.0.0", + "load-bmfont": "^1.3.1", + "mkdirp": "^0.5.1", + "phin": "^2.9.1", + "pixelmatch": "^4.0.2", + "tinycolor2": "^1.4.1" + } + }, + "@jimp/custom": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/custom/-/custom-0.14.0.tgz", + "integrity": "sha512-kQJMeH87+kWJdVw8F9GQhtsageqqxrvzg7yyOw3Tx/s7v5RToe8RnKyMM+kVtBJtNAG+Xyv/z01uYQ2jiZ3GwA==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/core": "^0.14.0" + } + }, + "@jimp/gif": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/gif/-/gif-0.14.0.tgz", + "integrity": "sha512-DHjoOSfCaCz72+oGGEh8qH0zE6pUBaBxPxxmpYJjkNyDZP7RkbBkZJScIYeQ7BmJxmGN4/dZn+MxamoQlr+UYg==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0", + "gifwrap": "^0.9.2", + "omggif": "^1.0.9" + } + }, + "@jimp/jpeg": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/jpeg/-/jpeg-0.14.0.tgz", + "integrity": "sha512-561neGbr+87S/YVQYnZSTyjWTHBm9F6F1obYHiyU3wVmF+1CLbxY3FQzt4YolwyQHIBv36Bo0PY2KkkU8BEeeQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0", + "jpeg-js": "^0.4.0" + } + }, + "@jimp/plugin-blit": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-blit/-/plugin-blit-0.14.0.tgz", + "integrity": "sha512-YoYOrnVHeX3InfgbJawAU601iTZMwEBZkyqcP1V/S33Qnz9uzH1Uj1NtC6fNgWzvX6I4XbCWwtr4RrGFb5CFrw==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-blur": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-blur/-/plugin-blur-0.14.0.tgz", + "integrity": "sha512-9WhZcofLrT0hgI7t0chf7iBQZib//0gJh9WcQMUt5+Q1Bk04dWs8vTgLNj61GBqZXgHSPzE4OpCrrLDBG8zlhQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-circle": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-circle/-/plugin-circle-0.14.0.tgz", + "integrity": "sha512-o5L+wf6QA44tvTum5HeLyLSc5eVfIUd5ZDVi5iRfO4o6GT/zux9AxuTSkKwnjhsG8bn1dDmywAOQGAx7BjrQVA==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-color": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-color/-/plugin-color-0.14.0.tgz", + "integrity": "sha512-JJz512SAILYV0M5LzBb9sbOm/XEj2fGElMiHAxb7aLI6jx+n0agxtHpfpV/AePTLm1vzzDxx6AJxXbKv355hBQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0", + "tinycolor2": "^1.4.1" + } + }, + "@jimp/plugin-contain": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-contain/-/plugin-contain-0.14.0.tgz", + "integrity": "sha512-RX2q233lGyaxiMY6kAgnm9ScmEkNSof0hdlaJAVDS1OgXphGAYAeSIAwzESZN4x3ORaWvkFefeVH9O9/698Evg==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-cover": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-cover/-/plugin-cover-0.14.0.tgz", + "integrity": "sha512-0P/5XhzWES4uMdvbi3beUgfvhn4YuQ/ny8ijs5kkYIw6K8mHcl820HahuGpwWMx56DJLHRl1hFhJwo9CeTRJtQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-crop": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-crop/-/plugin-crop-0.14.0.tgz", + "integrity": "sha512-Ojtih+XIe6/XSGtpWtbAXBozhCdsDMmy+THUJAGu2x7ZgKrMS0JotN+vN2YC3nwDpYkM+yOJImQeptSfZb2Sug==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-displace": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-displace/-/plugin-displace-0.14.0.tgz", + "integrity": "sha512-c75uQUzMgrHa8vegkgUvgRL/PRvD7paFbFJvzW0Ugs8Wl+CDMGIPYQ3j7IVaQkIS+cAxv+NJ3TIRBQyBrfVEOg==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-dither": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-dither/-/plugin-dither-0.14.0.tgz", + "integrity": "sha512-g8SJqFLyYexXQQsoh4dc1VP87TwyOgeTElBcxSXX2LaaMZezypmxQfLTzOFzZoK8m39NuaoH21Ou1Ftsq7LzVQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-fisheye": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-fisheye/-/plugin-fisheye-0.14.0.tgz", + "integrity": "sha512-BFfUZ64EikCaABhCA6mR3bsltWhPpS321jpeIQfJyrILdpFsZ/OccNwCgpW1XlbldDHIoNtXTDGn3E+vCE7vDg==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-flip": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-flip/-/plugin-flip-0.14.0.tgz", + "integrity": "sha512-WtL1hj6ryqHhApih+9qZQYA6Ye8a4HAmdTzLbYdTMrrrSUgIzFdiZsD0WeDHpgS/+QMsWwF+NFmTZmxNWqKfXw==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-gaussian": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-gaussian/-/plugin-gaussian-0.14.0.tgz", + "integrity": "sha512-uaLwQ0XAQoydDlF9tlfc7iD9drYPriFe+jgYnWm8fbw5cN+eOIcnneEX9XCOOzwgLPkNCxGox6Kxjn8zY6GxtQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-invert": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-invert/-/plugin-invert-0.14.0.tgz", + "integrity": "sha512-UaQW9X9vx8orQXYSjT5VcITkJPwDaHwrBbxxPoDG+F/Zgv4oV9fP+udDD6qmkgI9taU+44Fy+zm/J/gGcMWrdg==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-mask": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-mask/-/plugin-mask-0.14.0.tgz", + "integrity": "sha512-tdiGM69OBaKtSPfYSQeflzFhEpoRZ+BvKfDEoivyTjauynbjpRiwB1CaiS8En1INTDwzLXTT0Be9SpI3LkJoEA==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-normalize": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-normalize/-/plugin-normalize-0.14.0.tgz", + "integrity": "sha512-AfY8sqlsbbdVwFGcyIPy5JH/7fnBzlmuweb+Qtx2vn29okq6+HelLjw2b+VT2btgGUmWWHGEHd86oRGSoWGyEQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-print": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-print/-/plugin-print-0.14.0.tgz", + "integrity": "sha512-MwP3sH+VS5AhhSTXk7pui+tEJFsxnTKFY3TraFJb8WFbA2Vo2qsRCZseEGwpTLhENB7p/JSsLvWoSSbpmxhFAQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0", + "load-bmfont": "^1.4.0" + } + }, + "@jimp/plugin-resize": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-resize/-/plugin-resize-0.14.0.tgz", + "integrity": "sha512-qFeMOyXE/Bk6QXN0GQo89+CB2dQcXqoxUcDb2Ah8wdYlKqpi53skABkgVy5pW3EpiprDnzNDboMltdvDslNgLQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-rotate": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-rotate/-/plugin-rotate-0.14.0.tgz", + "integrity": "sha512-aGaicts44bvpTcq5Dtf93/8TZFu5pMo/61lWWnYmwJJU1RqtQlxbCLEQpMyRhKDNSfPbuP8nyGmaqXlM/82J0Q==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-scale": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-scale/-/plugin-scale-0.14.0.tgz", + "integrity": "sha512-ZcJk0hxY5ZKZDDwflqQNHEGRblgaR+piePZm7dPwPUOSeYEH31P0AwZ1ziceR74zd8N80M0TMft+e3Td6KGBHw==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-shadow": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-shadow/-/plugin-shadow-0.14.0.tgz", + "integrity": "sha512-p2igcEr/iGrLiTu0YePNHyby0WYAXM14c5cECZIVnq/UTOOIQ7xIcWZJ1lRbAEPxVVXPN1UibhZAbr3HAb5BjQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugin-threshold": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugin-threshold/-/plugin-threshold-0.14.0.tgz", + "integrity": "sha512-N4BlDgm/FoOMV/DQM2rSpzsgqAzkP0DXkWZoqaQrlRxQBo4zizQLzhEL00T/YCCMKnddzgEhnByaocgaaa0fKw==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0" + } + }, + "@jimp/plugins": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/plugins/-/plugins-0.14.0.tgz", + "integrity": "sha512-vDO3XT/YQlFlFLq5TqNjQkISqjBHT8VMhpWhAfJVwuXIpilxz5Glu4IDLK6jp4IjPR6Yg2WO8TmRY/HI8vLrOw==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/plugin-blit": "^0.14.0", + "@jimp/plugin-blur": "^0.14.0", + "@jimp/plugin-circle": "^0.14.0", + "@jimp/plugin-color": "^0.14.0", + "@jimp/plugin-contain": "^0.14.0", + "@jimp/plugin-cover": "^0.14.0", + "@jimp/plugin-crop": "^0.14.0", + "@jimp/plugin-displace": "^0.14.0", + "@jimp/plugin-dither": "^0.14.0", + "@jimp/plugin-fisheye": "^0.14.0", + "@jimp/plugin-flip": "^0.14.0", + "@jimp/plugin-gaussian": "^0.14.0", + "@jimp/plugin-invert": "^0.14.0", + "@jimp/plugin-mask": "^0.14.0", + "@jimp/plugin-normalize": "^0.14.0", + "@jimp/plugin-print": "^0.14.0", + "@jimp/plugin-resize": "^0.14.0", + "@jimp/plugin-rotate": "^0.14.0", + "@jimp/plugin-scale": "^0.14.0", + "@jimp/plugin-shadow": "^0.14.0", + "@jimp/plugin-threshold": "^0.14.0", + "timm": "^1.6.1" + } + }, + "@jimp/png": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/png/-/png-0.14.0.tgz", + "integrity": "sha512-0RV/mEIDOrPCcNfXSPmPBqqSZYwGADNRVUTyMt47RuZh7sugbYdv/uvKmQSiqRdR0L1sfbCBMWUEa5G/8MSbdA==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/utils": "^0.14.0", + "pngjs": "^3.3.3" + } + }, + "@jimp/tiff": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/tiff/-/tiff-0.14.0.tgz", + "integrity": "sha512-zBYDTlutc7j88G/7FBCn3kmQwWr0rmm1e0FKB4C3uJ5oYfT8645lftUsvosKVUEfkdmOaMAnhrf4ekaHcb5gQw==", + "requires": { + "@babel/runtime": "^7.7.2", + "utif": "^2.0.1" + } + }, + "@jimp/types": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/types/-/types-0.14.0.tgz", + "integrity": "sha512-hx3cXAW1KZm+b+XCrY3LXtdWy2U+hNtq0rPyJ7NuXCjU7lZR3vIkpz1DLJ3yDdS70hTi5QDXY3Cd9kd6DtloHQ==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/bmp": "^0.14.0", + "@jimp/gif": "^0.14.0", + "@jimp/jpeg": "^0.14.0", + "@jimp/png": "^0.14.0", + "@jimp/tiff": "^0.14.0", + "timm": "^1.6.1" + } + }, + "@jimp/utils": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/@jimp/utils/-/utils-0.14.0.tgz", + "integrity": "sha512-MY5KFYUru0y74IsgM/9asDwb3ERxWxXEu3CRCZEvE7DtT86y1bR1XgtlSliMrptjz4qbivNGMQSvUBpEFJDp1A==", + "requires": { + "@babel/runtime": "^7.7.2", + "regenerator-runtime": "^0.13.3" + } + }, "async": { "version": "2.6.3", "resolved": "https://registry.npmjs.org/async/-/async-2.6.3.tgz", @@ -3813,22 +4134,9 @@ } }, "file-type": { - "version": "12.4.2", - "resolved": "https://registry.npmjs.org/file-type/-/file-type-12.4.2.tgz", - "integrity": "sha512-UssQP5ZgIOKelfsaB5CuGAL+Y+q7EmONuiwF3N5HAH0t27rvrttgi6Ra9k/+DVaY9UF6+ybxu5pOXLUdA8N7Vg==" - }, - "gatsby-core-utils": { - "version": "1.3.14", - "resolved": "https://registry.npmjs.org/gatsby-core-utils/-/gatsby-core-utils-1.3.14.tgz", - "integrity": "sha512-jfC+x5rrYUfl70MHRLsOtsXqdlqIbQGVDKXrvp6IPIUP8TKU6XIpYktF0Yd4ldJIWmGZTa062RWUOd2DFBHVSw==", - "requires": { - "ci-info": "2.0.0", - "configstore": "^5.0.1", - "fs-extra": "^8.1.0", - "node-object-hash": "^2.0.0", - "proper-lockfile": "^4.1.1", - "xdg-basedir": "^4.0.0" - } + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-9.0.0.tgz", + "integrity": "sha512-Qe/5NJrgIOlwijpq3B7BEpzPFcgzggOTagZmkXQY4LA6bsXKTUstK7Wp12lEJ/mLKTpvIZxmIuRcLYWT6ov9lw==" }, "gatsby-plugin-emotion": { "version": "4.3.10", @@ -3848,9 +4156,9 @@ } }, "gatsby-plugin-sharp": { - "version": "2.6.23", - "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.23.tgz", - "integrity": "sha512-e68419vWq9zcSmvXJbWcv0tGMHFaqNNN7jwlDWusrK+8uv3iLCwQwIbqvq+ZmZ9ZVc7mQPsC/t3Xbuktj70vrg==", + "version": "2.6.24", + "resolved": "https://registry.npmjs.org/gatsby-plugin-sharp/-/gatsby-plugin-sharp-2.6.24.tgz", + "integrity": "sha512-tMcfnT4clBMv4Sok4sUvP7k+EIGKvQ9o8XGUT7QmKO/dybdXGhmH6N2jdSeL2Zt9xZliW5lxK5eLBTt5dH+VjQ==", "requires": { "@babel/runtime": "^7.10.3", "async": "^2.6.3", @@ -3863,7 +4171,7 @@ "imagemin-pngquant": "^6.0.1", "lodash": "^4.17.15", "mini-svg-data-uri": "^1.2.3", - "potrace": "^2.1.6", + "potrace": "^2.1.8", "probe-image-size": "^4.1.1", "progress": "^2.0.3", "semver": "^5.7.1", @@ -3905,6 +4213,11 @@ "xstate": "^4.11.0" }, "dependencies": { + "file-type": { + "version": "12.4.2", + "resolved": "https://registry.npmjs.org/file-type/-/file-type-12.4.2.tgz", + "integrity": "sha512-UssQP5ZgIOKelfsaB5CuGAL+Y+q7EmONuiwF3N5HAH0t27rvrttgi6Ra9k/+DVaY9UF6+ybxu5pOXLUdA8N7Vg==" + }, "got": { "version": "9.6.0", "resolved": "https://registry.npmjs.org/got/-/got-9.6.0.tgz", @@ -3926,23 +4239,48 @@ } }, "gatsby-transformer-sharp": { - "version": "2.5.11", - "resolved": "https://registry.npmjs.org/gatsby-transformer-sharp/-/gatsby-transformer-sharp-2.5.11.tgz", - "integrity": "sha512-YPfZqJhJoQxQ0d/PUnAChPMm3RLcFSS6m0RgJl8Mh/Q8k15oZIDK82oBX2dCvKcfGKCq5ReT1gmwZJKXxt/vTw==", + "version": "2.5.12", + "resolved": "https://registry.npmjs.org/gatsby-transformer-sharp/-/gatsby-transformer-sharp-2.5.12.tgz", + "integrity": "sha512-f9VQVs7WFv3js6oGReJX1WUYxYTfE9CT+VV8tJHJ+uiUQ8JpDHRq4hjDGdhfFgaPjsmdb7Y4gUVOsLsWLitXOg==", "requires": { "@babel/runtime": "^7.10.3", "bluebird": "^3.7.2", "fs-extra": "^8.1.0", - "potrace": "^2.1.6", + "potrace": "^2.1.8", "probe-image-size": "^4.1.1", "semver": "^5.7.1", "sharp": "^0.25.1" } }, + "jimp": { + "version": "0.14.0", + "resolved": "https://registry.npmjs.org/jimp/-/jimp-0.14.0.tgz", + "integrity": "sha512-8BXU+J8+SPmwwyq9ELihpSV4dWPTiOKBWCEgtkbnxxAVMjXdf3yGmyaLSshBfXc8sP/JQ9OZj5R8nZzz2wPXgA==", + "requires": { + "@babel/runtime": "^7.7.2", + "@jimp/custom": "^0.14.0", + "@jimp/plugins": "^0.14.0", + "@jimp/types": "^0.14.0", + "regenerator-runtime": "^0.13.3" + } + }, + "jpeg-js": { + "version": "0.4.1", + "resolved": "https://registry.npmjs.org/jpeg-js/-/jpeg-js-0.4.1.tgz", + "integrity": "sha512-jA55yJiB5tCXEddos8JBbvW+IMrqY0y1tjjx9KNVtA+QPmu7ND5j0zkKopClpUTsaETL135uOM2XfcYG4XRjmw==" + }, "pify": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/pify/-/pify-3.0.0.tgz", "integrity": "sha1-5aSs0sEB/fPZpNB/DbxNtJ3SgXY=" + }, + "potrace": { + "version": "2.1.8", + "resolved": "https://registry.npmjs.org/potrace/-/potrace-2.1.8.tgz", + "integrity": "sha512-V9hI7UMJyEhNZjM8CbZaP/804ZRLgzWkCS9OOYnEZkszzj3zKR/erRdj0uFMcN3pp6x4B+AIZebmkQgGRinG/g==", + "requires": { + "jimp": "^0.14.0" + } } } }, @@ -15875,6 +16213,15 @@ "assert-plus": "^1.0.0" } }, + "gifwrap": { + "version": "0.9.2", + "resolved": "https://registry.npmjs.org/gifwrap/-/gifwrap-0.9.2.tgz", + "integrity": "sha512-fcIswrPaiCDAyO8xnWvHSZdWChjKXUanKKpAiWWJ/UTkEi/aYKn5+90e7DE820zbEaVR9CE2y4z9bzhQijZ0BA==", + "requires": { + "image-q": "^1.1.1", + "omggif": "^1.0.10" + } + }, "git-up": { "version": "4.0.1", "resolved": "https://registry.npmjs.org/git-up/-/git-up-4.0.1.tgz", @@ -17037,6 +17384,11 @@ "resolved": "https://registry.npmjs.org/ignore/-/ignore-5.1.8.tgz", "integrity": "sha512-BMpfD7PpiETpBl/A6S498BaIJ6Y/ABT93ETbby2fP00v4EbvPBXWEoaR1UBPKs3iR53pJY7EtZk5KACI57i1Uw==" }, + "image-q": { + "version": "1.1.1", + "resolved": "https://registry.npmjs.org/image-q/-/image-q-1.1.1.tgz", + "integrity": "sha1-/IQJlmRGC5DKhi2TALa/u7+/gFY=" + }, "imagemin": { "version": "6.1.0", "resolved": "https://registry.npmjs.org/imagemin/-/imagemin-6.1.0.tgz", diff --git a/package.json b/package.json index 73a3fc68b..a4cead25b 100644 --- a/package.json +++ b/package.json @@ -7,7 +7,7 @@ "@emotion/styled": "^10.0.27", "@mdx-js/mdx": "^1.6.6", "@mdx-js/react": "^1.6.6", - "@newrelic/gatsby-theme-newrelic": "^1.2.3", + "@newrelic/gatsby-theme-newrelic": "^1.2.4", "classnames": "^2.2.6", "date-fns": "^2.14.0", "eslint-plugin-react-hooks": "^4.0.6", From 543d8ac00bd8603e0c731f045e8c3b0bbf31d0d8 Mon Sep 17 00:00:00 2001 From: Jerel Miller Date: Fri, 31 Jul 2020 16:34:18 -0700 Subject: [PATCH 27/66] fix: dont index footer --- src/components/Footer.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/components/Footer.js b/src/components/Footer.js index d556bf36c..7978f2716 100644 --- a/src/components/Footer.js +++ b/src/components/Footer.js @@ -16,7 +16,10 @@ const Footer = ({ className }) => { ); return ( -