Skip to content

Commit b0f1267

Browse files
fix(packageJson): Sync fonts to Toolkit
Problem: A new font was added for Amazon Q by adding the SVG to `packages/core/resources/icons`. Then the `generateIcons.ts` script will read this and add the icon to our custom font that we generate. Another part of this script also updates the package.json with this new icon. The problem is that the package.json change was only reflected in the Amazon Q package.json and not the Toolkit package.json. This needs to be reflected in the Toolkit package.json as well since we only generate a single font for both extensions, instead of a customized font for each. So every time I did a development build the package.json would change. Solution: Run the generate icon script for Toolkit and commit the package.json changes. Signed-off-by: nkomonen-amazon <[email protected]>
1 parent c716995 commit b0f1267

File tree

1 file changed

+45
-38
lines changed

1 file changed

+45
-38
lines changed

packages/toolkit/package.json

Lines changed: 45 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -3716,271 +3716,278 @@
37163716
"fontCharacter": "\\f1b4"
37173717
}
37183718
},
3719-
"aws-amazonq-transform-logo": {
3719+
"aws-amazonq-transform-landing-page-icon": {
37203720
"description": "AWS Contributed Icon",
37213721
"default": {
37223722
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37233723
"fontCharacter": "\\f1b5"
37243724
}
37253725
},
3726-
"aws-amazonq-transform-step-into-dark": {
3726+
"aws-amazonq-transform-logo": {
37273727
"description": "AWS Contributed Icon",
37283728
"default": {
37293729
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37303730
"fontCharacter": "\\f1b6"
37313731
}
37323732
},
3733-
"aws-amazonq-transform-step-into-light": {
3733+
"aws-amazonq-transform-step-into-dark": {
37343734
"description": "AWS Contributed Icon",
37353735
"default": {
37363736
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37373737
"fontCharacter": "\\f1b7"
37383738
}
37393739
},
3740-
"aws-amazonq-transform-variables-dark": {
3740+
"aws-amazonq-transform-step-into-light": {
37413741
"description": "AWS Contributed Icon",
37423742
"default": {
37433743
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37443744
"fontCharacter": "\\f1b8"
37453745
}
37463746
},
3747-
"aws-amazonq-transform-variables-light": {
3747+
"aws-amazonq-transform-variables-dark": {
37483748
"description": "AWS Contributed Icon",
37493749
"default": {
37503750
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37513751
"fontCharacter": "\\f1b9"
37523752
}
37533753
},
3754-
"aws-applicationcomposer-icon": {
3754+
"aws-amazonq-transform-variables-light": {
37553755
"description": "AWS Contributed Icon",
37563756
"default": {
37573757
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37583758
"fontCharacter": "\\f1ba"
37593759
}
37603760
},
3761-
"aws-applicationcomposer-icon-dark": {
3761+
"aws-applicationcomposer-icon": {
37623762
"description": "AWS Contributed Icon",
37633763
"default": {
37643764
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37653765
"fontCharacter": "\\f1bb"
37663766
}
37673767
},
3768-
"aws-apprunner-service": {
3768+
"aws-applicationcomposer-icon-dark": {
37693769
"description": "AWS Contributed Icon",
37703770
"default": {
37713771
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37723772
"fontCharacter": "\\f1bc"
37733773
}
37743774
},
3775-
"aws-cdk-logo": {
3775+
"aws-apprunner-service": {
37763776
"description": "AWS Contributed Icon",
37773777
"default": {
37783778
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37793779
"fontCharacter": "\\f1bd"
37803780
}
37813781
},
3782-
"aws-cloudformation-stack": {
3782+
"aws-cdk-logo": {
37833783
"description": "AWS Contributed Icon",
37843784
"default": {
37853785
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37863786
"fontCharacter": "\\f1be"
37873787
}
37883788
},
3789-
"aws-cloudwatch-log-group": {
3789+
"aws-cloudformation-stack": {
37903790
"description": "AWS Contributed Icon",
37913791
"default": {
37923792
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
37933793
"fontCharacter": "\\f1bf"
37943794
}
37953795
},
3796-
"aws-codecatalyst-logo": {
3796+
"aws-cloudwatch-log-group": {
37973797
"description": "AWS Contributed Icon",
37983798
"default": {
37993799
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38003800
"fontCharacter": "\\f1c0"
38013801
}
38023802
},
3803-
"aws-codewhisperer-icon-black": {
3803+
"aws-codecatalyst-logo": {
38043804
"description": "AWS Contributed Icon",
38053805
"default": {
38063806
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38073807
"fontCharacter": "\\f1c1"
38083808
}
38093809
},
3810-
"aws-codewhisperer-icon-white": {
3810+
"aws-codewhisperer-icon-black": {
38113811
"description": "AWS Contributed Icon",
38123812
"default": {
38133813
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38143814
"fontCharacter": "\\f1c2"
38153815
}
38163816
},
3817-
"aws-codewhisperer-learn": {
3817+
"aws-codewhisperer-icon-white": {
38183818
"description": "AWS Contributed Icon",
38193819
"default": {
38203820
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38213821
"fontCharacter": "\\f1c3"
38223822
}
38233823
},
3824-
"aws-ecr-registry": {
3824+
"aws-codewhisperer-learn": {
38253825
"description": "AWS Contributed Icon",
38263826
"default": {
38273827
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38283828
"fontCharacter": "\\f1c4"
38293829
}
38303830
},
3831-
"aws-ecs-cluster": {
3831+
"aws-ecr-registry": {
38323832
"description": "AWS Contributed Icon",
38333833
"default": {
38343834
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38353835
"fontCharacter": "\\f1c5"
38363836
}
38373837
},
3838-
"aws-ecs-container": {
3838+
"aws-ecs-cluster": {
38393839
"description": "AWS Contributed Icon",
38403840
"default": {
38413841
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38423842
"fontCharacter": "\\f1c6"
38433843
}
38443844
},
3845-
"aws-ecs-service": {
3845+
"aws-ecs-container": {
38463846
"description": "AWS Contributed Icon",
38473847
"default": {
38483848
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38493849
"fontCharacter": "\\f1c7"
38503850
}
38513851
},
3852-
"aws-generic-attach-file": {
3852+
"aws-ecs-service": {
38533853
"description": "AWS Contributed Icon",
38543854
"default": {
38553855
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38563856
"fontCharacter": "\\f1c8"
38573857
}
38583858
},
3859-
"aws-iot-certificate": {
3859+
"aws-generic-attach-file": {
38603860
"description": "AWS Contributed Icon",
38613861
"default": {
38623862
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38633863
"fontCharacter": "\\f1c9"
38643864
}
38653865
},
3866-
"aws-iot-policy": {
3866+
"aws-iot-certificate": {
38673867
"description": "AWS Contributed Icon",
38683868
"default": {
38693869
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38703870
"fontCharacter": "\\f1ca"
38713871
}
38723872
},
3873-
"aws-iot-thing": {
3873+
"aws-iot-policy": {
38743874
"description": "AWS Contributed Icon",
38753875
"default": {
38763876
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38773877
"fontCharacter": "\\f1cb"
38783878
}
38793879
},
3880-
"aws-lambda-function": {
3880+
"aws-iot-thing": {
38813881
"description": "AWS Contributed Icon",
38823882
"default": {
38833883
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38843884
"fontCharacter": "\\f1cc"
38853885
}
38863886
},
3887-
"aws-mynah-MynahIconBlack": {
3887+
"aws-lambda-function": {
38883888
"description": "AWS Contributed Icon",
38893889
"default": {
38903890
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38913891
"fontCharacter": "\\f1cd"
38923892
}
38933893
},
3894-
"aws-mynah-MynahIconWhite": {
3894+
"aws-mynah-MynahIconBlack": {
38953895
"description": "AWS Contributed Icon",
38963896
"default": {
38973897
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
38983898
"fontCharacter": "\\f1ce"
38993899
}
39003900
},
3901-
"aws-mynah-logo": {
3901+
"aws-mynah-MynahIconWhite": {
39023902
"description": "AWS Contributed Icon",
39033903
"default": {
39043904
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39053905
"fontCharacter": "\\f1cf"
39063906
}
39073907
},
3908-
"aws-redshift-cluster": {
3908+
"aws-mynah-logo": {
39093909
"description": "AWS Contributed Icon",
39103910
"default": {
39113911
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39123912
"fontCharacter": "\\f1d0"
39133913
}
39143914
},
3915-
"aws-redshift-cluster-connected": {
3915+
"aws-redshift-cluster": {
39163916
"description": "AWS Contributed Icon",
39173917
"default": {
39183918
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39193919
"fontCharacter": "\\f1d1"
39203920
}
39213921
},
3922-
"aws-redshift-database": {
3922+
"aws-redshift-cluster-connected": {
39233923
"description": "AWS Contributed Icon",
39243924
"default": {
39253925
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39263926
"fontCharacter": "\\f1d2"
39273927
}
39283928
},
3929-
"aws-redshift-redshift-cluster-connected": {
3929+
"aws-redshift-database": {
39303930
"description": "AWS Contributed Icon",
39313931
"default": {
39323932
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39333933
"fontCharacter": "\\f1d3"
39343934
}
39353935
},
3936-
"aws-redshift-schema": {
3936+
"aws-redshift-redshift-cluster-connected": {
39373937
"description": "AWS Contributed Icon",
39383938
"default": {
39393939
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39403940
"fontCharacter": "\\f1d4"
39413941
}
39423942
},
3943-
"aws-redshift-table": {
3943+
"aws-redshift-schema": {
39443944
"description": "AWS Contributed Icon",
39453945
"default": {
39463946
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39473947
"fontCharacter": "\\f1d5"
39483948
}
39493949
},
3950-
"aws-s3-bucket": {
3950+
"aws-redshift-table": {
39513951
"description": "AWS Contributed Icon",
39523952
"default": {
39533953
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39543954
"fontCharacter": "\\f1d6"
39553955
}
39563956
},
3957-
"aws-s3-create-bucket": {
3957+
"aws-s3-bucket": {
39583958
"description": "AWS Contributed Icon",
39593959
"default": {
39603960
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39613961
"fontCharacter": "\\f1d7"
39623962
}
39633963
},
3964-
"aws-schemas-registry": {
3964+
"aws-s3-create-bucket": {
39653965
"description": "AWS Contributed Icon",
39663966
"default": {
39673967
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39683968
"fontCharacter": "\\f1d8"
39693969
}
39703970
},
3971-
"aws-schemas-schema": {
3971+
"aws-schemas-registry": {
39723972
"description": "AWS Contributed Icon",
39733973
"default": {
39743974
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39753975
"fontCharacter": "\\f1d9"
39763976
}
39773977
},
3978-
"aws-stepfunctions-preview": {
3978+
"aws-schemas-schema": {
39793979
"description": "AWS Contributed Icon",
39803980
"default": {
39813981
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
39823982
"fontCharacter": "\\f1da"
39833983
}
3984+
},
3985+
"aws-stepfunctions-preview": {
3986+
"description": "AWS Contributed Icon",
3987+
"default": {
3988+
"fontPath": "./resources/fonts/aws-toolkit-icons.woff",
3989+
"fontCharacter": "\\f1db"
3990+
}
39843991
}
39853992
},
39863993
"notebooks": [

0 commit comments

Comments
 (0)