From 579a7485c241ad7aeaf7c8ae2bfec7ba9bff81a5 Mon Sep 17 00:00:00 2001 From: aidosmf Date: Wed, 18 Dec 2024 00:13:17 +0500 Subject: [PATCH 1/2] chore(metadata, extarct-features): add workspace deps links --- .../relottie-extract-features/package.json | 8 +- packages/relottie-metadata/package.json | 6 +- pnpm-lock.yaml | 94 ++++++------------- 3 files changed, 34 insertions(+), 74 deletions(-) diff --git a/packages/relottie-extract-features/package.json b/packages/relottie-extract-features/package.json index 14eefcb..fb19042 100644 --- a/packages/relottie-extract-features/package.json +++ b/packages/relottie-extract-features/package.json @@ -58,16 +58,16 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@lottiefiles/last": "*", + "@lottiefiles/last": "workspace:*", "unist-util-visit-parents": "6.0.1" }, "devDependencies": { "@jest/globals": "29.7.0", "@lottie-animation-community/lottie-types": "1.2.0", "@lottiefiles/jest-config": "1.0.0", - "@lottiefiles/last-builder": "*", - "@lottiefiles/relottie-parse": "*", - "@lottiefiles/relottie-stringify": "*", + "@lottiefiles/last-builder": "workspace:*", + "@lottiefiles/relottie-parse": "workspace:*", + "@lottiefiles/relottie-stringify": "workspace:*", "@types/jest": "29.5.8", "@types/jest-specific-snapshot": "0.5.6", "@types/node": "18.18.9", diff --git a/packages/relottie-metadata/package.json b/packages/relottie-metadata/package.json index 21c2098..4a5c720 100644 --- a/packages/relottie-metadata/package.json +++ b/packages/relottie-metadata/package.json @@ -59,15 +59,15 @@ "type-check": "tsc --noEmit" }, "dependencies": { - "@lottiefiles/last": "*", + "@lottiefiles/last": "workspace:*", "filesize": "^10.1.1", "unist-util-visit": "4.1.2" }, "devDependencies": { "@jest/globals": "29.7.0", "@lottiefiles/jest-config": "1.0.0", - "@lottiefiles/relottie-parse": "*", - "@lottiefiles/relottie-stringify": "*", + "@lottiefiles/relottie-parse": "workspace:*", + "@lottiefiles/relottie-stringify": "workspace:*", "@types/jest": "29.5.8", "@types/jest-specific-snapshot": "0.5.6", "@types/node": "18.18.9", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 60dc31f..154637b 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -204,8 +204,8 @@ importers: packages/relottie-extract-features: dependencies: '@lottiefiles/last': - specifier: '*' - version: 1.9.1 + specifier: workspace:* + version: link:../last unist-util-visit-parents: specifier: 6.0.1 version: 6.0.1 @@ -220,14 +220,14 @@ importers: specifier: 1.0.0 version: 1.0.0(esbuild@0.19.5)(jest@29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4))) '@lottiefiles/last-builder': - specifier: '*' - version: 1.9.1 + specifier: workspace:* + version: link:../last-builder '@lottiefiles/relottie-parse': - specifier: '*' - version: 1.10.0 + specifier: workspace:* + version: link:../relottie-parse '@lottiefiles/relottie-stringify': - specifier: '*' - version: 1.9.1 + specifier: workspace:* + version: link:../relottie-stringify '@types/jest': specifier: 29.5.8 version: 29.5.8 @@ -274,8 +274,8 @@ importers: packages/relottie-metadata: dependencies: '@lottiefiles/last': - specifier: '*' - version: 1.9.1 + specifier: workspace:* + version: link:../last filesize: specifier: ^10.1.1 version: 10.1.6 @@ -290,11 +290,11 @@ importers: specifier: 1.0.0 version: 1.0.0(esbuild@0.19.5)(jest@29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4))) '@lottiefiles/relottie-parse': - specifier: '*' - version: 1.10.0 + specifier: workspace:* + version: link:../relottie-parse '@lottiefiles/relottie-stringify': - specifier: '*' - version: 1.9.1 + specifier: workspace:* + version: link:../relottie-stringify '@types/jest': specifier: 29.5.8 version: 29.5.8 @@ -1086,10 +1086,6 @@ packages: engines: {node: '>=10.10.0'} deprecated: Use @eslint/config-array instead - '@humanwhocodes/momoa@2.0.4': - resolution: {integrity: sha512-RE815I4arJFtt+FVeU1Tgp9/Xvecacji8w/V6XtXsWWH/wz/eNkNbhb+ny/+PlVZjV0rxQpRSQKNKE3lcktHEA==} - engines: {node: '>=10.10.0'} - '@humanwhocodes/momoa@3.3.5': resolution: {integrity: sha512-NI9codbQNjw9g4SS/cOizi8JDZ93B3oGVko8M3y0XF3gITaGDSQqea35V8fswWehnRQBLxPfZY5TJnuNhNCEzA==} engines: {node: '>=18'} @@ -1262,28 +1258,12 @@ packages: esbuild: '*' jest: '*' - '@lottiefiles/last-builder@1.9.1': - resolution: {integrity: sha512-O3TP88WMcLaOir24DOkC5StI4OmgLPFKHtrdlJsaNcPoUAFdMIvOwBKPISbfCHO9w90rZSXA0YCqOZxdVsEpAQ==} - engines: {node: '>=18'} - - '@lottiefiles/last@1.9.1': - resolution: {integrity: sha512-vKGYl3l1gMRPTF4Hsm9clEtM3nB98tJ6+EZJ5l+YgXtQLgsGfJgHEK0Yo7evA4EQxeTXU3RaN2YQVA2Ldn7P+Q==} - engines: {node: '>=18'} - '@lottiefiles/prettier-config@3.0.0': resolution: {integrity: sha512-0VcTCUZCbGpiAJ/7NxARk8KWMBrEUjeWRvb18S6oZQ2SiM/Ve3RUueDXY4AYua/6tKMxXJ7urhabuqrZp3ltYA==} engines: {node: '>= 14'} peerDependencies: prettier: '*' - '@lottiefiles/relottie-parse@1.10.0': - resolution: {integrity: sha512-bm2ixOu6WfZKE8mMIfV9YkVhRAf/N17AGHFy9oC9hBbnHN98zRGHDqtaq7oxUiAwZfCiKuVGue/j5A5IIbvpvw==} - engines: {node: '>=18'} - - '@lottiefiles/relottie-stringify@1.9.1': - resolution: {integrity: sha512-klz6qIbzd5I55RksL5TiL/PAI+bqA64tJ6bTo6qD0wzeFZX0U7oT3XVaBRByFFTniDT0aUB8dwbYYfvwDPo90A==} - engines: {node: '>=18'} - '@lottiefiles/tsconfig@2.0.0': resolution: {integrity: sha512-UyVhFQ0N3AMMKuuHgsnh7XNi1FXumMtKvXszDmrwuACn0z5O3O/ut5pOARlZieTX3vzYUiNLv9T634EhGcej1w==} engines: {node: '>= 14'} @@ -9091,8 +9071,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@humanwhocodes/momoa@2.0.4': {} - '@humanwhocodes/momoa@3.3.5': {} '@humanwhocodes/object-schema@1.2.1': {} @@ -9150,7 +9128,7 @@ snapshots: exit: 0.1.2 graceful-fs: 4.2.11 jest-changed-files: 29.7.0 - jest-config: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4)) + jest-config: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@20.5.1)(typescript@4.7.4)) jest-haste-map: 29.7.0 jest-message-util: 29.7.0 jest-regex-util: 29.6.3 @@ -9398,7 +9376,7 @@ snapshots: eslint: 7.32.0 eslint-config-prettier: 8.5.0(eslint@7.32.0) eslint-import-resolver-node: 0.3.6 - eslint-import-resolver-typescript: 2.5.0(eslint-plugin-import@2.25.4(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint@7.32.0))(eslint@7.32.0) + eslint-import-resolver-typescript: 2.5.0(eslint-plugin-import@2.25.4)(eslint@7.32.0) eslint-plugin-compat: 4.0.2(eslint@7.32.0) eslint-plugin-deprecation: 1.3.2(eslint@7.32.0)(typescript@4.7.4) eslint-plugin-eslint-comments: 3.2.0(eslint@7.32.0) @@ -9480,13 +9458,6 @@ snapshots: transitivePeerDependencies: - supports-color - '@lottiefiles/last-builder@1.9.1': - dependencies: - '@lottiefiles/last': 1.9.1 - unist-builder: 3.0.1 - - '@lottiefiles/last@1.9.1': {} - '@lottiefiles/prettier-config@3.0.0(prettier@2.7.1)': dependencies: prettier: 2.7.1 @@ -9494,17 +9465,6 @@ snapshots: prettier-plugin-prisma: 3.10.0(prettier@2.7.1) prettier-plugin-sh: 0.8.1(prettier@2.7.1) - '@lottiefiles/relottie-parse@1.10.0': - dependencies: - '@humanwhocodes/momoa': 2.0.4 - '@lottiefiles/last': 1.9.1 - '@lottiefiles/last-builder': 1.9.1 - unist-util-is: 5.1.1 - - '@lottiefiles/relottie-stringify@1.9.1': - dependencies: - '@lottiefiles/last': 1.9.1 - '@lottiefiles/tsconfig@2.0.0(typescript@4.7.4)': dependencies: typescript: 4.7.4 @@ -11303,13 +11263,13 @@ snapshots: safe-buffer: 5.2.1 sha.js: 2.4.11 - create-jest@29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4)): + create-jest@29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@20.5.1)(typescript@4.7.4)): dependencies: '@jest/types': 29.6.3 chalk: 4.1.2 exit: 0.1.2 graceful-fs: 4.2.11 - jest-config: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4)) + jest-config: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@20.5.1)(typescript@4.7.4)) jest-util: 29.7.0 prompts: 2.4.2 transitivePeerDependencies: @@ -12107,7 +12067,7 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-import-resolver-typescript@2.5.0(eslint-plugin-import@2.25.4(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint@7.32.0))(eslint@7.32.0): + eslint-import-resolver-typescript@2.5.0(eslint-plugin-import@2.25.4)(eslint@7.32.0): dependencies: debug: 4.4.0 eslint: 7.32.0 @@ -12119,14 +12079,14 @@ snapshots: transitivePeerDependencies: - supports-color - eslint-module-utils@2.12.0(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint-import-resolver-node@0.3.6)(eslint-import-resolver-typescript@2.5.0(eslint-plugin-import@2.25.4(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint@7.32.0))(eslint@7.32.0))(eslint@7.32.0): + eslint-module-utils@2.12.0(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint-import-resolver-node@0.3.6)(eslint-import-resolver-typescript@2.5.0)(eslint@7.32.0): dependencies: debug: 3.2.7 optionalDependencies: '@typescript-eslint/parser': 5.13.0(eslint@7.32.0)(typescript@4.7.4) eslint: 7.32.0 eslint-import-resolver-node: 0.3.6 - eslint-import-resolver-typescript: 2.5.0(eslint-plugin-import@2.25.4(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint@7.32.0))(eslint@7.32.0) + eslint-import-resolver-typescript: 2.5.0(eslint-plugin-import@2.25.4)(eslint@7.32.0) transitivePeerDependencies: - supports-color @@ -12188,7 +12148,7 @@ snapshots: doctrine: 2.1.0 eslint: 7.32.0 eslint-import-resolver-node: 0.3.6 - eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint-import-resolver-node@0.3.6)(eslint-import-resolver-typescript@2.5.0(eslint-plugin-import@2.25.4(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint@7.32.0))(eslint@7.32.0))(eslint@7.32.0) + eslint-module-utils: 2.12.0(@typescript-eslint/parser@5.13.0(eslint@7.32.0)(typescript@4.7.4))(eslint-import-resolver-node@0.3.6)(eslint-import-resolver-typescript@2.5.0)(eslint@7.32.0) has: 1.0.4 is-core-module: 2.15.1 is-glob: 4.0.3 @@ -13679,10 +13639,10 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4)) + create-jest: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@20.5.1)(typescript@4.7.4)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4)) + jest-config: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@20.5.1)(typescript@4.7.4)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -13698,10 +13658,10 @@ snapshots: '@jest/test-result': 29.7.0 '@jest/types': 29.6.3 chalk: 4.1.2 - create-jest: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4)) + create-jest: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@20.5.1)(typescript@4.7.4)) exit: 0.1.2 import-local: 3.2.0 - jest-config: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4)) + jest-config: 29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@20.5.1)(typescript@4.7.4)) jest-util: 29.7.0 jest-validate: 29.7.0 yargs: 17.7.2 @@ -13730,7 +13690,7 @@ snapshots: - supports-color - ts-node - jest-config@29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@18.18.9)(typescript@4.7.4)): + jest-config@29.7.0(@types/node@18.18.9)(ts-node@10.9.1(@types/node@20.5.1)(typescript@4.7.4)): dependencies: '@babel/core': 7.26.0 '@jest/test-sequencer': 29.7.0 From 87012d9f91be49fb824a1a5030bda0f3d8d62ec5 Mon Sep 17 00:00:00 2001 From: aidosmf Date: Wed, 18 Dec 2024 00:15:30 +0500 Subject: [PATCH 2/2] docs: changeset --- .changeset/wicked-beds-own.md | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 .changeset/wicked-beds-own.md diff --git a/.changeset/wicked-beds-own.md b/.changeset/wicked-beds-own.md new file mode 100644 index 0000000..2b21c38 --- /dev/null +++ b/.changeset/wicked-beds-own.md @@ -0,0 +1,6 @@ +--- +'@lottiefiles/relottie-extract-features': patch +'@lottiefiles/relottie-metadata': patch +--- + +chore(deps): fix lottiefiles/last version to a fixed version using workspace