matcha create plugin, and scaffold core 26.9.0-beta.2 #14

Merged
chrnx merged 20 commits from feature/plugin-scaffold into develop 2026-09-24 19:30:17 +00:00
2 changed files with 4 additions and 0 deletions
Showing only changes of commit 52241cc9a6 - Show all commits

No files matched your search

+1
View File
@@ -83,6 +83,7 @@ fn deno_json(p: &Package) -> String {
"version": "0.1.0",
"license": "MIT",
"exports": "./src/index.ts",
"nodeModulesDir": "auto",
"imports": {{
"@green-tea/core": "npm:@green-tea/core@{CORE_VERSION}"
}},
+3
View File
@@ -192,6 +192,9 @@ fn package_jsr_writes_the_tree_into_dir() {
let deno = std::fs::read_to_string(pkg.join("deno.json")).unwrap();
assert!(deno.contains("\"name\": \"@acme/plugin-algo\""), "{deno}");
assert!(deno.contains("npm:@green-tea/core@26.9.0-beta.2"), "{deno}");
// Without it `deno test` needs a `deno install` first, and then fails to
// type-check `node:assert` for want of @types/node.
assert!(deno.contains("\"nodeModulesDir\": \"auto\""), "{deno}");
let pj = std::fs::read_to_string(pkg.join("package.json")).unwrap();
assert!(pj.contains("\"private\": true"), "{pj}");
assert!(pj.contains("\"devDependencies\""), "{pj}");