Skip to content

Commit

Permalink
Bundle registry in npm package (#29)
Browse files Browse the repository at this point in the history
* Bundle registry in npm package

* Add vite + inject commit

* Fix package name
  • Loading branch information
grod220 authored May 7, 2024
1 parent 07cf236 commit d2b78bd
Show file tree
Hide file tree
Showing 22 changed files with 895 additions and 295 deletions.
6 changes: 6 additions & 0 deletions npm/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @penumbra-labs/registry

## 7.0.0

### Major Changes

- Bundle registry in dist

## 6.0.0

### Major Changes
Expand Down
2 changes: 1 addition & 1 deletion npm/eslint.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ export default tseslint.config(
},
},
{
ignores: ['dist', 'eslint.config.mjs'],
ignores: ['dist', 'eslint.config.mjs', 'vite.config.ts'],
},
);
15 changes: 9 additions & 6 deletions npm/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@penumbra-labs/registry",
"version": "6.0.0",
"version": "7.0.0",
"description": "Chain and asset registry for Penumbra",
"main": "./dist/index.js",
"module": "./dist/index.mjs",
Expand All @@ -9,23 +9,26 @@
"format": "prettier . --write",
"format-check": "prettier --check .",
"lint": "eslint . --max-warnings=0",
"build": "tsup src/index.ts --format cjs,esm --dts",
"build": "pnpm clean && tsc && vite build",
"clean": "rm -rfv dist",
"changeset": "changeset",
"changeset:publish": "changeset publish",
"test": "vitest run"
},
"devDependencies": {
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240501193854-ea3cc743390d.1",
"@buf/penumbra-zone_penumbra.bufbuild_es": "1.9.0-20240505174225-78be1d64b1cb.1",
"@bufbuild/protobuf": "^1.9.0",
"@changesets/cli": "^2.27.1",
"@eslint/eslintrc": "^3.0.2",
"@eslint/js": "^9.1.1",
"eslint": "^9.1.1",
"@eslint/js": "^9.2.0",
"eslint": "^9.2.0",
"prettier": "^3.2.5",
"tsup": "^8.0.2",
"typescript": "^5.4.5",
"typescript-eslint": "^7.8.0",
"vitest": "^1.5.3"
"vite": "^5.2.11",
"vite-plugin-dts": "^3.9.1",
"vitest": "^1.6.0"
},
"files": [
"dist",
Expand Down
Loading

0 comments on commit d2b78bd

Please sign in to comment.