Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ This is the same pattern [Cloudflare uses](https://blog.cloudflare.com/code-mode
Requires [mise](https://mise.jdx.dev/) for tooling (Node.js, pnpm, Task):

```bash
git clone https://github.com/cnap-tech/codemode.git
git clone https://github.com/akua-dev/codemode.git
cd codemode
mise install # installs Node 24, pnpm 10, Task
task install # installs dependencies
Expand Down
2 changes: 1 addition & 1 deletion packages/codemode/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cnap-tech/codemode.git"
"url": "git+https://github.com/akua-dev/codemode.git"
},
"peerDependencies": {
"@robinbraemer/llrt": "^0.2.0",
Expand Down
7 changes: 7 additions & 0 deletions packages/codemode/test/package-publication.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,13 @@ describe("codemode package publication", () => {
expect(codemodePackageJson.devDependencies["@robinbraemer/llrt"]).toBe("workspace:*");
});

it("declares the exact GitHub repository trusted to publish this package", () => {
expect(codemodePackageJson.repository).toEqual({
type: "git",
url: "git+https://github.com/akua-dev/codemode.git",
});
});

it("publishes from the package directory with the npm CLI", () => {
const workflow = readFileSync(publishWorkflowPath, "utf8");

Expand Down
2 changes: 1 addition & 1 deletion packages/llrt/npm/darwin-arm64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cnap-tech/codemode.git",
"url": "https://github.com/akua-dev/codemode.git",
"directory": "packages/llrt"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/llrt/npm/darwin-x64/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cnap-tech/codemode.git",
"url": "https://github.com/akua-dev/codemode.git",
"directory": "packages/llrt"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/llrt/npm/linux-arm64-gnu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cnap-tech/codemode.git",
"url": "https://github.com/akua-dev/codemode.git",
"directory": "packages/llrt"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/llrt/npm/linux-x64-gnu/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cnap-tech/codemode.git",
"url": "https://github.com/akua-dev/codemode.git",
"directory": "packages/llrt"
},
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/llrt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"license": "MIT",
"repository": {
"type": "git",
"url": "https://github.com/cnap-tech/codemode.git",
"url": "https://github.com/akua-dev/codemode.git",
"directory": "packages/llrt"
},
"napi": {
Expand Down