Compare commits

...

36 commits

Author SHA1 Message Date
8d3c60ecae chore: Add @typescript-eslint/eslint-plugin dependency 2024-02-29 18:51:43 -06:00
cf6c080d16 fix: Remove eslint-plugin-jest dev dependency
We don't use jest in this repo, and the dependency conflicts with the
desired parser update. Remove it entirely.
2024-02-29 18:51:43 -06:00
renovate[bot]
a6ef26ef91 chore(deps): update dependency @typescript-eslint/parser to v7 2024-02-29 18:51:43 -06:00
renovate[bot]
ddc559940b chore(deps): update github actions 2024-03-01 00:45:41 +00:00
2d0506b107 chore: Add moduleResolution directive to tsconfig 2024-02-29 18:33:01 -06:00
renovate[bot]
dd43f5dd44 chore(deps): update dependency typescript to v5 2024-02-29 18:33:01 -06:00
37eac33a2f chore: Update formatting to conform to Prettier v3 2024-02-29 18:26:12 -06:00
8386b64e3f chore: Update eslint-plugin-github 2024-02-29 18:26:12 -06:00
renovate[bot]
1d9e673e1c chore(deps): update dependency prettier to v3 2024-02-29 18:26:12 -06:00
renovate[bot]
c53038ce81 chore(deps): update dependency eslint-config-prettier to v9 2024-02-29 18:11:21 -06:00
renovate[bot]
69d0a2e2bb chore(deps): update dependency prettier to v2.8.8 2024-02-29 18:11:07 -06:00
renovate[bot]
1077f7d81a chore(deps): update dependency eslint-config-prettier to v8.10.0 2024-02-29 18:10:15 -06:00
renovate[bot]
a9e0acf99e chore(deps): update dependency eslint-plugin-simple-import-sort to v12 2024-02-29 18:09:30 -06:00
renovate[bot]
127c2d35bf chore(deps): update dependency lint-staged to v15.2.2 2024-02-29 18:08:21 -06:00
renovate[bot]
490fce72ae chore(deps): update dependency typescript to v4.9.5 2024-02-29 18:07:57 -06:00
renovate[bot]
e184ab334e chore(deps): update dependency eslint-plugin-ava to v14 2024-02-29 18:07:39 -06:00
renovate[bot]
240e29784e chore(deps): update dependency eslint to v8.57.0 2024-02-29 18:04:51 -06:00
renovate[bot]
b8a8efad8f chore(deps): update dependency ts-node to v10.9.2 2024-02-29 18:04:40 -06:00
renovate[bot]
faac54d999 chore(deps): update dependency husky to v9.0.11 2024-02-29 18:04:18 -06:00
renovate[bot]
a6aa6d8977 chore(deps): update dependency @types/async-retry to v1.4.8 2024-02-29 18:04:05 -06:00
renovate[bot]
d74e7c3fff chore(deps): update dependency @vercel/ncc to v0.38.1 2024-02-29 17:24:38 -06:00
renovate[bot]
6181fed9fb chore(deps): update dependency @types/semver to v7.5.8 2024-02-29 17:24:24 -06:00
renovate[bot]
fbf5b79d82 chore(deps): update dependency c8 to v9 2024-02-29 17:24:07 -06:00
renovate[bot]
4dabafeac9 chore(deps): update dependency @tsconfig/node16 to v16 2024-02-29 17:22:21 -06:00
renovate[bot]
5ebbc8c7d2 chore(deps): update dependency @types/node to v20 2024-02-29 17:21:23 -06:00
renovate[bot]
c161ca611c chore(deps): update dependency ava to v6 2024-02-29 17:21:02 -06:00
renovate[bot]
102f83a10b chore(deps): update dependency @ava/typescript to v4 2024-02-29 17:20:24 -06:00
renovate[bot]
d4c13f548c fix(deps): update dependency semver to v7.6.0 2024-02-29 17:20:12 -06:00
renovate[bot]
584528bc97 fix(deps): update dependency @octokit/plugin-throttling to v8.2.0 2024-02-29 17:20:00 -06:00
renovate[bot]
594dc72afe fix(deps): update dependency @actions/core to v1.10.1 2024-02-29 17:19:47 -06:00
renovate[bot]
4dfabfd9f5 chore(deps): update dependency eslint-plugin-jest to v27.9.0 2024-02-29 17:19:30 -06:00
renovate[bot]
583db7af0d chore(deps): update dependency @typescript-eslint/parser to v5.62.0 2024-02-29 17:19:05 -06:00
renovate[bot]
76c17a2565 chore(deps): update dependency @types/node to v18.19.21 2024-02-29 17:17:04 -06:00
renovate[bot]
5e9d0e3230 chore(deps): pin dependencies 2024-02-29 17:14:38 -06:00
Edmund Miller
086207c662
Merge pull request #41 from nf-core/renovate 2024-02-28 07:50:03 -06:00
Edmund Miller
3aac76ae9f
ci: Add renovate config 2024-02-27 15:02:23 -06:00
8 changed files with 3667 additions and 2118 deletions

8
.github/renovate.json5 vendored Normal file
View file

@ -0,0 +1,8 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>nf-core/ops//.github/renovate/default.json5",
"config:recommended",
"schedule:weekly"
]
}

View file

@ -29,15 +29,15 @@ jobs:
- false - false
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with: with:
node-version: 20 node-version: 20
cache: "npm" cache: "npm"
- run: npm ci - run: npm ci
- run: npm run build - run: npm run build
- run: npm run package - run: npm run package
- uses: actions/setup-java@v2 - uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4
if: ${{ env.ACT }} if: ${{ env.ACT }}
with: with:
java-version: 11 java-version: 11
@ -51,16 +51,16 @@ jobs:
example-maximized-build-space: example-maximized-build-space:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: easimon/maximize-build-space@v7 - uses: easimon/maximize-build-space@fc881a613ad2a34aca9c9624518214ebc21dfc0c # v10
- uses: actions/checkout@v3 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with: with:
node-version: 20 node-version: 20
cache: "npm" cache: "npm"
- run: npm ci - run: npm ci
- run: npm run build - run: npm run build
- run: npm run package - run: npm run package
- uses: actions/setup-java@v2 - uses: actions/setup-java@9704b39bf258b59bc04b50fa2dd55e9ed76b47a8 # v4
if: ${{ env.ACT}} if: ${{ env.ACT}}
with: with:
java-version: 11 java-version: 11

View file

@ -8,8 +8,8 @@ jobs:
build: build:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with: with:
node-version: 20 node-version: 20
cache: "npm" cache: "npm"
@ -17,6 +17,6 @@ jobs:
- run: npm run build - run: npm run build
- run: npm run package - run: npm run package
- run: sed -i 's%lib/src/main.js%dist/index.js%' package.json - run: sed -i 's%lib/src/main.js%dist/index.js%' package.json
- uses: JasonEtco/build-and-tag-action@v1 - uses: JasonEtco/build-and-tag-action@dd5e4991048c325f6d85b4155e586fc211c644da # v2
env: env:
GITHUB_TOKEN: ${{ github.token }} GITHUB_TOKEN: ${{ github.token }}

View file

@ -13,8 +13,8 @@ jobs:
test: test:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v3 - uses: actions/setup-node@60edb5dd545a775178f52524783378180af0d1f8 # v4
with: with:
node-version: 20 node-version: 20
cache: "npm" cache: "npm"
@ -26,6 +26,6 @@ jobs:
- run: npm run test - run: npm run test
env: env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- uses: codecov/codecov-action@v3 - uses: codecov/codecov-action@54bcd8715eee62d40e33596ef5e8f0f48dbbccab # v4
env: env:
CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }} CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}

5703
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -52,31 +52,31 @@
"@actions/github": "^6.0.0", "@actions/github": "^6.0.0",
"@actions/tool-cache": "^2.0.1", "@actions/tool-cache": "^2.0.1",
"@octokit/plugin-throttling": "^8.1.3", "@octokit/plugin-throttling": "^8.1.3",
"@types/node": "^17.0.44", "@types/node": "^20.0.0",
"async-retry": "^1.3.3", "async-retry": "^1.3.3",
"semver": "^7.3.7" "semver": "^7.3.7"
}, },
"devDependencies": { "devDependencies": {
"@ava/typescript": "^3.0.1", "@ava/typescript": "4.1.0",
"@tsconfig/node16": "^1.0.3", "@tsconfig/node16": "16.1.1",
"@types/async-retry": "^1.4.5", "@types/async-retry": "1.4.8",
"@types/node": "^18.11.0", "@types/node": "20.11.24",
"@types/semver": "^7.3.13", "@types/semver": "7.5.8",
"@typescript-eslint/parser": "^5.42.1", "@typescript-eslint/eslint-plugin": "7.1.0",
"@vercel/ncc": "^0.34.0", "@typescript-eslint/parser": "7.1.0",
"ava": "^5.0.1", "@vercel/ncc": "0.38.1",
"c8": "^8.0.1", "ava": "6.1.2",
"eslint": "^8.27.0", "c8": "9.1.0",
"eslint-config-prettier": "^8.5.0", "eslint": "8.57.0",
"eslint-plugin-ava": "^13.2.0", "eslint-config-prettier": "9.1.0",
"eslint-plugin-github": "^4.4.1", "eslint-plugin-ava": "14.0.0",
"eslint-plugin-jest": "^27.1.5", "eslint-plugin-github": "4.10.2",
"eslint-plugin-simple-import-sort": "^8.0.0", "eslint-plugin-simple-import-sort": "12.0.0",
"husky": "^9.0.10", "husky": "9.0.11",
"lint-staged": "^15.2.1", "lint-staged": "15.2.2",
"prettier": "^2.7.1", "prettier": "3.2.5",
"ts-node": "^10.9.1", "ts-node": "10.9.2",
"typescript": "^4.7.3" "typescript": "5.3.3"
}, },
"lint-staged": { "lint-staged": {
"*.{js,ts}": "eslint --cache --fix", "*.{js,ts}": "eslint --cache --fix",

View file

@ -87,9 +87,8 @@ export async function* pull_releases(
export async function pull_latest_stable_release( export async function pull_latest_stable_release(
ok: InstanceType<typeof GitHub> ok: InstanceType<typeof GitHub>
): Promise<NextflowRelease> { ): Promise<NextflowRelease> {
const { data: stable_release } = await ok.rest.repos.getLatestRelease( const { data: stable_release } =
NEXTFLOW_REPO await ok.rest.repos.getLatestRelease(NEXTFLOW_REPO)
)
return nextflow_release(stable_release) return nextflow_release(stable_release)
} }

View file

@ -3,6 +3,7 @@
"compilerOptions": { "compilerOptions": {
"target": "es6", "target": "es6",
"module": "commonjs", "module": "commonjs",
"moduleResolution": "Node",
"outDir": "./lib", "outDir": "./lib",
"strict": true, "strict": true,
"noImplicitAny": false, "noImplicitAny": false,