mirror of
https://github.com/gradle/wrapper-validation-action
synced 2024-11-27 10:42:03 +00:00
Merge pull request #45 from KengoTODA/housekeeping
Housekeeping updates
This commit is contained in:
commit
a9ea690346
8 changed files with 6292 additions and 6046 deletions
|
@ -1,5 +1,6 @@
|
|||
import * as checksums from '../src/checksums'
|
||||
import nock from 'nock'
|
||||
import {afterEach, describe, expect, test} from '@jest/globals'
|
||||
|
||||
test('fetches wrapper jars checksums', async () => {
|
||||
const validChecksums = await checksums.fetchValidChecksums(false)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import * as path from 'path'
|
||||
import * as find from '../src/find'
|
||||
import {expect, test} from '@jest/globals'
|
||||
|
||||
test('finds test data wrapper jars', async () => {
|
||||
const repoRoot = path.resolve('.')
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import * as path from 'path'
|
||||
import * as hash from '../src/hash'
|
||||
import {expect, test} from '@jest/globals'
|
||||
|
||||
test('can sha256 files', async () => {
|
||||
const sha = await hash.sha256File(
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
import * as path from 'path'
|
||||
import * as validate from '../src/validate'
|
||||
import {expect, test} from '@jest/globals'
|
||||
|
||||
const baseDir = path.resolve('.')
|
||||
|
||||
|
|
5285
dist/index.js
vendored
5285
dist/index.js
vendored
File diff suppressed because one or more lines are too long
|
@ -1,12 +1,8 @@
|
|||
module.exports = {
|
||||
clearMocks: true,
|
||||
moduleFileExtensions: ['js', 'ts', 'json'],
|
||||
testEnvironment: 'node',
|
||||
testMatch: ['**/*.test.ts'],
|
||||
testRunner: 'jest-circus/runner',
|
||||
transform: {
|
||||
'^.+\\.ts$': 'ts-jest'
|
||||
},
|
||||
preset: 'ts-jest',
|
||||
verbose: true,
|
||||
setupFilesAfterEnv: ['./jest.setup.js']
|
||||
}
|
||||
|
|
7006
package-lock.json
generated
7006
package-lock.json
generated
File diff suppressed because it is too large
Load diff
37
package.json
37
package.json
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"name": "typescript-action",
|
||||
"name": "wrapper-validation-action",
|
||||
"version": "0.0.0",
|
||||
"private": true,
|
||||
"description": "TypeScript template action",
|
||||
"description": "Gradle Wrapper Validation Action",
|
||||
"main": "lib/main.js",
|
||||
"scripts": {
|
||||
"build": "tsc",
|
||||
|
@ -15,34 +15,33 @@
|
|||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/actions/typescript-action.git"
|
||||
"url": "git+https://github.com/gradle/wrapper-validation-action.git"
|
||||
},
|
||||
"keywords": [
|
||||
"actions",
|
||||
"node",
|
||||
"setup"
|
||||
],
|
||||
"author": "YourNameOrOrganization",
|
||||
"author": "Gradle Inc.",
|
||||
"license": "MIT",
|
||||
"dependencies": {
|
||||
"@actions/core": "1.2.6",
|
||||
"@actions/core": "1.4.0",
|
||||
"typed-rest-client": "1.8.4",
|
||||
"unhomoglyph": "1.0.6"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "26.0.14",
|
||||
"@types/node": "12.12.62",
|
||||
"@typescript-eslint/parser": "4.2.0",
|
||||
"@zeit/ncc": "0.22.3",
|
||||
"eslint": "7.9.0",
|
||||
"eslint-plugin-github": "4.1.1",
|
||||
"eslint-plugin-jest": "24.0.2",
|
||||
"jest": "26.4.2",
|
||||
"jest-circus": "26.4.2",
|
||||
"js-yaml": "3.14.0",
|
||||
"nock": "^13.0.11",
|
||||
"prettier": "2.1.2",
|
||||
"ts-jest": "26.4.0",
|
||||
"typescript": "4.0.3"
|
||||
"@types/node": "12.20.16",
|
||||
"@typescript-eslint/parser": "4.28.4",
|
||||
"@vercel/ncc": "0.29.0",
|
||||
"eslint": "7.31.0",
|
||||
"eslint-plugin-github": "4.1.5",
|
||||
"eslint-plugin-jest": "24.4.0",
|
||||
"jest": "27.0.6",
|
||||
"js-yaml": "4.1.0",
|
||||
"nock": "13.1.1",
|
||||
"prettier": "2.3.2",
|
||||
"ts-jest": "27.0.4",
|
||||
"typescript": "4.0.8",
|
||||
"glob-parent": ">=5.1.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue