Skip to content

Commit

Permalink
Update package version and add Node.js engine requirement
Browse files Browse the repository at this point in the history
  • Loading branch information
milespetrov committed Mar 8, 2024
1 parent 7e3d835 commit dc3551c
Show file tree
Hide file tree
Showing 7 changed files with 421 additions and 385 deletions.
778 changes: 403 additions & 375 deletions dist/index.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion dist/index.js.map

Large diffs are not rendered by default.

7 changes: 5 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
{
"name": "status-checks",
"version": "1.0.0",
"version": "1.1.1",
"private": false,
"description": "",
"main": "lib/main.js",
"main": "dist/index.js",
"type": "module",
"engines": {
"node": ">=20"
},
"scripts": {
"build": "tsc && ncc build --source-map",
"build": "ncc build src/main.ts -o dist --source-map ",
"typecheck": "tsc ./src/bad-file.ts --pretty",
"prettiercheck": "prettier . -c",
"format": "prettier --write .",
"lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix",
"lint:check": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts",
"test": "yarn node --experimental-vm-modules $(yarn bin jest)"
"format:write": "npx prettier --write .",
"format:check": "npx prettier --check .",
"all": "npm run format:write && npm run package"
},
"repository": {
"type": "git",
Expand Down
1 change: 1 addition & 0 deletions src/lint-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ export async function run(action: ActionInterface): Promise<LintResults> {
warning('Lint check failed!')
} else {
notice(`Lint check has passed!`)
results.failed = false
}
return results
}
Expand Down
1 change: 1 addition & 0 deletions src/prettier-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ export async function run(action: ActionInterface): Promise<PrettierResults> {
warning('Prettier check failed!')
} else {
notice(`Prettier check has passed!`)
output.failed = false
}
return output
}
1 change: 1 addition & 0 deletions src/ts-check.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,7 @@ export async function run(action: ActionInterface): Promise<TypeScriptResults> {
results.failed = true
warning('TypeScript check failed!')
} else {
results.failed = false
notice(`Typescript check has passed!`)
}
return results
Expand Down

0 comments on commit dc3551c

Please sign in to comment.