-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
- Loading branch information
1 parent
4128801
commit 4f4aa95
Showing
6 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
@jsr:registry=https://npm.jsr.io |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"name": "@vinayakkulkarni/v-github-icon", | ||
"version": "3.1.3", | ||
"exports": "./dist/v-github-icon.js", | ||
"include": ["./dist/**"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
#!/usr/bin/env node | ||
|
||
const fs = require('fs'); | ||
|
||
// Read package.json and parse the version | ||
const pkg = JSON.parse(fs.readFileSync('package.json').toString()); | ||
|
||
// Read jsr.json and parse it | ||
const jsr = JSON.parse(fs.readFileSync('jsr.json').toString()); | ||
|
||
// Update the version property in jsr object | ||
jsr.version = pkg.version; | ||
|
||
// Write the updated jsr.json file | ||
fs.writeFileSync('jsr.json', JSON.stringify(jsr, null, 2)); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,7 @@ | ||
module.exports = { | ||
installCommand: () => 'bun i', | ||
publishCommand: () => 'npm publish --tag latest', | ||
publishCommand: () => 'bun publish --tag latest', | ||
beforeCommitChanges: ({ exec }) => { | ||
exec('./scripts/bump-jsr-version.cjs'); | ||
}, | ||
}; |