Roald Dahl's granddaughter has revealed she is carrying on the family tradition by writing a story for young people, as she helped launch a new personalised Willy Wonka book.