Skip to content

Commit c64b0da

Browse files
authored
Add license (#105)
* Add license * Clean up scripts
1 parent b8ead8b commit c64b0da

File tree

3 files changed

+28
-4
lines changed

3 files changed

+28
-4
lines changed

schemaregistry/LICENSE.txt

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
The MIT License (MIT)
2+
Copyright (c) 2024 Confluent, Inc.
3+
4+
Permission is hereby granted, free of charge, to any person obtaining a copy of
5+
this software and associated documentation files (the "Software"), to deal in
6+
the Software without restriction, including without limitation the rights to
7+
use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies
8+
of the Software, and to permit persons to whom the Software is furnished to do
9+
so, subject to the following conditions:
10+
11+
The above copyright notice and this permission notice shall be included in all
12+
copies or substantial portions of the Software.
13+
14+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
15+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
16+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
17+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
18+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
19+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
20+
IN THE SOFTWARE.

schemaregistry/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
"main": "dist/index.js",
66
"types": "dist/index.d.ts",
77
"files": [
8-
"dist"
8+
"LICENSE.txt",
9+
"dist/"
910
],
1011
"devDependencies": {
1112
"@bufbuild/buf": "^1.37.0",
@@ -49,9 +50,9 @@
4950
"validator": "^13.12.0"
5051
},
5152
"scripts": {
52-
"test:types": "tsc -p .",
53-
"test:schemaregistry": "make -f Makefile test",
54-
"build": "npx tsc -p tsconfig-build.json"
53+
"lint": "make lint",
54+
"test": "make test",
55+
"build": "rm -rf ./dist && tsc -p tsconfig-build.json"
5556
},
5657
"keywords": [
5758
"schemaregistry",

schemaregistry/tsconfig.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,8 @@
2727
"include": [
2828
"**/*",
2929
"../test/**/*"
30+
],
31+
"exclude": [
32+
"dist"
3033
]
3134
}

0 commit comments

Comments
 (0)