Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Auri: Release request (v0.7.5) #66

Closed
wants to merge 10 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 0 additions & 7 deletions .auri/config.json

This file was deleted.

1 change: 1 addition & 0 deletions .changesets/4pz0x.patch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Paaaaaatch :D
30 changes: 0 additions & 30 deletions .github/workflows/auri.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: "Publish package and docs"
on: [push]

env:
AURI_GITHUB_TOKEN: ${{secrets.AURI_GITHUB_TOKEN}}
NODE_AUTH_TOKEN: ${{secrets.NODE_AUTH_TOKEN}}

jobs:
publish:
name: Publish
runs-on: ubuntu-latest
outputs:
- auri_publish_result: ${{ steps.auri-publish.outputs.test }}
steps:
- name: Setup actions
uses: actions/checkout@v3
with:
ref: ${{ github.ref }}
- name: Setup Node
uses: actions/setup-node@v3
with:
node-version: 20
- name: Install Auri
run: npm i -g auri
- name: Prepare release
run: pnpm auri prepare ${{ github.ref_name }}
- name: Publish package
run: pnpm auri publish
- name: Check if ".changesets" directory has files
id: check-changesets
run: |
if [ -z "$(ls -A .changesets)" ]; then
echo "changesets=0" >> "$GITHUB_OUTPUT"
else
echo "changesets=1" >> "$GITHUB_OUTPUT"
fi
- name: Publish docs
if: steps.check-changesets.outputs.changesets == 0
run: echo "Publish!"
2 changes: 1 addition & 1 deletion .prettierrc.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"useTabs": true,
"trailingComma": "none",
"pluginSearchDirs": ["."]
"printWidth": 100
}
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# `auri`
## 0.7.5
### Patch changes
- Paaaaaatch :D
# auri

## 0.7.4
Expand Down
52 changes: 1 addition & 51 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,51 +1 @@
{
"name": "auri",
"version": "0.7.4",
"description": "Organize package changes and releases",
"main": "/dist/index.js",
"types": "/dist/index.d.ts",
"module": "/dist/index.js",
"type": "module",
"files": [
"dist",
"CHANGELOG.md"
],
"bin": {
"auri": "./dist/index.js"
},
"scripts": {
"build": "shx rm -rf ./dist/* && tsc",
"auri": "node ./dist/index.js",
"format": "pnpm exec prettier -w .",
"auri.build": "pnpm build",
"auri.format": "pnpm format",
"auri.deploy": "echo deploy"
},
"keywords": [
"auri",
"npm",
"changesets"
],
"repository": {
"type": "git",
"url": "https://github.com/pilcrowOnPaper/auri",
"directory": "/"
},
"author": "pilcrowOnPaper",
"license": "MIT",
"exports": {
".": "./dist/index.js"
},
"devDependencies": {
"@types/node": "^18.14.4",
"prettier": "^2.8.3",
"shx": "^0.3.4",
"typescript": "^4.9.4"
},
"dependencies": {
"@actions/core": "^1.10.0",
"dotenv": "^16.0.3",
"front-matter": "^4.0.2",
"nanoid": "^4.0.1"
}
}
{"name":"auri","version":"0.7.5","description":"Organize package changes and releases","main":"/dist/index.js","types":"/dist/index.d.ts","module":"/dist/index.js","type":"module","files":["dist","CHANGELOG.md"],"bin":{"auri":"./dist/index.js"},"scripts":{"build":"shx rm -rf ./dist/* && tsc","auri":"node ./dist/index.js","format":"pnpm exec prettier -w ."},"keywords":["npm","changesets"],"repository":{"type":"git","url":"https://github.com/pilcrowOnPaper/auri","directory":"/"},"author":"pilcrowOnPaper","license":"MIT","exports":{".":"./dist/index.js"},"devDependencies":{"@types/node":"^18.14.4","prettier":"^2.8.3","shx":"^0.3.4","typescript":"^4.9.4"},"dependencies":{"@actions/core":"^1.10.0","dotenv":"^16.0.3","front-matter":"^4.0.2","nanoid":"^4.0.1","oslo":"^1.0.3"}}
Loading