Skip to content

Commit

Permalink
fix: package json repo config
Browse files Browse the repository at this point in the history
  • Loading branch information
DylanPiercey committed Dec 13, 2024
1 parent a78f487 commit b6afb8b
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 5 deletions.
8 changes: 8 additions & 0 deletions .changeset/popular-planes-bow.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
---
"@marko/translator-interop-class-tags": patch
"marko": patch
"@marko/runtime-tags": patch
"@marko/compiler": patch
---

Fix package json repository config.
3 changes: 2 additions & 1 deletion packages/compiler/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@
"bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",
"repository": {
"type": "git",
"url": "https://github.com/marko-js/marko/tree/main/packages/compiler"
"url": "git+https://github.com/marko-js/marko.git",
"directory": "packages/compiler"
},
"license": "MIT",
"author": "Dylan Piercey <dpiercey@ebay.com>",
Expand Down
3 changes: 2 additions & 1 deletion packages/runtime-class/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,8 @@
"homepage": "https://markojs.com/",
"repository": {
"type": "git",
"url": "https://github.com/marko-js/marko.git"
"url": "git+https://github.com/marko-js/marko.git",
"directory": "packages/runtime-class"
},
"license": "MIT",
"author": "Patrick Steele-Idem <pnidem@gmail.com>",
Expand Down
3 changes: 2 additions & 1 deletion packages/runtime-tags/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,8 @@
"bugs": "https://github.com/marko-js/marko/issues",
"repository": {
"type": "git",
"url": "https://github.com/marko-js/marko"
"url": "git+https://github.com/marko-js/marko.git",
"directory": "packages/runtime-tags"
},
"license": "MIT",
"exports": {
Expand Down
3 changes: 2 additions & 1 deletion packages/translator-interop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@
"bugs": "https://github.com/marko-js/marko/issues/new?template=Bug_report.md",
"repository": {
"type": "git",
"url": "https://github.com/marko-js/marko/tree/main/packages/translator-interop"
"url": "git+https://github.com/marko-js/marko.git",
"directory": "packages/translator-interop"
},
"license": "MIT",
"main": "src/index.ts",
Expand Down
2 changes: 1 addition & 1 deletion scripts/publish-alias.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ pkg.version = "6.0.0-" + pkg.version.replace(/^(0\.)+/, "");

try {
fs.writeFileSync(runtimeTagsPkgFile, JSON.stringify(pkg, null, 2) + "\n");
cp.execSync(`npm publish --tag next --dry-run ./${relativeRuntimeTagsDir}`);
cp.execSync(`npm publish --tag next ./${relativeRuntimeTagsDir}`);
} finally {
fs.writeFileSync(runtimeTagsPkgFile, originalPkgSource);
}

0 comments on commit b6afb8b

Please sign in to comment.