From f3eae3c3983d681115d89caa589ba99907ca8a02 Mon Sep 17 00:00:00 2001 From: David Sheldrick Date: Mon, 26 Feb 2024 10:06:23 +0000 Subject: [PATCH] Update auto (#2952) Auto merged this PR https://github.com/intuit/auto/pull/2420/files So we can get rid of our patch file ### Change Type - [x] `internal` --- ...@auto-it-core-npm-10.46.0-4ce8f196af.patch | 13 -- package.json | 6 +- scripts/package.json | 2 +- scripts/publish-new.ts | 1 + yarn.lock | 193 ++++-------------- 5 files changed, 44 insertions(+), 171 deletions(-) delete mode 100644 .yarn/patches/@auto-it-core-npm-10.46.0-4ce8f196af.patch diff --git a/.yarn/patches/@auto-it-core-npm-10.46.0-4ce8f196af.patch b/.yarn/patches/@auto-it-core-npm-10.46.0-4ce8f196af.patch deleted file mode 100644 index 0c3b48a68..000000000 --- a/.yarn/patches/@auto-it-core-npm-10.46.0-4ce8f196af.patch +++ /dev/null @@ -1,13 +0,0 @@ -diff --git a/dist/auto.js b/dist/auto.js -index f85465f2bf6968bbc2a8c9d66eaa181a6a3cdabd..8723c86f2be2c41a7638fc842964093808c55cc4 100644 ---- a/dist/auto.js -+++ b/dist/auto.js -@@ -34,7 +34,7 @@ const is_binary_1 = tslib_1.__importDefault(require("./utils/is-binary")); - const git_reset_1 = require("./utils/git-reset"); - try { - if (require.resolve("typescript")) { -- require("ts-node/register/transpile-only"); -+ // require("ts-node/register/transpile-only"); - } - } - catch (error) { diff --git a/package.json b/package.json index 3d29f2f3c..4818aa2d5 100644 --- a/package.json +++ b/package.json @@ -81,7 +81,7 @@ "@types/react-dom": "^18.2.18", "@typescript-eslint/eslint-plugin": "^5.57.0", "@typescript-eslint/parser": "^5.57.0", - "auto": "^11.0.7", + "auto": "^11.1.1", "eslint": "^8.37.0", "eslint-config-prettier": "^8.8.0", "eslint-plugin-deprecation": "^2.0.0", @@ -106,9 +106,7 @@ "resolutions": { "@microsoft/api-extractor@^7.35.4": "patch:@microsoft/api-extractor@npm%3A7.35.4#./.yarn/patches/@microsoft-api-extractor-npm-7.35.4-5f4f0357b4.patch", "vectra@^0.4.4": "patch:vectra@npm%3A0.4.4#./.yarn/patches/vectra-npm-0.4.4-6aac3f6c29.patch", - "domino@^2.1.6": "patch:domino@npm%3A2.1.6#./.yarn/patches/domino-npm-2.1.6-b0dc3de857.patch", - "@auto-it/core@^10.45.0": "patch:@auto-it/core@npm%3A10.46.0#./.yarn/patches/@auto-it-core-npm-10.46.0-4ce8f196af.patch", - "@auto-it/core@10.46.0": "patch:@auto-it/core@npm%3A10.46.0#./.yarn/patches/@auto-it-core-npm-10.46.0-4ce8f196af.patch" + "domino@^2.1.6": "patch:domino@npm%3A2.1.6#./.yarn/patches/domino-npm-2.1.6-b0dc3de857.patch" }, "dependencies": { "@sentry/cli": "^2.25.0", diff --git a/scripts/package.json b/scripts/package.json index 9bd834587..99607058f 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -27,7 +27,7 @@ ], "devDependencies": { "@actions/github": "^6.0.0", - "@auto-it/core": "^10.45.0", + "@auto-it/core": "^11.1.1", "@aws-sdk/client-s3": "^3.440.0", "@aws-sdk/lib-storage": "^3.440.0", "@types/is-ci": "^3.0.0", diff --git a/scripts/publish-new.ts b/scripts/publish-new.ts index 7691b2cbb..e648f70a0 100644 --- a/scripts/publish-new.ts +++ b/scripts/publish-new.ts @@ -18,6 +18,7 @@ async function main() { owner: 'tldraw', repo: 'tldraw', verbose: true, + disableTsNode: true, }) // module was called directly diff --git a/yarn.lock b/yarn.lock index 3b9519f6d..af696fad0 100644 --- a/yarn.lock +++ b/yarn.lock @@ -84,25 +84,18 @@ __metadata: languageName: node linkType: hard -"@auto-it/bot-list@npm:10.46.0": - version: 10.46.0 - resolution: "@auto-it/bot-list@npm:10.46.0" - checksum: d616a67430f3db54d19b41f7516de44572e3217e481b66ce4f666cbdcebd3afe46c9d502c53f1e59dad14c36271dc49a3a07879e7c601b7042d23a55272e9b1f +"@auto-it/bot-list@npm:11.1.1": + version: 11.1.1 + resolution: "@auto-it/bot-list@npm:11.1.1" + checksum: 37b6d689d23d95ef05a618ac05123f310c1667daa42fdf76338fce8a9a120b90ebb787c6e8c87cbf8e55d34862b30dd37363b8dd41cd351a0e81c3340eade643 languageName: node linkType: hard -"@auto-it/bot-list@npm:11.0.7": - version: 11.0.7 - resolution: "@auto-it/bot-list@npm:11.0.7" - checksum: c2f4ac6022dffa4e52f600f4854bb51811c4cbc594fed7465713cfcb0716758c37ac3e335c18da0dfa46ec60c52d8d4a334edbc9f5651b796150a70762b0458c - languageName: node - linkType: hard - -"@auto-it/core@npm:10.46.0": - version: 10.46.0 - resolution: "@auto-it/core@npm:10.46.0" +"@auto-it/core@npm:11.1.1, @auto-it/core@npm:^11.1.1": + version: 11.1.1 + resolution: "@auto-it/core@npm:11.1.1" dependencies: - "@auto-it/bot-list": "npm:10.46.0" + "@auto-it/bot-list": "npm:11.1.1" "@endemolshinegroup/cosmiconfig-typescript-loader": "npm:^3.0.2" "@octokit/core": "npm:^3.5.1" "@octokit/plugin-enterprise-compatibility": "npm:1.3.0" @@ -147,122 +140,16 @@ __metadata: peerDependenciesMeta: "@types/node": optional: true - checksum: f407cf3d931d57f4ec7ba1128c4fc2df1c717e93c9271fb461c67b304f1a0ad5aa45623dbe9c8c8072a0f58134a33870de42b876b95ce8d810d8b43bb16c70e0 + checksum: 77e60dceecc3dd7e115a8034127b474ebc19109322ad6ee82e8b615ffb8af2845e9f732c43a489a0575e62e0bbdf5d2615c5e9e6fe42cdc444a66cd578478616 languageName: node linkType: hard -"@auto-it/core@npm:11.0.7": - version: 11.0.7 - resolution: "@auto-it/core@npm:11.0.7" +"@auto-it/npm@npm:11.1.1": + version: 11.1.1 + resolution: "@auto-it/npm@npm:11.1.1" dependencies: - "@auto-it/bot-list": "npm:11.0.7" - "@endemolshinegroup/cosmiconfig-typescript-loader": "npm:^3.0.2" - "@octokit/core": "npm:^3.5.1" - "@octokit/plugin-enterprise-compatibility": "npm:1.3.0" - "@octokit/plugin-retry": "npm:^3.0.9" - "@octokit/plugin-throttling": "npm:^3.6.2" - "@octokit/rest": "npm:^18.12.0" - await-to-js: "npm:^3.0.0" - chalk: "npm:^4.0.0" - cosmiconfig: "npm:7.0.0" - deepmerge: "npm:^4.0.0" - dotenv: "npm:^8.0.0" - endent: "npm:^2.1.0" - enquirer: "npm:^2.3.4" - env-ci: "npm:^5.0.1" - fast-glob: "npm:^3.1.1" - fp-ts: "npm:^2.5.3" - fromentries: "npm:^1.2.0" - gitlog: "npm:^4.0.3" - https-proxy-agent: "npm:^5.0.0" - import-cwd: "npm:^3.0.0" - import-from: "npm:^3.0.0" - io-ts: "npm:^2.1.2" - lodash.chunk: "npm:^4.2.0" - log-symbols: "npm:^4.0.0" - node-fetch: "npm:2.6.7" - parse-author: "npm:^2.0.0" - parse-github-url: "npm:1.0.2" - pretty-ms: "npm:^7.0.0" - requireg: "npm:^0.2.2" - semver: "npm:^7.0.0" - signale: "npm:^1.4.0" - tapable: "npm:^2.2.0" - terminal-link: "npm:^2.1.1" - tinycolor2: "npm:^1.4.1" - ts-node: "npm:^10.9.1" - tslib: "npm:2.1.0" - type-fest: "npm:^0.21.1" - typescript-memoize: "npm:^1.0.0-alpha.3" - url-join: "npm:^4.0.0" - peerDependencies: - typescript: ">=2.7" - peerDependenciesMeta: - "@types/node": - optional: true - checksum: 52f71d5d59dc8898745cda28d008766ccbfc399416264ca77d0579334643c2dd4a76f19615f52d1777c04bec6aa84f6e44dcd575814cb9fd2a29085eaf0bbfa3 - languageName: node - linkType: hard - -"@auto-it/core@patch:@auto-it/core@npm%3A10.46.0#./.yarn/patches/@auto-it-core-npm-10.46.0-4ce8f196af.patch::locator=%40tldraw%2Fmonorepo%40workspace%3A.": - version: 10.46.0 - resolution: "@auto-it/core@patch:@auto-it/core@npm%3A10.46.0#./.yarn/patches/@auto-it-core-npm-10.46.0-4ce8f196af.patch::version=10.46.0&hash=3c4496&locator=%40tldraw%2Fmonorepo%40workspace%3A." - dependencies: - "@auto-it/bot-list": "npm:10.46.0" - "@endemolshinegroup/cosmiconfig-typescript-loader": "npm:^3.0.2" - "@octokit/core": "npm:^3.5.1" - "@octokit/plugin-enterprise-compatibility": "npm:1.3.0" - "@octokit/plugin-retry": "npm:^3.0.9" - "@octokit/plugin-throttling": "npm:^3.6.2" - "@octokit/rest": "npm:^18.12.0" - await-to-js: "npm:^3.0.0" - chalk: "npm:^4.0.0" - cosmiconfig: "npm:7.0.0" - deepmerge: "npm:^4.0.0" - dotenv: "npm:^8.0.0" - endent: "npm:^2.1.0" - enquirer: "npm:^2.3.4" - env-ci: "npm:^5.0.1" - fast-glob: "npm:^3.1.1" - fp-ts: "npm:^2.5.3" - fromentries: "npm:^1.2.0" - gitlog: "npm:^4.0.3" - https-proxy-agent: "npm:^5.0.0" - import-cwd: "npm:^3.0.0" - import-from: "npm:^3.0.0" - io-ts: "npm:^2.1.2" - lodash.chunk: "npm:^4.2.0" - log-symbols: "npm:^4.0.0" - node-fetch: "npm:2.6.7" - parse-author: "npm:^2.0.0" - parse-github-url: "npm:1.0.2" - pretty-ms: "npm:^7.0.0" - requireg: "npm:^0.2.2" - semver: "npm:^7.0.0" - signale: "npm:^1.4.0" - tapable: "npm:^2.2.0" - terminal-link: "npm:^2.1.1" - tinycolor2: "npm:^1.4.1" - ts-node: "npm:^10.9.1" - tslib: "npm:2.1.0" - type-fest: "npm:^0.21.1" - typescript-memoize: "npm:^1.0.0-alpha.3" - url-join: "npm:^4.0.0" - peerDependencies: - typescript: ">=2.7" - peerDependenciesMeta: - "@types/node": - optional: true - checksum: dc91961d533a58277efb3cfd14ab8d91372b648483d5278095bb82cd0cd39334104c7ede3dea5f21a463596e0428a14cf5e43ca679a5aab74d8a5aa5edcd0c43 - languageName: node - linkType: hard - -"@auto-it/npm@npm:11.0.7": - version: 11.0.7 - resolution: "@auto-it/npm@npm:11.0.7" - dependencies: - "@auto-it/core": "npm:11.0.7" - "@auto-it/package-json-utils": "npm:11.0.7" + "@auto-it/core": "npm:11.1.1" + "@auto-it/package-json-utils": "npm:11.1.1" await-to-js: "npm:^3.0.0" endent: "npm:^2.1.0" env-ci: "npm:^5.0.1" @@ -275,44 +162,44 @@ __metadata: typescript-memoize: "npm:^1.0.0-alpha.3" url-join: "npm:^4.0.0" user-home: "npm:^2.0.0" - checksum: 5efc7e1db71c4fa3c400d15a67f8e1f6b0b2d946e5b2e396a770733608b7974adcbb9cff5561a633da1d993df8d62a524ef2d0c8f9f904664d0c2959d384bfc7 + checksum: f63ffa1c89096d32a51d1d90c9ac724b533bb640cac9b663fe114055e6eacae7875e731c6ec9c5bd3db1b5b3991e2ed12e92528ab09f65ce6a67fec4bf31b49e languageName: node linkType: hard -"@auto-it/package-json-utils@npm:11.0.7": - version: 11.0.7 - resolution: "@auto-it/package-json-utils@npm:11.0.7" +"@auto-it/package-json-utils@npm:11.1.1": + version: 11.1.1 + resolution: "@auto-it/package-json-utils@npm:11.1.1" dependencies: parse-author: "npm:^2.0.0" parse-github-url: "npm:1.0.2" - checksum: c563fe98c77096eed48cf3127acb35bd6a0f383ee589f18678f738e24720f49f0c01fb24cd3795e8d7e7b7682ada802a095b43c65dff4ed1702ce9b4e6441d7d + checksum: bc51c25039d4819e8bcf7034c0f5bbae7f29b6581b2b733a68318aacb9d1d42173e056997e1f5bc98e56e26136f441503947ab5532e16d096d5e40cc8635fb23 languageName: node linkType: hard -"@auto-it/released@npm:11.0.7": - version: 11.0.7 - resolution: "@auto-it/released@npm:11.0.7" +"@auto-it/released@npm:11.1.1": + version: 11.1.1 + resolution: "@auto-it/released@npm:11.1.1" dependencies: - "@auto-it/bot-list": "npm:11.0.7" - "@auto-it/core": "npm:11.0.7" + "@auto-it/bot-list": "npm:11.1.1" + "@auto-it/core": "npm:11.1.1" deepmerge: "npm:^4.0.0" fp-ts: "npm:^2.5.3" io-ts: "npm:^2.1.2" tslib: "npm:2.1.0" - checksum: 22382c2234c8270aeb04414b2f85bb7258aeeeb8f527913d9f87c0d02c1a733a3161aa2ac433121f2881f92d02dd175156f3b878ecbad6f12f870ff965760721 + checksum: d8660def9bd9daab92f1673832ca2753842586d18cc4300ff0b6dd9c9204ed29a4b06bf9a53927eefec89bc7853d5a4730184519a7232c30d9e76e9d81b32820 languageName: node linkType: hard -"@auto-it/version-file@npm:11.0.7": - version: 11.0.7 - resolution: "@auto-it/version-file@npm:11.0.7" +"@auto-it/version-file@npm:11.1.1": + version: 11.1.1 + resolution: "@auto-it/version-file@npm:11.1.1" dependencies: - "@auto-it/core": "npm:11.0.7" + "@auto-it/core": "npm:11.1.1" fp-ts: "npm:^2.5.3" io-ts: "npm:^2.1.2" semver: "npm:^7.0.0" tslib: "npm:1.10.0" - checksum: ff34bfa2dce1b752211b3953c9b77cfcdd4fc07684cd460ac85ad1d0c0d9a94bace08197f9c5c6acdd78135c2e96cbd776aa5a0b5f4df6fd392955e60f626ad1 + checksum: ac4e47264f8002feb344db4d056d78aea1cb4431ae4f45937609ca99f18e58863ea7a82cf664998055d155dbc47ba95dae510243bf85b74b5b0bbc25aa38dd59 languageName: node linkType: hard @@ -7404,7 +7291,7 @@ __metadata: "@typescript-eslint/eslint-plugin": "npm:^5.57.0" "@typescript-eslint/parser": "npm:^5.57.0" "@yarnpkg/types": "npm:^4.0.0" - auto: "npm:^11.0.7" + auto: "npm:^11.1.1" cross-env: "npm:^7.0.3" eslint: "npm:^8.37.0" eslint-config-prettier: "npm:^8.8.0" @@ -7436,7 +7323,7 @@ __metadata: resolution: "@tldraw/scripts@workspace:scripts" dependencies: "@actions/github": "npm:^6.0.0" - "@auto-it/core": "npm:^10.45.0" + "@auto-it/core": "npm:^11.1.1" "@aws-sdk/client-s3": "npm:^3.440.0" "@aws-sdk/lib-storage": "npm:^3.440.0" "@types/is-ci": "npm:^3.0.0" @@ -9766,14 +9653,14 @@ __metadata: languageName: node linkType: hard -"auto@npm:^11.0.7": - version: 11.0.7 - resolution: "auto@npm:11.0.7" +"auto@npm:^11.1.1": + version: 11.1.1 + resolution: "auto@npm:11.1.1" dependencies: - "@auto-it/core": "npm:11.0.7" - "@auto-it/npm": "npm:11.0.7" - "@auto-it/released": "npm:11.0.7" - "@auto-it/version-file": "npm:11.0.7" + "@auto-it/core": "npm:11.1.1" + "@auto-it/npm": "npm:11.1.1" + "@auto-it/released": "npm:11.1.1" + "@auto-it/version-file": "npm:11.1.1" await-to-js: "npm:^3.0.0" chalk: "npm:^4.0.0" command-line-application: "npm:^0.10.1" @@ -9784,7 +9671,7 @@ __metadata: tslib: "npm:2.1.0" bin: auto: dist/bin/auto.js - checksum: bb336d19f114cf6c4ab5b4a0bb7f0559ceaa5f2395158eb4aa74befdd8bb8f7dcbaf04d1246a8b7379f376385e3a7743741fa161c2b1f44f1cd9195d3b55b141 + checksum: d0e71dc0752f2ad4fec97e0994dc5d5cb7665d39e667fb5fb703f5f2b1c2ab329c6577f0a490c665cdc38d03eeac25f67453866f5a08bea37765819005f106e0 languageName: node linkType: hard