From ef07bf3c201be0cef3a20753884b23136ade3e41 Mon Sep 17 00:00:00 2001 From: Marco Franke Date: Wed, 5 Jul 2023 14:10:17 +0200 Subject: [PATCH] Dev (#129) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * fix: :bug: fixed a bug that headless is "false" it must bew "new" fixes #126 * chore(deps): update sigstore/cosign-installer action to v2.8.1 * ci: fixed ci pipeline * ci: latest tag false * chore(release): 📢 1.1.17-dev.1 [skip ci] ## [1.1.17-dev.1](https://github.com/disane87/docudigger/compare/v1.1.16...v1.1.17-dev.1) (2023-07-05) ### Bug Fixes * :bug: fixed a bug that headless is "false" it must bew "new" ([07f87e8](https://github.com/disane87/docudigger/commit/07f87e89ec677ba274ee248e8c6e9f28cd228c1f)), closes [#126](https://github.com/disane87/docudigger/issues/126) * fix: fresh new start * chore(release): 📢 1.1.17-dev.2 [skip ci] ## [1.1.17-dev.2](https://github.com/disane87/docudigger/compare/v1.1.17-dev.1...v1.1.17-dev.2) (2023-07-05) ### Bug Fixes * fresh new start ([a4ff741](https://github.com/disane87/docudigger/commit/a4ff74148d78ea0089207096f2fe25851cf71cdd)) * ci: more reliable ci workflows --------- Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: semantic-release-bot --- .github/workflows/build-and-release.yaml | 68 +--- .github/workflows/clear-cache.yml | 31 -- .github/workflows/docker-release.yaml | 67 ++++ CHANGELOG.md | 455 +---------------------- README.md | 2 +- npm-shrinkwrap.json | 4 +- package.json | 2 +- src/classes/puppeteer.class.ts | 2 +- 8 files changed, 77 insertions(+), 554 deletions(-) delete mode 100644 .github/workflows/clear-cache.yml create mode 100644 .github/workflows/docker-release.yaml diff --git a/.github/workflows/build-and-release.yaml b/.github/workflows/build-and-release.yaml index 4310a802..b5322fb0 100644 --- a/.github/workflows/build-and-release.yaml +++ b/.github/workflows/build-and-release.yaml @@ -2,21 +2,14 @@ name: Semantic release on: workflow_dispatch: push: + paths: + - 'src/**' branches: - 'main' - 'dev' -# tags: -# - 'v*.*.*' - #pull_request: - #branches: - #- 'main' - #- 'dev' - env: GH_TOKEN: ${{ secrets.GH_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - REGISTRY: ghcr.io - IMAGE_NAME: ${{ github.repository }} jobs: build: @@ -33,59 +26,4 @@ jobs: cache: "npm" - run: npm ci - - run: npm run semantic-release:ci - docker: - needs: build - runs-on: ubuntu-latest - steps: - - name: Checkout repository - uses: actions/checkout@v3 - - - name: Install cosign - if: github.event_name != 'pull_request' - uses: sigstore/cosign-installer@c85d0e205a72a294fe064f618a87dbac13084086 # v2.8.1 - with: - cosign-release: 'v1.13.1' - - - name: Setup Docker buildx - uses: docker/setup-buildx-action@16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a - - - name: Log into registry ${{ env.REGISTRY }} - if: github.event_name != 'pull_request' - uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc - with: - registry: ${{ env.REGISTRY }} - username: ${{ github.actor }} - password: ${{ env.GH_TOKEN }} - - - name: get-npm-version - id: package-version - uses: martinbeentjes/npm-get-version-action@v1.3.1 - - - name: Extract Docker metadata - id: meta - uses: docker/metadata-action@v3 - with: - images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} - flavor: | - latest=false - tags: | - type=raw,value=latest,enable={{ is_default_branch }} - type=raw,value=${{ steps.package-version.outputs.current-version}} - type=ref,event=branch - type=semver,pattern={{major}}.{{minor}},value=${{ steps.package-version.outputs.current-version}} - type=semver,pattern={{major}},value=${{ steps.package-version.outputs.current-version}} - - - name: Build and push Docker image - id: build-and-push - uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 - with: - context: . - build-args: | - DOCUDIGGER_VERSION=${{ steps.package-version.outputs.current-version}} - platforms: linux/amd64,linux/arm/v7 - push: ${{ github.event_name != 'pull_request' }} - tags: ${{ steps.meta.outputs.tags }} - labels: ${{ steps.meta.outputs.labels }} - cache-from: type=gha - cache-to: type=gha,mode=max + - run: npm run semantic-release:ci \ No newline at end of file diff --git a/.github/workflows/clear-cache.yml b/.github/workflows/clear-cache.yml deleted file mode 100644 index 686b2e8f..00000000 --- a/.github/workflows/clear-cache.yml +++ /dev/null @@ -1,31 +0,0 @@ -name: cleanup caches by a branch -on: - workflow_dispatch - -jobs: - cleanup: - runs-on: ubuntu-latest - steps: - - name: Check out code - uses: actions/checkout@v3 - - - name: Cleanup - run: | - gh extension install actions/gh-actions-cache - - REPO=${{ github.repository }} - BRANCH=main - - echo "Fetching list of cache key" - cacheKeysForPR=$(gh actions-cache list -R $REPO -B $BRANCH | cut -f 1 ) - - ## Setting this to not fail the workflow while deleting cache keys. - set +e - echo "Deleting caches..." - for cacheKey in $cacheKeysForPR - do - gh actions-cache delete $cacheKey -R $REPO -B $BRANCH --confirm - done - echo "Done" - env: - GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/docker-release.yaml b/.github/workflows/docker-release.yaml new file mode 100644 index 00000000..cd83d351 --- /dev/null +++ b/.github/workflows/docker-release.yaml @@ -0,0 +1,67 @@ +name: Docker release +on: + push: + tags: + - 'v*.*.*' + +env: + GH_TOKEN: ${{ secrets.GH_TOKEN }} + REGISTRY: ghcr.io + IMAGE_NAME: ${{ github.repository }} + +jobs: + docker: + needs: build + runs-on: ubuntu-latest + steps: + - name: Checkout repository + uses: actions/checkout@v3 + + - name: Install cosign + if: github.event_name != 'pull_request' + uses: sigstore/cosign-installer@c85d0e205a72a294fe064f618a87dbac13084086 # v2.8.1 + with: + cosign-release: 'v1.13.1' + + - name: Setup Docker buildx + uses: docker/setup-buildx-action@16c0bc4a6e6ada2cfd8afd41d22d95379cf7c32a + + - name: Log into registry ${{ env.REGISTRY }} + if: github.event_name != 'pull_request' + uses: docker/login-action@465a07811f14bebb1938fbed4728c6a1ff8901fc + with: + registry: ${{ env.REGISTRY }} + username: ${{ github.actor }} + password: ${{ env.GH_TOKEN }} + + - name: get-npm-version + id: package-version + uses: martinbeentjes/npm-get-version-action@v1.3.1 + + - name: Extract Docker metadata + id: meta + uses: docker/metadata-action@v3 + with: + images: ${{ env.REGISTRY }}/${{ env.IMAGE_NAME }} + flavor: | + latest=false + tags: | + type=raw,value=latest,enable={{ is_default_branch }} + type=raw,value=${{ steps.package-version.outputs.current-version}} + type=ref,event=branch + type=semver,pattern={{major}}.{{minor}},value=${{ steps.package-version.outputs.current-version}} + type=semver,pattern={{major}},value=${{ steps.package-version.outputs.current-version}} + + - name: Build and push Docker image + id: build-and-push + uses: docker/build-push-action@2eb1c1961a95fc15694676618e422e8ba1d63825 + with: + context: . + build-args: | + DOCUDIGGER_VERSION=${{ steps.package-version.outputs.current-version}} + platforms: linux/amd64,linux/arm/v7 + push: ${{ github.event_name != 'pull_request' }} + tags: ${{ steps.meta.outputs.tags }} + labels: ${{ steps.meta.outputs.labels }} + cache-from: type=gha + cache-to: type=gha,mode=max diff --git a/CHANGELOG.md b/CHANGELOG.md index 8326cc92..8b88404b 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,457 +1,6 @@ -## [1.1.16](https://github.com/disane87/docudigger/compare/v1.1.15...v1.1.16) (2023-07-05) +## [1.1.17-dev.2](https://github.com/disane87/docudigger/compare/v1.1.17-dev.1...v1.1.17-dev.2) (2023-07-05) ### Bug Fixes -* :bug: fixed a bug where the currentpage was changed during runtime ([ca51618](https://github.com/disane87/docudigger/commit/ca51618f1a76ded3ce0427960490e84b86672cc4)), closes [#119](https://github.com/disane87/docudigger/issues/119) -* removed console-log for example hook ([be1c16e](https://github.com/disane87/docudigger/commit/be1c16e74a184ced1b30648deda5de3a7aa4b7aa)), closes [#117](https://github.com/disane87/docudigger/issues/117) -* removed magic string for login check ([af78807](https://github.com/disane87/docudigger/commit/af788073e45e9603f01ea765a14a7cba3e409f5f)) -* **docker:** :bug: logfolder was not correctly set in docker enviroments ([80395fa](https://github.com/disane87/docudigger/commit/80395fa6d296c8e337bba8d8bf47a1c92ba9f25a)), closes [#118](https://github.com/disane87/docudigger/issues/118) - -## [1.1.16-dev.1](https://github.com/disane87/docudigger/compare/v1.1.15...v1.1.16-dev.1) (2023-07-05) - - -### Bug Fixes - -* :bug: fixed a bug where the currentpage was changed during runtime ([ca51618](https://github.com/disane87/docudigger/commit/ca51618f1a76ded3ce0427960490e84b86672cc4)), closes [#119](https://github.com/disane87/docudigger/issues/119) -* removed console-log for example hook ([be1c16e](https://github.com/disane87/docudigger/commit/be1c16e74a184ced1b30648deda5de3a7aa4b7aa)), closes [#117](https://github.com/disane87/docudigger/issues/117) -* removed magic string for login check ([af78807](https://github.com/disane87/docudigger/commit/af788073e45e9603f01ea765a14a7cba3e409f5f)) -* **docker:** :bug: logfolder was not correctly set in docker enviroments ([80395fa](https://github.com/disane87/docudigger/commit/80395fa6d296c8e337bba8d8bf47a1c92ba9f25a)), closes [#118](https://github.com/disane87/docudigger/issues/118) - -## [1.1.15](https://github.com/disane87/docudigger/compare/v1.1.14...v1.1.15) (2023-07-04) - - -### Bug Fixes - -* Update build-and-release.yaml ([81a623f](https://github.com/disane87/docudigger/commit/81a623ff995c1a26025d7448428672a9a259dffa)) - -## [1.1.14](https://github.com/disane87/docudigger/compare/v1.1.13...v1.1.14) (2023-07-04) - - -### Bug Fixes - -* Update build-and-release.yaml ([a91b3aa](https://github.com/disane87/docudigger/commit/a91b3aafc50c4f24a61ace65f39ebf825c7b296f)) - -## [1.1.13](https://github.com/disane87/docudigger/compare/v1.1.12...v1.1.13) (2023-07-04) - - -### Bug Fixes - -* added docker.yaml ([91ee546](https://github.com/disane87/docudigger/commit/91ee546cdd99917daa882fe360ef5271b59e71b2)) -* Update build-and-release.yaml ([c788cfe](https://github.com/disane87/docudigger/commit/c788cfe1ff7b93c3aa879c971ddf0a690c44491b)) - -## [1.1.12](https://github.com/disane87/docudigger/compare/v1.1.11...v1.1.12) (2023-07-04) - - -### Bug Fixes - -* Update build-and-release.yaml ([4d85064](https://github.com/disane87/docudigger/commit/4d85064d50a3e928ea5f8a974aa648afd399c353)) - -## [1.1.11](https://github.com/disane87/docudigger/compare/v1.1.10...v1.1.11) (2023-07-04) - - -### Bug Fixes - -* Update build-and-release.yaml ([0a1f580](https://github.com/disane87/docudigger/commit/0a1f580fafd46a628c2ad103029f3f36e2e953a1)) - -## [1.1.10](https://github.com/disane87/docudigger/compare/v1.1.9...v1.1.10) (2023-07-04) - - -### Bug Fixes - -* docker tags ([c257853](https://github.com/disane87/docudigger/commit/c257853249ce5b6f072d2f53d09dcd7597f6ea5e)) - -## [1.1.9](https://github.com/disane87/docudigger/compare/v1.1.8...v1.1.9) (2023-07-04) - - -### Bug Fixes - -* docker versions ([c63349c](https://github.com/disane87/docudigger/commit/c63349c3efb3fcfeaedfd6a2504849e7fde9fdef)) -* versions for docker images ([a5eb456](https://github.com/disane87/docudigger/commit/a5eb4561950ab24f3ffad606c790d5c23dcc238f)) - -## [1.1.8](https://github.com/disane87/docudigger/compare/v1.1.7...v1.1.8) (2023-07-04) - - -### Bug Fixes - -* pipeline ([aeb02f1](https://github.com/disane87/docudigger/commit/aeb02f1e39870561ebeeb3b5acd935b1aff33873)) - -## [1.1.7](https://github.com/disane87/docudigger/compare/v1.1.6...v1.1.7) (2023-07-04) - - -### Bug Fixes - -* docker file fix ([9774244](https://github.com/disane87/docudigger/commit/9774244b9059331c254ee2cb327613b5a6441a8c)) - -## [1.1.6](https://github.com/disane87/docudigger/compare/v1.1.5...v1.1.6) (2023-07-04) - - -### Bug Fixes - -* changed package name ([c1476a4](https://github.com/disane87/docudigger/commit/c1476a46a93f779d48e671d66a8a417c94d9e7fe)) - -## [1.1.5](https://github.com/disane87/docudigger/compare/v1.1.4...v1.1.5) (2023-07-04) - - -### Bug Fixes - -* changed package name ([71f7c33](https://github.com/disane87/docudigger/commit/71f7c339d24839687861366ec7222e17e1c37be2)) - -## [1.1.4](https://github.com/disane87/docudigger/compare/v1.1.3...v1.1.4) (2023-07-04) - - -### Bug Fixes - -* **ci:** :green_heart: fixes ci build ([52e4476](https://github.com/disane87/docudigger/commit/52e44767791d3e4173d2d1daabb5c9ce44d6d9fc)) - -## [1.1.3](https://github.com/disane87/docudigger/compare/v1.1.2...v1.1.3) (2023-07-04) - - -### Bug Fixes - -* changed dockerProjectName ([2e3705b](https://github.com/disane87/docudigger/commit/2e3705ba4f03cae04344a3e484749250a3331c02)) -* fixed a bug where shit happens on docker build ([c73ff0d](https://github.com/disane87/docudigger/commit/c73ff0def48fbfc0ba8335c9e0eba1eaa1cadce7)) -* fixed shit 🤎 ([da332fe](https://github.com/disane87/docudigger/commit/da332fec317771024f131f7a45a49b679c885527)) -* **build:** :green_heart: added docker build/publish action. Kudos to [@fwartner](https://github.com/fwartner) ([ac367c5](https://github.com/disane87/docudigger/commit/ac367c53e110886838edd8d72b67e7154d1ee3aa)) -* **build:** :green_heart: changed npm install in dockerfile ([852e976](https://github.com/disane87/docudigger/commit/852e97635505b7b505e34e820b496e0a60fcb67f)) -* **build:** :green_heart: docker builds from semanticn release pipeline ([6f4af3f](https://github.com/disane87/docudigger/commit/6f4af3f9acdc4f3e35be86ffe1155929bac2514a)) - -## [1.1.3](https://github.com/disane87/docudigger/compare/v1.1.2...v1.1.3) (2023-07-04) - - -### Bug Fixes - -* changed dockerProjectName ([2e3705b](https://github.com/disane87/docudigger/commit/2e3705ba4f03cae04344a3e484749250a3331c02)) -* fixed a bug where shit happens on docker build ([c73ff0d](https://github.com/disane87/docudigger/commit/c73ff0def48fbfc0ba8335c9e0eba1eaa1cadce7)) -* fixed shit 🤎 ([da332fe](https://github.com/disane87/docudigger/commit/da332fec317771024f131f7a45a49b679c885527)) -* **build:** :green_heart: changed npm install in dockerfile ([852e976](https://github.com/disane87/docudigger/commit/852e97635505b7b505e34e820b496e0a60fcb67f)) -* **build:** :green_heart: docker builds from semanticn release pipeline ([6f4af3f](https://github.com/disane87/docudigger/commit/6f4af3f9acdc4f3e35be86ffe1155929bac2514a)) - -## [1.1.3](https://github.com/disane87/docudigger/compare/v1.1.2...v1.1.3) (2023-07-04) - - -### Bug Fixes - -* changed dockerProjectName ([2e3705b](https://github.com/disane87/docudigger/commit/2e3705ba4f03cae04344a3e484749250a3331c02)) -* fixed a bug where shit happens on docker build ([c73ff0d](https://github.com/disane87/docudigger/commit/c73ff0def48fbfc0ba8335c9e0eba1eaa1cadce7)) -* fixed shit 🤎 ([da332fe](https://github.com/disane87/docudigger/commit/da332fec317771024f131f7a45a49b679c885527)) -* **build:** :green_heart: changed npm install in dockerfile ([852e976](https://github.com/disane87/docudigger/commit/852e97635505b7b505e34e820b496e0a60fcb67f)) -* **build:** :green_heart: docker builds from semanticn release pipeline ([6f4af3f](https://github.com/disane87/docudigger/commit/6f4af3f9acdc4f3e35be86ffe1155929bac2514a)) - -## [1.1.3-dev.4](https://github.com/disane87/docudigger/compare/v1.1.3-dev.3...v1.1.3-dev.4) (2023-07-04) - - -### Bug Fixes - -* fixed shit 🤎 ([da332fe](https://github.com/disane87/docudigger/commit/da332fec317771024f131f7a45a49b679c885527)) - -## [1.1.3-dev.3](https://github.com/disane87/docudigger/compare/v1.1.3-dev.2...v1.1.3-dev.3) (2023-07-04) - - -### Bug Fixes - -* changed dockerProjectName ([2e3705b](https://github.com/disane87/docudigger/commit/2e3705ba4f03cae04344a3e484749250a3331c02)) - -## [1.1.3-dev.2](https://github.com/disane87/docudigger/compare/v1.1.3-dev.1...v1.1.3-dev.2) (2023-07-04) - - -### Bug Fixes - -* fixed a bug where shit happens on docker build ([c73ff0d](https://github.com/disane87/docudigger/commit/c73ff0def48fbfc0ba8335c9e0eba1eaa1cadce7)) - -## [1.1.3-dev.1](https://github.com/disane87/docudigger/compare/v1.1.2...v1.1.3-dev.1) (2023-07-04) - - -### Bug Fixes - -* **build:** :green_heart: changed npm install in dockerfile ([852e976](https://github.com/disane87/docudigger/commit/852e97635505b7b505e34e820b496e0a60fcb67f)) -* **build:** :green_heart: docker builds from semanticn release pipeline ([6f4af3f](https://github.com/disane87/docudigger/commit/6f4af3f9acdc4f3e35be86ffe1155929bac2514a)) - -## [1.1.3-dev.1](https://github.com/disane87/docudigger/compare/v1.1.2...v1.1.3-dev.1) (2023-07-04) - - -### Bug Fixes - -* **build:** :green_heart: docker builds from semanticn release pipeline ([6f4af3f](https://github.com/disane87/docudigger/commit/6f4af3f9acdc4f3e35be86ffe1155929bac2514a)) - -## [1.1.3-dev.1](https://github.com/disane87/docudigger/compare/v1.1.2...v1.1.3-dev.1) (2023-07-04) - - -### Bug Fixes - -* **build:** :green_heart: docker builds from semanticn release pipeline ([6f4af3f](https://github.com/disane87/docudigger/commit/6f4af3f9acdc4f3e35be86ffe1155929bac2514a)) - -## [1.1.3-dev.1](https://github.com/disane87/docudigger/compare/v1.1.2...v1.1.3-dev.1) (2023-07-04) - - -### Bug Fixes - -* **build:** :green_heart: docker builds from semanticn release pipeline ([6f4af3f](https://github.com/disane87/docudigger/commit/6f4af3f9acdc4f3e35be86ffe1155929bac2514a)) - -## [1.1.3-dev.1](https://github.com/disane87/docudigger/compare/v1.1.2...v1.1.3-dev.1) (2023-07-04) - - -### Bug Fixes - -* **build:** :green_heart: docker builds from semanticn release pipeline ([6f4af3f](https://github.com/disane87/docudigger/commit/6f4af3f9acdc4f3e35be86ffe1155929bac2514a)) - -## [1.1.2](https://github.com/disane87/docudigger/compare/v1.1.1...v1.1.2) (2023-07-03) - - -### Bug Fixes - -* **deps:** update dependency @oclif/core to v2.8.11 ([1e74600](https://github.com/disane87/docudigger/commit/1e746007b3841d86b4533161dcb20639165ea94b)) -* **deps:** update dependency @oclif/plugin-commands to v2.2.17 ([7c5f9d7](https://github.com/disane87/docudigger/commit/7c5f9d7c21e6ad51e5684261eeaea3d00a348e8a)) -* **deps:** update dependency @oclif/plugin-help to v5.2.11 ([f182a37](https://github.com/disane87/docudigger/commit/f182a37430d216916ce553b9bf275bda2f39a8a7)) -* **deps:** update dependency @oclif/plugin-plugins to v3.1.6 ([5cfb780](https://github.com/disane87/docudigger/commit/5cfb780e5dbadabe29b3ab4f40465947ebed2212)) - -## [1.1.1](https://github.com/disane87/docudigger/compare/v1.1.0...v1.1.1) (2023-06-30) - - -### Bug Fixes - -* **deps:** update dependency puppeteer to v20.7.4 ([d691ed5](https://github.com/disane87/docudigger/commit/d691ed5e7e5f1ca818fc9dab5bff062a3f00b1f0)) -* **docker:** :bug: fixed high ressource utilization of docker container ([6b2c58f](https://github.com/disane87/docudigger/commit/6b2c58f93fc46e0743ea996838bd46fb2a47532d)), closes [#86](https://github.com/disane87/docudigger/issues/86) - -# [1.1.0-dev.2](https://github.com/disane87/docudigger/compare/v1.1.0-dev.1...v1.1.0-dev.2) (2023-06-30) - - -### Bug Fixes - -* **deps:** update dependency puppeteer to v20.7.4 ([d691ed5](https://github.com/disane87/docudigger/commit/d691ed5e7e5f1ca818fc9dab5bff062a3f00b1f0)) -* **docker:** :bug: fixed high ressource utilization of docker container ([6b2c58f](https://github.com/disane87/docudigger/commit/6b2c58f93fc46e0743ea996838bd46fb2a47532d)), closes [#86](https://github.com/disane87/docudigger/issues/86) - -# [1.1.0](https://github.com/disane87/docudigger/compare/v1.0.1...v1.1.0) (2023-06-29) - - -### Features - -* :sparkles: support for SUBFOLDER_FOR_PAGES to enable creating documents in subfolders for each plugin ([f2eb3cf](https://github.com/disane87/docudigger/commit/f2eb3cfed4211f90f94583a73f63a0c277ff3cdc)), closes [#80](https://github.com/disane87/docudigger/issues/80) - - -### Bug Fixes - -* **deps:** update dependency luxon to ^3.1.0 [security] ([#76](https://github.com/disane87/docudigger/issues/76)) ([c587c32](https://github.com/disane87/docudigger/commit/c587c3281cfc230c897708d08fa7c70993057b0e)) - -# [1.1.0-dev.1](https://github.com/disane87/docudigger/compare/v1.0.1...v1.1.0-dev.1) (2023-06-29) - - -### Features - -* :sparkles: support for SUBFOLDER_FOR_PAGES to enable creating documents in subfolders for each plugin ([f2eb3cf](https://github.com/disane87/docudigger/commit/f2eb3cfed4211f90f94583a73f63a0c277ff3cdc)), closes [#80](https://github.com/disane87/docudigger/issues/80) - - -### Bug Fixes - -* **deps:** update dependency luxon to ^3.1.0 [security] ([#76](https://github.com/disane87/docudigger/issues/76)) ([c587c32](https://github.com/disane87/docudigger/commit/c587c3281cfc230c897708d08fa7c70993057b0e)) - -## [1.0.1](https://github.com/disane87/docudigger/compare/v1.0.0...v1.0.1) (2023-06-29) - - -### Bug Fixes - -* removed npmrc ([f8eeebf](https://github.com/disane87/docudigger/commit/f8eeebf6997d93bffd103f6a1662b84a373a6a26)) - -# [1.0.0](https://github.com/disane87/docudigger/compare/...v1.0.0) (2023-06-29) - - -### Bug Fixes - -* :bug: fixed bug while handling the recurrance and grafully shutdowns ([ede3746](https://github.com/disane87/docudigger/commit/ede3746027539a1f0fcf0134799783c7c7cdca9c)) -* :bug: fixed bugs in processing of invoices ([7e4961b](https://github.com/disane87/docudigger/commit/7e4961b0e06c6924fd1cffc08b74e97551c56871)), closes [#13](https://github.com/disane87/docudigger/issues/13) [#14](https://github.com/disane87/docudigger/issues/14) -* :bug: fixed bugs in processing of invoices ([0ddf488](https://github.com/disane87/docudigger/commit/0ddf48838823ac23e5f02532a73e46f5a34f37de)), closes [#13](https://github.com/disane87/docudigger/issues/13) -* :bug: Fixed S3 check ([f2d2b3f](https://github.com/disane87/docudigger/commit/f2d2b3f65bc9367dffd494af01e11aedb74d2a3f)) -* :bug: fixes a bug where other user from outside of DE can't login ([8b1dba0](https://github.com/disane87/docudigger/commit/8b1dba019f4b98ca2c8029e67354f293543d544f)), closes [#8](https://github.com/disane87/docudigger/issues/8) -* :construction_worker: build system fixes ([e478e6d](https://github.com/disane87/docudigger/commit/e478e6d16a9f96b64f6704ba769246e8eebf980c)) -* :green_heart: ci changes ([9a019f8](https://github.com/disane87/docudigger/commit/9a019f8c28a592237d5164ef24229cb0d9f9bbad)) -* build fixes ([8d8ef53](https://github.com/disane87/docudigger/commit/8d8ef531d8432dcb222cbf29f6a88c1d98fb8006)) -* fixed .releaserc ([f2a6d84](https://github.com/disane87/docudigger/commit/f2a6d848f1d981527ea12f36baa31d62dc2455ff)) -* fixed a bug where the headless mode doesn't fownload any files ([37f4cf7](https://github.com/disane87/docudigger/commit/37f4cf72b06e9cccd639e5fe5b237b27f9fe1091)) -* fixed build config ([9f71b2b](https://github.com/disane87/docudigger/commit/9f71b2be3821add5e92c033971c6c15a77de85a4)) -* fixed errors in release pipeline ([154cffb](https://github.com/disane87/docudigger/commit/154cffb239e676263139c718a0eae207634fffec)) -* pipeline fixes ([94a9552](https://github.com/disane87/docudigger/commit/94a955291cd5e5ed13db854a2c5a823cc6f65592)) -* **ci:** :rocket: build pipeline ([3acefe4](https://github.com/disane87/docudigger/commit/3acefe4d9f75b651802d519e9aaea0a1489222b3)) -* **ci:** :rocket: deploy fixed ([66adb01](https://github.com/disane87/docudigger/commit/66adb01f847241685ca0a2f21a706f4e4d754547)) -* **ci:** :rocket: fixed build pipeline ([566b7f9](https://github.com/disane87/docudigger/commit/566b7f9c67c832607c21d4191168ee7ec613c50a)) -* **cli:** :bug: fixed a bug in oclif cli flags closes [#19](https://github.com/disane87/docudigger/issues/19) ([631aa4c](https://github.com/disane87/docudigger/commit/631aa4cb79992727730c327e6a981591eadc2407)) -* **files:** :bug: fixes a bug when saving downloaded files ([c8bb712](https://github.com/disane87/docudigger/commit/c8bb7125536abd08a89b8e1de15a13640f8cab76)) -* **files:** :bug: pdfs are not written on docker/linux environments ([f45a142](https://github.com/disane87/docudigger/commit/f45a142c6c300256b06dbbe70f03f062c9d4bda3)), closes [#68](https://github.com/disane87/docudigger/issues/68) -* **files:** :bug: pdfs are not written on docker/linux environments ([a432a5b](https://github.com/disane87/docudigger/commit/a432a5b976b11e5af658da63299d9c6efb39022d)) -* **Gathering:** :bug: Fixed a bug where invoices are not correctly downloaded and some other improvements ([da567b5](https://github.com/disane87/docudigger/commit/da567b59e8374d356ef100831dac75b8a2832cd3)) - - -### Features - -* :bookmark: inital version ([b33c2a6](https://github.com/disane87/docudigger/commit/b33c2a64c1dbe6d17b84134ddd2d5d04cc9db8cc)) -* :sparkles: Config from Env-Vars, Configfile or CLI-Arguments ([ea87454](https://github.com/disane87/docudigger/commit/ea874544e09d20a76758852e92eeb4ec734d2bfb)), closes [#2](https://github.com/disane87/docudigger/issues/2) -* :sparkles: Refactoring to be able to write a log of the processed invoices ([5cfd5a6](https://github.com/disane87/docudigger/commit/5cfd5a65e21385da1360f793bde900ccbda2bd61)), closes [#1](https://github.com/disane87/docudigger/issues/1) -* :sparkles: Refactoring to be able to write a log of the processed invoices ([3a4cbc0](https://github.com/disane87/docudigger/commit/3a4cbc0d9f6836a492dfe3134dae8546281e6945)) -* **cli:** :construction: added feature to generate an example env file with all flags ([665c15a](https://github.com/disane87/docudigger/commit/665c15a1785331c8bb7cfa0510e81def8380d37e)) -* **Gathering:** :sparkles: Gathering invoices for all years and pages ([d40d0b1](https://github.com/disane87/docudigger/commit/d40d0b152437f89e99dfd7634fd93207aa16b1e1)) - -# [1.0.0-dev.13](https://github.com/disane87/docudigger/compare/v1.0.0-dev.12...v1.0.0-dev.13) (2023-06-29) - - -### Bug Fixes - -* :bug: fixed bug while handling the recurrance and grafully shutdowns ([ede3746](https://github.com/disane87/docudigger/commit/ede3746027539a1f0fcf0134799783c7c7cdca9c)) -* fixed .releaserc ([f2a6d84](https://github.com/disane87/docudigger/commit/f2a6d848f1d981527ea12f36baa31d62dc2455ff)) - -# [1.0.0-dev.13](https://github.com/disane87/docudigger/compare/v1.0.0-dev.12...v1.0.0-dev.13) (2023-06-29) - - -### Bug Fixes - -* :bug: fixed bug while handling the recurrance and grafully shutdowns ([ede3746](https://github.com/disane87/docudigger/commit/ede3746027539a1f0fcf0134799783c7c7cdca9c)) -* fixed .releaserc ([f2a6d84](https://github.com/disane87/docudigger/commit/f2a6d848f1d981527ea12f36baa31d62dc2455ff)) - -# [1.0.0-dev.13](https://github.com/disane87/docudigger/compare/v1.0.0-dev.12...v1.0.0-dev.13) (2023-06-29) - - -### Bug Fixes - -* :bug: fixed bug while handling the recurrance and grafully shutdowns ([ede3746](https://github.com/disane87/docudigger/commit/ede3746027539a1f0fcf0134799783c7c7cdca9c)) -* fixed .releaserc ([f2a6d84](https://github.com/disane87/docudigger/commit/f2a6d848f1d981527ea12f36baa31d62dc2455ff)) - -# [1.0.0-dev.13](https://github.com/disane87/docudigger/compare/v1.0.0-dev.12...v1.0.0-dev.13) (2023-06-29) - - -### Bug Fixes - -* :bug: fixed bug while handling the recurrance and grafully shutdowns ([ede3746](https://github.com/disane87/docudigger/commit/ede3746027539a1f0fcf0134799783c7c7cdca9c)) -* fixed .releaserc ([f2a6d84](https://github.com/disane87/docudigger/commit/f2a6d848f1d981527ea12f36baa31d62dc2455ff)) - -# [1.0.0-dev.13](https://github.com/disane87/docudigger/compare/v1.0.0-dev.12...v1.0.0-dev.13) (2023-06-29) - - -### Bug Fixes - -* :bug: fixed bug while handling the recurrance and grafully shutdowns ([ede3746](https://github.com/disane87/docudigger/commit/ede3746027539a1f0fcf0134799783c7c7cdca9c)) -* fixed .releaserc ([f2a6d84](https://github.com/disane87/docudigger/commit/f2a6d848f1d981527ea12f36baa31d62dc2455ff)) - -# [1.0.0-dev.13](https://github.com/disane87/docudigger/compare/v1.0.0-dev.12...v1.0.0-dev.13) (2023-06-29) - - -### Bug Fixes - -* :bug: fixed bug while handling the recurrance and grafully shutdowns ([ede3746](https://github.com/disane87/docudigger/commit/ede3746027539a1f0fcf0134799783c7c7cdca9c)) -* fixed .releaserc ([f2a6d84](https://github.com/disane87/docudigger/commit/f2a6d848f1d981527ea12f36baa31d62dc2455ff)) - -# [1.0.0-dev.13](https://github.com/disane87/docudigger/compare/v1.0.0-dev.12...v1.0.0-dev.13) (2023-06-29) - - -### Bug Fixes - -* :bug: fixed bug while handling the recurrance and grafully shutdowns ([ede3746](https://github.com/disane87/docudigger/commit/ede3746027539a1f0fcf0134799783c7c7cdca9c)) - -# [1.0.0-dev.12](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.11...v1.0.0-dev.12) (2023-06-28) - - -### Bug Fixes - -* **files:** :bug: pdfs are not written on docker/linux environments ([f45a142](https://github.com/Disane87/docudigger/commit/f45a142c6c300256b06dbbe70f03f062c9d4bda3)), closes [#68](https://github.com/Disane87/docudigger/issues/68) -* **files:** :bug: pdfs are not written on docker/linux environments ([a432a5b](https://github.com/Disane87/docudigger/commit/a432a5b976b11e5af658da63299d9c6efb39022d)) - -# [1.0.0-dev.11](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.10...v1.0.0-dev.11) (2023-06-28) - - -### Bug Fixes - -* **ci:** :rocket: build pipeline ([3acefe4](https://github.com/Disane87/docudigger/commit/3acefe4d9f75b651802d519e9aaea0a1489222b3)) - -# [1.0.0-dev.10](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.9...v1.0.0-dev.10) (2023-06-28) - - -### Bug Fixes - -* **ci:** :rocket: fixed build pipeline ([566b7f9](https://github.com/Disane87/docudigger/commit/566b7f9c67c832607c21d4191168ee7ec613c50a)) - -# [1.0.0-dev.9](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.8...v1.0.0-dev.9) (2023-06-28) - - -### Bug Fixes - -* **ci:** :rocket: deploy fixed ([66adb01](https://github.com/Disane87/docudigger/commit/66adb01f847241685ca0a2f21a706f4e4d754547)) - -# [1.0.0-dev.8](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.7...v1.0.0-dev.8) (2023-06-28) - - -### Bug Fixes - -* **files:** :bug: fixes a bug when saving downloaded files ([c8bb712](https://github.com/Disane87/docudigger/commit/c8bb7125536abd08a89b8e1de15a13640f8cab76)) - -# [1.0.0-dev.7](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.6...v1.0.0-dev.7) (2023-06-28) - - -### Bug Fixes - -* :green_heart: ci changes ([9a019f8](https://github.com/Disane87/docudigger/commit/9a019f8c28a592237d5164ef24229cb0d9f9bbad)) - -# [1.0.0-dev.6](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.5...v1.0.0-dev.6) (2023-06-28) - - -### Bug Fixes - -* :construction_worker: build system fixes ([e478e6d](https://github.com/Disane87/docudigger/commit/e478e6d16a9f96b64f6704ba769246e8eebf980c)) - -# [1.0.0-dev.5](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.4...v1.0.0-dev.5) (2023-06-28) - - -### Bug Fixes - -* fixed build config ([9f71b2b](https://github.com/Disane87/docudigger/commit/9f71b2be3821add5e92c033971c6c15a77de85a4)) - -# [1.0.0-dev.4](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.3...v1.0.0-dev.4) (2023-06-28) - - -### Bug Fixes - -* build fixes ([8d8ef53](https://github.com/Disane87/docudigger/commit/8d8ef531d8432dcb222cbf29f6a88c1d98fb8006)) - -# [1.0.0-dev.3](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.2...v1.0.0-dev.3) (2023-06-28) - - -### Bug Fixes - -* fixed errors in release pipeline ([154cffb](https://github.com/Disane87/docudigger/commit/154cffb239e676263139c718a0eae207634fffec)) - -# [1.0.0-dev.2](https://github.com/Disane87/docudigger/compare/v1.0.0-dev.1...v1.0.0-dev.2) (2023-06-28) - - -### Bug Fixes - -* pipeline fixes ([94a9552](https://github.com/Disane87/docudigger/commit/94a955291cd5e5ed13db854a2c5a823cc6f65592)) - -# 1.0.0-dev.1 (2023-06-28) - - -### Bug Fixes - -* :bug: fixed bugs in processing of invoices ([7e4961b](https://github.com/Disane87/docudigger/commit/7e4961b0e06c6924fd1cffc08b74e97551c56871)), closes [#13](https://github.com/Disane87/docudigger/issues/13) [#14](https://github.com/Disane87/docudigger/issues/14) -* :bug: fixed bugs in processing of invoices ([0ddf488](https://github.com/Disane87/docudigger/commit/0ddf48838823ac23e5f02532a73e46f5a34f37de)), closes [#13](https://github.com/Disane87/docudigger/issues/13) -* :bug: fixes a bug where other user from outside of DE can't login ([8b1dba0](https://github.com/Disane87/docudigger/commit/8b1dba019f4b98ca2c8029e67354f293543d544f)), closes [#8](https://github.com/Disane87/docudigger/issues/8) -* **cli:** :bug: fixed a bug in oclif cli flags closes [#19](https://github.com/Disane87/docudigger/issues/19) ([631aa4c](https://github.com/Disane87/docudigger/commit/631aa4cb79992727730c327e6a981591eadc2407)) -* fixed a bug where the headless mode doesn't fownload any files ([37f4cf7](https://github.com/Disane87/docudigger/commit/37f4cf72b06e9cccd639e5fe5b237b27f9fe1091)) - - -### Features - -* :bookmark: inital version ([b33c2a6](https://github.com/Disane87/docudigger/commit/b33c2a64c1dbe6d17b84134ddd2d5d04cc9db8cc)) -* **cli:** :construction: added feature to generate an example env file with all flags ([665c15a](https://github.com/Disane87/docudigger/commit/665c15a1785331c8bb7cfa0510e81def8380d37e)) - -# 1.0.0-dev.1 (2023-06-28) - - -### Bug Fixes - -* :bug: fixed bugs in processing of invoices ([7e4961b](https://github.com/Disane87/docudigger/commit/7e4961b0e06c6924fd1cffc08b74e97551c56871)), closes [#13](https://github.com/Disane87/docudigger/issues/13) [#14](https://github.com/Disane87/docudigger/issues/14) -* :bug: fixed bugs in processing of invoices ([0ddf488](https://github.com/Disane87/docudigger/commit/0ddf48838823ac23e5f02532a73e46f5a34f37de)), closes [#13](https://github.com/Disane87/docudigger/issues/13) -* :bug: fixes a bug where other user from outside of DE can't login ([8b1dba0](https://github.com/Disane87/docudigger/commit/8b1dba019f4b98ca2c8029e67354f293543d544f)), closes [#8](https://github.com/Disane87/docudigger/issues/8) -* **cli:** :bug: fixed a bug in oclif cli flags closes [#19](https://github.com/Disane87/docudigger/issues/19) ([631aa4c](https://github.com/Disane87/docudigger/commit/631aa4cb79992727730c327e6a981591eadc2407)) -* fixed a bug where the headless mode doesn't fownload any files ([37f4cf7](https://github.com/Disane87/docudigger/commit/37f4cf72b06e9cccd639e5fe5b237b27f9fe1091)) - - -### Features - -* :bookmark: inital version ([b33c2a6](https://github.com/Disane87/docudigger/commit/b33c2a64c1dbe6d17b84134ddd2d5d04cc9db8cc)) -* **cli:** :construction: added feature to generate an example env file with all flags ([665c15a](https://github.com/Disane87/docudigger/commit/665c15a1785331c8bb7cfa0510e81def8380d37e)) +* fresh new start ([a4ff741](https://github.com/disane87/docudigger/commit/a4ff74148d78ea0089207096f2fe25851cf71cdd)) diff --git a/README.md b/README.md index dbfc797a..13c67c83 100644 --- a/README.md +++ b/README.md @@ -55,7 +55,7 @@ $ npm install -g @disane-dev/docudigger $ docudigger COMMAND running command... $ docudigger (--version) -@disane-dev/docudigger/1.1.16 linux-x64 node-v18.16.1 +@disane-dev/docudigger/1.1.17-dev.2 linux-x64 node-v18.16.1 $ docudigger --help [COMMAND] USAGE $ docudigger COMMAND diff --git a/npm-shrinkwrap.json b/npm-shrinkwrap.json index 8b1931a3..3ed54759 100644 --- a/npm-shrinkwrap.json +++ b/npm-shrinkwrap.json @@ -1,12 +1,12 @@ { "name": "@disane-dev/docudigger", - "version": "1.1.16", + "version": "1.1.17-dev.2", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@disane-dev/docudigger", - "version": "1.1.16", + "version": "1.1.17-dev.2", "hasInstallScript": true, "license": "MIT", "dependencies": { diff --git a/package.json b/package.json index 42be1c38..aac5442d 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@disane-dev/docudigger", - "version": "1.1.16", + "version": "1.1.17-dev.2", "description": "Universal and extensible document scraper to get documents from pages (like customer portals etc.)", "author": "Marco Franke @Disane87", "bin": { diff --git a/src/classes/puppeteer.class.ts b/src/classes/puppeteer.class.ts index 172ad1af..76de1bb9 100644 --- a/src/classes/puppeteer.class.ts +++ b/src/classes/puppeteer.class.ts @@ -14,7 +14,7 @@ export class Puppeteer { } public async setup(): Promise { - this.browser = await puppeteer.launch({ headless: false, args: this.arguments, dumpio: false, devtools: this.debug, executablePath: this.getExecutablePath() }); + this.browser = await puppeteer.launch({ headless: `new`, args: this.arguments, dumpio: false, devtools: this.debug, executablePath: this.getExecutablePath() }); return this.browser; }