fix(init): revert init template to make init work again (#3530)
https://github.com/denoland/fresh/pull/3524 unfortunately introduced a regression in the init script which breaks it. This was caused by two independent problems: 1. Only files reachable in the module graph are published, meaning the templates itself weren't published to JSR 2. When publishing to JSR all specifiers become `https://` internally which breaks doing path operations like `path.resolve()`, `path.relative()` and all others. This is something that cannot be tested locally in advance Addressing these is going to require a bit of work. The quickest way to get init working again is to revert it.
This commit is contained in:
+850
-269
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user