diff --git a/.github/workflows/workflow.yml b/.github/workflows/workflow.yml index de5a07d58..e03412e95 100644 --- a/.github/workflows/workflow.yml +++ b/.github/workflows/workflow.yml @@ -38,9 +38,6 @@ jobs: node-version: '20' cache: 'npm' - - name: set npm auth - run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc - - name: install node modules run: npm ci @@ -70,9 +67,6 @@ jobs: - name: Checkout uses: actions/checkout@v4.1.1 - - name: Set npm auth - run: echo "//npm.pkg.github.com/:_authToken=${{ secrets.GITHUB_TOKEN }}" >> ~/.npmrc - - name: Run cypress uses: cypress-io/github-action@v6.6.1 with: @@ -137,4 +131,3 @@ jobs: labels: ${{ steps.meta.outputs.labels }} build-args: | VITE_VERSION=${{ github.ref_name }} - GITHUB_TOKEN=${{ secrets.GITHUB_TOKEN }} diff --git a/.npmrc b/.npmrc deleted file mode 100644 index 13a79428e..000000000 --- a/.npmrc +++ /dev/null @@ -1 +0,0 @@ -@envelope-zero:registry=https://npm.pkg.github.com diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 89f255d4a..4501da45f 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -7,7 +7,6 @@ Contributions are welcome. Please note the [Code of Conduct](CODE_OF_CONDUCT.md) You will need to: - Install [pre-commit](https://pre-commit.com/) -- Set up a GitHub Personal Access Token to read from the GitHub package repository. Follow the steps in https://docs.github.com/en/packages/working-with-a-github-packages-registry/working-with-the-npm-registry#authenticating-with-a-personal-access-token. Once these steps are done, run `make setup` to perform the repository setup. diff --git a/Dockerfile b/Dockerfile index 1517df9c1..af648b493 100644 --- a/Dockerfile +++ b/Dockerfile @@ -7,9 +7,7 @@ WORKDIR /app COPY package.json package-lock.json /app/ COPY patches /app/patches -ARG GITHUB_TOKEN -RUN echo "//npm.pkg.github.com/:_authToken=${GITHUB_TOKEN}" >> ~/.npmrc && \ - npm install --production +RUN npm install --production # Copy app files COPY src /app/src diff --git a/package-lock.json b/package-lock.json index 389be43ec..0e91ba5a5 100644 --- a/package-lock.json +++ b/package-lock.json @@ -7,7 +7,7 @@ "name": "envelope-zero-frontend", "hasInstallScript": true, "dependencies": { - "@envelope-zero/ynap-parsers": "1.17.1", + "@envelope-zero/ynap-parsers": "1.17.3", "@headlessui/react": "1.7.18", "@heroicons/react": "2.1.1", "@tailwindcss/forms": "0.5.7", @@ -2432,12 +2432,11 @@ "integrity": "sha512-/crHGujo0xnuHIYNc1VgP0HGJGFSoSqq88JFXe6FmFyXPpWt8Xu39LyLg7rchsxfXFeEdA9CrIZvLV5eswXV5g==" }, "node_modules/@envelope-zero/ynap-bank2ynab-converter": { - "version": "1.14.39", - "resolved": "https://npm.pkg.github.com/download/@envelope-zero/ynap-bank2ynab-converter/1.14.39/e6ae652b9e6f4f4a5a78b4c90f07f7e050f7e9fb", - "integrity": "sha512-5ygoRYwfTk8TtGrxou9xRoMuixcv7QcsiyjZsm5lsV25qxhQs6AMaeku/8se+5GGu9/Der2p8BAc1goWlEdVqQ==", - "license": "MIT", + "version": "1.14.85", + "resolved": "https://registry.npmjs.org/@envelope-zero/ynap-bank2ynab-converter/-/ynap-bank2ynab-converter-1.14.85.tgz", + "integrity": "sha512-0w+5LkUrMg3tNM+WB/afMVAd7WCQPg+Rnfh2W1QFJqi6ZvzLO5BTs8a8iWZsv8p3gYN/EGwg0IJnnJwjDRqhvQ==", "dependencies": { - "commander": "11.1.0", + "commander": "12.0.0", "encoding": "0.1.13", "node-fetch": "2.7.0" }, @@ -2446,19 +2445,19 @@ } }, "node_modules/@envelope-zero/ynap-bank2ynab-converter/node_modules/commander": { - "version": "11.1.0", - "resolved": "https://registry.npmjs.org/commander/-/commander-11.1.0.tgz", - "integrity": "sha512-yPVavfyCcRhmorC7rWlkHn15b4wDVgVmBA7kV4QVBsF7kv/9TKJAbAXVTxvTnwP8HHKjRCJDClKbciiYS7p0DQ==", + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/commander/-/commander-12.0.0.tgz", + "integrity": "sha512-MwVNWlYjDTtOjX5PiD7o5pK0UrFU/OYgcJfjjK4RaHZETNtjJqrZa9Y9ds88+A+f+d5lv+561eZ+yCKoS3gbAA==", "engines": { - "node": ">=16" + "node": ">=18" } }, "node_modules/@envelope-zero/ynap-parsers": { - "version": "1.17.1", - "resolved": "https://npm.pkg.github.com/download/@envelope-zero/ynap-parsers/1.17.1/531f91debdff73e12f1de0b535f2ba5481f218b1", - "integrity": "sha512-ETPR+o8vfBgjOfdjqURm+1FezH98z8pCcrB1nRsHiSUrw/XYbYCFgzgyk+CYvHh/exC/j4pTUyWDr6F4GoBXjA==", + "version": "1.17.3", + "resolved": "https://registry.npmjs.org/@envelope-zero/ynap-parsers/-/ynap-parsers-1.17.3.tgz", + "integrity": "sha512-dZlZQrbDwiA/P494QlECRKAkiiw2cny51y0kXErIDcE42ksrjQ8wAE2+TGYi6Bp9QcimaA+1gzGiHthx5RS7aQ==", "dependencies": { - "@envelope-zero/ynap-bank2ynab-converter": "1.14.39", + "@envelope-zero/ynap-bank2ynab-converter": "1.14.85", "buffer": "6.0.3", "date-fns": "3.3.1", "iban": "0.0.14", @@ -5664,9 +5663,9 @@ } }, "node_modules/caniuse-lite": { - "version": "1.0.30001578", - "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001578.tgz", - "integrity": "sha512-J/jkFgsQ3NEl4w2lCoM9ZPxrD+FoBNJ7uJUpGVjIg/j0OwJosWM36EPDv+Yyi0V4twBk9pPmlFS+PLykgEvUmg==", + "version": "1.0.30001591", + "resolved": "https://registry.npmjs.org/caniuse-lite/-/caniuse-lite-1.0.30001591.tgz", + "integrity": "sha512-PCzRMei/vXjJyL5mJtzNiUCKP59dm8Apqc3PH8gJkMnMXZGox93RbE76jHsmLwmIo6/3nsYIpJtx0O7u5PqFuQ==", "funding": [ { "type": "opencollective", diff --git a/package.json b/package.json index 8b670a291..33425d7b1 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "envelope-zero-frontend", "dependencies": { - "@envelope-zero/ynap-parsers": "1.17.1", + "@envelope-zero/ynap-parsers": "1.17.3", "@headlessui/react": "1.7.18", "@heroicons/react": "2.1.1", "@tailwindcss/forms": "0.5.7",