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

deps: skuba 9.1.0 #48

Merged
merged 3 commits into from
Oct 29, 2024
Merged
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
15 changes: 0 additions & 15 deletions .eslintignore

This file was deleted.

3 changes: 0 additions & 3 deletions .eslintrc.js

This file was deleted.

1 change: 1 addition & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
module.exports = require('eslint-config-skuba');
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
"package-manager-detector": "^0.2.2",
"prettier": "^3.0.0",
"resolve-from": "^5.0.0",
"skuba": "8.2.1",
"skuba": "9.1.0",
"tsup": "^8.0.1"
},
"volta": {
Expand All @@ -36,6 +36,6 @@
"entryPoint": "src/index.ts",
"template": null,
"type": "package",
"version": "8.2.0"
"version": "9.1.0"
}
}
2 changes: 1 addition & 1 deletion src/publish.ts
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ const writeSummary = async ({

const failure = (reason: string) => {
core.setFailed(reason);
throw new Error(reason);
return new Error(reason);
};

export const publishSnapshot = async () => {
Expand Down
4 changes: 2 additions & 2 deletions src/run.ts
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ export const runPublish = async ({
);

for (const line of changesetPublishOutput.stdout.split('\n')) {
const match = line.match(newTagRegex);
const match = newTagRegex.exec(line);
if (!match?.[1]) {
continue;
}
Expand Down Expand Up @@ -74,7 +74,7 @@ export const runPublish = async ({
const newTagRegex = /New tag:/;

for (const line of changesetPublishOutput.stdout.split('\n')) {
const match = line.match(newTagRegex);
const match = newTagRegex.exec(line);

if (match) {
releasedPackages.push(pkg);
Expand Down
1,082 changes: 494 additions & 588 deletions yarn.lock

Large diffs are not rendered by default.