inkdevhub / swanky-cli

The all-in-one developer environment for Parity pallet-contracts based smart contracts!
https://docs.astar.network/docs/build/wasm/swanky-suite/cli/
MIT License
70 stars 29 forks source link

[BUG] `check` command do not list all ink dependencies correctly #203

Open ipapandinas opened 5 months ago

ipapandinas commented 5 months ago

Description

https://github.com/inkdevhub/swanky-cli/blob/9a9d2900953511f777f0be4efe27146d4c345e6b/src/commands/check/index.ts#L82

Here we should filter both possible dependency types: "ink" & "ink_" (e.g. "ink_e2e"). We can use this filter approach instead:

.filter(([depName]) => /^ink($|_)/.test(depName))