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

Update all dependencies + dependabot.yml configuration + node16 #275

Merged
merged 46 commits into from
Nov 21, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
46 commits
Select commit Hold shift + click to select a range
140ad78
Create dependabot.yml
koplo199 Nov 7, 2022
fe1ef51
Bump actions/checkout from 2 to 3
dependabot[bot] Nov 7, 2022
8682299
Update to node16
koplo199 Nov 7, 2022
2a9d2cb
Bump @types/node from 12.12.24 to 18.11.9
dependabot[bot] Nov 7, 2022
9d67740
Bump glob and @types/glob
dependabot[bot] Nov 7, 2022
ed7466d
Bump @actions/github from 5.0.0 to 5.1.1
dependabot[bot] Nov 7, 2022
081b5e8
Merge pull request #1 from koplo199/dependabot/github_actions/actions…
koplo199 Nov 7, 2022
9df304a
Merge pull request #2 from koplo199/dependabot/npm_and_yarn/types/nod…
koplo199 Nov 7, 2022
69c2184
Merge pull request #3 from koplo199/dependabot/npm_and_yarn/glob-and-…
koplo199 Nov 7, 2022
eccfb12
Merge pull request #6 from koplo199/dependabot/npm_and_yarn/actions/g…
koplo199 Nov 7, 2022
0f54bd0
Bump ts-jest from 24.2.0 to 24.3.0
dependabot[bot] Nov 7, 2022
adac10f
Merge pull request #9 from koplo199/dependabot/npm_and_yarn/ts-jest-2…
koplo199 Nov 7, 2022
6028976
Bump prettier from 1.19.1 to 2.7.1
dependabot[bot] Nov 7, 2022
f0dd9d8
Bump @octokit/plugin-retry from 3.0.9 to 4.0.3
dependabot[bot] Nov 7, 2022
e02e400
Merge pull request #8 from koplo199/dependabot/npm_and_yarn/octokit/p…
koplo199 Nov 7, 2022
5de29c2
Merge branch 'master' into dependabot/npm_and_yarn/prettier-2.7.1
koplo199 Nov 7, 2022
95c236c
Resolve conflicts
koplo199 Nov 7, 2022
0121eab
Resolve conflicts
koplo199 Nov 7, 2022
221d61e
Resolve conflicts
koplo199 Nov 7, 2022
01605c6
Merge pull request #4 from koplo199/dependabot/npm_and_yarn/prettier-…
koplo199 Nov 7, 2022
421cbca
Bump mime and @types/mime
dependabot[bot] Nov 7, 2022
cba4814
Merge pull request #7 from koplo199/dependabot/npm_and_yarn/mime-and-…
koplo199 Nov 7, 2022
cc54ac3
Bump @octokit/plugin-throttling from 3.7.0 to 4.3.2
dependabot[bot] Nov 7, 2022
5a9a648
Bump @zeit/ncc from 0.21.1 to 0.22.3
dependabot[bot] Nov 7, 2022
1803746
Merge pull request #12 from koplo199/dependabot/npm_and_yarn/zeit/ncc…
koplo199 Nov 7, 2022
798278c
Merge pull request #11 from koplo199/dependabot/npm_and_yarn/octokit/…
koplo199 Nov 7, 2022
25edfe5
Update dependabot.yml
koplo199 Nov 7, 2022
0ac2608
Update dependabot.yml
koplo199 Nov 7, 2022
450e14d
Regenerate package-lock.json and dist folder
koplo199 Nov 7, 2022
98dfec9
Update
koplo199 Nov 7, 2022
fec3eef
Bump typescript from 3.9.10 to 4.8.4
dependabot[bot] Nov 7, 2022
c321b86
Resolve conflicts
koplo199 Nov 7, 2022
a56fb07
Merge pull request #13 from koplo199/dependabot/npm_and_yarn/typescri…
koplo199 Nov 7, 2022
4742eef
Bump jest-circus from 24.9.0 to 29.2.2
dependabot[bot] Nov 7, 2022
5951e71
Resolve conflicts
koplo199 Nov 7, 2022
8e8f95f
Resolve conflicts
koplo199 Nov 7, 2022
5cba1bb
Resolve conflicts
koplo199 Nov 7, 2022
679190f
Resolve conflicts
koplo199 Nov 7, 2022
b29e114
Merge pull request #10 from koplo199/dependabot/npm_and_yarn/jest-cir…
koplo199 Nov 7, 2022
bc082ab
Bump @types/jest from 24.9.1 to 29.2.2
dependabot[bot] Nov 7, 2022
414b935
Merge pull request #14 from koplo199/dependabot/npm_and_yarn/types/je…
koplo199 Nov 7, 2022
907dc71
Update main.yml
koplo199 Nov 7, 2022
e50feb0
Bump jest-circus from 29.3.0 to 29.3.1
dependabot[bot] Nov 9, 2022
31fb210
Merge pull request #16 from koplo199/dependabot/npm_and_yarn/jest-cir…
koplo199 Nov 9, 2022
fed8c68
Bump jest from 29.3.0 to 29.3.1
dependabot[bot] Nov 9, 2022
9d20ca8
Merge pull request #15 from koplo199/dependabot/npm_and_yarn/jest-29.3.1
koplo199 Nov 9, 2022
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
14 changes: 14 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
version: 2
updates:
- package-ecosystem: npm
directory: "/"
schedule:
interval: weekly
ignore:
- dependency-name: node-fetch
versions:
- ">=3.0.0"
- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
4 changes: 2 additions & 2 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
steps:
# https://github.com/actions/checkout
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v3
- name: Install
run: npm ci
- name: Build
Expand All @@ -23,4 +23,4 @@ jobs:
# git diff --exit-code --stat -- . ':!node_modules' \
# || (echo "##[error] found changed files after build. please 'npm run build && npm run fmt'" \
# "and check in all changes" \
# && exit 1)
# && exit 1)
40 changes: 20 additions & 20 deletions __tests__/util.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
parseConfig,
parseInputFiles,
unmatchedPatterns,
uploadUrl
uploadUrl,
} from "../src/util";
import * as assert from "assert";

Expand Down Expand Up @@ -51,7 +51,7 @@ describe("util", () => {
input_tag_name: undefined,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
})
);
});
Expand All @@ -71,7 +71,7 @@ describe("util", () => {
input_tag_name: undefined,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
})
);
});
Expand All @@ -91,7 +91,7 @@ describe("util", () => {
input_tag_name: undefined,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
})
);
});
Expand All @@ -107,7 +107,7 @@ describe("util", () => {
// so we cover that in a test case here to ensure undefined values are actually
// resolved as undefined and not empty strings
INPUT_TARGET_COMMITISH: "",
INPUT_DISCUSSION_CATEGORY_NAME: ""
INPUT_DISCUSSION_CATEGORY_NAME: "",
}),
{
github_ref: "",
Expand All @@ -124,15 +124,15 @@ describe("util", () => {
input_fail_on_unmatched_files: false,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
}
);
});

it("parses basic config with commitish", () => {
assert.deepStrictEqual(
parseConfig({
INPUT_TARGET_COMMITISH: "affa18ef97bc9db20076945705aba8c516139abd"
INPUT_TARGET_COMMITISH: "affa18ef97bc9db20076945705aba8c516139abd",
}),
{
github_ref: "",
Expand All @@ -149,14 +149,14 @@ describe("util", () => {
input_fail_on_unmatched_files: false,
input_target_commitish: "affa18ef97bc9db20076945705aba8c516139abd",
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
}
);
});
it("supports discussion category names", () => {
assert.deepStrictEqual(
parseConfig({
INPUT_DISCUSSION_CATEGORY_NAME: "releases"
INPUT_DISCUSSION_CATEGORY_NAME: "releases",
}),
{
github_ref: "",
Expand All @@ -173,15 +173,15 @@ describe("util", () => {
input_fail_on_unmatched_files: false,
input_target_commitish: undefined,
input_discussion_category_name: "releases",
input_generate_release_notes: false
input_generate_release_notes: false,
}
);
});

it("supports generating release notes", () => {
assert.deepStrictEqual(
parseConfig({
INPUT_GENERATE_RELEASE_NOTES: "true"
INPUT_GENERATE_RELEASE_NOTES: "true",
}),
{
github_ref: "",
Expand All @@ -198,7 +198,7 @@ describe("util", () => {
input_fail_on_unmatched_files: false,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: true
input_generate_release_notes: true,
}
);
});
Expand All @@ -209,7 +209,7 @@ describe("util", () => {
INPUT_DRAFT: "false",
INPUT_PRERELEASE: "true",
GITHUB_TOKEN: "env-token",
INPUT_TOKEN: "input-token"
INPUT_TOKEN: "input-token",
}),
{
github_ref: "",
Expand All @@ -226,7 +226,7 @@ describe("util", () => {
input_fail_on_unmatched_files: false,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
}
);
});
Expand All @@ -235,7 +235,7 @@ describe("util", () => {
parseConfig({
INPUT_DRAFT: "false",
INPUT_PRERELEASE: "true",
INPUT_TOKEN: "input-token"
INPUT_TOKEN: "input-token",
}),
{
github_ref: "",
Expand All @@ -252,15 +252,15 @@ describe("util", () => {
input_fail_on_unmatched_files: false,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
}
);
});
it("parses basic config with draft and prerelease", () => {
assert.deepStrictEqual(
parseConfig({
INPUT_DRAFT: "false",
INPUT_PRERELEASE: "true"
INPUT_PRERELEASE: "true",
}),
{
github_ref: "",
Expand All @@ -277,14 +277,14 @@ describe("util", () => {
input_fail_on_unmatched_files: false,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
}
);
});
it("parses basic config with append_body", () => {
assert.deepStrictEqual(
parseConfig({
INPUT_APPEND_BODY: "true"
INPUT_APPEND_BODY: "true",
}),
{
github_ref: "",
Expand All @@ -301,7 +301,7 @@ describe("util", () => {
input_fail_on_unmatched_files: false,
input_target_commitish: undefined,
input_discussion_category_name: undefined,
input_generate_release_notes: false
input_generate_release_notes: false,
}
);
});
Expand Down
2 changes: 1 addition & 1 deletion action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ outputs:
assets:
description: "JSON array containing information about each uploaded asset, in the format given [here](https://docs.github.com/en/rest/reference/repos#upload-a-release-asset--code-samples) (minus the `uploader` field)"
runs:
using: "node12"
using: "node16"
main: "dist/index.js"
branding:
color: "green"
Expand Down
Loading