@vocdoni/proto 1.14.0 → 1.14.3

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.
@@ -11,16 +11,15 @@ jobs:
11
11
  runs-on: ubuntu-latest
12
12
  steps:
13
13
  - name: Checkout code
14
- uses: actions/checkout@v2
14
+ uses: actions/checkout@v3
15
15
  - uses: dart-lang/setup-dart@v1
16
- - uses: actions/setup-node@v2
16
+ - uses: actions/setup-node@v3
17
17
  with:
18
18
  node-version: "14"
19
- - uses: actions/setup-go@v2
19
+ - uses: actions/setup-go@v3
20
20
  - name: Build
21
21
  run: |
22
22
  make init
23
- make dart
24
23
  make golang
25
24
  make ts
26
25
  - name: Commit changes
package/Makefile CHANGED
@@ -57,7 +57,8 @@ help:
57
57
  ## :
58
58
 
59
59
  ## init: Install external dependencies
60
- init: protoc protoc-dart-plugin $(PROTOC_TS_PLUGIN) protoc-go-plugin
60
+ init: protoc $(PROTOC_TS_PLUGIN) protoc-go-plugin
61
+ rm -Rf build
61
62
 
62
63
  ## clean: Remove the build artifacts
63
64
  clean:
@@ -71,7 +72,7 @@ clean:
71
72
 
72
73
 
73
74
  ## all: Generate the source code for all supported languages
74
- all: protoc build/dart build/ts build/go/models
75
+ all: protoc build/ts build/go/models
75
76
 
76
77
  ## golang: Generate the Golang protobuf artifacts
77
78
  golang: protoc protoc-go-plugin build/go/models
package/README.md CHANGED
@@ -55,6 +55,18 @@ Then, run `make all` to build all the targets
55
55
  + Build JS/TS models: `make ts`
56
56
  + Build GoLang models: `make golang`
57
57
 
58
+ ### Publishing a new npmjs version (ts/js)
59
+
60
+ For publishing a new release into npmjs, a github action has been created in
61
+ order to minimize the work. Just follow these steps:
62
+
63
+ - Do whatever changes you need to do in the `proto` files
64
+ - Update the version in the `package.json` file
65
+ - Commit the changes
66
+ - Create a new release & tag with the version number you used in `package.json`
67
+
68
+ The github action will take care of the rest.
69
+
58
70
  ## Artifacts
59
71
 
60
72
  Import the files from: