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.
16 lines
269 B
JSON
16 lines
269 B
JSON
{
|
|
"name": "@fresh/init",
|
|
"version": "2.1.0",
|
|
"license": "MIT",
|
|
"exports": "./src/mod.ts",
|
|
"exclude": ["**/tmp/*"],
|
|
"publish": {
|
|
"include": [
|
|
"src/**/*.ts",
|
|
"deno.json",
|
|
"README.md"
|
|
],
|
|
"exclude": ["**/*_test.*", "*.todo"]
|
|
}
|
|
}
|