@lokalise/ragnarok-api-contracts 0.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +13 -0
- package/README.md +22 -0
- package/package.json +50 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
Copyright 2026 Lokalise, Inc.
|
|
2
|
+
|
|
3
|
+
Licensed under the Apache License, Version 2.0 (the "License");
|
|
4
|
+
you may not use this file except in compliance with the License.
|
|
5
|
+
You may obtain a copy of the License at
|
|
6
|
+
|
|
7
|
+
http://www.apache.org/licenses/LICENSE-2.0
|
|
8
|
+
|
|
9
|
+
Unless required by applicable law or agreed to in writing, software
|
|
10
|
+
distributed under the License is distributed on an "AS IS" BASIS,
|
|
11
|
+
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
12
|
+
See the License for the specific language governing permissions and
|
|
13
|
+
limitations under the License.
|
package/README.md
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
# @lokalise/ragnarok-api-contracts
|
|
2
|
+
|
|
3
|
+
API contracts for the Lokalise Ragnarok Service.
|
|
4
|
+
This package provides type-safe, validated API route definitions using Zod schemas.
|
|
5
|
+
|
|
6
|
+
## Installation
|
|
7
|
+
|
|
8
|
+
```bash
|
|
9
|
+
npm install @lokalise/ragnarok-api-contracts
|
|
10
|
+
```
|
|
11
|
+
|
|
12
|
+
### Peer Dependencies
|
|
13
|
+
|
|
14
|
+
This package requires `zod` as a peer dependency:
|
|
15
|
+
|
|
16
|
+
```bash
|
|
17
|
+
npm install zod@^4.0.0
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## License
|
|
21
|
+
|
|
22
|
+
Apache-2.0
|
package/package.json
ADDED
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lokalise/ragnarok-api-contracts",
|
|
3
|
+
"version": "0.0.2",
|
|
4
|
+
"author": {
|
|
5
|
+
"name": "Lokalise",
|
|
6
|
+
"url": "https://lokalise.com"
|
|
7
|
+
},
|
|
8
|
+
"description": "Ragnarok API contracts",
|
|
9
|
+
"license": "Apache-2.0",
|
|
10
|
+
"repository": {
|
|
11
|
+
"type": "git",
|
|
12
|
+
"url": "git://github.com/lokalise/ragnarok.git",
|
|
13
|
+
"directory": "packages/ragnarok-api-contracts"
|
|
14
|
+
},
|
|
15
|
+
"engines": {
|
|
16
|
+
"node": ">=20"
|
|
17
|
+
},
|
|
18
|
+
"files": [
|
|
19
|
+
"dist"
|
|
20
|
+
],
|
|
21
|
+
"type": "module",
|
|
22
|
+
"main": "dist/index.js",
|
|
23
|
+
"exports": {
|
|
24
|
+
".": "./dist/index.js",
|
|
25
|
+
"./package.json": "./package.json"
|
|
26
|
+
},
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "rimraf dist && tsc -p tsconfig.build.json",
|
|
32
|
+
"lint": "biome check . && tsc",
|
|
33
|
+
"lint:fix": "biome check --write",
|
|
34
|
+
"package-version": "echo $npm_package_version",
|
|
35
|
+
"postversion": "biome check --write package.json"
|
|
36
|
+
},
|
|
37
|
+
"devDependencies": {
|
|
38
|
+
"@biomejs/biome": "^2.3.8",
|
|
39
|
+
"@lokalise/biome-config": "^3.1.0",
|
|
40
|
+
"@lokalise/tsconfig": "^3.0.0",
|
|
41
|
+
"rimraf": "^6.0.1",
|
|
42
|
+
"typescript": "5.9.3"
|
|
43
|
+
},
|
|
44
|
+
"peerDependencies": {
|
|
45
|
+
"zod": "^4.0.0"
|
|
46
|
+
},
|
|
47
|
+
"dependencies": {
|
|
48
|
+
"@lokalise/api-contracts": "^6.1.0"
|
|
49
|
+
}
|
|
50
|
+
}
|