Skip to content

Commit

Permalink
Try fork pleb
Browse files Browse the repository at this point in the history
  • Loading branch information
orta committed Jun 27, 2023
1 parent 92c08d7 commit fe03e17
Show file tree
Hide file tree
Showing 4 changed files with 89 additions and 35 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ jobs:
- run: pnpm run test

- name: Deploy npm Packages
run: npx pleb publish
run: pnpm pleb publish
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}

Expand Down
7 changes: 6 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,16 @@
"jest": "^27.0.5",
"markdown-magic": "^2.2.0",
"markdown-magic-inline-types": "^1.0.2",
"pleb": "^3.4.4",
"pleb": "^5.1.4",
"prettier": "^2.3.1",
"typescript": "^4.7.4"
},
"prettier": {
"printWidth": 140
},
"pnpm": {
"patchedDependencies": {
"[email protected]": "patches/[email protected]"
}
}
}
13 changes: 13 additions & 0 deletions patches/[email protected]
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
diff --git a/dist/commands/publish.js b/dist/commands/publish.js
index 1250350da55d7bc15553d338b68b869c27208d32..26cf0db8d627a5c6416fbea806b83281d9ee12d3 100644
--- a/dist/commands/publish.js
+++ b/dist/commands/publish.js
@@ -30,7 +30,7 @@ export async function publish({ directoryPath, dryRun = false, distDir = '.', re
stdio: 'inherit',
shell: true,
};
- spawnSyncLogged('npm', publishArgs, spawnOptions, npmPackage.displayName);
+ spawnSyncLogged('pnpm', publishArgs, spawnOptions, npmPackage.displayName);
log(`${npmPackage.displayName}: done.`);
}
}
102 changes: 69 additions & 33 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit fe03e17

Please sign in to comment.