public static String sourceBase(String name) {
		for (String extension : Source.Type.extensions()) {
			if (name.endsWith("." + extension)) {
				return base(name);
			}
		}
		return name;
	}
Returns the name without a valid source file extension. Will return the name
itself if it has no extension or if the extension is not a valid source file
extension.

@param name A file name
@return A name without a source file extension
src/main/java/dev/jbang/util/Util.java