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

auri

Package Overview
Dependencies
Maintainers
1
Versions
44
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

auri

Organize package changes and releases

  • 0.6.0-beta.1
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
222
decreased by-63.37%
Maintainers
1
Weekly downloads
 
Created
Source

Auri

Organize package changes and releases.

npm i -D auri
yarn add -D auri
pnpm add -D auri

Run commands:

npx auri
pnpm exec auri
yarn auri

Set up

  1. Create .auri directory
  2. Create config.json inside .auri
  3. Generate a Github personal access token with the following scopes: repo, user:email
  4. Store the token as AURI_GITHUB_TOKEN in Github actions secrets
  5. Add auri.publish script to each package's package.json - this will be the command Auri will use to publish
  6. Make sure "Read and write permission" is enabled in repository settings > Actions > General > Workflow permissions
  7. Add auri.deploy script to your documentation sites

Config

File: .auri/config.json.

ignore

string[]. Paths to ignore when searching for packages. node_modules and .git already included.

{
	"ignore": ["node_modules"]
}

repository

Required string. Full Github repository url.

{
	"repository": "https://github.com/pilcrowOnPaper/auri"
}

Project package.json

auri.format

{
	"scripts": {
		"auri.format": "pnpm prettier -w ."
	}
}

auri.publish_setup

This will be called before publishing packages.

{
	"scripts": {
		"auri.publish_setup": "pnpm install-some-dependencies"
	}
}

Release config

File: .auri/release.config.json.

stage

Set to stable for a normal release, or beta for beta release. You do not need to create a new config file for a release if you're going to use the same release stage (e.g. 1.0.0-beta.0 => 1.0.0-beta.1). This means you need to create a new release config file with stage: stable to publish a new stable release that was previously in beta.

{
	"stage": "beta"
}

Package package.json

auri.publish

{
	"scripts": {
		"auri.publish": "pnpm i && pnpm build && pnpm publish"
	}
}

Documentation package.json

auri.deploy

{
	"scripts": {
		"auri.deploy": "pnpm deploy"
	}
}

Commands

auri add

Creates a new changeset in .auri directory. A changeset is a markdown file:

---
package: "" # package name (package.json)
type: "" # "major", "minor", "patch" (semver)
---

auri prepare

  1. Generate changelogs based on changesets
  2. Update package.json
  3. Delete all changesets
  4. Commits all code to auri branch
  5. Creates new PR auri => main

auri publish

Compares version of package.json and one in the NPM registry, and runs auri.publish if it differs.

auri list

Lists all packages handled by Auri.

auri release-config

Create a new .auri/release.config.json File

Keywords

FAQs

Package last updated on 08 Jun 2023

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

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