## Description - Add `appsmith-icons` package. Icons are automatically imported from Figma, optimized, and then React components are created based on them. Please read the [README](https://github.com/appsmithorg/appsmith/pull/32927/files#diff-163e187687a9784dfda13faf90276b1137ba6e85db21bd550c6a3ba486178e5e) for more information. - Replace Icons for Anvil widgets. ## Automation /ok-to-test tags="@tag.All" ### 🔍 Cypress test results <!-- This is an auto-generated comment: Cypress test results --> > [!TIP] > 🟢 🟢 🟢 All cypress tests have passed! 🎉 🎉 🎉 > Workflow run: <https://github.com/appsmithorg/appsmith/actions/runs/8847468194> > Commit: a2036daedef0a08b7c973e04ac11a224fb40c9c1 > Cypress dashboard url: <a href="https://internal.appsmith.com/app/cypress-dashboard/rundetails-65890b3c81d7400d08fa9ee5?branch=master&workflowId=8847468194&attempt=2" target="_blank">Click here!</a> <!-- end of auto-generated comment: Cypress test results --> ## Communication Should the DevRel and Marketing teams inform users about this change? - [ ] Yes - [x] No
27 lines
974 B
JSON
27 lines
974 B
JSON
{
|
|
"name": "appsmith-icons",
|
|
"version": "1.0.0",
|
|
"author": "Valera Melnikov <valera@appsmith.com>, Pawan Kumar <pawan@appsmith.com>",
|
|
"license": "MIT",
|
|
"main": "src/index.ts",
|
|
"scripts": {
|
|
"build": "yarn cleanup && figmagic && yarn optimize-icons && yarn generate-components && yarn generate-index && yarn generate-stories && yarn prettier . --write --log-level=silent",
|
|
"cleanup": "ts-node ./src/utils/cleanup.ts",
|
|
"optimize-icons": "ts-node ./src/utils/optimizeIcons.ts",
|
|
"generate-components": "ts-node ./src/utils/generateComponents.ts",
|
|
"generate-index": "ts-node ./src/utils/generateIndex.ts",
|
|
"generate-stories": "ts-node ./src/utils/generateStories.ts",
|
|
"lint": "yarn g:lint",
|
|
"prettier": "yarn g:prettier"
|
|
},
|
|
"peerDependencies": {
|
|
"react": "^16.8.0 || ^17.0.0-rc.1 || ^18.0.0"
|
|
},
|
|
"devDependencies": {
|
|
"fast-glob": "^3.3.2",
|
|
"figmagic": "^4.5.13",
|
|
"fs-extra": "^11.2.0",
|
|
"svgo": "^3.2.0"
|
|
}
|
|
}
|