Skip to content

Commit 858eff9

Browse files
committed
feat: bump deps 2024
1 parent 389964b commit 858eff9

File tree

11 files changed

+141
-181
lines changed

11 files changed

+141
-181
lines changed

.github/dependabot.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ updates:
44
- package-ecosystem: github-actions
55
directory: /
66
schedule:
7-
interval: daily
7+
interval: monthly
88

99
- package-ecosystem: gomod
1010
directory: /
1111
schedule:
12-
interval: daily
12+
interval: monthly
1313

1414
- package-ecosystem: gomod
1515
directory: .sage
1616
schedule:
17-
interval: weekly
17+
interval: monthly

.sage/go.mod

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
module sage
22

3-
go 1.17
3+
go 1.22
44

5-
require go.einride.tech/sage v0.216.0
5+
require go.einride.tech/sage v0.286.0

.sage/go.sum

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
go.einride.tech/sage v0.216.0 h1:gjzooF3mJaKi2+BxgZ94OnCL60CouTGZXj6gclZwQSQ=
2-
go.einride.tech/sage v0.216.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ=
1+
go.einride.tech/sage v0.286.0 h1:rHQK1eZNej/bFRYMXaQ/ai4l3RTGpkPp9sX9DsmTUxw=
2+
go.einride.tech/sage v0.286.0/go.mod h1:EzV5uciFX7/2ho8EKB5K9JghOfXIxlzs694b+Tkl5GQ=

.sage/main.go

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,7 @@ import (
88
"go.einride.tech/sage/tools/sggit"
99
"go.einride.tech/sage/tools/sggo"
1010
"go.einride.tech/sage/tools/sggolangcilint"
11-
"go.einride.tech/sage/tools/sggoreview"
12-
"go.einride.tech/sage/tools/sgmarkdownfmt"
11+
"go.einride.tech/sage/tools/sgmdformat"
1312
"go.einride.tech/sage/tools/sgyamlfmt"
1413
)
1514

@@ -28,7 +27,7 @@ func main() {
2827
}
2928

3029
func All(ctx context.Context) error {
31-
sg.Deps(ctx, ConvcoCheck, GoLint, GoReview, GoTest, FormatMarkdown, FormatYAML)
30+
sg.Deps(ctx, ConvcoCheck, GoLint, GoTest, FormatMarkdown, FormatYAML)
3231
sg.SerialDeps(ctx, Proto.All, TypescriptLint)
3332
sg.SerialDeps(ctx, GoModTidy, GitVerifyNoDiff)
3433
return nil
@@ -49,19 +48,19 @@ func GoTest(ctx context.Context) error {
4948
return sggo.TestCommand(ctx).Run()
5049
}
5150

52-
func GoReview(ctx context.Context) error {
53-
sg.Logger(ctx).Println("reviewing Go files...")
54-
return sggoreview.Command(ctx, "-c", "1", "./...").Run()
55-
}
56-
5751
func GoLint(ctx context.Context) error {
5852
sg.Logger(ctx).Println("linting Go files...")
5953
return sggolangcilint.Run(ctx)
6054
}
6155

56+
func GoLintFix(ctx context.Context) error {
57+
sg.Logger(ctx).Println("fixing Go files...")
58+
return sggolangcilint.Fix(ctx)
59+
}
60+
6261
func FormatMarkdown(ctx context.Context) error {
6362
sg.Logger(ctx).Println("formatting Markdown files...")
64-
return sgmarkdownfmt.Command(ctx, "-w", ".").Run()
63+
return sgmdformat.Command(ctx).Run()
6564
}
6665

6766
func ConvcoCheck(ctx context.Context) error {

CODE_OF_CONDUCT.md

Lines changed: 87 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -1,87 +1,128 @@
1-
Contributor Covenant Code of Conduct
2-
====================================
1+
# Contributor Covenant Code of Conduct
32

4-
Our Pledge
5-
----------
3+
## Our Pledge
64

7-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our
6+
community a harassment-free experience for everyone, regardless of age, body
7+
size, visible or invisible disability, ethnicity, sex characteristics, gender
8+
identity and expression, level of experience, education, socio-economic status,
9+
nationality, personal appearance, race, religion, or sexual identity and
10+
orientation.
811

9-
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
12+
We pledge to act and interact in ways that contribute to an open, welcoming,
13+
diverse, inclusive, and healthy community.
1014

11-
Our Standards
12-
-------------
15+
## Our Standards
1316

14-
Examples of behavior that contributes to a positive environment for our community include:
17+
Examples of behavior that contributes to a positive environment for our
18+
community include:
1519

16-
- Demonstrating empathy and kindness toward other people
17-
- Being respectful of differing opinions, viewpoints, and experiences
18-
- Giving and gracefully accepting constructive feedback
19-
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
20-
- Focusing on what is best not just for us as individuals, but for the overall community
20+
- Demonstrating empathy and kindness toward other people
21+
- Being respectful of differing opinions, viewpoints, and experiences
22+
- Giving and gracefully accepting constructive feedback
23+
- Accepting responsibility and apologizing to those affected by our mistakes,
24+
and learning from the experience
25+
- Focusing on what is best not just for us as individuals, but for the overall
26+
community
2127

2228
Examples of unacceptable behavior include:
2329

24-
- The use of sexualized language or imagery, and sexual attention or advances of any kind
25-
- Trolling, insulting or derogatory comments, and personal or political attacks
26-
- Public or private harassment
27-
- Publishing others' private information, such as a physical or email address, without their explicit permission
28-
- Other conduct which could reasonably be considered inappropriate in a professional setting
30+
- The use of sexualized language or imagery, and sexual attention or advances of
31+
any kind
32+
- Trolling, insulting or derogatory comments, and personal or political attacks
33+
- Public or private harassment
34+
- Publishing others' private information, such as a physical or email address,
35+
without their explicit permission
36+
- Other conduct which could reasonably be considered inappropriate in a
37+
professional setting
2938

30-
Enforcement Responsibilities
31-
----------------------------
39+
## Enforcement Responsibilities
3240

33-
Community leaders are responsible for clarifying and enforcing our standards of acceptable behavior and will take appropriate and fair corrective action in response to any behavior that they deem inappropriate, threatening, offensive, or harmful.
41+
Community leaders are responsible for clarifying and enforcing our standards of
42+
acceptable behavior and will take appropriate and fair corrective action in
43+
response to any behavior that they deem inappropriate, threatening, offensive,
44+
or harmful.
3445

35-
Community leaders have the right and responsibility to remove, edit, or reject comments, commits, code, wiki edits, issues, and other contributions that are not aligned to this Code of Conduct, and will communicate reasons for moderation decisions when appropriate.
46+
Community leaders have the right and responsibility to remove, edit, or reject
47+
comments, commits, code, wiki edits, issues, and other contributions that are
48+
not aligned to this Code of Conduct, and will communicate reasons for moderation
49+
decisions when appropriate.
3650

37-
Scope
38-
-----
51+
## Scope
3952

40-
This Code of Conduct applies within all community spaces, and also applies when an individual is officially representing the community in public spaces. Examples of representing our community include using an official e-mail address, posting via an official social media account, or acting as an appointed representative at an online or offline event.
53+
This Code of Conduct applies within all community spaces, and also applies when
54+
an individual is officially representing the community in public spaces.
55+
Examples of representing our community include using an official e-mail address,
56+
posting via an official social media account, or acting as an appointed
57+
representative at an online or offline event.
4158

42-
Enforcement
43-
-----------
59+
## Enforcement
4460

45-
Instances of abusive, harassing, or otherwise unacceptable behavior may be reported to the community leaders responsible for enforcement at [email protected].
61+
Instances of abusive, harassing, or otherwise unacceptable behavior may be
62+
reported to the community leaders responsible for enforcement at
63+
4664

4765
All complaints will be reviewed and investigated promptly and fairly.
4866

49-
All community leaders are obligated to respect the privacy and security of the reporter of any incident.
67+
All community leaders are obligated to respect the privacy and security of the
68+
reporter of any incident.
5069

51-
Enforcement Guidelines
52-
----------------------
70+
## Enforcement Guidelines
5371

54-
Community leaders will follow these Community Impact Guidelines in determining the consequences for any action they deem in violation of this Code of Conduct:
72+
Community leaders will follow these Community Impact Guidelines in determining
73+
the consequences for any action they deem in violation of this Code of Conduct:
5574

5675
### 1. Correction
5776

58-
**Community Impact**: Use of inappropriate language or other behavior deemed unprofessional or unwelcome in the community.
77+
**Community Impact**: Use of inappropriate language or other behavior deemed
78+
unprofessional or unwelcome in the community.
5979

60-
**Consequence**: A private, written warning from community leaders, providing clarity around the nature of the violation and an explanation of why the behavior was inappropriate. A public apology may be requested.
80+
**Consequence**: A private, written warning from community leaders, providing
81+
clarity around the nature of the violation and an explanation of why the
82+
behavior was inappropriate. A public apology may be requested.
6183

6284
### 2. Warning
6385

64-
**Community Impact**: A violation through a single incident or series of actions.
86+
**Community Impact**: A violation through a single incident or series of
87+
actions.
6588

66-
**Consequence**: A warning with consequences for continued behavior. No interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, for a specified period of time. This includes avoiding interactions in community spaces as well as external channels like social media. Violating these terms may lead to a temporary or permanent ban.
89+
**Consequence**: A warning with consequences for continued behavior. No
90+
interaction with the people involved, including unsolicited interaction with
91+
those enforcing the Code of Conduct, for a specified period of time. This
92+
includes avoiding interactions in community spaces as well as external channels
93+
like social media. Violating these terms may lead to a temporary or permanent
94+
ban.
6795

6896
### 3. Temporary Ban
6997

70-
**Community Impact**: A serious violation of community standards, including sustained inappropriate behavior.
98+
**Community Impact**: A serious violation of community standards, including
99+
sustained inappropriate behavior.
71100

72-
**Consequence**: A temporary ban from any sort of interaction or public communication with the community for a specified period of time. No public or private interaction with the people involved, including unsolicited interaction with those enforcing the Code of Conduct, is allowed during this period. Violating these terms may lead to a permanent ban.
101+
**Consequence**: A temporary ban from any sort of interaction or public
102+
communication with the community for a specified period of time. No public or
103+
private interaction with the people involved, including unsolicited interaction
104+
with those enforcing the Code of Conduct, is allowed during this period.
105+
Violating these terms may lead to a permanent ban.
73106

74107
### 4. Permanent Ban
75108

76-
**Community Impact**: Demonstrating a pattern of violation of community standards, including sustained inappropriate behavior, harassment of an individual, or aggression toward or disparagement of classes of individuals.
109+
**Community Impact**: Demonstrating a pattern of violation of community
110+
standards, including sustained inappropriate behavior, harassment of an
111+
individual, or aggression toward or disparagement of classes of individuals.
77112

78-
**Consequence**: A permanent ban from any sort of public interaction within the community.
113+
**Consequence**: A permanent ban from any sort of public interaction within the
114+
community.
79115

80-
Attribution
81-
-----------
116+
## Attribution
82117

83-
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
118+
This Code of Conduct is adapted from the
119+
[Contributor Covenant](https://www.contributor-covenant.org), version 2.0,
120+
available at
121+
https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
84122

85-
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
123+
Community Impact Guidelines were inspired by
124+
[Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
86125

87-
For answers to common questions about this code of conduct, see the FAQ at https://www.contributor-covenant.org/faq. Translations are available at https://www.contributor-covenant.org/translations.
126+
For answers to common questions about this code of conduct, see the FAQ at
127+
https://www.contributor-covenant.org/faq. Translations are available at
128+
https://www.contributor-covenant.org/translations.

Makefile

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -67,14 +67,14 @@ git-verify-no-diff: $(sagefile)
6767
go-lint: $(sagefile)
6868
@$(sagefile) GoLint
6969

70+
.PHONY: go-lint-fix
71+
go-lint-fix: $(sagefile)
72+
@$(sagefile) GoLintFix
73+
7074
.PHONY: go-mod-tidy
7175
go-mod-tidy: $(sagefile)
7276
@$(sagefile) GoModTidy
7377

74-
.PHONY: go-review
75-
go-review: $(sagefile)
76-
@$(sagefile) GoReview
77-
7878
.PHONY: go-test
7979
go-test: $(sagefile)
8080
@$(sagefile) GoTest

README.md

Lines changed: 14 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,18 @@
1-
protoc-gen-typescript-http
2-
==========================
1+
# protoc-gen-typescript-http
32

4-
Generates Typescript types and service clients from protobuf definitions annotated with [http rules](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto). The generated types follow the [canonical JSON encoding](https://developers.google.com/protocol-buffers/docs/proto3#json).
3+
Generates Typescript types and service clients from protobuf definitions
4+
annotated with
5+
[http rules](https://github.com/googleapis/googleapis/blob/master/google/api/http.proto).
6+
The generated types follow the
7+
[canonical JSON encoding](https://developers.google.com/protocol-buffers/docs/proto3#json).
58

6-
**Experimental**: This library is under active development and breaking changes to config files, APIs and generated code are expected between releases.
9+
**Experimental**: This library is under active development and breaking changes
10+
to config files, APIs and generated code are expected between releases.
711

8-
Using the plugin
9-
----------------
12+
## Using the plugin
1013

11-
For examples of correctly annotated protobuf defintions and the generated code, look at [examples](./examples).
14+
For examples of correctly annotated protobuf defintions and the generated code,
15+
look at [examples](./examples).
1216

1317
### Install the plugin
1418

@@ -26,9 +30,10 @@ protoc
2630
[.proto files ...]
2731
```
2832

29-
---
33+
______________________________________________________________________
3034

31-
The generated clients can be used with any HTTP client that returns a Promise containing JSON data.
35+
The generated clients can be used with any HTTP client that returns a Promise
36+
containing JSON data.
3237

3338
```typescript
3439
const rootUrl = "...";

go.mod

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,11 @@
11
module go.einride.tech/protoc-gen-typescript-http
22

3-
go 1.17
3+
go 1.22
44

55
require (
6-
google.golang.org/genproto v0.0.0-20201214200347-8c77b98c765d
7-
google.golang.org/protobuf v1.28.1
8-
gotest.tools/v3 v3.4.0
6+
google.golang.org/genproto/googleapis/api v0.0.0-20240624140628-dc46fd24d27d
7+
google.golang.org/protobuf v1.34.2
8+
gotest.tools/v3 v3.5.1
99
)
1010

11-
require (
12-
github.com/golang/protobuf v1.5.0 // indirect
13-
github.com/google/go-cmp v0.5.5 // indirect
14-
)
11+
require github.com/google/go-cmp v0.5.9 // indirect

0 commit comments

Comments
 (0)