chore(schema-utils): prepare for npm release

This commit is contained in:
Martin Varmuza
2024-01-08 12:07:09 +01:00
committed by martin
parent 90dadb8e02
commit 7e286ad7d4
4 changed files with 19 additions and 3 deletions

View File

@@ -18,6 +18,7 @@
"env-utils",
"protocol",
"protobuf",
"schema-utils",
]
.packages_matrix_connect: &packages_matrix_connect

View File

@@ -0,0 +1,3 @@
# 1.0.0
- initial release

View File

@@ -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",

View File

@@ -0,0 +1,8 @@
{
"extends": "../../tsconfig.lib.json",
"compilerOptions": {
"outDir": "lib",
"importHelpers": true
},
"include": ["./src"]
}