Skip to content

Commit

Permalink
fix formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pilcrowonpaper committed Jan 31, 2024
1 parent 5f9ea65 commit 073b0df
Show file tree
Hide file tree
Showing 4 changed files with 54 additions and 2 deletions.
1 change: 1 addition & 0 deletions .changesets/j3ec5.patch.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fix formatting
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
# `auri`

## 0.8.1

### Patch changes

- Add PR numbers to changelogs ([#68](https://github.com/pilcrowOnPaper/auri/pull/68))
- Fix Git bug ([#69](https://github.com/pilcrowOnPaper/auri/pull/69))

# auri

## 0.8.0
Expand Down
49 changes: 48 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1 +1,48 @@
{"name":"auri","version":"0.8.1","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"}}
{
"name": "auri",
"version": "0.8.1",
"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"
}
}
2 changes: 1 addition & 1 deletion src/scripts/prepare.ts
Original file line number Diff line number Diff line change
Expand Up @@ -501,11 +501,11 @@ async function createReleaseRequest(

async function commitChanges(branch: string) {
const user = await getGitUser();
execute("npx prettier -w CHANGELOG.md package.json");
execute(`git config --global user.name "${user.name}"`);
execute(`git config --global user.email "${user.email}"`);
execute(`git checkout -b ${branch}.auri`);
execute("git add .");
execute('git commit -m "update release"');
execute("git push -f -u origin HEAD");
execute("npx prettier -w CHANGELOG.md package.json");
}

0 comments on commit 073b0df

Please sign in to comment.