Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@hashicorp/mktg-global-styles

Package Overview
Dependencies
Maintainers
30
Versions
32
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@hashicorp/mktg-global-styles - npm Package Compare versions

Comparing version 4.3.1 to 4.4.0-canary-20221116152808

.changeset/config.json

10

package.json
{
"name": "@hashicorp/mktg-global-styles",
"description": "global styles shared across HashiCorp sites",
"version": "4.3.1",
"version": "4.4.0-canary-20221116152808",
"author": "HashiCorp",

@@ -11,3 +11,4 @@ "contributors": [

"devDependencies": {
"release": "^6.3.0"
"@changesets/changelog-github": "^0.4.7",
"@changesets/cli": "^2.25.2"
},

@@ -20,7 +21,6 @@ "license": "MPL-2.0",

"scripts": {
"release:major": "release major && npm publish",
"release:minor": "release minor && npm publish",
"release:patch": "release patch && npm publish"
"release": "changeset publish",
"release:canary": "changeset publish --tag canary"
},
"style": "style.css"
}

@@ -32,25 +32,39 @@

## Publishing changes
## Publishing
> **Note**
> For now, this is a manual process.
Publishing is handled through the [`changesets` library](https://github.com/atlassian/changesets). Publishing is done in CI if changes are found. For more information on how to work with changesets, see [this document](https://github.com/atlassian/changesets/blob/main/docs/adding-a-changeset.md).
Make sure to increment the package version after any code changes are merged.
### Adding a changeset
- ```bash
npm version patch|minor|major
```
- Commit/PR/Merge this change
Run the following command and follow the prompt:
Authenticate with NPM.
```
npx changeset
```
- ```bash
npm login
# Go through the options
# You can use "NPM hashibot-web" in the shared 1password vault
```
- ```bash
npm publish
```
To make any adjustments to your changeset, just edit the file!
### Releases
The release process is handled mostly automatically via the changesets GitHub action. When changeset files get merged to `main`, a Pull Request is opened which will, upon merge, release all pending changesets and remove the changeset files. We should not need to publish manually with this flow. See the `changesets/action`(https://github.com/changesets/action) repo for more information.
### Canary Releases
If you want to test your changes before merging, you can add a `release:canary` label to your pull request. If any changeset files are found, a release will be created and tagged with `canary`. You can then install the canary version elsewhere:
```
npm install @hashicorp/mktg-global-styles@canary
```
### Prereleases
Prereleases are also handled through a process integrated into `changesets`. The full flow is outlined in [this document](https://github.com/atlassian/changesets/blob/main/docs/prereleases.md). To enter a prerelease mode for the `canary` tag, we would do something like this:
```
npx changeset pre enter canary
GITHUB_TOKEN=<your token> npx changeset version
GITHUB_TOKEN=<your token> npx changeset publish
```
To continue publishing preleases, use the `npx changeset` command like normal and use the `version` and `publish` commands as appropriate.

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc