Depends on the purpose...
If we're just talking profit, starfruit followed by ancient fruit. Ancient fruit is less work as it doesn't require replanting, making it easier profit. Alternately, pineapple can be farmed in garden pots with deluxe retaining soil in sheds... meaning you can turn sheds into greenhouses. You could do starfruit, but you can't do ancient fruit, so pineapples are the best profit crop with the lowest effort in sheds.
There is an argument to be made that other crops are better for other reasons, though. Some crops are useful for cooking foods that you'll want to eat in order so that you don't have to buy those foods. If you don't have access to infinite amounts of lobster bisque or seafoam pudding, for example, you might want some tomatoes in order to cook up some fish stew. (That's why I go mariner, though, so that I actually do have access to as much lobster bisque as I could ever want. That's also why I get a midnight carp pond, flounder pond and midnight squid pond, so that I always have as much seafoam pudding as I could want.) Maybe you just don't want to have to remember to buy your coffee/espresso all the time so you find coffee plants valuable?
Value isn't just about money. It's about what the thing enables you to do. Sure, money enables you to do a lot, and in fact is required for you to do a lot, but there are other things with value. It's just figuring out what their value is to you.