fix(deps): bump @semantic-release/npm to ^10.0.0-beta.1 (#2670)
This commit is contained in:
Vendored
+1
-1
@@ -1 +1 @@
|
||||
export default () => {}
|
||||
export default () => {};
|
||||
|
||||
+3
-3
@@ -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");
|
||||
};
|
||||
|
||||
Vendored
+3
-3
@@ -1,5 +1,5 @@
|
||||
export default () => {
|
||||
const error = new Error('a');
|
||||
error.errorProperty = 'errorProperty';
|
||||
const error = new Error("a");
|
||||
error.errorProperty = "errorProperty";
|
||||
throw error;
|
||||
}
|
||||
};
|
||||
|
||||
Vendored
+3
-3
@@ -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
@@ -0,0 +1,3 @@
|
||||
export async function verifyConditions(pluginConfig, context) {
|
||||
context.logger.log("verifyConditions called");
|
||||
}
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
export default (pluginConfig, context) => context
|
||||
export default (pluginConfig, context) => context;
|
||||
|
||||
Vendored
+2
-2
@@ -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
@@ -1 +1 @@
|
||||
export default (pluginConfig, context) => ({pluginConfig, context})
|
||||
export default (pluginConfig, context) => ({ pluginConfig, context });
|
||||
|
||||
Reference in New Issue
Block a user