![Oracle Drags Its Feet in the JavaScript Trademark Dispute](https://cdn.sanity.io/images/cgdhsj6q/production/919c3b22c24f93884c548d60cbb338e819ff2435-1024x1024.webp?w=400&fit=max&auto=format)
Security News
Oracle Drags Its Feet in the JavaScript Trademark Dispute
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Organize package changes and releases in monolith repositories.
npm i -D auri
yarn add -D auri
pnpm add -D auri
Run commands:
npx auri
pnpm auri
yarn auri
Auri does not work on certain repository setups:
npm run build && npm publish
.package.json
is in the repository root.In addition, it's built with a few opinions in mind:
Install Auri via NPM and update your repository.
You'll will need an NPM automation access token (classic) and a GitHub token with the following permissions:
repo
user:email
Create a GitHub workflow that runs on every push. The NPM token should be named NODE_AUTH_TOKEN
and the GitHub token as AURI_NPM_TOKEN
.
It is crucial that you setup actions/checkout@v3
with github.ref
. Auri expects the current branch to be the target branch.
# .github/workflows/publish.yaml
name: "Publish package"
on: [push]
env:
AURI_GITHUB_TOKEN: ${{secrets.AURI_GITHUB_TOKEN}}
AURI_NPM_TOKEN: ${{secrets.AURI_NPM_TOKEN}}
jobs:
publish-package:
name: Publish package with Auri
runs-on: ubuntu-latest
# TODO: Update repository name.
if: github.repository == pilcrowonpaper/auri && github.ref == 'refs/heads/main'
steps:
- name: Setup actions
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
registry-url: "https://registry.npmjs.org/"
cache: "npm"
- name: Publish package and release
run: npm run auri publish
Go to your repository's settings, and go to "Code and automation" > "Actions" > "General." Go to "Workflow permissions" and enable:
If your GitHub workflow have permissions
defined, make sure content
is set to write
:
permissions:
contents: write
When you're ready to publish your package, run auri generate
on your local machine. This will create a .COMMITS
file with a list of commits since the last release (the version in package.json). Commits starting with docs:
, style:
, or test:
will be ignored. This will also create a .RELEASE.md
. Using .COMMITS
as a reference, write your changelog in .RELEASE.md
. Update the version field in your package.json and commit the change.
With the GitHub action, Auri will build and publish your package to NPM and use the .RELEASE.md
to publish a new GitHub release.
FAQs
Organize package changes and releases
The npm package auri receives a total of 241 weekly downloads. As such, auri popularity was classified as not popular.
We found that auri demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
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.
Security News
Oracle seeks to dismiss fraud claims in the JavaScript trademark dispute, delaying the case and avoiding questions about its right to the name.
Security News
The Linux Foundation is warning open source developers that compliance with global sanctions is mandatory, highlighting legal risks and restrictions on contributions.
Security News
Maven Central now validates Sigstore signatures, making it easier for developers to verify the provenance of Java packages.