build(build-tools): Upgrade jssm and jssm-viz, patch jssm-viz (#22880)

The latest release of jssm includes the fixes in
https://github.com/StoneCypher/jssm/pull/569, so our patch is no longer
needed and has been removed. However, the jssm-viz package has a similar
problem (open PR: https://github.com/StoneCypher/jssm-viz/pull/54) so I
patched it with type changes similar to what was done for jssm
originally.

If or when the jssm-viz PR is accepted or the issue is otherwise fixed,
we can remove the patch.
This commit is contained in:
Tyler Butler 2024-10-25 09:17:04 -07:00 коммит произвёл GitHub
Родитель c8ea391f49
Коммит c4560a7e74
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: B5690EEEBB952194
6 изменённых файлов: 309 добавлений и 3681 удалений

Просмотреть файл

@ -125,9 +125,6 @@
"oclif>@aws-sdk/client-cloudfront": "npm:empty-npm-package@1.0.0",
"oclif>@aws-sdk/client-s3": "npm:empty-npm-package@1.0.0"
},
"patchedDependencies": {
"jssm@5.98.2": "patches/jssm@5.98.2.patch"
},
"updateConfig": {
"ignoreDependencies": [
"latest-version",
@ -135,6 +132,12 @@
"type-fest",
"typescript"
]
},
"patchedDependenciesComments": [
"jssm-viz is a dependency of jssm-viz-cli, but doesn't work with the latest jssm and TypeScript. This patch contains the changes from https://github.com/StoneCypher/jssm-viz/pull/54, which fixes the problem."
],
"patchedDependencies": {
"jssm-viz@5.101.0": "patches/jssm-viz@5.101.0.patch"
}
}
}

Просмотреть файл

@ -110,7 +110,7 @@
"inquirer": "^8.2.5",
"issue-parser": "^7.0.1",
"json5": "^2.2.3",
"jssm": "5.98.2",
"jssm": "^5.103.0",
"jszip": "^3.10.1",
"latest-version": "^9.0.0",
"mdast": "^3.0.0",
@ -174,7 +174,7 @@
"eslint-config-oclif": "^5.2.0",
"eslint-config-oclif-typescript": "^3.1.8",
"eslint-config-prettier": "~9.1.0",
"jssm-viz-cli": "5.97.1",
"jssm-viz-cli": "5.101.0",
"mocha": "^10.2.0",
"mocha-multi-reporters": "^1.5.1",
"mocked-env": "^1.3.5",

Различия файлов скрыты, потому что одна или несколько строк слишком длинны

Разница между файлами не показана из-за своего большого размера Загрузить разницу

Просмотреть файл

@ -13,9 +13,9 @@ overrides:
oclif>@aws-sdk/client-s3: npm:empty-npm-package@1.0.0
patchedDependencies:
jssm@5.98.2:
hash: jvxmn6yyt5s6cxokjpzzkp2gqy
path: patches/jssm@5.98.2.patch
jssm-viz@5.101.0:
hash: jq5upu46ffypomxpz6yk2iwhaa
path: patches/jssm-viz@5.101.0.patch
importers:
@ -187,8 +187,8 @@ importers:
specifier: ^2.2.3
version: 2.2.3
jssm:
specifier: 5.98.2
version: 5.98.2(patch_hash=jvxmn6yyt5s6cxokjpzzkp2gqy)
specifier: ^5.103.0
version: 5.103.0
jszip:
specifier: ^3.10.1
version: 3.10.1
@ -374,8 +374,8 @@ importers:
specifier: ~9.1.0
version: 9.1.0(eslint@8.57.0)
jssm-viz-cli:
specifier: 5.97.1
version: 5.97.1
specifier: 5.101.0
version: 5.101.0
mocha:
specifier: ^10.2.0
version: 10.2.0
@ -1347,7 +1347,7 @@ packages:
inquirer: 8.2.5
issue-parser: 7.0.1
json5: 2.2.3
jssm: 5.98.2(patch_hash=jvxmn6yyt5s6cxokjpzzkp2gqy)
jssm: 5.98.2
latest-version: 5.1.0
minimatch: 7.4.6
node-fetch: 3.3.2
@ -3294,7 +3294,7 @@ packages:
dependencies:
'@typescript-eslint/types': 5.59.11
'@typescript-eslint/visitor-keys': 5.59.11
debug: 4.3.5(supports-color@8.1.1)
debug: 4.3.7
globby: 11.1.0
is-glob: 4.0.3
semver: 7.6.2
@ -5053,7 +5053,6 @@ packages:
optional: true
dependencies:
ms: 2.1.3
dev: true
/decamelize-keys@1.1.0:
resolution: {integrity: sha512-ocLWuYzRPoS9bfiSdDd3cxvrzovVMZnRDVEzAs+hWIVXGDbHxWMECij2OBuyB/An0FFW/nLuq6Kv1i/YC5Qfzg==}
@ -7839,40 +7838,49 @@ packages:
ms: 2.1.3
semver: 7.6.2
/jssm-viz-cli@5.97.1:
resolution: {integrity: sha512-QuPQm4ZyKkUl9wZuVqBGlBSGHwnkGK2ZDc2ycGGbORkZ3cecntuLk39mcxtkriaBySc8bJMT9IEXTF8ifUDxQw==}
/jssm-viz-cli@5.101.0:
resolution: {integrity: sha512-4+Pq3NThSvBuCColUX0isqX1mcHGYBo4eZbrtHRPQ0plZIm35SbBC0AqcucIvvkeOzCSTv1zgZ57JQ0r6zKntw==}
hasBin: true
dependencies:
ansi-256-colors: 1.1.0
better_git_changelog: 1.6.2
commander: 4.1.1
glob: 7.2.3
jssm-viz: 5.98.2
jssm-viz: 5.101.0(patch_hash=jq5upu46ffypomxpz6yk2iwhaa)
sharp: 0.33.2
transitivePeerDependencies:
- supports-color
dev: true
/jssm-viz@5.98.2:
resolution: {integrity: sha512-OzcmYT2urCfo+qnwoD/TCYtwUG9r+XYHweKhDQoy6BfhCd5/G0Ir50BLea8bvKinmYjnShmc3Per/sR+WcYPlQ==}
/jssm-viz@5.101.0(patch_hash=jq5upu46ffypomxpz6yk2iwhaa):
resolution: {integrity: sha512-dOmdBRnrVHECOmVuDFgPnmbwNXU9MO3U19+5KuyxYr8bJNizeV424Ez609+G23pmGY8NwCs3w4qRYcSyOPdcpA==}
dependencies:
better_git_changelog: 1.6.2
eslint: 8.57.0
jssm: 5.98.2(patch_hash=jvxmn6yyt5s6cxokjpzzkp2gqy)
jssm: 5.103.0
reduce-to-639-1: 1.1.0
text_audit: 0.9.3
transitivePeerDependencies:
- supports-color
dev: true
patched: true
/jssm@5.98.2(patch_hash=jvxmn6yyt5s6cxokjpzzkp2gqy):
/jssm@5.103.0:
resolution: {integrity: sha512-nsRXagHl1XqSL0Vtttm3Rf3RLJdJuqtylLJ4KRuvih+XLyhQXfmCg5k7WrpCgN+cTUQWpcOy6yoGQqemZ9bQQA==}
engines: {node: '>=10.0.0'}
dependencies:
better_git_changelog: 1.6.2
circular_buffer_js: 1.10.0
reduce-to-639-1: 1.1.0
/jssm@5.98.2:
resolution: {integrity: sha512-O2xBFBzZjLIN+wA5IA85XIaEan7wjvM2qegwVrVQPClbH/IEhI1GLkLEEfk+TPeHeW8pGOlrd84MnmTcDyxSIQ==}
engines: {node: '>=10.0.0'}
dependencies:
better_git_changelog: 1.6.2
circular_buffer_js: 1.10.0
reduce-to-639-1: 1.1.0
patched: true
dev: true
/jsx-ast-utils@3.3.3:
resolution: {integrity: sha512-fYQHZTZ8jSfmWZ0iyzfwiU4WDX4HpHbMCZ3gPlWYiCl3BoeOTsqKBqnTVfH2rYT7eP5c3sVbeSPHnnJOaTrWiw==}
@ -8703,7 +8711,7 @@ packages:
resolution: {integrity: sha512-o/sd0nMof8kYff+TqcDx3VSrgBTcZpSvYcAHIfHhv5VAuNmisCxjhx6YmxS8PFEpb9z5WKWKPdzf0jM23ro3RQ==}
dependencies:
'@types/debug': 4.1.12
debug: 4.3.5(supports-color@8.1.1)
debug: 4.3.7
decode-named-character-reference: 1.0.2
devlop: 1.1.0
micromark-core-commonmark: 2.0.1
@ -11360,7 +11368,7 @@ packages:
engines: {node: ^14.17.0 || ^16.13.0 || >=18.0.0}
dependencies:
'@tufjs/models': 1.0.4
debug: 4.3.5(supports-color@8.1.1)
debug: 4.3.7
make-fetch-happen: 11.1.1
transitivePeerDependencies:
- supports-color

Просмотреть файл

@ -72,7 +72,7 @@ module.exports = {
{
label: "Must use exact dependency ranges",
dependencies: ["jssm", "jssm-viz-cli", "sort-package-json"],
dependencies: ["jssm-viz-cli", "sort-package-json"],
packages: ["**"],
range: "",
},