mirror of
https://github.com/trezor/trezor-suite.git
synced 2026-03-21 14:47:12 +01:00
chore(schema-utils): prepare for npm release
This commit is contained in:
@@ -18,6 +18,7 @@
|
||||
"env-utils",
|
||||
"protocol",
|
||||
"protobuf",
|
||||
"schema-utils",
|
||||
]
|
||||
|
||||
.packages_matrix_connect: &packages_matrix_connect
|
||||
|
||||
3
packages/schema-utils/CHANGELOG.md
Normal file
3
packages/schema-utils/CHANGELOG.md
Normal file
@@ -0,0 +1,3 @@
|
||||
# 1.0.0
|
||||
|
||||
- initial release
|
||||
@@ -3,15 +3,19 @@
|
||||
"version": "1.0.0",
|
||||
"license": "See LICENSE.md in repo root",
|
||||
"sideEffects": false,
|
||||
"main": "src/index",
|
||||
"main": "lib/index",
|
||||
"npmPublishAccess": "public",
|
||||
"files": [
|
||||
"src/"
|
||||
"lib/"
|
||||
],
|
||||
"scripts": {
|
||||
"test:unit": "jest",
|
||||
"lint:js": "yarn g:eslint '**/*.{ts,tsx,js}'",
|
||||
"type-check": "tsc --build",
|
||||
"codegen": "ts-node --skip-project ./src/codegen.ts"
|
||||
"build:lib": "rimraf ./lib && yarn tsc --build tsconfig.lib.json",
|
||||
"codegen": "ts-node --skip-project ./src/codegen.ts",
|
||||
"prepublishOnly": "yarn tsx ../../scripts/prepublishNPM.js",
|
||||
"prepublish": "yarn tsx ../../scripts/prepublish.js"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@sinclair/typebox-codegen": "^0.8.13",
|
||||
|
||||
8
packages/schema-utils/tsconfig.lib.json
Normal file
8
packages/schema-utils/tsconfig.lib.json
Normal file
@@ -0,0 +1,8 @@
|
||||
{
|
||||
"extends": "../../tsconfig.lib.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "lib",
|
||||
"importHelpers": true
|
||||
},
|
||||
"include": ["./src"]
|
||||
}
|
||||
Reference in New Issue
Block a user