-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: drops node-fetch for the built-in fetch, which means Node 18 or newer is required.
- Loading branch information
Showing
14 changed files
with
272 additions
and
222 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
* text=auto eol=lf |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
package-lock=false | ||
save-exact=true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{ | ||
"singleQuote": true, | ||
"trailingComma": "all", | ||
"tabWidth": 4, | ||
"overrides": [ | ||
{ | ||
"files": ["*.json", "*.yml"], | ||
"options": { | ||
"tabWidth": 2 | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
import prettierConfig from 'eslint-config-prettier'; | ||
import prettierPlugin from 'eslint-plugin-prettier/recommended'; | ||
import globals from 'globals'; | ||
import js from '@eslint/js'; | ||
|
||
export default [ | ||
js.configs.recommended, | ||
prettierConfig, | ||
prettierPlugin, | ||
{ | ||
languageOptions: { | ||
globals: { | ||
...globals.node, | ||
...globals.browser, | ||
global: true, | ||
}, | ||
}, | ||
}, | ||
{ | ||
ignores: ['tap-snapshots/*', 'node_modules/*'], | ||
}, | ||
]; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,26 @@ | ||
const verifyConditions = require("./verify-conditions"); | ||
const analyzeCommits = require("./analyze-commits"); | ||
const verifyRelease = require("./verify-release"); | ||
const generateNotes = require("./generate-notes"); | ||
const prepare = require("./prepare"); | ||
const publish = require("./publish"); | ||
const success = require("./success"); | ||
const verifyConditions = require('./verify-conditions'); | ||
const analyzeCommits = require('./analyze-commits'); | ||
const verifyRelease = require('./verify-release'); | ||
const generateNotes = require('./generate-notes'); | ||
const prepare = require('./prepare'); | ||
const publish = require('./publish'); | ||
const success = require('./success'); | ||
|
||
class State { | ||
eikToken = ""; | ||
eikJSON = {}; | ||
versionToPublish = null; | ||
publishNeeded = null; | ||
eikToken = ''; | ||
eikJSON = {}; | ||
versionToPublish = null; | ||
publishNeeded = null; | ||
} | ||
|
||
const state = new State(); | ||
|
||
module.exports = { | ||
verifyConditions: (options, ctx) => verifyConditions(options, ctx, state), | ||
analyzeCommits: (options, ctx) => analyzeCommits(options, ctx, state), | ||
verifyRelease: (options, ctx) => verifyRelease(options, ctx, state), | ||
generateNotes: (options, ctx) => generateNotes(options, ctx, state), | ||
prepare: (options, ctx) => prepare(options, ctx, state), | ||
publish: (options, ctx) => publish(options, ctx, state), | ||
success: (options, ctx) => success(options, ctx, state), | ||
verifyConditions: (options, ctx) => verifyConditions(options, ctx, state), | ||
analyzeCommits: (options, ctx) => analyzeCommits(options, ctx, state), | ||
verifyRelease: (options, ctx) => verifyRelease(options, ctx, state), | ||
generateNotes: (options, ctx) => generateNotes(options, ctx, state), | ||
prepare: (options, ctx) => prepare(options, ctx, state), | ||
publish: (options, ctx) => publish(options, ctx, state), | ||
success: (options, ctx) => success(options, ctx, state), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.