Skip to content

Commit

Permalink
chore: remove obsolete packages and dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
alnr committed Feb 7, 2023
1 parent 59b1ce5 commit a4f8f3a
Show file tree
Hide file tree
Showing 8 changed files with 10 additions and 96 deletions.
4 changes: 2 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ docs/swagger:
bash <(curl https://raw.githubusercontent.com/ory/meta/master/install.sh) -d -b .bin hydra v2.0.2

.bin/ory: Makefile
curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.1.47
curl https://raw.githubusercontent.com/ory/meta/master/install.sh | bash -s -- -b .bin ory v0.2.2
touch .bin/ory

.PHONY: lint
Expand Down Expand Up @@ -150,7 +150,7 @@ authors: # updates the AUTHORS file
# Formats the code
.PHONY: format
format: .bin/goimports .bin/ory node_modules
.bin/ory dev headers license --exclude=internal/httpclient --exclude=internal/client-go --exclude test/e2e/proxy/node_modules --exclude test/e2e/node_modules --exclude node_modules
.bin/ory dev headers copyright --exclude=internal/httpclient --exclude=internal/client-go --exclude test/e2e/proxy/node_modules --exclude test/e2e/node_modules --exclude node_modules
goimports -w -local github.com/ory .
npm exec -- prettier --write 'test/e2e/**/*{.ts,.js}'
npm exec -- prettier --write '.github'
Expand Down
28 changes: 0 additions & 28 deletions corp/context.go

This file was deleted.

33 changes: 0 additions & 33 deletions corp/noop.go

This file was deleted.

15 changes: 7 additions & 8 deletions corpx/faker.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,28 +7,27 @@ import (
"math/rand"
"net/http"
"reflect"
"sync"
"time"

"github.com/ory/kratos/session"
"github.com/ory/x/stringsx"

"github.com/bxcodec/faker/v3"

"github.com/ory/kratos/identity"
"github.com/ory/kratos/selfservice/flow"
"github.com/ory/kratos/session"
"github.com/ory/kratos/ui/node"
"github.com/ory/kratos/x"
"github.com/ory/x/randx"
"github.com/ory/x/stringsx"
)

var setup bool
var setup sync.Once

func RegisterFakes() {
if setup {
return
}
setup = true
setup.Do(registerFakes)
}

func registerFakes() {
_ = faker.SetRandomMapAndSliceSize(4)

if err := faker.AddProvider("ptr_geo_location", func(v reflect.Value) (interface{}, error) {
Expand Down
1 change: 0 additions & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,6 @@ require (
github.com/ory/client-go v0.2.0-alpha.60
github.com/ory/dockertest/v3 v3.9.1
github.com/ory/go-acc v0.2.8
github.com/ory/go-convenience v0.1.0
github.com/ory/graceful v0.1.3
github.com/ory/herodot v0.9.13
github.com/ory/hydra-client-go v1.11.9-0.20221102130300-f558e85344c8
Expand Down
2 changes: 0 additions & 2 deletions go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -1116,8 +1116,6 @@ github.com/ory/dockertest/v3 v3.9.1/go.mod h1:42Ir9hmvaAPm0Mgibk6mBPi7SFvTXxEcnz
github.com/ory/go-acc v0.2.6/go.mod h1:4Kb/UnPcT8qRAk3IAxta+hvVapdxTLWtrr7bFLlEgpw=
github.com/ory/go-acc v0.2.8 h1:rOHHAPQjf0u7eHFGWpiXK+gIu/e0GRSJNr9pDukdNC4=
github.com/ory/go-acc v0.2.8/go.mod h1:iCRZUdGb/7nqvSn8xWZkhfVrtXRZ9Wru2E5rabCjFPI=
github.com/ory/go-convenience v0.1.0 h1:zouLKfF2GoSGnJwGq+PE/nJAE6dj2Zj5QlTgmMTsTS8=
github.com/ory/go-convenience v0.1.0/go.mod h1:uEY/a60PL5c12nYz4V5cHY03IBmwIAEm8TWB0yn9KNs=
github.com/ory/graceful v0.1.3 h1:FaeXcHZh168WzS+bqruqWEw/HgXWLdNv2nJ+fbhxbhc=
github.com/ory/graceful v0.1.3/go.mod h1:4zFz687IAF7oNHHiB586U4iL+/4aV09o/PYLE34t2bA=
github.com/ory/herodot v0.9.13 h1:cN/Z4eOkErl/9W7hDIDLb79IO/bfsH+8yscBjRpB4IU=
Expand Down
2 changes: 1 addition & 1 deletion identity/extension_credentials.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ import (
"strings"
"sync"

"github.com/ory/go-convenience/stringslice"
"github.com/ory/jsonschema/v3"
"github.com/ory/x/sqlxx"
"github.com/ory/x/stringslice"

"github.com/ory/kratos/schema"
)
Expand Down
21 changes: 0 additions & 21 deletions persistence/aliases/http_header.go

This file was deleted.

0 comments on commit a4f8f3a

Please sign in to comment.