Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
canifa_note
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Vũ Hoàng Anh
canifa_note
Commits
b915eaa6
Commit
b915eaa6
authored
Sep 21, 2024
by
johnnyjoy
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: bump dependencies
parent
a81d7b32
Changes
7
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
737 additions
and
741 deletions
+737
-741
backend-tests.yml
.github/workflows/backend-tests.yml
+3
-3
build-artifacts.yml
.github/workflows/build-artifacts.yml
+1
-1
Dockerfile
Dockerfile
+1
-1
go.mod
go.mod
+44
-47
go.sum
go.sum
+95
-96
package.json
web/package.json
+15
-15
pnpm-lock.yaml
web/pnpm-lock.yaml
+578
-578
No files found.
.github/workflows/backend-tests.yml
View file @
b915eaa6
...
@@ -19,12 +19,12 @@ jobs:
...
@@ -19,12 +19,12 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
1.22
go-version
:
3
check-latest
:
true
check-latest
:
true
cache
:
true
cache
:
true
-
name
:
Verify go.mod is tidy
-
name
:
Verify go.mod is tidy
run
:
|
run
:
|
go mod tidy -go=1.2
2
go mod tidy -go=1.2
3
git diff --exit-code
git diff --exit-code
-
name
:
golangci-lint
-
name
:
golangci-lint
uses
:
golangci/golangci-lint-action@v6
uses
:
golangci/golangci-lint-action@v6
...
@@ -39,7 +39,7 @@ jobs:
...
@@ -39,7 +39,7 @@ jobs:
-
uses
:
actions/checkout@v4
-
uses
:
actions/checkout@v4
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
1.2
2
go-version
:
1.2
3
check-latest
:
true
check-latest
:
true
cache
:
true
cache
:
true
-
name
:
Run all tests
-
name
:
Run all tests
...
...
.github/workflows/build-artifacts.yml
View file @
b915eaa6
...
@@ -18,7 +18,7 @@ jobs:
...
@@ -18,7 +18,7 @@ jobs:
fetch-depth
:
0
fetch-depth
:
0
-
uses
:
actions/setup-go@v5
-
uses
:
actions/setup-go@v5
with
:
with
:
go-version
:
1.2
2
go-version
:
1.2
3
check-latest
:
true
check-latest
:
true
cache
:
true
cache
:
true
-
uses
:
pnpm/action-setup@v4.0.0
-
uses
:
pnpm/action-setup@v4.0.0
...
...
Dockerfile
View file @
b915eaa6
...
@@ -11,7 +11,7 @@ RUN corepack enable && pnpm i --frozen-lockfile
...
@@ -11,7 +11,7 @@ RUN corepack enable && pnpm i --frozen-lockfile
RUN
pnpm build
RUN
pnpm build
# Build backend exec file.
# Build backend exec file.
FROM
golang:1.2
2
-alpine AS backend
FROM
golang:1.2
3
-alpine AS backend
WORKDIR
/backend-build
WORKDIR
/backend-build
COPY
. .
COPY
. .
...
...
go.mod
View file @
b915eaa6
module github.com/usememos/memos
module github.com/usememos/memos
go 1.22
go 1.23
toolchain go1.22.2
require (
require (
github.com/aws/aws-sdk-go-v2 v1.3
0.4
github.com/aws/aws-sdk-go-v2 v1.3
1.0
github.com/aws/aws-sdk-go-v2/config v1.27.3
1
github.com/aws/aws-sdk-go-v2/config v1.27.3
6
github.com/aws/aws-sdk-go-v2/credentials v1.17.3
0
github.com/aws/aws-sdk-go-v2/credentials v1.17.3
4
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.
16
github.com/aws/aws-sdk-go-v2/feature/s3/manager v1.17.
22
github.com/aws/aws-sdk-go-v2/service/s3 v1.6
1
.0
github.com/aws/aws-sdk-go-v2/service/s3 v1.6
3
.0
github.com/go-sql-driver/mysql v1.8.1
github.com/go-sql-driver/mysql v1.8.1
github.com/google/cel-go v0.2
0.1
github.com/google/cel-go v0.2
1.0
github.com/google/uuid v1.6.0
github.com/google/uuid v1.6.0
github.com/gorilla/feeds v1.2.0
github.com/gorilla/feeds v1.2.0
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
github.com/grpc-ecosystem/go-grpc-middleware v1.4.0
...
@@ -25,22 +23,22 @@ require (
...
@@ -25,22 +23,22 @@ require (
github.com/spf13/cobra v1.8.1
github.com/spf13/cobra v1.8.1
github.com/spf13/viper v1.19.0
github.com/spf13/viper v1.19.0
github.com/stretchr/testify v1.9.0
github.com/stretchr/testify v1.9.0
github.com/usememos/gomark v0.0.0-202409
17123935-b2451d19c815
github.com/usememos/gomark v0.0.0-202409
20000613-9640de1955cd
golang.org/x/crypto v0.2
5
.0
golang.org/x/crypto v0.2
7
.0
golang.org/x/exp v0.0.0-20240
409090435-93d18d7e34b8
golang.org/x/exp v0.0.0-20240
909161429-701f63a606c0
golang.org/x/mod v0.2
0
.0
golang.org/x/mod v0.2
1
.0
golang.org/x/net v0.2
7
.0
golang.org/x/net v0.2
9
.0
golang.org/x/oauth2 v0.2
2
.0
golang.org/x/oauth2 v0.2
3
.0
google.golang.org/genproto/googleapis/api v0.0.0-20240
814211410-ddb44dafa142
google.golang.org/genproto/googleapis/api v0.0.0-20240
903143218-8af14fe29dc1
google.golang.org/grpc v1.6
5
.0
google.golang.org/grpc v1.6
7
.0
modernc.org/sqlite v1.3
1
.1
modernc.org/sqlite v1.3
3
.1
)
)
require (
require (
filippo.io/edwards25519 v1.1.0 // indirect
filippo.io/edwards25519 v1.1.0 // indirect
github.com/antlr4-go/antlr/v4 v4.13.
0
// indirect
github.com/antlr4-go/antlr/v4 v4.13.
1
// indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/cenkalti/backoff/v4 v4.3.0 // indirect
github.com/desertbit/timer v
0.0.0-20180107155436-c41aec40b27f
// indirect
github.com/desertbit/timer v
1.0.1
// indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/dustin/go-humanize v1.0.1 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/fsnotify/fsnotify v1.7.0 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
github.com/hashicorp/golang-lru/v2 v2.0.7 // indirect
...
@@ -48,46 +46,45 @@ require (
...
@@ -48,46 +46,45 @@ require (
github.com/magiconair/properties v1.8.7 // indirect
github.com/magiconair/properties v1.8.7 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/pelletier/go-toml/v2 v2.2.
2
// indirect
github.com/pelletier/go-toml/v2 v2.2.
3
// indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rogpeppe/go-internal v1.11.0 // indirect
github.com/rs/cors v1.1
0
.1 // indirect
github.com/rs/cors v1.1
1
.1 // indirect
github.com/sagikazarmark/locafero v0.
4
.0 // indirect
github.com/sagikazarmark/locafero v0.
6
.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sagikazarmark/slog-shim v0.1.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/sourcegraph/conc v0.3.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/afero v1.11.0 // indirect
github.com/spf13/cast v1.
6
.0 // indirect
github.com/spf13/cast v1.
7
.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
github.com/subosito/gotenv v1.6.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/multierr v1.9.0 // indirect
golang.org/x/image v0.20.0 // indirect
golang.org/x/image v0.0.0-20191009234506-e7c1f5e7dbb8 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240903143218-8af14fe29dc1 // indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240814211410-ddb44dafa142 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
gopkg.in/ini.v1 v1.67.0 // indirect
modernc.org/gc/v3 v3.0.0-20240
304020402-f0dba7c97c2b
// indirect
modernc.org/gc/v3 v3.0.0-20240
801135723-a856999a2e4a
// indirect
modernc.org/libc v1.
55.3
// indirect
modernc.org/libc v1.
61.0
// indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.8.0 // indirect
modernc.org/memory v1.8.0 // indirect
modernc.org/strutil v1.2.0 // indirect
modernc.org/strutil v1.2.0 // indirect
modernc.org/token v1.1.0 // indirect
modernc.org/token v1.1.0 // indirect
nhooyr.io/websocket v1.8.1
1
// indirect
nhooyr.io/websocket v1.8.1
7
// indirect
)
)
require (
require (
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.
4
// indirect
github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream v1.6.
5
// indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1
2
// indirect
github.com/aws/aws-sdk-go-v2/feature/ec2/imds v1.16.1
4
// indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.1
6
// indirect
github.com/aws/aws-sdk-go-v2/internal/configsources v1.3.1
8
// indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.1
6
// indirect
github.com/aws/aws-sdk-go-v2/internal/endpoints/v2 v2.6.1
8
// indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/ini v1.8.1 // indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.1
6
// indirect
github.com/aws/aws-sdk-go-v2/internal/v4a v1.3.1
8
// indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.
4
// indirect
github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding v1.11.
5
// indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.
18
// indirect
github.com/aws/aws-sdk-go-v2/service/internal/checksum v1.3.
20
// indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.
18
// indirect
github.com/aws/aws-sdk-go-v2/service/internal/presigned-url v1.11.
20
// indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.1
6
// indirect
github.com/aws/aws-sdk-go-v2/service/internal/s3shared v1.17.1
8
// indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.2
2.5
// indirect
github.com/aws/aws-sdk-go-v2/service/sso v1.2
3.0
// indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.2
6.5
// indirect
github.com/aws/aws-sdk-go-v2/service/ssooidc v1.2
7.0
// indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.3
0.5
// indirect
github.com/aws/aws-sdk-go-v2/service/sts v1.3
1.0
// indirect
github.com/aws/smithy-go v1.2
0.4
// indirect
github.com/aws/smithy-go v1.2
1.0
// indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/davecgh/go-spew v1.1.2-0.20180830191138-d8f796af33cc // indirect
github.com/disintegration/imaging v1.6.2
github.com/disintegration/imaging v1.6.2
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
github.com/golang-jwt/jwt v3.2.2+incompatible // indirect
...
@@ -101,9 +98,9 @@ require (
...
@@ -101,9 +98,9 @@ require (
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/bytebufferpool v1.0.0 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
github.com/valyala/fasttemplate v1.2.2 // indirect
golang.org/x/sys v0.2
2
.0 // indirect
golang.org/x/sys v0.2
5
.0 // indirect
golang.org/x/text v0.1
7
.0 // indirect
golang.org/x/text v0.1
8
.0 // indirect
golang.org/x/time v0.
5
.0 // indirect
golang.org/x/time v0.
6
.0 // indirect
google.golang.org/protobuf v1.34.2
google.golang.org/protobuf v1.34.2
gopkg.in/yaml.v3 v3.0.1 // indirect
gopkg.in/yaml.v3 v3.0.1 // indirect
)
)
go.sum
View file @
b915eaa6
This diff is collapsed.
Click to expand it.
web/package.json
View file @
b915eaa6
...
@@ -14,7 +14,7 @@
...
@@ -14,7 +14,7 @@
"@dnd-kit/utilities"
:
"^3.2.2"
,
"@dnd-kit/utilities"
:
"^3.2.2"
,
"@emotion/react"
:
"^11.13.3"
,
"@emotion/react"
:
"^11.13.3"
,
"@emotion/styled"
:
"^11.13.0"
,
"@emotion/styled"
:
"^11.13.0"
,
"@github/relative-time-element"
:
"^4.4.
2
"
,
"@github/relative-time-element"
:
"^4.4.
3
"
,
"@matejmazur/react-katex"
:
"^3.1.3"
,
"@matejmazur/react-katex"
:
"^3.1.3"
,
"@mui/joy"
:
"5.0.0-beta.48"
,
"@mui/joy"
:
"5.0.0-beta.48"
,
"@radix-ui/react-popover"
:
"^1.1.1"
,
"@radix-ui/react-popover"
:
"^1.1.1"
,
...
@@ -26,7 +26,7 @@
...
@@ -26,7 +26,7 @@
"dompurify"
:
"^3.1.6"
,
"dompurify"
:
"^3.1.6"
,
"fuse.js"
:
"^7.0.0"
,
"fuse.js"
:
"^7.0.0"
,
"highlight.js"
:
"^11.10.0"
,
"highlight.js"
:
"^11.10.0"
,
"i18next"
:
"^23.1
4.0
"
,
"i18next"
:
"^23.1
5.1
"
,
"katex"
:
"^0.16.11"
,
"katex"
:
"^0.16.11"
,
"lodash-es"
:
"^4.17.21"
,
"lodash-es"
:
"^4.17.21"
,
"lucide-react"
:
"^0.437.0"
,
"lucide-react"
:
"^0.437.0"
,
...
@@ -34,28 +34,28 @@
...
@@ -34,28 +34,28 @@
"react"
:
"^18.3.1"
,
"react"
:
"^18.3.1"
,
"react-dom"
:
"^18.3.1"
,
"react-dom"
:
"^18.3.1"
,
"react-hot-toast"
:
"^2.4.1"
,
"react-hot-toast"
:
"^2.4.1"
,
"react-i18next"
:
"^15.0.
1
"
,
"react-i18next"
:
"^15.0.
2
"
,
"react-redux"
:
"^9.1.2"
,
"react-redux"
:
"^9.1.2"
,
"react-router-dom"
:
"^6.26.
1
"
,
"react-router-dom"
:
"^6.26.
2
"
,
"react-use"
:
"^17.5.1"
,
"react-use"
:
"^17.5.1"
,
"tailwind-merge"
:
"^2.5.2"
,
"tailwind-merge"
:
"^2.5.2"
,
"tailwindcss"
:
"^3.4.1
0
"
,
"tailwindcss"
:
"^3.4.1
2
"
,
"tailwindcss-animate"
:
"^1.0.7"
,
"tailwindcss-animate"
:
"^1.0.7"
,
"textarea-caret"
:
"^3.1.0"
,
"textarea-caret"
:
"^3.1.0"
,
"uuid"
:
"^10.0.0"
,
"uuid"
:
"^10.0.0"
,
"zustand"
:
"^4.5.5"
"zustand"
:
"^4.5.5"
},
},
"devDependencies"
:
{
"devDependencies"
:
{
"@bufbuild/buf"
:
"^1.
39
.0"
,
"@bufbuild/buf"
:
"^1.
42
.0"
,
"@bufbuild/protobuf"
:
"^2.1.0"
,
"@bufbuild/protobuf"
:
"^2.1.0"
,
"@trivago/prettier-plugin-sort-imports"
:
"^4.3.0"
,
"@trivago/prettier-plugin-sort-imports"
:
"^4.3.0"
,
"@types/d3"
:
"^7.4.3"
,
"@types/d3"
:
"^7.4.3"
,
"@types/dompurify"
:
"^3.0.5"
,
"@types/dompurify"
:
"^3.0.5"
,
"@types/katex"
:
"^0.16.7"
,
"@types/katex"
:
"^0.16.7"
,
"@types/lodash-es"
:
"^4.17.12"
,
"@types/lodash-es"
:
"^4.17.12"
,
"@types/node"
:
"^22.5.
2
"
,
"@types/node"
:
"^22.5.
5
"
,
"@types/qs"
:
"^6.9.1
5
"
,
"@types/qs"
:
"^6.9.1
6
"
,
"@types/react"
:
"^18.3.
5
"
,
"@types/react"
:
"^18.3.
8
"
,
"@types/react-dom"
:
"^18.3.0"
,
"@types/react-dom"
:
"^18.3.0"
,
"@types/textarea-caret"
:
"^3.0.3"
,
"@types/textarea-caret"
:
"^3.0.3"
,
"@types/uuid"
:
"^10.0.0"
,
"@types/uuid"
:
"^10.0.0"
,
...
@@ -63,17 +63,17 @@
...
@@ -63,17 +63,17 @@
"@typescript-eslint/parser"
:
"^7.18.0"
,
"@typescript-eslint/parser"
:
"^7.18.0"
,
"@vitejs/plugin-react"
:
"^4.3.1"
,
"@vitejs/plugin-react"
:
"^4.3.1"
,
"autoprefixer"
:
"^10.4.20"
,
"autoprefixer"
:
"^10.4.20"
,
"eslint"
:
"^8.57.
0
"
,
"eslint"
:
"^8.57.
1
"
,
"eslint-config-prettier"
:
"^9.1.0"
,
"eslint-config-prettier"
:
"^9.1.0"
,
"eslint-plugin-prettier"
:
"^5.2.1"
,
"eslint-plugin-prettier"
:
"^5.2.1"
,
"eslint-plugin-react"
:
"^7.3
5.0
"
,
"eslint-plugin-react"
:
"^7.3
6.1
"
,
"less"
:
"^4.2.0"
,
"less"
:
"^4.2.0"
,
"long"
:
"^5.2.3"
,
"long"
:
"^5.2.3"
,
"nice-grpc-web"
:
"^3.3.4"
,
"nice-grpc-web"
:
"^3.3.4"
,
"postcss"
:
"^8.4.4
1
"
,
"postcss"
:
"^8.4.4
7
"
,
"prettier"
:
"^3.3.3"
,
"prettier"
:
"^3.3.3"
,
"protobufjs"
:
"^7.
3.3
"
,
"protobufjs"
:
"^7.
4.0
"
,
"typescript"
:
"^5.
5.4
"
,
"typescript"
:
"^5.
6.2
"
,
"vite"
:
"^5.4.
2
"
"vite"
:
"^5.4.
7
"
}
}
}
}
web/pnpm-lock.yaml
View file @
b915eaa6
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment