akeneo / akeneo-design-system

https://akeneo.github.io/akeneo-design-system/
Other
13 stars 7 forks source link

Is it compatible with Akeneo 4 CE, EE and 3 CE versions? #3

Open krishankantshandilya opened 2 years ago

krishankantshandilya commented 2 years ago

I am using the akeneo design system for my connector internal use and it is working fine on Akeneo 5 CE but after adding akeneo-design system on Akeneo 3 or 4 then I am getting the below issues:

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Badge/Badge.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Badge/Badge.d.ts(13,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Badge/Badge.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Badge/Badge.d.ts(13,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/shared/override.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/shared/override.d.ts(2,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/shared/override.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/shared/override.d.ts(2,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/theme/theme.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/theme/theme.d.ts(89,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/theme/theme.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/theme/theme.d.ts(89,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Link/Link.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Link/Link.d.ts(17,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Link/Link.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Link/Link.d.ts(17,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Button/Button.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Button/Button.d.ts(30,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Button/Button.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Button/Button.d.ts(30,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Checkbox/Checkbox.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Checkbox/Checkbox.d.ts(10,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Checkbox/Checkbox.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Checkbox/Checkbox.d.ts(10,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/hooks/usePosition.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/hooks/usePosition.d.ts(7,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/hooks/usePosition.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/hooks/usePosition.d.ts(7,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Field/Field.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Field/Field.d.ts(16,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Field/Field.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Field/Field.d.ts(16,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Helper/Helper.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Helper/Helper.d.ts(12,1) TS1128: Declaration or statement expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Helper/Helper.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/components/Helper/Helper.d.ts(12,13) TS1005: ';' expected.

ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/icons/IconProps.d.ts [tsl] ERROR in /var/www/html/pim/webroot/pim-ce/node_modules/akeneo-design-system/lib/icons/IconProps.d.ts(11,1) TS1128: Declaration or statement expected.

So I just want to know that is akeneo-design-system is compatible with the Akeneo version below 5?

krishankantshandilya commented 2 years ago

Any update?

DashDevFuture commented 2 years ago

@krishankantshandilya How you are using this in your module? can you share the steps? so I can help you.

krishankantshandilya commented 2 years ago

@DashDevFuture As this module comes within Akeneo5 by default so also I want to use this in Akeneo 4 but after installing this module , i reinstall the assets by there respective commands and got the mentioned error.

DashDevFuture commented 2 years ago

@krishankantshandilya Sorry ! Why do you want to use this in akeneo 4? are you using it in your plugin? if yes how to do that share the steps

krishankantshandilya commented 2 years ago

@DashDevFuture Yes, I want to use it in my module in akeneo 4. To reproduce the issue please install it on akeneo 4 and then reinstall the assets on your akeneo and you should see the errors mentioned by me.

DashDevFuture commented 2 years ago

Why do you want to use this in akeneo 4?

@DashDevFuture Yes, I want to use it in my module in akeneo 4. To reproduce the issue please install it on akeneo 4 and then reinstall the assets on your akeneo and you should see the errors mentioned by me.

krishankantshandilya commented 2 years ago

@DashDevFuture I have already told, I have an extension which has dependency of it and my extension support Akeneo 3, 4, and 5. So that's why I asked about it's compatibility. If it is not compatible then I think I should remove its dependency from my extension.

DashDevFuture commented 2 years ago

@krishankantshandilya

No you can't use it.