Skip to content

Commit f15b514

Browse files
authored
Port the code generator to TypeScript (#159)
1 parent 761ce5e commit f15b514

File tree

274 files changed

+20586
-6991
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

274 files changed

+20586
-6991
lines changed

.github/workflows/ci.yaml

Lines changed: 4 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -8,31 +8,17 @@ jobs:
88
steps:
99
- name: checkout
1010
uses: actions/checkout@v3
11-
- name: setup-go
12-
uses: actions/setup-go@v3
13-
with:
14-
go-version: 1.18
1511
- uses: bufbuild/[email protected]
1612
with:
1713
version: 1.1.0
1814
- name: Cache
1915
uses: actions/cache@v3
2016
with:
2117
path: |
22-
~/.cache
23-
.cache
18+
~/.tmp
19+
.tmp
2420
key: ${{ runner.os }}-protobuf-es-ci-${{ hashFiles('Makefile') }}
2521
restore-keys: |
2622
${{ runner.os }}-protobuf-es-ci-
27-
- name: make-ci-generate
28-
run: bash make/scripts/checknodiffgenerated.bash make ci-generate
29-
- name: make-format
30-
run: bash make/scripts/checknodiffgenerated.bash make format
31-
- name: make-build
32-
run: make build
33-
- name: make-lint
34-
run: make lint
35-
- name: make-test
36-
run: make test
37-
- name: make-bench-codesize
38-
run: make bench-codesize
23+
- name: make
24+
run: make all checkdiff

.gitignore

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
node_modules
2+
/packages/*/dist
3+
/packages/protobuf-test/descriptorset.bin
24
/testdata/gen/**/*.js
35
/testdata/gen/**/*.ts
46
/testdata/gen/**/**.d.ts
5-
/packages/protoc-gen-es*/bin/protoc-gen-es*
6-
/packages/*/dist
7-
/packages/protobuf-test/descriptorset.bin
8-
/.cache
7+
/.tmp

.golangci.yaml

Lines changed: 0 additions & 67 deletions
This file was deleted.

.prettierignore

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
/packages/*/src/gen
2-
/packages/*/dist
3-
/packages/*/bin
41
/node_modules
5-
/.cache
2+
/packages/*/bin
3+
/packages/*/dist
4+
/packages/*/src/gen
65
/packages/protobuf/src/google
6+
/.tmp

0 commit comments

Comments
 (0)