fix(deps): bump @semantic-release/npm to ^10.0.0-beta.1 (#2670)

This commit is contained in:
Gregor Martynus
2023-01-14 14:14:04 -08:00
committed by GitHub
parent e607e234f3
commit 6a83cb53e5
39 changed files with 1686 additions and 1453 deletions
+1 -1
View File
@@ -1 +1 @@
export default () => {}
export default () => {};
+3 -3
View File
@@ -1,4 +1,4 @@
import SemanticReleaseError from '@semantic-release/error';
import SemanticReleaseError from "@semantic-release/error";
class InheritedError extends SemanticReleaseError {
constructor(message, code) {
@@ -10,5 +10,5 @@ class InheritedError extends SemanticReleaseError {
}
export default () => {
throw new InheritedError('Inherited error', 'EINHERITED');
}
throw new InheritedError("Inherited error", "EINHERITED");
};
+3 -3
View File
@@ -1,5 +1,5 @@
export default () => {
const error = new Error('a');
error.errorProperty = 'errorProperty';
const error = new Error("a");
error.errorProperty = "errorProperty";
throw error;
}
};
+3 -3
View File
@@ -1,5 +1,5 @@
import AggregateError from 'aggregate-error';
import AggregateError from "aggregate-error";
export default () => {
throw new AggregateError([new Error('a'), new Error('b')]);
}
throw new AggregateError([new Error("a"), new Error("b")]);
};
+3
View File
@@ -0,0 +1,3 @@
export async function verifyConditions(pluginConfig, context) {
context.logger.log("verifyConditions called");
}
+1 -1
View File
@@ -1 +1 @@
export default (pluginConfig, context) => context
export default (pluginConfig, context) => context;
+2 -2
View File
@@ -1,6 +1,6 @@
export default (pluginConfig, {env, logger}) => {
export default (pluginConfig, { env, logger }) => {
console.log(`Console: Exposing token ${env.MY_TOKEN}`);
logger.log(`Log: Exposing token ${env.MY_TOKEN}`);
logger.error(`Error: Console token ${env.MY_TOKEN}`);
throw new Error(`Throw error: Exposing ${env.MY_TOKEN}`);
}
};
+1 -1
View File
@@ -1 +1 @@
export default (pluginConfig, context) => ({pluginConfig, context})
export default (pluginConfig, context) => ({ pluginConfig, context });