diff --git a/.github/workflows/cron.yml b/.github/workflows/cron.yml index daa3869..3681a5e 100644 --- a/.github/workflows/cron.yml +++ b/.github/workflows/cron.yml @@ -36,7 +36,7 @@ jobs: git push origin ${{ github.head_ref }} || true curl -fsS -m 10 --retry 5 -o /dev/null https://hc-ping.com/2345b25e-fe7d-4efd-b085-5886e6c85cc7 flush: - depends-on: [update] + needs: [update] runs-on: ubuntu-latest steps: - name: Checkout diff --git a/package.json b/package.json index 85e27ec..3a0dbfc 100644 --- a/package.json +++ b/package.json @@ -3,11 +3,6 @@ "description": "A list of most common User Agent.", "homepage": "https://microlink.io/user-agents", "version": "2.1.0", - "exports": { - ".": "./src/index.js", - "./desktop": "./src/desktop.js", - "./mobile": "./src/mobile.js" - }, "author": { "email": "hello@microlink.io", "name": "microlink.io", @@ -62,7 +57,8 @@ "simple-git-hooks": "latest", "standard": "latest", "standard-markdown": "latest", - "standard-version": "latest" + "standard-version": "latest", + "ua-parser-js": "latest" }, "files": [ "src" @@ -87,6 +83,11 @@ "@commitlint/config-conventional" ] }, + "exports": { + ".": "./src/index.js", + "./desktop": "./src/desktop.js", + "./mobile": "./src/mobile.js" + }, "nano-staged": { "*.js": [ "prettier-standard",