IMP-85: Bump frontend codegen (#44)

This commit is contained in:
Rinat Arsaev 2023-11-24 14:02:32 +07:00 committed by GitHub
parent 96f7f11b18
commit f32e92d16f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
4 changed files with 3759 additions and 221 deletions

View File

@ -14,7 +14,7 @@ jobs:
if: needs.configured.outputs.exists == 'true'
steps:
- uses: actions/checkout@v3
- uses: valitydev/action-frontend/setup@v0.1
- uses: valitydev/action-frontend/setup@v1
- 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
- name: Codegen

View File

@ -14,11 +14,11 @@ jobs:
if: needs.configured.outputs.exists == 'true'
steps:
- uses: actions/checkout@v3
- uses: valitydev/action-frontend/setup@v0.1
- uses: valitydev/action-frontend/setup@v1
- 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
- name: Build
run: npm run codegen
- uses: valitydev/action-frontend/publish@v0.1
- uses: valitydev/action-frontend/publish@v1
with:
npm-token: ${{ secrets.NPM_TOKEN }}

3952
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -2,7 +2,7 @@
"name": "@vality/machinegun-proto",
"version": "1.0.0",
"scripts": {
"codegen": "thrift-codegen"
"codegen": "thrift-codegen --i ./proto --n state_processing"
},
"publishConfig": {
"access": "public",
@ -12,15 +12,27 @@
"type": "git",
"url": "git+https://github.com/valitydev/machinegun-proto.git"
},
"exports": {
".": "./dist/thrift-codegen.bundle.js",
"./metadata.json": "./dist/metadata.json",
"./package.json": "./package.json"
},
"license": "Apache-2.0",
"homepage": "https://github.com/valitydev/machinegun-proto#readme",
"files": [
"lib/**/*.{js,d.ts,json}",
"dist/**/*.{js,d.ts,json}",
"**/*.thrift"
],
"main": "./lib/state_processing.js",
"types": "./lib/state_processing.d.ts",
"main": "./dist/thrift-codegen.bundle.js",
"types": "index.d.ts",
"typesVersions": {
">=4.6": {
"*": [
"dist/types/*"
]
}
},
"devDependencies": {
"@vality/thrift-codegen": "0.1.1-c81b4b7.0"
"@vality/thrift-codegen": "2.3.2"
}
}