diff --git a/.pnp.cjs b/.pnp.cjs index a674269..7762ffd 100755 --- a/.pnp.cjs +++ b/.pnp.cjs @@ -475,9 +475,9 @@ const RAW_RUNTIME_STATE = ["@types/color-namer", "npm:1.3.3"],\ ["@types/figma-js", null],\ ["@types/node", "npm:18.19.34"],\ + ["camelcase", "npm:8.0.0"],\ ["color-namer", "npm:1.4.0"],\ - ["figma-js", "npm:1.16.1-0"],\ - ["lodash.camelcase", "npm:4.3.0"]\ + ["figma-js", "npm:1.16.1-0"]\ ],\ "packagePeers": [\ "@types/atls__figma-theme-generator-common",\ @@ -494,9 +494,9 @@ const RAW_RUNTIME_STATE = ["@atls/figma-utils", "virtual:110ecadd7cd0118d6c1cb51237279043a3b537909cb38e8afea9755c0b417513a97d716eff6d67a1e509fa203eaf7fce9b9165e9bc1d1314b1a7eb794e684bf7#workspace:utils/utils"],\ ["@types/color-namer", "npm:1.3.3"],\ ["@types/node", "npm:18.19.34"],\ + ["camelcase", "npm:8.0.0"],\ ["color-namer", "npm:1.4.0"],\ - ["figma-js", "npm:1.16.1-0"],\ - ["lodash.camelcase", "npm:4.3.0"]\ + ["figma-js", "npm:1.16.1-0"]\ ],\ "linkType": "SOFT"\ }]\ @@ -6066,6 +6066,13 @@ const RAW_RUNTIME_STATE = ["camelcase", "npm:6.3.0"]\ ],\ "linkType": "HARD"\ + }],\ + ["npm:8.0.0", {\ + "packageLocation": "./.yarn/cache/camelcase-npm-8.0.0-a3fa03dcc3-6da7abe997.zip/node_modules/camelcase/",\ + "packageDependencies": [\ + ["camelcase", "npm:8.0.0"]\ + ],\ + "linkType": "HARD"\ }]\ ]],\ ["caniuse-lite", [\ @@ -9683,15 +9690,6 @@ const RAW_RUNTIME_STATE = "linkType": "HARD"\ }]\ ]],\ - ["lodash.camelcase", [\ - ["npm:4.3.0", {\ - "packageLocation": "./.yarn/cache/lodash.camelcase-npm-4.3.0-bf268e3bf0-c301cc3793.zip/node_modules/lodash.camelcase/",\ - "packageDependencies": [\ - ["lodash.camelcase", "npm:4.3.0"]\ - ],\ - "linkType": "HARD"\ - }]\ - ]],\ ["lodash.merge", [\ ["npm:4.6.2", {\ "packageLocation": "./.yarn/cache/lodash.merge-npm-4.6.2-77cb4416bf-d0ea2dd009.zip/node_modules/lodash.merge/",\ diff --git a/.yarn/cache/camelcase-npm-8.0.0-a3fa03dcc3-6da7abe997.zip b/.yarn/cache/camelcase-npm-8.0.0-a3fa03dcc3-6da7abe997.zip new file mode 100644 index 0000000..992ba7e Binary files /dev/null and b/.yarn/cache/camelcase-npm-8.0.0-a3fa03dcc3-6da7abe997.zip differ diff --git a/.yarn/cache/lodash.camelcase-npm-4.3.0-bf268e3bf0-c301cc3793.zip b/.yarn/cache/lodash.camelcase-npm-4.3.0-bf268e3bf0-c301cc3793.zip deleted file mode 100644 index af48cd5..0000000 Binary files a/.yarn/cache/lodash.camelcase-npm-4.3.0-bf268e3bf0-c301cc3793.zip and /dev/null differ diff --git a/theme/theme-colors-generator/package.json b/theme/theme-colors-generator/package.json index c15f200..618650b 100644 --- a/theme/theme-colors-generator/package.json +++ b/theme/theme-colors-generator/package.json @@ -15,8 +15,8 @@ "dependencies": { "@atls/figma-theme-generator-common": "workspace:*", "@atls/figma-utils": "workspace:*", - "color-namer": "1.4.0", - "lodash.camelcase": "4.3.0" + "camelcase": "8.0.0", + "color-namer": "1.4.0" }, "devDependencies": { "@types/color-namer": "1.3.3", diff --git a/theme/theme-colors-generator/src/FigmaThemeColorsGenerator.ts b/theme/theme-colors-generator/src/FigmaThemeColorsGenerator.ts index 8f67a8a..5dd23d1 100644 --- a/theme/theme-colors-generator/src/FigmaThemeColorsGenerator.ts +++ b/theme/theme-colors-generator/src/FigmaThemeColorsGenerator.ts @@ -1,5 +1,5 @@ -import camelCase from 'lodash.camelcase' -import { FileResponse } from 'figma-js' +import camelCase from 'camelcase' +import { FileResponse } from 'figma-js' import { FigmaThemeGenerator } from '@atls/figma-theme-generator-common' import { FigmaThemeGeneratorResult } from '@atls/figma-theme-generator-common' diff --git a/yarn.lock b/yarn.lock index fe9de9a..1767ebb 100644 --- a/yarn.lock +++ b/yarn.lock @@ -268,9 +268,9 @@ __metadata: "@atls/figma-utils": "workspace:*" "@types/color-namer": "npm:1.3.3" "@types/node": "npm:18.19.34" + camelcase: "npm:8.0.0" color-namer: "npm:1.4.0" figma-js: "npm:1.16.1-0" - lodash.camelcase: "npm:4.3.0" peerDependencies: "@atls/figma-theme-generator-common": "*" figma-js: "*" @@ -3972,6 +3972,13 @@ __metadata: languageName: node linkType: hard +"camelcase@npm:8.0.0": + version: 8.0.0 + resolution: "camelcase@npm:8.0.0" + checksum: 10/6da7abe997af29e80052f17aa21628c7cce14af364cef9f07a2a44d59614dd6f361d405f121938e673424d673697a8c53ad17be8c4b03b0a727307c4db8b5b5e + languageName: node + linkType: hard + "camelcase@npm:^5.3.1": version: 5.3.1 resolution: "camelcase@npm:5.3.1" @@ -7146,13 +7153,6 @@ __metadata: languageName: node linkType: hard -"lodash.camelcase@npm:4.3.0": - version: 4.3.0 - resolution: "lodash.camelcase@npm:4.3.0" - checksum: 10/c301cc379310441dc73cd6cebeb91fb254bea74e6ad3027f9346fc43b4174385153df420ffa521654e502fd34c40ef69ca4e7d40ee7129a99e06f306032bfc65 - languageName: node - linkType: hard - "lodash.merge@npm:^4.6.2": version: 4.6.2 resolution: "lodash.merge@npm:4.6.2"