From c2720b72f3b225c8597735aee1df9b4bea6c37b2 Mon Sep 17 00:00:00 2001 From: "renovate[bot]" <29139614+renovate[bot]@users.noreply.github.com> Date: Tue, 26 Sep 2023 17:21:48 +0000 Subject: [PATCH 1/4] fix(deps): update semantic-release monorepo --- package-lock.json | 248 ++++++++++++++++++++++++++++++---------------- 1 file changed, 161 insertions(+), 87 deletions(-) diff --git a/package-lock.json b/package-lock.json index bbe2bd4e..e55c2306 100644 --- a/package-lock.json +++ b/package-lock.json @@ -3940,11 +3940,11 @@ "integrity": "sha512-V8GImKs3TeQRxRtXFpG2wl19V7444NIOTDF24AWuIbmNaNYOQMWRbjcGDXV5B+0n887fgDcuMNOmlul+k+oJtw==" }, "node_modules/@octokit/plugin-paginate-rest": { - "version": "8.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-8.0.0.tgz", - "integrity": "sha512-2xZ+baZWUg+qudVXnnvXz7qfrTmDeYPCzangBVq/1gXxii/OiS//4shJp9dnCCvj1x+JAm9ji1Egwm1BA47lPQ==", + "version": "9.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-paginate-rest/-/plugin-paginate-rest-9.0.0.tgz", + "integrity": "sha512-oIJzCpttmBTlEhBmRvb+b9rlnGpmFgDtZ0bB6nq39qIod6A5DP+7RkVLMOixIgRCYSHDTeayWqmiJ2SZ6xgfdw==", "dependencies": { - "@octokit/types": "^11.0.0" + "@octokit/types": "^12.0.0" }, "engines": { "node": ">= 18" @@ -3953,6 +3953,19 @@ "@octokit/core": ">=5" } }, + "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/openapi-types": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-19.0.0.tgz", + "integrity": "sha512-PclQ6JGMTE9iUStpzMkwLCISFn/wDeRjkZFIKALpvJQNBGwDoYYi2fFvuHwssoQ1rXI5mfh6jgTgWuddeUzfWw==" + }, + "node_modules/@octokit/plugin-paginate-rest/node_modules/@octokit/types": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.0.0.tgz", + "integrity": "sha512-EzD434aHTFifGudYAygnFlS1Tl6KhbTynEWELQXIbTY8Msvb5nEqTZIm7sbPEt4mQYLZwu3zPKVdeIrw0g7ovg==", + "dependencies": { + "@octokit/openapi-types": "^19.0.0" + } + }, "node_modules/@octokit/plugin-retry": { "version": "6.0.0", "resolved": "https://registry.npmjs.org/@octokit/plugin-retry/-/plugin-retry-6.0.0.tgz", @@ -3970,11 +3983,11 @@ } }, "node_modules/@octokit/plugin-throttling": { - "version": "7.0.0", - "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-7.0.0.tgz", - "integrity": "sha512-KL2k/d0uANc8XqP5S64YcNFCudR3F5AaKO39XWdUtlJIjT9Ni79ekWJ6Kj5xvAw87udkOMEPcVf9xEge2+ahew==", + "version": "8.0.0", + "resolved": "https://registry.npmjs.org/@octokit/plugin-throttling/-/plugin-throttling-8.0.0.tgz", + "integrity": "sha512-OkMbHYUidj81q92YRkPzWmwXkEtsI3KOcSkNm763aqUOh9IEplyX05XjKAdZFANAvaYH0Q4JBZwu4h2VnPVXZA==", "dependencies": { - "@octokit/types": "^11.0.0", + "@octokit/types": "^12.0.0", "bottleneck": "^2.15.3" }, "engines": { @@ -3984,6 +3997,19 @@ "@octokit/core": "^5.0.0" } }, + "node_modules/@octokit/plugin-throttling/node_modules/@octokit/openapi-types": { + "version": "19.0.0", + "resolved": "https://registry.npmjs.org/@octokit/openapi-types/-/openapi-types-19.0.0.tgz", + "integrity": "sha512-PclQ6JGMTE9iUStpzMkwLCISFn/wDeRjkZFIKALpvJQNBGwDoYYi2fFvuHwssoQ1rXI5mfh6jgTgWuddeUzfWw==" + }, + "node_modules/@octokit/plugin-throttling/node_modules/@octokit/types": { + "version": "12.0.0", + "resolved": "https://registry.npmjs.org/@octokit/types/-/types-12.0.0.tgz", + "integrity": "sha512-EzD434aHTFifGudYAygnFlS1Tl6KhbTynEWELQXIbTY8Msvb5nEqTZIm7sbPEt4mQYLZwu3zPKVdeIrw0g7ovg==", + "dependencies": { + "@octokit/openapi-types": "^19.0.0" + } + }, "node_modules/@octokit/request": { "version": "8.1.1", "resolved": "https://registry.npmjs.org/@octokit/request/-/request-8.1.1.tgz", @@ -5288,14 +5314,14 @@ } }, "node_modules/@semantic-release/github": { - "version": "9.0.6", - "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-9.0.6.tgz", - "integrity": "sha512-GBGt9c3c2UdSvso4jcyQQSUpZA9hbfHqGQerZKN9WvVzCIkaBy8xkhOyiFVX08LjRHHT/H221SJNBLtuihX5iw==", + "version": "9.1.0", + "resolved": "https://registry.npmjs.org/@semantic-release/github/-/github-9.1.0.tgz", + "integrity": "sha512-RKhS43OpNnQr9rA9Z72EbG8wM/UmWoCpop2z6G++ulRu7t8MuYS2v6TR2SoOFhcDPa2wY91v5VPouCWtDjz4+Q==", "dependencies": { "@octokit/core": "^5.0.0", - "@octokit/plugin-paginate-rest": "^8.0.0", + "@octokit/plugin-paginate-rest": "^9.0.0", "@octokit/plugin-retry": "^6.0.0", - "@octokit/plugin-throttling": "^7.0.0", + "@octokit/plugin-throttling": "^8.0.0", "@semantic-release/error": "^4.0.0", "aggregate-error": "^5.0.0", "debug": "^4.3.4", @@ -5643,6 +5669,17 @@ "integrity": "sha512-+Fj43pSMwJs4KRrH/938Uf+uAELIgVBmQzg/q1YG10djyfA3TnrU8N8XzqCh/okZdszqBQTZf96idMfE5lnwTA==", "dev": true }, + "node_modules/@sindresorhus/is": { + "version": "3.1.2", + "resolved": "https://registry.npmjs.org/@sindresorhus/is/-/is-3.1.2.tgz", + "integrity": "sha512-JiX9vxoKMmu8Y3Zr2RVathBL1Cdu4Nt4MuNWemt1Nc06A0RAin9c5FArkhGsyMBWfCu4zj+9b+GxtjAnE4qqLQ==", + "engines": { + "node": ">=10" + }, + "funding": { + "url": "https://github.com/sindresorhus/is?sponsor=1" + } + }, "node_modules/@sinonjs/commons": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/@sinonjs/commons/-/commons-3.0.0.tgz", @@ -8203,7 +8240,6 @@ "version": "1.0.2", "resolved": "https://registry.npmjs.org/char-regex/-/char-regex-1.0.2.tgz", "integrity": "sha512-kWWXztvZ5SBQV+eRgKFeh8q5sLuZY2+8WUIzlxWVTg+oGwY14qylx1KbKzHd8P6ZYkAg0xyIDU9JMHhyJMZ1jw==", - "dev": true, "engines": { "node": ">=10" } @@ -9487,6 +9523,11 @@ "integrity": "sha512-L18DaJsXSUk2+42pv8mLs5jJT2hqFkFE4j21wOmgbUqsZ2hL72NsUU785g9RXgo3s0ZNgVl42TiHp3ZtOv/Vyg==", "dev": true }, + "node_modules/emojilib": { + "version": "2.4.0", + "resolved": "https://registry.npmjs.org/emojilib/-/emojilib-2.4.0.tgz", + "integrity": "sha512-5U0rVMU5Y2n2+ykNLQqMoqklN9ICBT/KsvC1Gz6vqHbz2AXXGkG+Pm5rMWk/8Vjrr/mY9985Hi8DYzn1F09Nyw==" + }, "node_modules/end-of-stream": { "version": "1.4.4", "resolved": "https://registry.npmjs.org/end-of-stream/-/end-of-stream-1.4.4.tgz", @@ -9521,56 +9562,56 @@ } }, "node_modules/env-ci": { - "version": "9.1.1", - "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-9.1.1.tgz", - "integrity": "sha512-Im2yEWeF4b2RAMAaWvGioXk6m0UNaIjD8hj28j2ij5ldnIFrDQT0+pzDvpbRkcjurhXhf/AsBKv8P2rtmGi9Aw==", + "version": "10.0.0", + "resolved": "https://registry.npmjs.org/env-ci/-/env-ci-10.0.0.tgz", + "integrity": "sha512-U4xcd/utDYFgMh0yWj07R1H6L5fwhVbmxBCpnL0DbVSDZVnsC82HONw0wxtxNkIAcua3KtbomQvIk5xFZGAQJw==", "dependencies": { - "execa": "^7.0.0", + "execa": "^8.0.0", "java-properties": "^1.0.2" }, "engines": { - "node": "^16.14 || >=18" + "node": "^18.17 || >=20.6.1" } }, "node_modules/env-ci/node_modules/execa": { - "version": "7.2.0", - "resolved": "https://registry.npmjs.org/execa/-/execa-7.2.0.tgz", - "integrity": "sha512-UduyVP7TLB5IcAQl+OzLyLcS/l32W/GLg+AhHJ+ow40FOk2U3SAllPwR44v4vmdFwIWqpdwxxpQbF1n5ta9seA==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/execa/-/execa-8.0.1.tgz", + "integrity": "sha512-VyhnebXciFV2DESc+p6B+y0LjSm0krU4OgJN44qFAhBY0TJ+1V61tYD2+wHusZ6F9n5K+vl8k0sTy7PEfV4qpg==", "dependencies": { "cross-spawn": "^7.0.3", - "get-stream": "^6.0.1", - "human-signals": "^4.3.0", + "get-stream": "^8.0.1", + "human-signals": "^5.0.0", "is-stream": "^3.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^5.1.0", "onetime": "^6.0.0", - "signal-exit": "^3.0.7", + "signal-exit": "^4.1.0", "strip-final-newline": "^3.0.0" }, "engines": { - "node": "^14.18.0 || ^16.14.0 || >=18.0.0" + "node": ">=16.17" }, "funding": { "url": "https://github.com/sindresorhus/execa?sponsor=1" } }, "node_modules/env-ci/node_modules/get-stream": { - "version": "6.0.1", - "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-6.0.1.tgz", - "integrity": "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg==", + "version": "8.0.1", + "resolved": "https://registry.npmjs.org/get-stream/-/get-stream-8.0.1.tgz", + "integrity": "sha512-VaUJspBffn/LMCJVoMvSAdmscJyS1auj5Zulnn5UoYcY531UWmdwhRWkcGKnGU93m5HSXP9LP2usOryrBtQowA==", "engines": { - "node": ">=10" + "node": ">=16" }, "funding": { "url": "https://github.com/sponsors/sindresorhus" } }, "node_modules/env-ci/node_modules/human-signals": { - "version": "4.3.1", - "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-4.3.1.tgz", - "integrity": "sha512-nZXjEF2nbo7lIw3mgYjItAfgQXog3OjJogSbKa2CQIIvSGWcKgeJnQlNXip6NglNzYH45nSRiEVimMvYL8DDqQ==", + "version": "5.0.0", + "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", + "integrity": "sha512-AXcZb6vzzrFAUE61HnN4mpLqd/cSIwNQjtNWR0euPm6y0iqx3G4gOXaIDdtdDwZmhwe82LA6+zinmW4UBWVePQ==", "engines": { - "node": ">=14.18.0" + "node": ">=16.17.0" } }, "node_modules/env-ci/node_modules/is-stream": { @@ -9634,6 +9675,17 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/env-ci/node_modules/signal-exit": { + "version": "4.1.0", + "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", + "integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==", + "engines": { + "node": ">=14" + }, + "funding": { + "url": "https://github.com/sponsors/isaacs" + } + }, "node_modules/env-ci/node_modules/strip-final-newline": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/strip-final-newline/-/strip-final-newline-3.0.0.tgz", @@ -11739,6 +11791,25 @@ "url": "https://github.com/sponsors/sindresorhus" } }, + "node_modules/hosted-git-info": { + "version": "7.0.1", + "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", + "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", + "dependencies": { + "lru-cache": "^10.0.1" + }, + "engines": { + "node": "^16.14.0 || >=18.0.0" + } + }, + "node_modules/hosted-git-info/node_modules/lru-cache": { + "version": "10.0.1", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", + "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==", + "engines": { + "node": "14 || >=16.14" + } + }, "node_modules/html-encoding-sniffer": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/html-encoding-sniffer/-/html-encoding-sniffer-3.0.0.tgz", @@ -14931,9 +15002,9 @@ } }, "node_modules/marked": { - "version": "5.1.2", - "resolved": "https://registry.npmjs.org/marked/-/marked-5.1.2.tgz", - "integrity": "sha512-ahRPGXJpjMjwSOlBoTMZAK7ATXkli5qCPxZ21TG44rx1KEo44bii4ekgTDQPNRQ4Kh7JMb9Ub1PVk1NxRSsorg==", + "version": "9.0.3", + "resolved": "https://registry.npmjs.org/marked/-/marked-9.0.3.tgz", + "integrity": "sha512-pI/k4nzBG1PEq1J3XFEHxVvjicfjl8rgaMaqclouGSMPhk7Q3Ejb2ZRxx/ZQOcQ1909HzVoWCFYq6oLgtL4BpQ==", "bin": { "marked": "bin/marked.js" }, @@ -14942,22 +15013,22 @@ } }, "node_modules/marked-terminal": { - "version": "5.2.0", - "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-5.2.0.tgz", - "integrity": "sha512-Piv6yNwAQXGFjZSaiNljyNFw7jKDdGrw70FSbtxEyldLsyeuV5ZHm/1wW++kWbrOF1VPnUgYOhB2oLL0ZpnekA==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/marked-terminal/-/marked-terminal-6.0.0.tgz", + "integrity": "sha512-6rruICvqRfA4N+Mvdc0UyDbLA0A0nI5omtARIlin3P2F+aNc3EbW91Rd9HTuD0v9qWyHmNIu8Bt40gAnPfldsg==", "dependencies": { "ansi-escapes": "^6.2.0", "cardinal": "^2.1.1", - "chalk": "^5.2.0", + "chalk": "^5.3.0", "cli-table3": "^0.6.3", - "node-emoji": "^1.11.0", - "supports-hyperlinks": "^2.3.0" + "node-emoji": "^2.1.0", + "supports-hyperlinks": "^3.0.0" }, "engines": { - "node": ">=14.13.1 || >=16.0.0" + "node": ">=16.0.0" }, "peerDependencies": { - "marked": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0 || ^5.0.0" + "marked": ">=1 <10" } }, "node_modules/marked-terminal/node_modules/ansi-escapes": { @@ -15358,11 +15429,14 @@ "integrity": "sha512-+eawOlIgy680F0kBzPUNFhMZGtJ1YmqM6l4+Crf4IkImjYrO/mqPwRMh352g23uIaQKFItcQ64I7KMaJxHgAVA==" }, "node_modules/node-emoji": { - "version": "1.11.0", - "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-1.11.0.tgz", - "integrity": "sha512-wo2DpQkQp7Sjm2A0cq+sN7EHKO6Sl0ctXeBdFZrL9T9+UywORbufTcTZxom8YqpLQt/FqNMUkOpkZrJVYSKD3A==", + "version": "2.1.0", + "resolved": "https://registry.npmjs.org/node-emoji/-/node-emoji-2.1.0.tgz", + "integrity": "sha512-tcsBm9C6FmPN5Wo7OjFi9lgMyJjvkAeirmjR/ax8Ttfqy4N8PoFic26uqFTIgayHPNI5FH4ltUvfh9kHzwcK9A==", "dependencies": { - "lodash": "^4.17.21" + "@sindresorhus/is": "^3.1.2", + "char-regex": "^1.0.2", + "emojilib": "^2.4.0", + "skin-tone": "^2.0.0" } }, "node_modules/node-fetch": { @@ -20615,19 +20689,19 @@ } }, "node_modules/semantic-release": { - "version": "22.0.0", - "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-22.0.0.tgz", - "integrity": "sha512-WTD8zPxh+pyc/DrTALRHJ47p1XbKqi2AJljn5WkXgLFFIMSax4uu15u4ZEZaa7ftBo8cSajh16VeafgUu9DX8g==", + "version": "22.0.5", + "resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-22.0.5.tgz", + "integrity": "sha512-ESCEQsZlBj1DWMA84RthaJzQHHnihoGk49s9nUxHfRNUNZelLE9JZrE94bHO2Y00EWb7iwrzr1OYhv5QNVmf8A==", "dependencies": { - "@semantic-release/commit-analyzer": "^11.0.0-beta.3", + "@semantic-release/commit-analyzer": "^11.0.0", "@semantic-release/error": "^4.0.0", "@semantic-release/github": "^9.0.0", "@semantic-release/npm": "^11.0.0", - "@semantic-release/release-notes-generator": "^12.0.0-beta.2", + "@semantic-release/release-notes-generator": "^12.0.0", "aggregate-error": "^5.0.0", "cosmiconfig": "^8.0.0", "debug": "^4.0.0", - "env-ci": "^9.0.0", + "env-ci": "^10.0.0", "execa": "^8.0.0", "figures": "^5.0.0", "find-versions": "^5.1.0", @@ -20636,8 +20710,8 @@ "hook-std": "^3.0.0", "hosted-git-info": "^7.0.0", "lodash-es": "^4.17.21", - "marked": "^5.0.0", - "marked-terminal": "^5.1.1", + "marked": "^9.0.0", + "marked-terminal": "^6.0.0", "micromatch": "^4.0.2", "p-each-series": "^3.0.0", "p-reduce": "^3.0.0", @@ -20777,17 +20851,6 @@ "url": "https://github.com/sponsors/sindresorhus" } }, - "node_modules/semantic-release/node_modules/hosted-git-info": { - "version": "7.0.1", - "resolved": "https://registry.npmjs.org/hosted-git-info/-/hosted-git-info-7.0.1.tgz", - "integrity": "sha512-+K84LB1DYwMHoHSgaOY/Jfhw3ucPmSET5v98Ke/HdNSw4a0UktWzyW1mjhjpuxxTqOOsfWT/7iVshHmVZ4IpOA==", - "dependencies": { - "lru-cache": "^10.0.1" - }, - "engines": { - "node": "^16.14.0 || >=18.0.0" - } - }, "node_modules/semantic-release/node_modules/human-signals": { "version": "5.0.0", "resolved": "https://registry.npmjs.org/human-signals/-/human-signals-5.0.0.tgz", @@ -20830,11 +20893,14 @@ } }, "node_modules/semantic-release/node_modules/lru-cache": { - "version": "10.0.1", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-10.0.1.tgz", - "integrity": "sha512-IJ4uwUTi2qCccrioU6g9g/5rvvVl13bsdczUUcqbciD9iLr095yj8DQKdObriEvuNSx325N1rV1O0sJFszx75g==", + "version": "6.0.0", + "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", + "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", + "dependencies": { + "yallist": "^4.0.0" + }, "engines": { - "node": "14 || >=16.14" + "node": ">=10" } }, "node_modules/semantic-release/node_modules/mimic-fn": { @@ -20912,17 +20978,6 @@ "node": ">=10" } }, - "node_modules/semantic-release/node_modules/semver/node_modules/lru-cache": { - "version": "6.0.0", - "resolved": "https://registry.npmjs.org/lru-cache/-/lru-cache-6.0.0.tgz", - "integrity": "sha512-Jo6dJ04CmSjuznwJSS3pUeWmd/H0ffTlkXXgwZi+eq1UCmqQwCh+eLsYOYCwY991i2Fah4h1BEMCx4qThGbsiA==", - "dependencies": { - "yallist": "^4.0.0" - }, - "engines": { - "node": ">=10" - } - }, "node_modules/semantic-release/node_modules/signal-exit": { "version": "4.1.0", "resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz", @@ -21241,6 +21296,17 @@ "integrity": "sha512-bLGGlR1QxBcynn2d5YmDX4MGjlZvy2MRBDRNHLJ8VI6l6+9FUiyTFNJ0IveOSP0bcXgVDPRcfGqA0pjaqUpfVg==", "dev": true }, + "node_modules/skin-tone": { + "version": "2.0.0", + "resolved": "https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz", + "integrity": "sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==", + "dependencies": { + "unicode-emoji-modifier-base": "^1.0.0" + }, + "engines": { + "node": ">=8" + } + }, "node_modules/slash": { "version": "3.0.0", "resolved": "https://registry.npmjs.org/slash/-/slash-3.0.0.tgz", @@ -21713,15 +21779,15 @@ } }, "node_modules/supports-hyperlinks": { - "version": "2.3.0", - "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-2.3.0.tgz", - "integrity": "sha512-RpsAZlpWcDwOPQA22aCH4J0t7L8JmAvsCxfOSEwm7cQs3LshN36QaTkwd70DnBOXDWGssw2eUoc8CaRWT0XunA==", + "version": "3.0.0", + "resolved": "https://registry.npmjs.org/supports-hyperlinks/-/supports-hyperlinks-3.0.0.tgz", + "integrity": "sha512-QBDPHyPQDRTy9ku4URNGY5Lah8PAaXs6tAAwp55sL5WCsSW7GIfdf6W5ixfziW+t7wh3GVvHyHHyQ1ESsoRvaA==", "dependencies": { "has-flag": "^4.0.0", "supports-color": "^7.0.0" }, "engines": { - "node": ">=8" + "node": ">=14.18" } }, "node_modules/supports-hyperlinks/node_modules/has-flag": { @@ -22467,6 +22533,14 @@ "node": ">=4" } }, + "node_modules/unicode-emoji-modifier-base": { + "version": "1.0.0", + "resolved": "https://registry.npmjs.org/unicode-emoji-modifier-base/-/unicode-emoji-modifier-base-1.0.0.tgz", + "integrity": "sha512-yLSH4py7oFH3oG/9K+XWrz1pSi3dfUrWEnInbxMfArOfc1+33BlGPQtLsOYwvdMy11AwUBetYuaRxSPqgkq+8g==", + "engines": { + "node": ">=4" + } + }, "node_modules/unicode-match-property-ecmascript": { "version": "2.0.0", "resolved": "https://registry.npmjs.org/unicode-match-property-ecmascript/-/unicode-match-property-ecmascript-2.0.0.tgz", From 9b712032e8cc2502423028f8ba2fd3dcb8249a50 Mon Sep 17 00:00:00 2001 From: rharkor Date: Tue, 26 Sep 2023 19:24:59 +0200 Subject: [PATCH 2/4] fix: check frozen lockfile --- .github/workflows/check.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index 9b7a2889..b22590fe 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -20,7 +20,7 @@ jobs: - name: Install bun uses: oven-sh/setup-bun@v1 - name: Install dependencies - run: bun install --frozen-lockfile + run: bun install - name: Set example env run: cp .env.example .env - name: Lint check From 40fb437112ae2f43ba51b6103bfa54b99a6e2e91 Mon Sep 17 00:00:00 2001 From: rharkor Date: Tue, 26 Sep 2023 19:26:53 +0200 Subject: [PATCH 3/4] refactor: no more frozen lockfile --- .github/workflows/release.yml | 2 +- scripts/runtime.ts | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index de9f1dfe..b5a9a312 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -25,7 +25,7 @@ jobs: - name: Install bun uses: oven-sh/setup-bun@v1 - name: Install dependencies - run: bun install --frozen-lockfile + run: bun install - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies run: npm audit signatures - name: Release diff --git a/scripts/runtime.ts b/scripts/runtime.ts index d043e6ab..f7ec4285 100644 --- a/scripts/runtime.ts +++ b/scripts/runtime.ts @@ -47,9 +47,9 @@ const basicFiles = [ path: ".github/workflows/check.yml", replace: (oldRuntime: IRuntime, newRuntime: IRuntime, content: string) => { if (oldRuntime.npm === "npm" && newRuntime.npm === "bun") { - content = content.replaceAll(`${oldRuntime.npm} ci`, `${newRuntime.npm} install --frozen-lockfile`) + content = content.replaceAll(`${oldRuntime.npm} install`, `${newRuntime.npm} install`) } else if (oldRuntime.npm === "bun" && newRuntime.npm === "npm") { - content = content.replaceAll(`${oldRuntime.npm} install --frozen-lockfile`, `${newRuntime.npm} ci`) + content = content.replaceAll(`${oldRuntime.npm} install`, `${newRuntime.npm} install`) } content = content.replaceAll(`${oldRuntime.npm} `, `${newRuntime.npm} `) if (oldRuntime.npm === "npm" && newRuntime.npm === "bun") { @@ -80,9 +80,9 @@ const basicFiles = [ path: ".github/workflows/nextjs_bundle_analysis.yml", replace: (oldRuntime: IRuntime, newRuntime: IRuntime, content: string) => { if (oldRuntime.npm === "npm" && newRuntime.npm === "bun") { - content = content.replaceAll(`${oldRuntime.npm} ci`, `${newRuntime.npm} install --frozen-lockfile`) + content = content.replaceAll(`${oldRuntime.npm} install`, `${newRuntime.npm} install`) } else if (oldRuntime.npm === "bun" && newRuntime.npm === "npm") { - content = content.replaceAll(`${oldRuntime.npm} install --frozen-lockfile`, `${newRuntime.npm} ci`) + content = content.replaceAll(`${oldRuntime.npm} install`, `${newRuntime.npm} install`) } content = content.replaceAll(`${oldRuntime.npm} `, `${newRuntime.npm} `) if (oldRuntime.npm === "npm" && newRuntime.npm === "bun") { @@ -123,7 +123,7 @@ const basicFiles = [ path: ".github/workflows/release.yml", replace: (oldRuntime: IRuntime, newRuntime: IRuntime, content: string) => { if (oldRuntime.npm === "npm" && newRuntime.npm === "bun") { - content = content.replaceAll(`${oldRuntime.npm} ci`, `${newRuntime.npm} install --frozen-lockfile`) + content = content.replaceAll(`${oldRuntime.npm} install`, `${newRuntime.npm} install`) content = content.replaceAll( ` - name: Setup Node.js uses: actions/setup-node@v3 @@ -133,7 +133,7 @@ const basicFiles = [ uses: oven-sh/setup-bun@v1` ) } else if (oldRuntime.npm === "bun" && newRuntime.npm === "npm") { - content = content.replaceAll(`${oldRuntime.npm} install --frozen-lockfile`, `${newRuntime.npm} ci`) + content = content.replaceAll(`${oldRuntime.npm} install`, `${newRuntime.npm} install`) content = content.replaceAll( ` - name: Install bun uses: oven-sh/setup-bun@v1`, From 30bffa663f0c356a0292e3e2db87fd32988aeb4e Mon Sep 17 00:00:00 2001 From: rharkor Date: Tue, 26 Sep 2023 21:15:04 +0200 Subject: [PATCH 4/4] refactor: bun => node default --- .devcontainer/devcontainer.json | 4 +-- .github/workflows/check.yml | 17 ++++++----- .github/workflows/nextjs_bundle_analysis.yml | 12 ++++---- .github/workflows/release.yml | 10 ++++--- README.md | 8 +++--- package.json | 30 ++++++++++---------- scripts/.pinfo.json | 4 +-- scripts/package.json | 10 +++---- 8 files changed, 51 insertions(+), 44 deletions(-) diff --git a/.devcontainer/devcontainer.json b/.devcontainer/devcontainer.json index 012924c1..5040dfe1 100644 --- a/.devcontainer/devcontainer.json +++ b/.devcontainer/devcontainer.json @@ -33,11 +33,11 @@ }, // Use 'postCreateCommand' to run commands after the container is created. - "postCreateCommand": "./scripts/install-zsh10k.sh && ./scripts/install-bun.sh && ./scripts/install-brew.sh && bun install", + "postCreateCommand": "./scripts/install-zsh10k.sh && ./scripts/install-bun.sh && ./scripts/install-brew.sh && npm install", // Configure tool-specific properties. "customizations": { - "postCreateCommand": "./scripts/install-zsh10k.sh && ./scripts/install-bun.sh && ./scripts/install-brew.sh && bun install", + "postCreateCommand": "./scripts/install-zsh10k.sh && ./scripts/install-bun.sh && ./scripts/install-brew.sh && npm install", "vscode": { "extensions": [ "formulahendry.auto-rename-tag", diff --git a/.github/workflows/check.yml b/.github/workflows/check.yml index b22590fe..6cd96596 100644 --- a/.github/workflows/check.yml +++ b/.github/workflows/check.yml @@ -17,17 +17,20 @@ jobs: runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 - - name: Install bun - uses: oven-sh/setup-bun@v1 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: "18.x" + cache: "npm" - name: Install dependencies - run: bun install + run: npm install - name: Set example env run: cp .env.example .env - name: Lint check - run: bun run lint + run: npm run lint - name: Format check - run: bun run prettier + run: npm run prettier - name: Unit & Integration tests - run: bun run test + run: npm run test - name: Check dependencies usage - run: bun run depcheck + run: npm run depcheck diff --git a/.github/workflows/nextjs_bundle_analysis.yml b/.github/workflows/nextjs_bundle_analysis.yml index 89783277..b1a54ad7 100644 --- a/.github/workflows/nextjs_bundle_analysis.yml +++ b/.github/workflows/nextjs_bundle_analysis.yml @@ -26,13 +26,15 @@ jobs: steps: - uses: actions/checkout@v3 - - name: Install bun - uses: oven-sh/setup-bun@v1 + - name: Install Node.js + uses: actions/setup-node@v3 + with: + node-version: 18 - name: Install dependencies - run: bun install + run: npm install - # If pbun is used, you need to switch the previous step with the following one. pbun does not create a package-lock.json + # If pnpm is used, you need to switch the previous step with the following one. pnpm does not create a package-lock.json # so the step above will fail to pull dependencies # - uses: pnpm/action-setup@v2 # name: Install pnpm @@ -60,7 +62,7 @@ jobs: - name: Build next.js app # change this if your site requires a custom build command - run: bun run build + run: npm run build # Here's the first place where next-bundle-analysis' own script is used # This step pulls the raw bundle stats for the current bundle diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b5a9a312..cbce7f8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -22,14 +22,16 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 - - name: Install bun - uses: oven-sh/setup-bun@v1 + - name: Setup Node.js + uses: actions/setup-node@v3 + with: + node-version: "lts/*" - name: Install dependencies - run: bun install + run: npm install - name: Verify the integrity of provenance attestations and registry signatures for installed dependencies run: npm audit signatures - name: Release env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} NPM_TOKEN: ${{ secrets.NPM_TOKEN }} - run: bunx semantic-release + run: npx semantic-release diff --git a/README.md b/README.md index c30615a9..0bd5982a 100644 --- a/README.md +++ b/README.md @@ -88,19 +88,19 @@ cp .env.example .env 3. Initialize the project: ```bash -bun run init +npm run init ``` 4. Install the dependencies: ```bash -bun install +npm install ``` 5. Run the development server: ```bash -bun run dev +npm run dev ``` 6. Open [http://localhost:3000](http://localhost:3000) with your browser to see the result. @@ -166,7 +166,7 @@ This boilerplate comes with various testing setups to ensure your application's ### Running Tests -- **Unit and integration tests**: Run Jest tests using `bun run test` +- **Unit and integration tests**: Run Jest tests using `npm run test` image diff --git a/package.json b/package.json index cd5fb70c..09d84aec 100644 --- a/package.json +++ b/package.json @@ -3,27 +3,27 @@ "version": "1.1.0-rec.1", "private": true, "scripts": { - "init": "cd scripts && bun i && bun run init && cd .. && bunx prisma migrate dev && bun run seed", - "dev": "bun run is-initialized && bunx prisma migrate dev && cross-env FORCE_COLOR=1 next dev", - "build": "bun run is-initialized && bun run full-sub-package-setup && next build", - "start": "bun run is-initialized && bun run deploy-db:prod && bun run seed && next start", - "start:with-cron": "bun run is-initialized && bun run deploy-db:prod && bun run seed && concurrently \"next start\" \"bun run cron\"", - "deploy-db:prod": "bunx prisma migrate deploy", - "cron": "bunx tsx ./crons/index.ts", + "init": "cd scripts && npm i && npm run init && cd .. && npx prisma migrate dev && npm run seed", + "dev": "npm run is-initialized && npx prisma migrate dev && cross-env FORCE_COLOR=1 next dev", + "build": "npm run is-initialized && npm run full-sub-package-setup && next build", + "start": "npm run is-initialized && npm run deploy-db:prod && npm run seed && next start", + "start:with-cron": "npm run is-initialized && npm run deploy-db:prod && npm run seed && concurrently \"next start\" \"npm run cron\"", + "deploy-db:prod": "npx prisma migrate deploy", + "cron": "npx tsx ./crons/index.ts", "lint": "next lint", "lint:fix": "next lint --fix", "prettier": "prettier --check \"**/*.{js,jsx,ts,tsx}\"", "prettier:fix": "prettier --write \"**/*.{js,jsx,ts,tsx}\"", - "analyze": "cross-env ANALYZE=true bun run build", + "analyze": "cross-env ANALYZE=true npm run build", "test": "cross-env FORCE_COLOR=1 jest --passWithNoTests", "format": "prettier --write \"**/*.{ts,tsx,md}\"", - "postinstall": "bunx patch-package && prisma generate", - "preinstall": "bunx only-allow bun", + "postinstall": "npx patch-package && prisma generate", + "preinstall": "npx only-allow npm", "seed": "NODE_ENV=development prisma db seed", - "depcheck": "cd scripts && bun i && bun run depcheck", - "full-sub-package-setup": "bun run sub-package:scripts", - "sub-package:scripts": "cd scripts && bun i && cd ..", - "is-initialized": "cd scripts && bun i && bun run is-initialized" + "depcheck": "cd scripts && npm i && npm run depcheck", + "full-sub-package-setup": "npm run sub-package:scripts", + "sub-package:scripts": "cd scripts && npm i && cd ..", + "is-initialized": "cd scripts && npm i && npm run is-initialized" }, "dependencies": { "@formatjs/intl-localematcher": "^0.4.0", @@ -135,7 +135,7 @@ }, "prisma": { "schema": "prisma/schema.prisma", - "seed": "bunx ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts" + "seed": "npx ts-node --compiler-options {\"module\":\"CommonJS\"} prisma/seed.ts" }, "nextBundleAnalysis": { "budget": 358400, diff --git a/scripts/.pinfo.json b/scripts/.pinfo.json index 0ee0cd93..2f108b5e 100644 --- a/scripts/.pinfo.json +++ b/scripts/.pinfo.json @@ -1,6 +1,6 @@ { "runtime": { - "npm": "bun", - "npx": "bunx" + "npm": "npm", + "npx": "npx" } } diff --git a/scripts/package.json b/scripts/package.json index 30f05643..9396536b 100644 --- a/scripts/package.json +++ b/scripts/package.json @@ -3,11 +3,11 @@ "version": "1.0.0", "main": "index.js", "scripts": { - "init": "bunx tsx init.ts", - "depcheck": "bunx tsx depcheck.ts", - "is-initialized": "bunx tsx is-initialized.ts", - "postinstall": "bunx patch-package", - "preinstall": "bunx only-allow bun" + "init": "npx tsx init.ts", + "depcheck": "npx tsx depcheck.ts", + "is-initialized": "npx tsx is-initialized.ts", + "postinstall": "npx patch-package", + "preinstall": "npx only-allow npm" }, "type": "module", "dependencies": {