Skip to content

Commit

Permalink
version(items@0.0.1): Add Bits Item Metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
FlorianWendelborn committed Nov 30, 2024
1 parent 52b7abc commit c619636
Show file tree
Hide file tree
Showing 9 changed files with 783 additions and 1 deletion.
Binary file modified bun.lockb
Binary file not shown.
6 changes: 5 additions & 1 deletion internals/scripts/source/publish.mts
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
import { $, semver } from 'bun'
import { z } from 'zod'

const packagesToConsider = ['packages/actions', 'packages/schemas']
const packagesToConsider = [
'packages/actions',
'packages/items',
'packages/schemas',
]

const packageJsonSchema = z.object({ name: z.string(), version: z.string() })

Expand Down
5 changes: 5 additions & 0 deletions packages/items/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# @skyblock-finance/items

This package contains item metadata, primarily data that is not available on the Hypixel API yet

(if any Hypixel employee is reading this, please add more metadata on the items API, thank you)
46 changes: 46 additions & 0 deletions packages/items/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"bugs": {
"url": "https://github.com/skyblock-finance/skyblock-finance-opensource/issues"
},
"dependencies": {
"zod": "^3.23.8"
},
"devDependencies": {
"@types/bun": "latest"
},
"files": [
"data",
"dist",
"source"
],
"keywords": [
"hypixel-skyblock",
"hypixel",
"skyblock-finance"
],
"license": "MIT",
"main": "dist/index.js",
"name": "@skyblock-finance/items",
"peerDependencies": {
"typescript": "^5.5"
},
"repository": {
"type": "git",
"url": "git+https://github.com/skyblock-finance/skyblock-finance-opensource"
},
"scripts": {
"build": "rm -rf dist && tsc --build",
"check:arethetypeswrong": "bun run attw --pack .",
"check:eslint": "bun run eslint --max-warnings=0 .",
"check:prettier": "bun --bun run --cwd ../.. prettier --check packages/items",
"check:publint": "bun --bun run publint",
"fix:eslint": "bun run check:eslint --fix",
"fix:prettier": "bun --bun run check:prettier --write",
"publish-package": "npm publish --access public --provenance",
"test": "bun test"
},
"sideEffects": false,
"type": "commonjs",
"types": "dist/index.d.ts",
"version": "0.0.1"
}
Loading

0 comments on commit c619636

Please sign in to comment.