feat: sync

This commit is contained in:
lisonge
2023-09-03 18:32:45 +08:00
parent 1f52a4d25e
commit 3137e903ca
3 changed files with 10 additions and 7 deletions

View File

@@ -14,7 +14,8 @@
],
"scripts": {
"build": "tsc --noEmit && tsx ./scripts/build.ts",
"check": "tsc --noEmit && tsx ./scripts/check.ts"
"check": "tsc --noEmit && tsx ./scripts/check.ts",
"sync": "tsx ./scripts/sync.ts"
},
"devDependencies": {
"@gkd-kit/selector": "0.0.11",

View File

@@ -1,6 +0,0 @@
git add '.'
git commit -m 'chore: sync'
git push
npm publish
sleep 1s
curl -X PUT 'https://registry-direct.npmmirror.com/@gkd-kit/subscription/sync'

8
scripts/sync.ts Normal file
View File

@@ -0,0 +1,8 @@
await fetch(
`https://registry-direct.npmmirror.com/@gkd-kit/subscription/sync`,
{
method: 'PUT',
},
);
export {};