From 7f702a60dcc8368035e0c55df373eeef32e22129 Mon Sep 17 00:00:00 2001 From: Gregor Anders Date: Wed, 19 Aug 2020 13:15:07 +0200 Subject: [PATCH] 0.0.11 Release * chore(release): prepare next release * chore(dependencies): remove dependency * npm: bump eslint-plugin-react from 7.20.0 to 7.20.1 Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.0 to 7.20.1. - [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases) - [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.0...v7.20.1) Signed-off-by: dependabot[bot] * npm: bump through2 from 3.0.2 to 4.0.1 Bumps [through2](https://github.com/rvagg/through2) from 3.0.2 to 4.0.1. - [Release notes](https://github.com/rvagg/through2/releases) - [Commits](https://github.com/rvagg/through2/compare/v3.0.2...v4.0.1) Signed-off-by: dependabot[bot] * npm: bump electron-packager from 14.2.1 to 15.0.0 Bumps [electron-packager](https://github.com/electron/electron-packager) from 14.2.1 to 15.0.0. - [Release notes](https://github.com/electron/electron-packager/releases) - [Changelog](https://github.com/electron/electron-packager/blob/master/NEWS.md) - [Commits](https://github.com/electron/electron-packager/compare/v14.2.1...v15.0.0) Signed-off-by: dependabot[bot] * npm: bump @typescript-eslint/parser from 3.4.0 to 3.5.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.5.0/packages/parser) Signed-off-by: dependabot[bot] * npm: bump @types/electron-packager from 14.0.0 to 15.0.1 Bumps [@types/electron-packager](https://github.com/electron/electron-packager) from 14.0.0 to 15.0.1. - [Release notes](https://github.com/electron/electron-packager/releases) - [Changelog](https://github.com/electron/electron-packager/blob/master/NEWS.md) - [Commits](https://github.com/electron/electron-packager/commits) Signed-off-by: dependabot[bot] * npm: bump @typescript-eslint/eslint-plugin from 3.4.0 to 3.5.0 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.4.0 to 3.5.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.5.0/packages/eslint-plugin) Signed-off-by: dependabot[bot] * npm: bump eslint-plugin-react from 7.20.1 to 7.20.2 Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.1 to 7.20.2. - [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases) - [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.1...v7.20.2) Signed-off-by: dependabot[bot] * npm: bump through2 from 4.0.1 to 4.0.2 Bumps [through2](https://github.com/rvagg/through2) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/rvagg/through2/releases) - [Commits](https://github.com/rvagg/through2/compare/v4.0.1...v4.0.2) Signed-off-by: dependabot[bot] * fix(gulp): fix gulpfile.ts * chore(dependencies): update dependencies * build(dependencies): run dependencies check weekly * npm: bump eslint-plugin-react from 7.20.2 to 7.20.3 Bumps [eslint-plugin-react](https://github.com/yannickcr/eslint-plugin-react) from 7.20.2 to 7.20.3. - [Release notes](https://github.com/yannickcr/eslint-plugin-react/releases) - [Changelog](https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md) - [Commits](https://github.com/yannickcr/eslint-plugin-react/compare/v7.20.2...v7.20.3) Signed-off-by: dependabot[bot] * npm: bump typescript from 3.9.5 to 3.9.6 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.5 to 3.9.6. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/commits) Signed-off-by: dependabot[bot] * npm: bump spectre.css from 0.5.8 to 0.5.9 Bumps [spectre.css](https://github.com/picturepan2/spectre) from 0.5.8 to 0.5.9. - [Release notes](https://github.com/picturepan2/spectre/releases) - [Changelog](https://github.com/picturepan2/spectre/blob/master/CHANGELOG.md) - [Commits](https://github.com/picturepan2/spectre/compare/v0.5.8...v0.5.9) Signed-off-by: dependabot[bot] * npm: bump eslint-plugin-jest from 23.17.1 to 23.18.0 Bumps [eslint-plugin-jest](https://github.com/jest-community/eslint-plugin-jest) from 23.17.1 to 23.18.0. - [Release notes](https://github.com/jest-community/eslint-plugin-jest/releases) - [Changelog](https://github.com/jest-community/eslint-plugin-jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/jest-community/eslint-plugin-jest/compare/v23.17.1...v23.18.0) Signed-off-by: dependabot[bot] * npm: bump eslint from 7.3.1 to 7.4.0 Bumps [eslint](https://github.com/eslint/eslint) from 7.3.1 to 7.4.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](https://github.com/eslint/eslint/compare/v7.3.1...v7.4.0) Signed-off-by: dependabot[bot] * npm: bump @typescript-eslint/eslint-plugin from 3.5.0 to 3.6.0 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.6.0/packages/eslint-plugin) Signed-off-by: dependabot[bot] * npm: bump @types/jest from 26.0.3 to 26.0.4 Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.3 to 26.0.4. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Signed-off-by: dependabot[bot] * npm: bump electron from 9.0.5 to 9.1.0 Bumps [electron](https://github.com/electron/electron) from 9.0.5 to 9.1.0. - [Release notes](https://github.com/electron/electron/releases) - [Changelog](https://github.com/electron/electron/blob/master/docs/breaking-changes.md) - [Commits](https://github.com/electron/electron/compare/v9.0.5...v9.1.0) Signed-off-by: dependabot[bot] * npm: bump @typescript-eslint/parser from 3.5.0 to 3.6.0 Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 3.5.0 to 3.6.0. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/parser/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.6.0/packages/parser) Signed-off-by: dependabot[bot] * npm: bump spectron from 11.0.0 to 11.1.0 Bumps [spectron](https://github.com/electron/spectron) from 11.0.0 to 11.1.0. - [Release notes](https://github.com/electron/spectron/releases) - [Changelog](https://github.com/electron-userland/spectron/blob/master/CHANGELOG.md) - [Commits](https://github.com/electron/spectron/compare/v11.0.0...v11.1.0) Signed-off-by: dependabot[bot] * npm: bump eslint-plugin-react-hooks from 4.0.5 to 4.0.6 Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.0.5 to 4.0.6. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks) Signed-off-by: dependabot[bot] * chore(dependencies): update dependencies - fix e2e tests due to updated spectron * npm: bump @types/react from 16.9.42 to 16.9.43 Bumps [@types/react](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/react) from 16.9.42 to 16.9.43. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/react) Signed-off-by: dependabot[bot] * npm: bump @typescript-eslint/eslint-plugin from 3.6.0 to 3.6.1 Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 3.6.0 to 3.6.1. - [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases) - [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/CHANGELOG.md) - [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v3.6.1/packages/eslint-plugin) Signed-off-by: dependabot[bot] * npm: bump eslint-plugin-react-hooks from 4.0.7 to 4.0.8 Bumps [eslint-plugin-react-hooks](https://github.com/facebook/react/tree/HEAD/packages/eslint-plugin-react-hooks) from 4.0.7 to 4.0.8. - [Release notes](https://github.com/facebook/react/releases) - [Changelog](https://github.com/facebook/react/blob/master/packages/eslint-plugin-react-hooks/CHANGELOG.md) - [Commits](https://github.com/facebook/react/commits/HEAD/packages/eslint-plugin-react-hooks) Signed-off-by: dependabot[bot] * npm: bump archiver from 4.0.1 to 4.0.2 Bumps [archiver](https://github.com/archiverjs/node-archiver) from 4.0.1 to 4.0.2. - [Release notes](https://github.com/archiverjs/node-archiver/releases) - [Changelog](https://github.com/archiverjs/node-archiver/blob/master/CHANGELOG.md) - [Commits](https://github.com/archiverjs/node-archiver/compare/4.0.1...4.0.2) Signed-off-by: dependabot[bot] * npm: bump ts-jest from 26.1.1 to 26.1.3 Bumps [ts-jest](https://github.com/kulshekhar/ts-jest) from 26.1.1 to 26.1.3. - [Release notes](https://github.com/kulshekhar/ts-jest/releases) - [Changelog](https://github.com/kulshekhar/ts-jest/blob/master/CHANGELOG.md) - [Commits](https://github.com/kulshekhar/ts-jest/compare/v26.1.1...v26.1.3) Signed-off-by: dependabot[bot] * npm: bump typescript from 3.9.6 to 3.9.7 Bumps [typescript](https://github.com/Microsoft/TypeScript) from 3.9.6 to 3.9.7. - [Release notes](https://github.com/Microsoft/TypeScript/releases) - [Commits](https://github.com/Microsoft/TypeScript/compare/v3.9.6...v3.9.7) Signed-off-by: dependabot[bot] * npm: bump @octokit/rest from 18.0.0 to 18.0.1 Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 18.0.0 to 18.0.1. - [Release notes](https://github.com/octokit/rest.js/releases) - [Commits](https://github.com/octokit/rest.js/compare/v18.0.0...v18.0.1) Signed-off-by: dependabot[bot] * npm: bump @octokit/core from 3.1.0 to 3.1.1 Bumps [@octokit/core](https://github.com/octokit/core.js) from 3.1.0 to 3.1.1. - [Release notes](https://github.com/octokit/core.js/releases) - [Commits](https://github.com/octokit/core.js/compare/v3.1.0...v3.1.1) Signed-off-by: dependabot[bot] * npm: bump @octokit/types from 5.0.1 to 5.1.0 Bumps [@octokit/types](https://github.com/octokit/types.ts) from 5.0.1 to 5.1.0. - [Release notes](https://github.com/octokit/types.ts/releases) - [Commits](https://github.com/octokit/types.ts/compare/v5.0.1...v5.1.0) Signed-off-by: dependabot[bot] * npm: bump @types/jest from 26.0.4 to 26.0.5 Bumps [@types/jest](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/jest) from 26.0.4 to 26.0.5. - [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases) - [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/jest) Signed-off-by: dependabot[bot] * chore(dependencies): update dependencies * docs(contrib): update docs * build(CI): add GitHub CI pull request template * chore(quality): add codacy * docs(README): update badges * chore(dependencies): update dependencies * chore(dependencies): update dev dependencies * chore(dependencies): update depenedencies * chore(dependencies): update dependnencies * refactor(actions): remove github action * chore(dependencies): update dependencies * chore(release): bump version * docs(CHANGELOG): update changelog Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> --- .codacy.yml | 24 ++++++ .github/PULL_REQUEST_TEMPLATE.md | 45 +++++++++++ .github/actions/gulpfile.ts | 37 --------- .github/actions/prepare-release/action.yml | 14 ---- .github/actions/prepare-release/index.ts | 24 ------ .github/actions/prepare-release/tsconfig.json | 16 ---- .github/dependabot.yml | 2 +- .github/workflows/development.yml | 9 ++- .github/workflows/master.yml | 11 ++- .github/workflows/release.yml | 26 ++++--- CHANGELOG.md | 70 +++++++++++++++++ CONTRIBUTING.md | 76 +++++++++++++++++++ README.md | 18 ++--- SECURITY.md | 6 +- docs/{CODECLIMATE.md => index.md} | 0 e2e/main.spec.ts | 28 ++++--- gulpfile.ts | 4 +- package.json | 62 +++++++-------- 18 files changed, 303 insertions(+), 169 deletions(-) create mode 100644 .codacy.yml create mode 100644 .github/PULL_REQUEST_TEMPLATE.md delete mode 100644 .github/actions/gulpfile.ts delete mode 100644 .github/actions/prepare-release/action.yml delete mode 100644 .github/actions/prepare-release/index.ts delete mode 100644 .github/actions/prepare-release/tsconfig.json create mode 100644 CONTRIBUTING.md rename docs/{CODECLIMATE.md => index.md} (100%) diff --git a/.codacy.yml b/.codacy.yml new file mode 100644 index 0000000..d1939a7 --- /dev/null +++ b/.codacy.yml @@ -0,0 +1,24 @@ +--- +engines: + duplication: + exclude_paths: + - config/engines.yml + metric: + exclude_paths: + - config/engines.yml + remark-int: + exclude_paths: + - config/engines.yml + coverage: + exclude_paths: + - config/engines.yml +exclude_paths: + - '.circleci/**' + - '.github/**' + - '.vscode/**' + - 'src/index.ts' + - 'src/fixtures/**' + - 'src/*.spec.*' + - '**.json' + - '**.yml' + - '**.md' diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md new file mode 100644 index 0000000..9187ff4 --- /dev/null +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -0,0 +1,45 @@ + + +## Description + + + +## Related Issue + + + + + + +## Motivation and Context + + + +## How Has This Been Tested? + + + + + +## Screenshots (if appropriate): + +## Types of changes + + + +- [ ] Dependencies (non-breaking change which updates dependencies) +- [ ] Bug fix (non-breaking change which fixes an issue) +- [ ] New feature (non-breaking change which adds functionality) +- [ ] Breaking change (fix or feature that would cause existing functionality to change) + +## Checklist: + + + + +- [ ] My code follows the code style of this project. +- [ ] My change requires a change to the documentation. +- [ ] I have updated the documentation accordingly. +- [ ] I have read the **CONTRIBUTING** document. +- [ ] I have added tests to cover my changes. +- [ ] All new and existing tests passed. diff --git a/.github/actions/gulpfile.ts b/.github/actions/gulpfile.ts deleted file mode 100644 index 0bd42dd..0000000 --- a/.github/actions/gulpfile.ts +++ /dev/null @@ -1,37 +0,0 @@ -import * as fs from "fs"; -import * as os from "os"; -import * as path from "path"; - -import * as gulp from "gulp"; - -import * as through from "through2"; - -import * as ncc from "@zeit/ncc"; - -const basePath: fs.PathLike = fs.realpathSync(path.resolve(__dirname, "../..")); - -function nccCompile(): any { - return through.obj((chunk: any, encoding: string, callback: through.TransformCallback): any => { - if (chunk.isBuffer()) { - ncc(chunk.path, { - cache: false, - minify: false, - quiet: false, - sourceMap: false, - sourceMapRegister: false, - }).then((result: any): void => { - chunk.path = chunk.path.replace(".ts", ".js"); - chunk.contents = Buffer.from(result.code); - callback(undefined, chunk); - }).catch((reason: any): void => { - callback(reason, undefined); - }); - } - }); -} - -gulp.task("default", (): NodeJS.ReadWriteStream => { - return gulp.src(path.join(basePath, ".github/actions/**/index.ts")) - .pipe(nccCompile()) - .pipe(gulp.dest(path.resolve(basePath, ".github/actions/"))); -}); diff --git a/.github/actions/prepare-release/action.yml b/.github/actions/prepare-release/action.yml deleted file mode 100644 index e9341eb..0000000 --- a/.github/actions/prepare-release/action.yml +++ /dev/null @@ -1,14 +0,0 @@ -name: 'Prepare Release' -description: 'Prepare Asset for a Release' -inputs: - path: - description: 'Path containing asset' - required: true -outputs: - name: - description: 'Basename of asset' - path: - description: 'Realpath of asset' -runs: - using: 'node12' - main: 'index.js' diff --git a/.github/actions/prepare-release/index.ts b/.github/actions/prepare-release/index.ts deleted file mode 100644 index 21a0c69..0000000 --- a/.github/actions/prepare-release/index.ts +++ /dev/null @@ -1,24 +0,0 @@ -import * as core from "@actions/core"; - -import * as fs from "fs"; -import * as path from "path"; - -async function run(): Promise { - const assetPath: string = core.getInput("path"); - - const basePath: fs.PathLike = path.resolve(fs.realpathSync(assetPath)); - const files: string[] = fs.readdirSync(basePath); - - if (files && files.length === 1) { - core.setOutput("name", files[0]); - core.setOutput("path", path.join(basePath, "/", files[0])); - } else { - if (!files || files.length === 0) { - core.setFailed("No files found in " + basePath); - } else { - core.setFailed("Found more than one file in " + basePath); - } - } -} - -run(); diff --git a/.github/actions/prepare-release/tsconfig.json b/.github/actions/prepare-release/tsconfig.json deleted file mode 100644 index d542d0e..0000000 --- a/.github/actions/prepare-release/tsconfig.json +++ /dev/null @@ -1,16 +0,0 @@ -{ - "compilerOptions": { - "target": "ES6", - "module": "commonjs", - "moduleResolution": "node", - "esModuleInterop": true, - "noImplicitAny": true, - "sourceMap": true, - "strict": true, - "outDir": "./", - }, - "include": [ - "./**/*" - ], - "exclude": [] -} diff --git a/.github/dependabot.yml b/.github/dependabot.yml index 8b4dbd6..265eec5 100644 --- a/.github/dependabot.yml +++ b/.github/dependabot.yml @@ -3,7 +3,7 @@ updates: - package-ecosystem: 'npm' directory: '/' schedule: - interval: 'daily' + interval: 'weekly' labels: - 'npm dependencies' commit-message: diff --git a/.github/workflows/development.yml b/.github/workflows/development.yml index 931fa66..aa29fd9 100644 --- a/.github/workflows/development.yml +++ b/.github/workflows/development.yml @@ -1,4 +1,3 @@ -# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions name: Development CI on: @@ -29,7 +28,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: nodejs project information id: projectinfo - uses: gregoranders/nodejs-project-info@v0.0.7 + uses: gregoranders/nodejs-project-info@v0.0.10 - name: npm install run: | npm install @@ -56,6 +55,12 @@ jobs: coverageCommand: npm run test coverageLocations: | ./test/coverage/lcov.info:lcov + - name: run codacy-coverage-reporter + if: matrix.os == 'ubuntu-latest' + uses: codacy/codacy-coverage-reporter-action@master + with: + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + coverage-reports: ./test/coverage/lcov.info - name: npm run e2e if: matrix.os == 'ubuntu-latest' run: | diff --git a/.github/workflows/master.yml b/.github/workflows/master.yml index fe9a7ff..3e2a637 100644 --- a/.github/workflows/master.yml +++ b/.github/workflows/master.yml @@ -1,4 +1,3 @@ -# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions name: Master CI on: @@ -29,7 +28,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: nodejs project information id: projectinfo - uses: gregoranders/nodejs-project-info@v0.0.7 + uses: gregoranders/nodejs-project-info@v0.0.10 - name: npm install run: | npm install @@ -56,6 +55,12 @@ jobs: coverageCommand: npm run test coverageLocations: | ./test/coverage/lcov.info:lcov + - name: run codacy-coverage-reporter + if: matrix.os == 'ubuntu-latest' + uses: codacy/codacy-coverage-reporter-action@master + with: + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + coverage-reports: ./test/coverage/lcov.info - name: npm run e2e if: matrix.os == 'ubuntu-latest' run: | @@ -72,7 +77,7 @@ jobs: PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }} - name: create release id: createrelease - uses: gregoranders/nodejs-create-release@v0.0.7 + uses: gregoranders/nodejs-create-release@v0.0.10 with: tag: v${{ steps.projectinfo.outputs.version }} name: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }} Release diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index c4ae666..2283358 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -1,4 +1,3 @@ -# https://help.github.com/en/actions/automating-your-workflow-with-github-actions/workflow-syntax-for-github-actions name: Release CI on: @@ -29,7 +28,7 @@ jobs: node-version: ${{ matrix.node-version }} - name: nodejs project information id: projectinfo - uses: gregoranders/nodejs-project-info@v0.0.7 + uses: gregoranders/nodejs-project-info@v0.0.10 - name: npm install run: | npm install @@ -56,6 +55,12 @@ jobs: coverageCommand: npm run test coverageLocations: | ./test/coverage/lcov.info:lcov + - name: run codacy-coverage-reporter + if: matrix.os == 'ubuntu-latest' + uses: codacy/codacy-coverage-reporter-action@master + with: + project-token: ${{ secrets.CODACY_PROJECT_TOKEN }} + coverage-reports: ./test/coverage/lcov.info - name: npm run e2e if: matrix.os == 'ubuntu-latest' run: | @@ -72,27 +77,24 @@ jobs: PACKAGE_JSON: ${{ steps.projectinfo.outputs.context }} - name: create release id: createrelease - uses: gregoranders/nodejs-create-release@v0.0.6 + uses: gregoranders/nodejs-create-release@v0.0.10 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: tag: v${{ steps.projectinfo.outputs.version }} name: ${{ steps.projectinfo.outputs.name }} - ${{ steps.projectinfo.outputs.version }} Release target: ${{ github.ref }} - - name: npm run actions - run: | - npm run actions - - name: prepare release - id: prepare - uses: ./.github/actions/prepare-release + - name: nodejs prepare asset + id: prepareasset + uses: gregoranders/nodejs-prepare-asset@v0.0.10 with: path: ./dist - name: upload asset id: uploadasset - uses: gregoranders/nodejs-upload-asset@v0.0.6 + uses: gregoranders/nodejs-upload-asset@v0.0.10 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: id: ${{ steps.createrelease.outputs.id }} - path: ${{ steps.prepare.outputs.path }} - name: ${{ steps.prepare.outputs.name }} + path: ${{ steps.prepareasset.outputs.path }} + name: ${{ steps.prepareasset.outputs.name }} diff --git a/CHANGELOG.md b/CHANGELOG.md index e69de29..f20fb09 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -0,0 +1,70 @@ +#### 0.0.11 (2020-08-19) + +##### Build System / Dependencies + +- **CI:** add GitHub CI pull request template ([ade3a000](https://github.com/gregoranders/typescript-react-electron-starter/commit/ade3a00013cb72ab8409c06ab493469e01d23c9b)) +- **dependencies:** run dependencies check weekly ([e78cfa25](https://github.com/gregoranders/typescript-react-electron-starter/commit/e78cfa25eedbb689d7436ac93a0a967c025f4580)) + +##### Chores + +- **release:** + - bump version ([bc931985](https://github.com/gregoranders/typescript-react-electron-starter/commit/bc931985078fbace9bfbbb3830a5210c7f685cdc)) + - prepare next release ([6894aa2c](https://github.com/gregoranders/typescript-react-electron-starter/commit/6894aa2c3eb0d4c0a09078f583b152d6353da6a1)) +- **dependencies:** + - update dependencies ([3226fb0f](https://github.com/gregoranders/typescript-react-electron-starter/commit/3226fb0f6693725c841ff8ca04d5235fc32086b2)) + - update dependnencies ([71b47212](https://github.com/gregoranders/typescript-react-electron-starter/commit/71b4721282a3e942de14a55e9de9bc9f3c6d2a86)) + - update depenedencies ([b2aa3748](https://github.com/gregoranders/typescript-react-electron-starter/commit/b2aa37481a67f6e06bf7d31fddf24a6aa94e7568)) + - update dev dependencies ([00b511d6](https://github.com/gregoranders/typescript-react-electron-starter/commit/00b511d69e282989c71f9f44c7d971142685c549)) + - update dependencies ([c8e77efa](https://github.com/gregoranders/typescript-react-electron-starter/commit/c8e77efa8b0d12ae9d38f7c6b20f151240775e76)) + - update dependencies ([45c5c89d](https://github.com/gregoranders/typescript-react-electron-starter/commit/45c5c89d986e2c2d36e2973cb84821d7be6b94ca)) + - update dependencies ([9697761e](https://github.com/gregoranders/typescript-react-electron-starter/commit/9697761e239ba16267007ed66d2496d1bd3fa77e)) + - update dependencies ([c484a31e](https://github.com/gregoranders/typescript-react-electron-starter/commit/c484a31e7a13612764a4945cde652fe83b68ddb6)) + - remove dependency ([3a3d93cd](https://github.com/gregoranders/typescript-react-electron-starter/commit/3a3d93cd43be55672c95323cd368716854659e65)) +- **quality:** add codacy ([372441bf](https://github.com/gregoranders/typescript-react-electron-starter/commit/372441bf7ce6654aaf6bcc25d9f76b8dd6c39070)) + +##### Documentation Changes + +- **README:** update badges ([f7355f97](https://github.com/gregoranders/typescript-react-electron-starter/commit/f7355f97f44ec27b7ae24e0de182d92cf6139a9c)) +- **contrib:** update docs ([1e5b5b96](https://github.com/gregoranders/typescript-react-electron-starter/commit/1e5b5b9600d9aad8336b9b750e6b158e3a9afc54)) + +##### Bug Fixes + +- **gulp:** fix gulpfile.ts ([c05faa33](https://github.com/gregoranders/typescript-react-electron-starter/commit/c05faa3370dc247ae33b6f1c84dde1477278bc49)) + +##### Other Changes + +- gregoranders/typescript-react-electron-starter into development ([19d2fb6b](https://github.com/gregoranders/typescript-react-electron-starter/commit/19d2fb6baa1ecd4553dedce481a8967a1d7c2b36)) +- bump @types/jest from 26.0.4 to 26.0.5 ([c7138175](https://github.com/gregoranders/typescript-react-electron-starter/commit/c71381754956c04777d7634350e32e06c0c23466)) +- bump @octokit/types from 5.0.1 to 5.1.0 ([9491be83](https://github.com/gregoranders/typescript-react-electron-starter/commit/9491be8390cfc192e580b1bd6a3571282534fa36)) +- bump @octokit/core from 3.1.0 to 3.1.1 ([d12fbd0c](https://github.com/gregoranders/typescript-react-electron-starter/commit/d12fbd0c0bc1c712e62723c28b6d33ba15fd1794)) +- bump @octokit/rest from 18.0.0 to 18.0.1 ([8b5b48d8](https://github.com/gregoranders/typescript-react-electron-starter/commit/8b5b48d840bbc86f73f081dbf4ef234f6eb48643)) +- bump typescript from 3.9.6 to 3.9.7 ([375d1e1c](https://github.com/gregoranders/typescript-react-electron-starter/commit/375d1e1c108cf9e1246acf09ff38eabebdaa25b2)) +- bump ts-jest from 26.1.1 to 26.1.3 ([7620cb0b](https://github.com/gregoranders/typescript-react-electron-starter/commit/7620cb0b889f555f06c132aef04544c2e01bfb07)) +- bump archiver from 4.0.1 to 4.0.2 ([2864970f](https://github.com/gregoranders/typescript-react-electron-starter/commit/2864970fa4e3be93f137e0749870203ccc13ecef)) +- bump eslint-plugin-react-hooks from 4.0.7 to 4.0.8 ([04c1c445](https://github.com/gregoranders/typescript-react-electron-starter/commit/04c1c445b8ca031159d77d15a6c03c6979e04dbd)) +- bump @typescript-eslint/eslint-plugin from 3.6.0 to 3.6.1 ([30e09717](https://github.com/gregoranders/typescript-react-electron-starter/commit/30e0971715344a03008bdf28686ad6bc7213d2a3)) +- bump @types/react from 16.9.42 to 16.9.43 ([d7f45235](https://github.com/gregoranders/typescript-react-electron-starter/commit/d7f452359349aa6a8745e2a95e511644064e3624)) +- bump eslint-plugin-react from 7.20.2 to 7.20.3 ([1b16d35a](https://github.com/gregoranders/typescript-react-electron-starter/commit/1b16d35a49bcb52ac1136fe07b36394e1de7d780)) +- bump eslint-plugin-react-hooks from 4.0.5 to 4.0.6 ([6d8cc141](https://github.com/gregoranders/typescript-react-electron-starter/commit/6d8cc1414ae977fd2e623b828a45c0cbe0c2d1b8)) +- bump spectron from 11.0.0 to 11.1.0 ([d9017095](https://github.com/gregoranders/typescript-react-electron-starter/commit/d9017095c26e1a6ad60cda4a7a6107727118163f)) +- bump @typescript-eslint/parser from 3.5.0 to 3.6.0 ([541055bf](https://github.com/gregoranders/typescript-react-electron-starter/commit/541055bf5544937eb3fc9d3ab7cc8658da28f560)) +- bump electron from 9.0.5 to 9.1.0 ([8ebefc1c](https://github.com/gregoranders/typescript-react-electron-starter/commit/8ebefc1c2068606ce5d0068723d17ef32ab5dba1)) +- bump @types/jest from 26.0.3 to 26.0.4 ([3381b92a](https://github.com/gregoranders/typescript-react-electron-starter/commit/3381b92aa83793f41bc6bb5e9ed353b05857845d)) +- bump @typescript-eslint/eslint-plugin from 3.5.0 to 3.6.0 ([e157b2c4](https://github.com/gregoranders/typescript-react-electron-starter/commit/e157b2c4c031927c103b524086a0bdbbd1943eec)) +- bump eslint from 7.3.1 to 7.4.0 ([71efa019](https://github.com/gregoranders/typescript-react-electron-starter/commit/71efa019e19bbcfb731ce439d456dff5b3ad03c6)) +- bump eslint-plugin-jest from 23.17.1 to 23.18.0 ([3af502ac](https://github.com/gregoranders/typescript-react-electron-starter/commit/3af502acc4038e46000b5d327a46d0636f8b059e)) +- bump spectre.css from 0.5.8 to 0.5.9 ([48ba90be](https://github.com/gregoranders/typescript-react-electron-starter/commit/48ba90bedd77807794d3656b5f2a717abba74aaf)) +- bump typescript from 3.9.5 to 3.9.6 ([e79ae980](https://github.com/gregoranders/typescript-react-electron-starter/commit/e79ae980d98e632d2decaf4a6e1db41b37a8b81a)) +- bump eslint-plugin-react from 7.20.2 to 7.20.3 ([9f5ff5c3](https://github.com/gregoranders/typescript-react-electron-starter/commit/9f5ff5c3ec57eb38c7ed9b01ca56e67b7d3d79a8)) +- bump through2 from 4.0.1 to 4.0.2 ([0bebec1a](https://github.com/gregoranders/typescript-react-electron-starter/commit/0bebec1a5bd0002f6bb3fcef02da2f26ba6507d5)) +- bump eslint-plugin-react from 7.20.1 to 7.20.2 ([3429eb49](https://github.com/gregoranders/typescript-react-electron-starter/commit/3429eb49fae9515a207b38ce362796a2b9c3f344)) +- bump @typescript-eslint/eslint-plugin from 3.4.0 to 3.5.0 ([59a1feb1](https://github.com/gregoranders/typescript-react-electron-starter/commit/59a1feb1f9b124026e7497fe79ac421eb67bf724)) +- bump @types/electron-packager from 14.0.0 to 15.0.1 ([d0abfa9d](https://github.com/gregoranders/typescript-react-electron-starter/commit/d0abfa9dd1842bfa710870fa5d947f19a6bffa3e)) +- bump @typescript-eslint/parser from 3.4.0 to 3.5.0 ([6555e02e](https://github.com/gregoranders/typescript-react-electron-starter/commit/6555e02e5fb3f77a29a2c7e6daf6ae0b76ed76ad)) +- bump electron-packager from 14.2.1 to 15.0.0 ([4f1af2b8](https://github.com/gregoranders/typescript-react-electron-starter/commit/4f1af2b87aec9a000876150453d126950221719d)) +- bump through2 from 3.0.2 to 4.0.1 ([715d8e8d](https://github.com/gregoranders/typescript-react-electron-starter/commit/715d8e8dbda7bf157155cc339f2c81d298038db3)) +- bump eslint-plugin-react from 7.20.0 to 7.20.1 ([5283396d](https://github.com/gregoranders/typescript-react-electron-starter/commit/5283396dce76202211863ef3ef409d936c7f8cde)) + +##### Refactors + +- **actions:** remove github action ([eee159a5](https://github.com/gregoranders/typescript-react-electron-starter/commit/eee159a56f35154a849415a6740fd9c81f1a410d)) diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md new file mode 100644 index 0000000..c495666 --- /dev/null +++ b/CONTRIBUTING.md @@ -0,0 +1,76 @@ +# Contributing Guide + +Contributing to `typescript-react-electron-starter` is fairly easy. This document shows you how to +get the project, run all provided tests and generate a production-ready build. + +It also covers provided tasks that help you develop with `typescript-react-electron-starter`. + +## Dependencies + +To make sure that the following instructions work, please install the following dependencies +on you machine: + +- Node.js (comes with a bundles npm) +- Git + +## Installation + +To get the source of `typescript-react-electron-starter`, clone the git repository via: + +``` +$ git clone https://github.com/gregoranders/typescript-react-electron-starter +``` + +This will clone the complete source to your local machine. Navigate to the project folder +and install all needed dependencies via **npm**: + +``` +$ npm install +``` + +This commands installs everything which is required for building and testing the project. + +## Testing + +### Unit testing using [Jest][jest-url] + +`npm test` executes the unit tests. + +## Building + +`npm run build` executes the build. + +## Developing + +`npm run watch` executes the build in watch mode. + +## Ensure code quality [`docker required`](docs/index.md) + +`npm run codeclimate` executes the code quality checks + +## Contributing/Submitting changes + +- Check out a new branch based on development and name it to what you intend to do: + - Example: + ``` + $ git checkout -b BRANCH_NAME origin/development + ``` + If you get an error, you may need to fetch development first by using + ``` + $ git remote update && git fetch + ``` + - Use one branch per fix/feature +- Make your changes + - Make sure to provide a spec for unit tests. + - Run your tests with npm test. + - Save integration time and run code quality checks locally with npm run codeclimate + - When all tests pass, everything's fine. +- Commit your changes + - Please provide a git message that explains what you've done. + - typescript-react-electron-starter uses [generate-changelog](https://www.npmjs.com/package/generate-changelog), so please make sure your commits follow the [conventions](https://docs.google.com/document/d/1QrDFcIiPjSLDn3EL15IJygNPiHORgU1_OOAqWjiDU5Y/edit) + - Commit to the forked repository. +- Make a pull request + - Make sure you send the PR to the development branch. + - CI is watching you! + +[jest-url]: https://jestjs.io/ diff --git a/README.md b/README.md index 63e4051..3d4c3bd 100644 --- a/README.md +++ b/README.md @@ -8,17 +8,19 @@ using [React](https://reactjs.org) written in [TypeScript](http://www.typescript [![Issues][issues-image]][issues-url] [![Code maintainability][code-maintainability-image]][code-maintainability-url] [![Code issues][code-issues-image]][code-issues-url] [![Code Technical Debt][code-tech-debt-image]][code-tech-debt-url] +[![Codacy Badge][codacy-imge]][codacy-url] + [![Main Language][language-image]][code-metric-url] [![Languages][languages-image]][code-metric-url] [![Code Size][code-size-image]][code-metric-url] [![Repo-Size][repo-size-image]][code-metric-url] ## Features -- TypeScript -- Jest Unit Tests with Code Coverage +- [TypeScript][typescript-url] +- [Jest][jest-url] Unit Tests with Code Coverage - GitHub CI Integration (feature, development, master, release) - Travis Integration - CircleCI Integration - AppVeyor Integration -- Code Quality via Code Climate +- Code Quality via [Code Climate](./docs/index.md) and Codacy | GitHub | Travis | CircleCI | AppVeyor | Coveralls | | | ---------------------------------------------------------------- | ------------------------------------------------------------ | ---------------------------------------------------------------- | ---------------------------------------------------------------- | -------------------------------------------------------------------------- | ---------------------------------------------------------------------------- | @@ -46,12 +48,6 @@ npm install npm run build ``` -#### Build GitHub Actions - -``` -npm run actions -``` - ### Testing #### Test using [Jest](https://jestjs.io/) @@ -138,3 +134,7 @@ npm run dist [appveyor-url]: https://ci.appveyor.com/project/gregoranders/typescript-react-electron-starter [appveyor-master-image]: https://img.shields.io/appveyor/build/gregoranders/typescript-react-electron-starter/master [appveyor-development-image]: https://img.shields.io/appveyor/build/gregoranders/typescript-react-electron-starter/development +[typescript-url]: http://www.typescriptlang.org/ +[jest-url]: https://jestjs.io/ +[codacy-imge]: https://app.codacy.com/project/badge/Grade/3c71191775eb4dee9def1e1b9e0bae41 +[codacy-url]: https://www.codacy.com/manual/gregoranders/typescript-react-electron-starter diff --git a/SECURITY.md b/SECURITY.md index f668685..d5fc148 100644 --- a/SECURITY.md +++ b/SECURITY.md @@ -5,9 +5,11 @@ ​ | Version | Supported | | ------- | ------------------ | -| 0.0.9 | :white_check_mark: | +| 0.0.11 | :white_check_mark: | +| 0.0.10 | :x: | +| 0.0.9 | :x: | ​ ## Reporting a Vulnerability -[Create Issue](https://github.com/gregoranders/ts-canvas-playground/issues/new?labels=bug&template=bug_report.md&title=Security+Issue) +[Create Issue](https://github.com/gregoranders/typescript-react-electron-starter/issues/new?labels=bug&template=bug_report.md&title=Security+Issue) diff --git a/docs/CODECLIMATE.md b/docs/index.md similarity index 100% rename from docs/CODECLIMATE.md rename to docs/index.md diff --git a/e2e/main.spec.ts b/e2e/main.spec.ts index 9c82e4d..8dba87c 100644 --- a/e2e/main.spec.ts +++ b/e2e/main.spec.ts @@ -41,7 +41,7 @@ describe('test', (): void => { afterEach( (): Promise => { - return new Promise((resolve: (value: number) => void, reject: (error: string) => void): void => { + return new Promise((resolve) => { testSubject.client.saveScreenshot(path.join(screenshotsPath, `main${counter}.png`)); counter = counter + 1; resolve(counter); @@ -53,21 +53,27 @@ describe('test', (): void => { expect(testSubject.browserWindow.isVisible()).toBeTruthy(); }); - it('2', (): Promise => { - return expect(testSubject.client.getText('body > div > div > h1')).resolves.toBe('Application loaded'); + it('2', async () => { + const element = await testSubject.client.$('h1'); + return expect(testSubject.client.getElementText(element.elementId)).resolves.toBe('Application loaded'); }); - it('3', (): Promise => { - return expect(testSubject.client.getText('h2')).resolves.toBe('1'); + it('3', async () => { + const element = await testSubject.client.$('h2'); + return expect(testSubject.client.getElementText(element.elementId)).resolves.toBe('1'); }); - it('4', (): Promise => { - testSubject.client.element('button').click(); - return expect(testSubject.client.getText('h2')).resolves.toBe('2'); + it('4', async () => { + const element = await testSubject.client.$('h2'); + const button = await testSubject.client.$('button'); + await testSubject.client.elementClick(button.elementId); + return expect(testSubject.client.getElementText(element.elementId)).resolves.toBe('2'); }); - it('5', (): Promise => { - testSubject.client.element('button').click(); - return expect(testSubject.client.getText('h2')).resolves.toBe('1'); + it('5', async () => { + const element = await testSubject.client.$('h2'); + const button = await testSubject.client.$('button'); + await testSubject.client.elementClick(button.elementId); + return expect(testSubject.client.getElementText(element.elementId)).resolves.toBe('1'); }); }); diff --git a/gulpfile.ts b/gulpfile.ts index 520c153..4f5bfb3 100644 --- a/gulpfile.ts +++ b/gulpfile.ts @@ -42,7 +42,7 @@ const version: () => string = (): string => { return '' + PackageJson.version + '-' + gitProperties.branch + '-' + gitProperties.commit; }; -const arch: () => packager.arch = (): packager.arch => { +const arch = () => { switch (os.arch()) { case 'ia32': return 'x64'; @@ -134,7 +134,7 @@ gulp.task( dir: basePath, out: distPath, overwrite: true, - platform: os.platform().toString() as packager.platform, + platform: os.platform().toString(), quiet: false, }) .then((paths: string | string[]): void => { diff --git a/package.json b/package.json index 93e3b1c..e8ae215 100644 --- a/package.json +++ b/package.json @@ -1,13 +1,12 @@ { "name": "typescript-react-electron-starter", - "version": "0.0.9", + "version": "0.0.11", "description": "TypeScript React Electron Starter", "main": "app/main.js", "scripts": { "preclear": "npm run prebuild", - "clear": "rimraf ./node_modules ./test ./dist ./coverage ./coverage-e2e ./e2e/screenshots ./package-lock.json ./gulpfile.js ./gulpfile.js.map ./.github/actions/gulpfile.js ./.github/actions/gulpfile.js.map", + "clear": "rimraf ./node_modules ./test ./dist ./coverage ./coverage-e2e ./e2e/screenshots ./package-lock.json ./gulpfile.js ./gulpfile.js.map", "postinstall": "tsc -p ./", - "actions": "gulp --gulpfile ./.github/actions/gulpfile.js --cwd .", "prebuild": "rimraf ./app/*.js ./app/*.map ./app/styles", "build": "npm run script && npm run scss", "script": "tsc --project ./src", @@ -89,71 +88,62 @@ }, "homepage": "https://gregoranders.github.io/typescript-react-electron-starter/", "dependencies": { - "electron": "9.0.5", + "electron": "9.2.1", "fancy-log": "1.3.3", "react": "16.13.1", "react-dom": "16.13.1" }, "devDependencies": { - "@actions/core": "1.2.4", - "@actions/github": "4.0.0", - "@octokit/core": "3.1.0", - "@octokit/rest": "18.0.0", - "@octokit/types": "5.0.1", "@types/archiver": "3.1.0", - "@types/electron-packager": "14.0.0", + "@types/electron-packager": "15.0.1", "@types/enzyme": "3.10.5", "@types/enzyme-adapter-react-16": "1.0.6", "@types/fancy-log": "1.3.1", "@types/gulp": "4.0.6", "@types/gulp-sass": "4.0.0", "@types/gulp-sourcemaps": "0.0.32", - "@types/jest": "26.0.3", - "@types/mime": "2.0.2", - "@types/react": "16.9.41", + "@types/jest": "26.0.10", + "@types/react": "16.9.46", "@types/react-dom": "16.9.8", - "@types/react-test-renderer": "16.9.2", + "@types/react-test-renderer": "16.9.3", "@types/rimraf": "3.0.0", "@types/through2": "2.0.36", - "@types/webdriverio": "4.13.3", - "@typescript-eslint/eslint-plugin": "3.4.0", - "@typescript-eslint/parser": "3.4.0", - "@zeit/ncc": "0.22.3", - "archiver": "4.0.1", + "@typescript-eslint/eslint-plugin": "3.9.1", + "@typescript-eslint/parser": "3.9.1", + "archiver": "5.0.0", "del": "5.1.0", - "electron-packager": "14.2.1", + "electron-packager": "15.0.0", "enzyme": "3.11.0", - "enzyme-adapter-react-16": "1.15.2", - "eslint": "7.3.1", + "enzyme-adapter-react-16": "1.15.3", + "eslint": "7.7.0", "eslint-config-prettier": "6.11.0", - "eslint-plugin-jest": "23.17.1", + "eslint-plugin-jest": "23.20.0", "eslint-plugin-prettier": "3.1.4", - "eslint-plugin-react": "7.20.0", - "eslint-plugin-react-hooks": "4.0.4", - "eslint-plugin-unicorn": "20.1.0", + "eslint-plugin-react": "7.20.6", + "eslint-plugin-react-hooks": "4.1.0", + "eslint-plugin-unicorn": "21.0.0", "generate-changelog": "1.8.0", "gulp": "4.0.2", "gulp-git": "2.10.1", "husky": "4.2.5", - "jest": "26.1.0", - "jest-cli": "26.1.0", + "jest": "26.4.0", + "jest-cli": "26.4.0", "jest-environment-enzyme": "7.1.2", "jest-enzyme": "7.1.2", "jest-html-reporter": "3.1.3", - "jest-image-snapshot": "4.0.2", - "jest-junit": "11.0.1", + "jest-image-snapshot": "4.1.0", + "jest-junit": "11.1.0", "jest-puppeteer": "4.4.0", "jest-spec-reporter": "1.0.14", "lint-staged": "10.2.11", - "mime": "2.4.6", "node-sass": "4.14.1", "prettier": "2.0.5", "react-test-renderer": "16.13.1", "rimraf": "3.0.2", - "spectre.css": "0.5.8", - "spectron": "11.0.0", - "through2": "3.0.2", - "ts-jest": "26.1.1", - "typescript": "3.9.5" + "spectre.css": "0.5.9", + "spectron": "11.1.0", + "through2": "4.0.2", + "ts-jest": "26.2.0", + "typescript": "3.9.7" } }