From 7f60db2c923062f49a121d0d4e8a702fa1df37a5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Somhairle=20MacLe=C3=B2id?= Date: Wed, 6 Sep 2023 17:17:00 +0100 Subject: [PATCH] `pnpm` followup (#3899) * Disable `pnpm` git checks * Update Quick Edit build script * Add toucan-js to format-errors worker --- .github/workflows/quick-edit.yml | 2 +- .npmrc | 1 + packages/format-errors/package.json | 8 ++++-- pnpm-lock.yaml | 44 +++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+), 4 deletions(-) create mode 100644 .npmrc diff --git a/.github/workflows/quick-edit.yml b/.github/workflows/quick-edit.yml index 6d33f1b64619..cc12de823479 100644 --- a/.github/workflows/quick-edit.yml +++ b/.github/workflows/quick-edit.yml @@ -43,7 +43,7 @@ jobs: run: cd packages/quick-edit && yarn setup && yarn custom:build - name: Publish Quick Edit - run: pnpm -w packages/quick-edit run publish + run: pnpm --filter quick-edit run publish env: CLOUDFLARE_ACCOUNT_ID: "e35fd947284363a46fd7061634477114" CLOUDFLARE_API_TOKEN: ${{ secrets.CLOUDFLARE_API_TOKEN }} diff --git a/.npmrc b/.npmrc new file mode 100644 index 000000000000..a4be22c9207c --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +git-checks=false diff --git a/packages/format-errors/package.json b/packages/format-errors/package.json index b18294163eb9..14cdd7e2df38 100644 --- a/packages/format-errors/package.json +++ b/packages/format-errors/package.json @@ -5,15 +5,17 @@ "scripts": { "check:lint": "eslint .", "publish": "wrangler deploy", + "build": "wrangler build", "start": "wrangler dev" }, "devDependencies": { + "@cloudflare/eslint-config-worker": "*", "@cloudflare/workers-types": "^4.20230321.0", "mustache": "^4.2.0", + "toucan-js": "^3.2.3", + "tsconfig": "*", "typescript": "^5.0.2", "wrangler": "workspace:*", - "zod": "^3.21.4", - "@cloudflare/eslint-config-worker": "*", - "tsconfig": "*" + "zod": "^3.21.4" } } diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 7c3a8b7aebb4..6c500fcdba03 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -612,6 +612,9 @@ importers: mustache: specifier: ^4.2.0 version: 4.2.0 + toucan-js: + specifier: ^3.2.3 + version: 3.2.3 tsconfig: specifier: '*' version: 7.0.0 @@ -4009,6 +4012,15 @@ packages: tslib: 2.5.3 dev: true + /@sentry/core@7.65.0: + resolution: {integrity: sha512-EwZABW8CtAbRGXV69FqeCqcNApA+Jbq308dko0W+MFdFe+9t2RGubUkpPxpJcbWy/dN2j4LiuENu1T7nWn0ZAQ==} + engines: {node: '>=8'} + dependencies: + '@sentry/types': 7.65.0 + '@sentry/utils': 7.65.0 + tslib: 2.5.3 + dev: true + /@sentry/integrations@7.64.0: resolution: {integrity: sha512-6gbSGiruOifAmLtXw//Za19GWiL5qugDMEFxSvc5WrBWb+A8UK+foPn3K495OcivLS68AmqAQCUGb+6nlVowwA==} engines: {node: '>=8'} @@ -4019,11 +4031,26 @@ packages: tslib: 2.5.3 dev: true + /@sentry/integrations@7.65.0: + resolution: {integrity: sha512-9b54p0UrkWe9+RAWWTObJQ2k/uStqaUj7BkNFyuaxfKQ4IZViqc4Sa7d7zX2X1oynGNL3ic7iqcgVTh7NvNsAQ==} + engines: {node: '>=8'} + dependencies: + '@sentry/types': 7.65.0 + '@sentry/utils': 7.65.0 + localforage: 1.10.0 + tslib: 2.5.3 + dev: true + /@sentry/types@7.64.0: resolution: {integrity: sha512-LqjQprWXjUFRmzIlUjyA+KL+38elgIYmAeoDrdyNVh8MK5IC1W2Lh1Q87b4yOiZeMiIhIVNBd7Ecoh2rodGrGA==} engines: {node: '>=8'} dev: true + /@sentry/types@7.65.0: + resolution: {integrity: sha512-YYq7IDLLhpSBTmHoyWFtq/5ZDaEJ01r7xGuhB0aSIq33cm2I7im/B3ipzoOP/ukGZSIhuYVW9t531xZEO0+6og==} + engines: {node: '>=8'} + dev: true + /@sentry/utils@7.64.0: resolution: {integrity: sha512-HRlM1INzK66Gt+F4vCItiwGKAng4gqzCR4C5marsL3qv6SrKH98dQnCGYgXluSWaaa56h97FRQu7TxCk6jkSvQ==} engines: {node: '>=8'} @@ -4032,6 +4059,14 @@ packages: tslib: 2.5.3 dev: true + /@sentry/utils@7.65.0: + resolution: {integrity: sha512-2JEBf4jzRSClhp+LJpX/E3QgHEeKvXqFMeNhmwQ07qqd6szhfH2ckYFj4gXk6YiGGY4Act3C6oxLfdZovG71bw==} + engines: {node: '>=8'} + dependencies: + '@sentry/types': 7.65.0 + tslib: 2.5.3 + dev: true + /@sinclair/typebox@0.24.27: resolution: {integrity: sha512-K7C7IlQ3zLePEZleUN21ceBA2aLcMnLHTLph8QWk1JK37L90obdpY+QGY8bXMKxf1ht1Z0MNewvXxWv0oGDYFg==} @@ -12948,6 +12983,15 @@ packages: dev: true patched: true + /toucan-js@3.2.3: + resolution: {integrity: sha512-5sdXtcJfgFXfvn6R4GwsNriUQp6RVdIeKc/+xkyXZqGw56fY2oP4+TTPY8LtojgRMiDZhvD4nFxIIl/Ctple+Q==} + dependencies: + '@sentry/core': 7.65.0 + '@sentry/integrations': 7.65.0 + '@sentry/types': 7.65.0 + '@sentry/utils': 7.65.0 + dev: true + /tr46@0.0.3: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==}