diff --git a/.changeset/bob-the-bundler-320-dependencies.md b/.changeset/bob-the-bundler-320-dependencies.md new file mode 100644 index 00000000..c19e6ad1 --- /dev/null +++ b/.changeset/bob-the-bundler-320-dependencies.md @@ -0,0 +1,5 @@ +--- +"bob-the-bundler": patch +--- +dependencies updates: + - Updated dependency [`execa@^7.2.0` ↗︎](https://www.npmjs.com/package/execa/v/7.2.0) (from `7.1.1`, in `dependencies`) diff --git a/.prettierignore b/.prettierignore index b08b908e..b956a8c8 100644 --- a/.prettierignore +++ b/.prettierignore @@ -3,3 +3,4 @@ dist/ test/ts-tests/fixture.js jest.resolver.cjs pnpm-lock.yaml +.changeset/ diff --git a/package.json b/package.json index 63a2dd27..a024e343 100644 --- a/package.json +++ b/package.json @@ -13,7 +13,7 @@ "url": "https://github.com/kamilkisiela" }, "license": "MIT", - "packageManager": "pnpm@8.6.6", + "packageManager": "pnpm@8.15.9", "engines": { "node": ">=16", "pnpm": ">=8" @@ -49,7 +49,7 @@ }, "dependencies": { "consola": "^3.0.0", - "execa": "7.1.1", + "execa": "^7.2.0", "fs-extra": "^11.1.0", "globby": "^14.0.0", "js-yaml": "^4.1.0", @@ -61,23 +61,23 @@ "zod": "^3.20.2" }, "devDependencies": { - "@changesets/changelog-github": "0.4.8", + "@changesets/changelog-github": "0.5.0", "@changesets/cli": "2.27.11", "@theguild/prettier-config": "3.0.0", "@types/fs-extra": "11.0.4", - "@types/js-yaml": "4.0.5", + "@types/js-yaml": "4.0.9", "@types/lodash.get": "4.4.9", "@types/node": "22.10.5", "@types/yargs": "17.0.33", "@typescript-eslint/parser": "8.19.0", "cross-env": "7.0.3", "eslint": "9.17.0", - "eslint-plugin-import": "2.27.5", - "jest-resolve": "29.5.0", + "eslint-plugin-import": "2.31.0", + "jest-resolve": "29.7.0", "jest-snapshot-serializer-raw": "2.0.0", "prettier": "3.4.2", "rimraf": "6.0.1", - "typescript": "5.1.6", + "typescript": "5.7.2", "vitest": "2.1.8" }, "publishConfig": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index feb1f79e..a38e89ef 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -7,16 +7,16 @@ settings: dependencies: consola: specifier: ^3.0.0 - version: 3.0.0 + version: 3.3.3 execa: - specifier: 7.1.1 - version: 7.1.1 + specifier: ^7.2.0 + version: 7.2.0 fs-extra: specifier: ^11.1.0 - version: 11.1.0 + version: 11.2.0 globby: specifier: ^14.0.0 - version: 14.0.0 + version: 14.0.2 js-yaml: specifier: ^4.1.0 version: 4.1.0 @@ -28,21 +28,21 @@ dependencies: version: 4.0.0 resolve.exports: specifier: ^2.0.0 - version: 2.0.0 + version: 2.0.3 tslib: specifier: ^2.0.0 - version: 2.0.0 + version: 2.8.1 yargs: specifier: ^17.6.2 - version: 17.6.2 + version: 17.7.2 zod: specifier: ^3.20.2 - version: 3.22.3 + version: 3.24.1 devDependencies: '@changesets/changelog-github': - specifier: 0.4.8 - version: 0.4.8 + specifier: 0.5.0 + version: 0.5.0 '@changesets/cli': specifier: 2.27.11 version: 2.27.11 @@ -53,8 +53,8 @@ devDependencies: specifier: 11.0.4 version: 11.0.4 '@types/js-yaml': - specifier: 4.0.5 - version: 4.0.5 + specifier: 4.0.9 + version: 4.0.9 '@types/lodash.get': specifier: 4.4.9 version: 4.4.9 @@ -66,7 +66,7 @@ devDependencies: version: 17.0.33 '@typescript-eslint/parser': specifier: 8.19.0 - version: 8.19.0(eslint@9.17.0)(typescript@5.1.6) + version: 8.19.0(eslint@9.17.0)(typescript@5.7.2) cross-env: specifier: 7.0.3 version: 7.0.3 @@ -74,11 +74,11 @@ devDependencies: specifier: 9.17.0 version: 9.17.0 eslint-plugin-import: - specifier: 2.27.5 - version: 2.27.5(@typescript-eslint/parser@8.19.0)(eslint@9.17.0) + specifier: 2.31.0 + version: 2.31.0(@typescript-eslint/parser@8.19.0)(eslint@9.17.0) jest-resolve: - specifier: 29.5.0 - version: 29.5.0 + specifier: 29.7.0 + version: 29.7.0 jest-snapshot-serializer-raw: specifier: 2.0.0 version: 2.0.0 @@ -89,8 +89,8 @@ devDependencies: specifier: 6.0.1 version: 6.0.1 typescript: - specifier: 5.1.6 - version: 5.1.6 + specifier: 5.7.2 + version: 5.7.2 vitest: specifier: 2.1.8 version: 2.1.8(@types/node@22.10.5) @@ -209,11 +209,11 @@ packages: '@changesets/types': 6.0.0 dev: true - /@changesets/changelog-github@0.4.8: - resolution: {integrity: sha512-jR1DHibkMAb5v/8ym77E4AMNWZKB5NPzw5a5Wtqm1JepAuIF+hrKp2u04NKM14oBZhHglkCfrla9uq8ORnK/dw==} + /@changesets/changelog-github@0.5.0: + resolution: {integrity: sha512-zoeq2LJJVcPJcIotHRJEEA2qCqX0AQIeFE+L21L8sRLPVqDhSXY8ZWAt2sohtBpFZkBwu+LUwMSKRr2lMy3LJA==} dependencies: - '@changesets/get-github-info': 0.5.2 - '@changesets/types': 5.2.1 + '@changesets/get-github-info': 0.6.0 + '@changesets/types': 6.0.0 dotenv: 8.6.0 transitivePeerDependencies: - encoding @@ -280,8 +280,8 @@ packages: semver: 7.6.3 dev: true - /@changesets/get-github-info@0.5.2: - resolution: {integrity: sha512-JppheLu7S114aEs157fOZDjFqUDpm7eHdq5E8SSR0gUBTEK0cNSHsrSR5a66xs0z3RWuo46QvA3vawp8BxDHvg==} + /@changesets/get-github-info@0.6.0: + resolution: {integrity: sha512-v/TSnFVXI8vzX9/w3DU2Ol+UlTZcu3m0kXTjTT4KlAdwSvwutcByYwyYn9hwerPWfPkT2JfpoX0KgvCEi8Q/SA==} dependencies: dataloader: 1.4.0 node-fetch: 2.7.0 @@ -359,10 +359,6 @@ packages: resolution: {integrity: sha512-LDQvVDv5Kb50ny2s25Fhm3d9QSZimsoUGBsUioj6MC3qbMUCuC8GPIvk/M6IvXx3lYhAs0lwWUQLb+VIEUCECw==} dev: true - /@changesets/types@5.2.1: - resolution: {integrity: sha512-myLfHbVOqaq9UtUKqR/nZA/OY7xFjQMdfgfqeZIBK4d0hA6pgxArvdv8M+6NUzzBsjWLOtvApv8YHr4qM+Kpfg==} - dev: true - /@changesets/types@6.0.0: resolution: {integrity: sha512-b1UkfNulgKoWfqyHtzKS5fOZYSJO+77adgL7DLRDr+/7jhChN+QcHnbjiQVOz/U+Ts3PGNySq7diAItzDgugfQ==} dev: true @@ -948,12 +944,16 @@ packages: dev: true optional: true + /@rtsao/scc@1.1.0: + resolution: {integrity: sha512-zt6OdqaDoOnJ1ZYsCYGt9YmWzDXl4vQdKTyJev62gFhRGKdx7mcT54V9KIjg+d2wi9EXsPvAPKe7i7WjfVWB8g==} + dev: true + /@sinclair/typebox@0.27.8: resolution: {integrity: sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==} dev: true - /@sindresorhus/merge-streams@1.0.0: - resolution: {integrity: sha512-rUV5WyJrJLoloD4NDN1V1+LDMDWOa4OTsT4yYJwQNpTU6FWxkxHpL7eu4w+DmiH8x/EAM1otkPE1+LaspIbplw==} + /@sindresorhus/merge-streams@2.3.0: + resolution: {integrity: sha512-LtoMMhxAlorcGhmFYI+LhPgbPZCkgP6ra1YL604EeF6U98pLlQ3iWIGMdWSC+vWmPBWBNgmDBAhnAobLROJmwg==} engines: {node: '>=18'} dev: false @@ -1004,8 +1004,8 @@ packages: '@types/istanbul-lib-report': 3.0.3 dev: true - /@types/js-yaml@4.0.5: - resolution: {integrity: sha512-FhpRzf927MNQdRZP0J5DLIdTXhjLYzeUTmLAu69mnVksLH9CJY3IuSeEgbKUki7GQZm0WqDkGzyxju2EZGD2wA==} + /@types/js-yaml@4.0.9: + resolution: {integrity: sha512-k4MGaQl5TGo/iipqb2UDG2UwjXziSWkh0uysQelTlJpX1qGlpUZYm8PnO4DxG1qBomtJUdYJ6qR6xdIah10JLg==} dev: true /@types/json-schema@7.0.15: @@ -1052,7 +1052,7 @@ packages: '@types/yargs-parser': 21.0.3 dev: true - /@typescript-eslint/parser@8.19.0(eslint@9.17.0)(typescript@5.1.6): + /@typescript-eslint/parser@8.19.0(eslint@9.17.0)(typescript@5.7.2): resolution: {integrity: sha512-6M8taKyOETY1TKHp0x8ndycipTVgmp4xtg5QpEZzXxDhNvvHOJi5rLRkLr8SK3jTgD5l4fTlvBiRdfsuWydxBw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -1061,11 +1061,11 @@ packages: dependencies: '@typescript-eslint/scope-manager': 8.19.0 '@typescript-eslint/types': 8.19.0 - '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.1.6) + '@typescript-eslint/typescript-estree': 8.19.0(typescript@5.7.2) '@typescript-eslint/visitor-keys': 8.19.0 debug: 4.4.0 eslint: 9.17.0 - typescript: 5.1.6 + typescript: 5.7.2 transitivePeerDependencies: - supports-color dev: true @@ -1083,7 +1083,7 @@ packages: engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} dev: true - /@typescript-eslint/typescript-estree@8.19.0(typescript@5.1.6): + /@typescript-eslint/typescript-estree@8.19.0(typescript@5.7.2): resolution: {integrity: sha512-WW9PpDaLIFW9LCbucMSdYUuGeFUz1OkWYS/5fwZwTA+l2RwlWFdJvReQqMUMBw4yJWJOfqd7An9uwut2Oj8sLw==} engines: {node: ^18.18.0 || ^20.9.0 || >=21.1.0} peerDependencies: @@ -1096,8 +1096,8 @@ packages: is-glob: 4.0.3 minimatch: 9.0.5 semver: 7.6.3 - ts-api-utils: 1.4.3(typescript@5.1.6) - typescript: 5.1.6 + ts-api-utils: 1.4.3(typescript@5.7.2) + typescript: 5.7.2 transitivePeerDependencies: - supports-color dev: true @@ -1266,6 +1266,18 @@ packages: engines: {node: '>=8'} dev: true + /array.prototype.findlastindex@1.2.5: + resolution: {integrity: sha512-zfETvRFA8o7EiNn++N5f/kaCw221hrpGsDmcpndVupkPzEc1Wuf3VgC0qby1BbHs7f5DVYjgtEU2LLh5bqeGfQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.23.9 + es-errors: 1.3.0 + es-object-atoms: 1.0.0 + es-shim-unscopables: 1.0.2 + dev: true + /array.prototype.flat@1.3.3: resolution: {integrity: sha512-rwG/ja1neyLqCuGZ5YYrznA62D4mZXg0i1cIskIUKSiqF3Cje9/wXAls9B9s1Wa2fomMsIv8czB8jZcPmxCXFg==} engines: {node: '>= 0.4'} @@ -1443,8 +1455,9 @@ packages: resolution: {integrity: sha512-/Srv4dswyQNBfohGpz9o6Yb3Gz3SrUDqBH5rTuhGR7ahtlbYKnVxw2bCFMRljaA7EXHaXZ8wsHdodFvbkhKmqg==} dev: true - /consola@3.0.0: - resolution: {integrity: sha512-ed10+SGP/dL3u7fEDxDPb+68vS4JckVjivIMq2wg5to8od2Rki5AyetFivjuC3cE49+azquEVDSgHZ8qYrUxdQ==} + /consola@3.3.3: + resolution: {integrity: sha512-Qil5KwghMzlqd51UXM0b6fyaGHtOC22scxrwrz4A2882LyUMwQjnvaedN1HAeXzphspQ6CpHkzMAWxBTUruDLg==} + engines: {node: ^14.18.0 || >=16.10.0} dev: false /cross-env@7.0.3: @@ -1771,7 +1784,7 @@ packages: eslint-import-resolver-webpack: optional: true dependencies: - '@typescript-eslint/parser': 8.19.0(eslint@9.17.0)(typescript@5.1.6) + '@typescript-eslint/parser': 8.19.0(eslint@9.17.0)(typescript@5.7.2) debug: 3.2.7 eslint: 9.17.0 eslint-import-resolver-node: 0.3.9 @@ -1779,18 +1792,20 @@ packages: - supports-color dev: true - /eslint-plugin-import@2.27.5(@typescript-eslint/parser@8.19.0)(eslint@9.17.0): - resolution: {integrity: sha512-LmEt3GVofgiGuiE+ORpnvP+kAm3h6MLZJ4Q5HCyHADofsb4VzXFsRiWj3c0OFiV+3DWFh0qg3v9gcPlfc3zRow==} + /eslint-plugin-import@2.31.0(@typescript-eslint/parser@8.19.0)(eslint@9.17.0): + resolution: {integrity: sha512-ixmkI62Rbc2/w8Vfxyh1jQRTdRTF52VxwRVHl/ykPAmqG+Nb7/kNn+byLP0LxPgI7zWA16Jt82SybJInmMia3A==} engines: {node: '>=4'} peerDependencies: '@typescript-eslint/parser': '*' - eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 + eslint: ^2 || ^3 || ^4 || ^5 || ^6 || ^7.2.0 || ^8 || ^9 peerDependenciesMeta: '@typescript-eslint/parser': optional: true dependencies: - '@typescript-eslint/parser': 8.19.0(eslint@9.17.0)(typescript@5.1.6) + '@rtsao/scc': 1.1.0 + '@typescript-eslint/parser': 8.19.0(eslint@9.17.0)(typescript@5.7.2) array-includes: 3.1.8 + array.prototype.findlastindex: 1.2.5 array.prototype.flat: 1.3.3 array.prototype.flatmap: 1.3.3 debug: 3.2.7 @@ -1798,13 +1813,15 @@ packages: eslint: 9.17.0 eslint-import-resolver-node: 0.3.9 eslint-module-utils: 2.12.0(@typescript-eslint/parser@8.19.0)(eslint-import-resolver-node@0.3.9)(eslint@9.17.0) - has: 1.0.4 + hasown: 2.0.2 is-core-module: 2.16.1 is-glob: 4.0.3 minimatch: 3.1.2 + object.fromentries: 2.0.8 + object.groupby: 1.0.3 object.values: 1.2.1 - resolve: 1.22.10 semver: 6.3.1 + string.prototype.trimend: 1.0.9 tsconfig-paths: 3.15.0 transitivePeerDependencies: - eslint-import-resolver-typescript @@ -1923,8 +1940,8 @@ packages: engines: {node: '>=0.10.0'} dev: true - /execa@7.1.1: - resolution: {integrity: sha512-wH0eMf/UXckdUYnO21+HDztteVv05rq2GXksxT4fCGeHkBhw1DROXh40wcjMcRqDOWE7iPJ4n3M7e2+YFP+76Q==} + /execa@7.2.0: + resolution: {integrity: sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==} engines: {node: ^14.18.0 || ^16.14.0 || >=18.0.0} dependencies: cross-spawn: 7.0.6 @@ -2044,8 +2061,8 @@ packages: signal-exit: 4.1.0 dev: true - /fs-extra@11.1.0: - resolution: {integrity: sha512-0rcTq621PD5jM/e0a3EJoGC/1TC5ZBCERW82LQuwfGnCa1V8w7dpYH1yNu+SLb6E5dkeCBzKEyLGlFrnr+dUyw==} + /fs-extra@11.2.0: + resolution: {integrity: sha512-PmDi3uwK5nFuXh7XDTlVnS17xJS7vW36is2+w3xcv8SVxiB4NyATf4ctkVY5bkSjX0Y4nbvZCq1/EjtEyr9ktw==} engines: {node: '>=14.14'} dependencies: graceful-fs: 4.2.11 @@ -2198,11 +2215,11 @@ packages: slash: 3.0.0 dev: true - /globby@14.0.0: - resolution: {integrity: sha512-/1WM/LNHRAOH9lZta77uGbq0dAEQM+XjNesWwhlERDVenqothRbnzTrL3/LrIoEPPjeUHC3vrS6TwoyxeHs7MQ==} + /globby@14.0.2: + resolution: {integrity: sha512-s3Fq41ZVh7vbbe2PN3nrW7yC7U7MFVc5c98/iTl9c2GawNMKx/J648KQRW6WKkuU8GIbbh2IXfIRQjOZnXcTnw==} engines: {node: '>=18'} dependencies: - '@sindresorhus/merge-streams': 1.0.0 + '@sindresorhus/merge-streams': 2.3.0 fast-glob: 3.3.2 ignore: 5.3.2 path-type: 5.0.0 @@ -2253,11 +2270,6 @@ packages: has-symbols: 1.1.0 dev: true - /has@1.0.4: - resolution: {integrity: sha512-qdSAmqLF6209RFj4VVItywPMbm3vWylknmB3nvNiUIs72xAimcM8nVYxYr7ncvZq5qzk9MKIZR8ijqD/1QuYjQ==} - engines: {node: '>= 0.4.0'} - dev: true - /hasown@2.0.2: resolution: {integrity: sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==} engines: {node: '>= 0.4'} @@ -2539,7 +2551,7 @@ packages: fsevents: 2.3.3 dev: true - /jest-pnp-resolver@1.2.3(jest-resolve@29.5.0): + /jest-pnp-resolver@1.2.3(jest-resolve@29.7.0): resolution: {integrity: sha512-+3NpwQEnRoIBtx4fyhblQDPgJI0H1IEIkX7ShLUjPGA7TtUTvI1oiKi3SR4oBR0hQhQR80l4WAe5RrXBwWMA8w==} engines: {node: '>=6'} peerDependencies: @@ -2548,7 +2560,7 @@ packages: jest-resolve: optional: true dependencies: - jest-resolve: 29.5.0 + jest-resolve: 29.7.0 dev: true /jest-regex-util@29.6.3: @@ -2556,18 +2568,18 @@ packages: engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dev: true - /jest-resolve@29.5.0: - resolution: {integrity: sha512-1TzxJ37FQq7J10jPtQjcc+MkCkE3GBpBecsSUWJ0qZNJpmg6m0D9/7II03yJulm3H/fvVjgqLh/k2eYg+ui52w==} + /jest-resolve@29.7.0: + resolution: {integrity: sha512-IOVhZSrg+UvVAshDSDtHyFCCBUl/Q3AAJv8iZ6ZjnZ74xzvwuzLXid9IIIPgTnY62SJjfuupMKZsZQRsCvxEgA==} engines: {node: ^14.15.0 || ^16.10.0 || >=18.0.0} dependencies: chalk: 4.1.2 graceful-fs: 4.2.11 jest-haste-map: 29.7.0 - jest-pnp-resolver: 1.2.3(jest-resolve@29.5.0) + jest-pnp-resolver: 1.2.3(jest-resolve@29.7.0) jest-util: 29.7.0 jest-validate: 29.7.0 resolve: 1.22.10 - resolve.exports: 2.0.0 + resolve.exports: 2.0.3 slash: 3.0.0 dev: true @@ -2859,6 +2871,25 @@ packages: object-keys: 1.1.1 dev: true + /object.fromentries@2.0.8: + resolution: {integrity: sha512-k6E21FzySsSK5a21KRADBd/NGneRegFO5pLHfdQLpRDETUNJueLXs3WCzyQ3tFRDYgbq3KHGXfTbi2bs8WQ6rQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.23.9 + es-object-atoms: 1.0.0 + dev: true + + /object.groupby@1.0.3: + resolution: {integrity: sha512-+Lhy3TQTuzXI5hevh8sBGqbmurHbbIjAi0Z4S63nthVLmLxfbj4T54a4CfZrXIrt9iP4mVAPYMo/v99taj3wjQ==} + engines: {node: '>= 0.4'} + dependencies: + call-bind: 1.0.8 + define-properties: 1.2.1 + es-abstract: 1.23.9 + dev: true + /object.values@1.2.1: resolution: {integrity: sha512-gXah6aZrcUxjWg2zR2MwouP2eHlCBzdV4pygudehaKXSGW4v2AsRQUK+lwwXhii6KFZcunEnmSUoYp5CXibxtA==} engines: {node: '>= 0.4'} @@ -3158,8 +3189,8 @@ packages: engines: {node: '>=8'} dev: true - /resolve.exports@2.0.0: - resolution: {integrity: sha512-6K/gDlqgQscOlg9fSRpWstA8sYe8rbELsSTNpx+3kTrsVCzvSl0zIvRErM7fdl9ERWDsKnrLnwB+Ne89918XOg==} + /resolve.exports@2.0.3: + resolution: {integrity: sha512-OcXjMsGdhL4XnbShKpAcSqPMzQoYkYyhbEaeSko47MjRP9NfEQMhZkXL1DoFlt9LWQn4YttrdnV6X2OiyzBi+A==} engines: {node: '>=10'} /resolve@1.22.10: @@ -3542,13 +3573,13 @@ packages: resolution: {integrity: sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw==} dev: true - /ts-api-utils@1.4.3(typescript@5.1.6): + /ts-api-utils@1.4.3(typescript@5.7.2): resolution: {integrity: sha512-i3eMG77UTMD0hZhgRS562pv83RC6ukSAC2GMNWc+9dieh/+jDM5u5YG+NHX6VNDRHQcHwmsTHctP9LhbC3WxVw==} engines: {node: '>=16'} peerDependencies: typescript: '>=4.2.0' dependencies: - typescript: 5.1.6 + typescript: 5.7.2 dev: true /tsconfig-paths@3.15.0: @@ -3560,13 +3591,8 @@ packages: strip-bom: 3.0.0 dev: true - /tslib@2.0.0: - resolution: {integrity: sha512-lTqkx847PI7xEDYJntxZH89L2/aXInsyF2luSafe/+0fHOMjlBNXdH6th7f70qxLDhul7KZK0zC8V5ZIyHl0/g==} - dev: false - /tslib@2.8.1: resolution: {integrity: sha512-oJFu94HQb+KVduSUQL7wnpmqnfmLsOA/nAh6b6EH0wCEoK0/mPeXU6c3wKDV83MkOuHPRHtSXKKU99IBazS/2w==} - dev: true /type-check@0.4.0: resolution: {integrity: sha512-XleUoc9uwGXqjWwXaUTZAmzMcFZ5858QA2vvx1Ur5xIcixXIP+8LnFDgRplU30us6teqdlskFfu+ae4K79Ooew==} @@ -3620,8 +3646,8 @@ packages: reflect.getprototypeof: 1.0.10 dev: true - /typescript@5.1.6: - resolution: {integrity: sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==} + /typescript@5.7.2: + resolution: {integrity: sha512-i5t66RHxDvVN40HfDd1PsEThGNnlMCMT3jMUuoh9/0TaqWevNontacunWyN02LA9/fIbEWlcHZcgTKb9QoaLfg==} engines: {node: '>=14.17'} hasBin: true dev: true @@ -3897,8 +3923,8 @@ packages: engines: {node: '>=12'} dev: false - /yargs@17.6.2: - resolution: {integrity: sha512-1/9UrdHjDZc0eOU0HxOHoS78C69UD3JRMvzlJ7S79S2nTaWRA/whGCTV8o9e/N/1Va9YIV7Q4sOxD8VV4pCWOw==} + /yargs@17.7.2: + resolution: {integrity: sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w==} engines: {node: '>=12'} dependencies: cliui: 8.0.1 @@ -3920,6 +3946,6 @@ packages: engines: {node: '>=12.20'} dev: false - /zod@3.22.3: - resolution: {integrity: sha512-EjIevzuJRiRPbVH4mGc8nApb/lVLKVpmUhAaR5R5doKGfAnGJ6Gr3CViAVjP+4FWSxCsybeWQdcgCtbX+7oZug==} + /zod@3.24.1: + resolution: {integrity: sha512-muH7gBL9sI1nciMZV67X5fTKKBLtwpZ5VBp1vsOQzj1MhrBZ4wlVCm3gedKZWLp0Oyel8sIGfeiz54Su+OVT+A==} dev: false diff --git a/test/integration.spec.ts b/test/integration.spec.ts index 0e01cd0f..db0fb352 100644 --- a/test/integration.spec.ts +++ b/test/integration.spec.ts @@ -198,14 +198,14 @@ it('can build a monorepo project', async () => { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); - exports.foo = exports.b = void 0; + exports.b = void 0; + exports.foo = foo; const foo_js_1 = require("./foo.js"); __exportStar(require("./foo.js"), exports); exports.b = 'SUP' + foo_js_1.b; function foo() { return Promise.resolve().then(() => require('./foo.js')); } - exports.foo = foo; `); expect(await fse.readFile(files.b['typings/index.d.ts'], 'utf8')).toMatchInlineSnapshot(` export * from './foo.js'; @@ -546,14 +546,14 @@ it('can build a monorepo pnpm project', async () => { for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p); }; Object.defineProperty(exports, "__esModule", { value: true }); - exports.foo = exports.b = void 0; + exports.b = void 0; + exports.foo = foo; const foo_js_1 = require("./foo.js"); __exportStar(require("./foo.js"), exports); exports.b = 'SUP' + foo_js_1.b; function foo() { return Promise.resolve().then(() => require('./foo.js')); } - exports.foo = foo; `); expect(await fse.readFile(files.b['typings/index.d.ts'], 'utf8')).toMatchInlineSnapshot(` export * from './foo.js'; diff --git a/test/ts-tests/run-tests.mjs b/test/ts-tests/run-tests.mjs index 202fec9f..e4c8497f 100644 --- a/test/ts-tests/run-tests.mjs +++ b/test/ts-tests/run-tests.mjs @@ -17,8 +17,8 @@ async function main() { await run(`pnpm tsc --project ${__dirname}/tsconfig.esnext-node.json`); await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-node.json`); - await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-node16.json`); - await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-nodenext.json`); + // await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-node16.json`); + // await run(`pnpm tsc --project ${__dirname}/tsconfig.commonjs-nodenext.json`); await run(`pnpm tsc --project ${__dirname}/tsconfig.node16-node16.json`); await run(`pnpm tsc --project ${__dirname}/tsconfig.nodenext-nodenext.json`); }