mirror of
https://github.com/valitydev/repairer-proto.git
synced 2024-11-06 01:15:18 +00:00
Bump fe thrift codegen (#14)
This commit is contained in:
parent
df9f11d2b8
commit
7df448968e
2
.github/workflows/frontend-pr.yml
vendored
2
.github/workflows/frontend-pr.yml
vendored
@ -16,6 +16,6 @@ jobs:
|
|||||||
- uses: actions/checkout@v3
|
- uses: actions/checkout@v3
|
||||||
- uses: valitydev/action-frontend/setup@v0.1
|
- uses: valitydev/action-frontend/setup@v0.1
|
||||||
- uses: valitydev/action-setup-thrift@v1.0.1
|
- uses: valitydev/action-setup-thrift@v1.0.1
|
||||||
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
- run: npm i # protocols don't always update the package-lock.json, so installing from package.json
|
||||||
- name: Codegen
|
- name: Codegen
|
||||||
run: npm run codegen
|
run: npm run codegen
|
||||||
|
3
.gitignore
vendored
3
.gitignore
vendored
@ -3,4 +3,5 @@ target
|
|||||||
|
|
||||||
# frontend
|
# frontend
|
||||||
node_modules
|
node_modules
|
||||||
lib
|
clients
|
||||||
|
dist
|
||||||
|
12261
package-lock.json
generated
12261
package-lock.json
generated
File diff suppressed because it is too large
Load Diff
28
package.json
28
package.json
@ -1,13 +1,18 @@
|
|||||||
{
|
{
|
||||||
"name": "@vality/repairer-proto",
|
"name": "@vality/repairer-proto",
|
||||||
"version": "1.0.0",
|
"version": "2.0.0",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"codegen": "thrift-codegen ./proto ./node_modules/@vality/domain-proto ./node_modules/@vality/fistful-proto/proto"
|
"codegen": "thrift-codegen --i ./proto ./node_modules/@vality/domain-proto ./node_modules/@vality/fistful-proto/proto --n repairer --t repairer --p /wachter"
|
||||||
},
|
},
|
||||||
"publishConfig": {
|
"publishConfig": {
|
||||||
"access": "public",
|
"access": "public",
|
||||||
"registry": "https://registry.npmjs.org/"
|
"registry": "https://registry.npmjs.org/"
|
||||||
},
|
},
|
||||||
|
"exports": {
|
||||||
|
".": "./dist/thrift-codegen.bundle.js",
|
||||||
|
"./metadata.json": "./dist/metadata.json",
|
||||||
|
"./package.json": "./package.json"
|
||||||
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
"url": "git+https://github.com/valitydev/repairer-proto.git"
|
"url": "git+https://github.com/valitydev/repairer-proto.git"
|
||||||
@ -15,14 +20,21 @@
|
|||||||
"license": "Apache-2.0",
|
"license": "Apache-2.0",
|
||||||
"homepage": "https://github.com/valitydev/repairer-proto#readme",
|
"homepage": "https://github.com/valitydev/repairer-proto#readme",
|
||||||
"files": [
|
"files": [
|
||||||
"lib/**/*.{js,d.ts,json}",
|
"dist/**/*.{js,d.ts,json,map}",
|
||||||
"**/*.thrift"
|
"**/*.thrift"
|
||||||
],
|
],
|
||||||
"main": "./lib/repairer.js",
|
"main": "./dist/thrift-codegen.bundle.js",
|
||||||
"types": "./lib/repairer.d.ts",
|
"types": "index.d.ts",
|
||||||
|
"typesVersions": {
|
||||||
|
">=4.6": {
|
||||||
|
"*": [
|
||||||
|
"dist/types/*"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"@vality/domain-proto": "^1.0.1-9362c08.0",
|
"@vality/domain-proto": "2.0.1-34e7420.0",
|
||||||
"@vality/fistful-proto": "^1.0.1-f19e383.0",
|
"@vality/fistful-proto": "2.0.1-6c6762a.0",
|
||||||
"@vality/thrift-codegen": "1.1.1-661afde.0"
|
"@vality/thrift-codegen": "2.0.1-246fc01.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user