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
a4fa67cd
Commit
a4fa67cd
authored
Feb 08, 2024
by
Steven
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: update dependencies
parent
43a2d6ce
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
312 additions
and
300 deletions
+312
-300
backend-tests.yml
.github/workflows/backend-tests.yml
+3
-3
Dockerfile
Dockerfile
+1
-1
go.mod
go.mod
+14
-13
go.sum
go.sum
+26
-24
package.json
web/package.json
+6
-6
pnpm-lock.yaml
web/pnpm-lock.yaml
+262
-253
No files found.
.github/workflows/backend-tests.yml
View file @
a4fa67cd
...
@@ -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.2
1
go-version
:
1.2
2
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
1
go mod tidy -go=1.2
2
git diff --exit-code
git diff --exit-code
-
name
:
golangci-lint
-
name
:
golangci-lint
uses
:
golangci/golangci-lint-action@v3
uses
:
golangci/golangci-lint-action@v3
...
@@ -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
1
go-version
:
1.2
2
check-latest
:
true
check-latest
:
true
cache
:
true
cache
:
true
-
name
:
Run all tests
-
name
:
Run all tests
...
...
Dockerfile
View file @
a4fa67cd
...
@@ -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
1
-alpine AS backend
FROM
golang:1.2
2
-alpine AS backend
WORKDIR
/backend-build
WORKDIR
/backend-build
COPY
. .
COPY
. .
...
...
go.mod
View file @
a4fa67cd
module github.com/usememos/memos
module github.com/usememos/memos
go 1.2
1
go 1.2
2
require (
require (
github.com/aws/aws-sdk-go-v2 v1.24.1
github.com/aws/aws-sdk-go-v2 v1.24.1
...
@@ -24,15 +24,15 @@ require (
...
@@ -24,15 +24,15 @@ require (
github.com/spf13/cobra v1.8.0
github.com/spf13/cobra v1.8.0
github.com/spf13/viper v1.18.2
github.com/spf13/viper v1.18.2
github.com/stretchr/testify v1.8.4
github.com/stretchr/testify v1.8.4
github.com/swaggo/swag v1.16.
2
github.com/swaggo/swag v1.16.
3
github.com/yourselfhosted/gomark v0.0.0-2024020313
4956-f26563ba0069
github.com/yourselfhosted/gomark v0.0.0-2024020313
5813-6f2bb7ded891
go.uber.org/zap v1.26.0
go.uber.org/zap v1.26.0
golang.org/x/crypto v0.1
8
.0
golang.org/x/crypto v0.1
9
.0
golang.org/x/exp v0.0.0-20240
119083558-1b970713d09a
golang.org/x/exp v0.0.0-20240
205201215-2c58cdc269a3
golang.org/x/mod v0.1
4
.0
golang.org/x/mod v0.1
5
.0
golang.org/x/net v0.2
0
.0
golang.org/x/net v0.2
1
.0
golang.org/x/oauth2 v0.16.0
golang.org/x/oauth2 v0.16.0
google.golang.org/genproto/googleapis/api v0.0.0-20240
125205218-1f4bbc51befe
google.golang.org/genproto/googleapis/api v0.0.0-20240
205150955-31a09d347014
google.golang.org/grpc v1.61.0
google.golang.org/grpc v1.61.0
modernc.org/sqlite v1.28.0
modernc.org/sqlite v1.28.0
)
)
...
@@ -52,6 +52,7 @@ require (
...
@@ -52,6 +52,7 @@ require (
github.com/josharian/intern v1.0.0 // indirect
github.com/josharian/intern v1.0.0 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/kballard/go-shellquote v0.0.0-20180428030007-95032a82bc51 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/mailru/easyjson v0.7.7 // indirect
github.com/ncruces/go-strftime v0.1.9 // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/remyoudompheng/bigfft v0.0.0-20230129092748-24d4a6f8daec // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/rs/cors v1.10.1 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
github.com/sagikazarmark/locafero v0.4.0 // indirect
...
@@ -60,12 +61,12 @@ require (
...
@@ -60,12 +61,12 @@ require (
github.com/stoewer/go-strcase v1.3.0 // indirect
github.com/stoewer/go-strcase v1.3.0 // indirect
golang.org/x/image v0.15.0 // indirect
golang.org/x/image v0.15.0 // indirect
golang.org/x/tools v0.17.0 // indirect
golang.org/x/tools v0.17.0 // indirect
google.golang.org/genproto v0.0.0-20240
125205218-1f4bbc51befe
// indirect
google.golang.org/genproto v0.0.0-20240
205150955-31a09d347014
// indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240
125205218-1f4bbc51befe
// indirect
google.golang.org/genproto/googleapis/rpc v0.0.0-20240
205150955-31a09d347014
// indirect
lukechampine.com/uint128 v1.3.0 // indirect
lukechampine.com/uint128 v1.3.0 // indirect
modernc.org/cc/v3 v3.41.0 // indirect
modernc.org/cc/v3 v3.41.0 // indirect
modernc.org/ccgo/v3 v3.16.15 // indirect
modernc.org/ccgo/v3 v3.16.15 // indirect
modernc.org/libc v1.4
0.8
// indirect
modernc.org/libc v1.4
1.0
// indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/mathutil v1.6.0 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/memory v1.7.2 // indirect
modernc.org/opt v0.1.3 // indirect
modernc.org/opt v0.1.3 // indirect
...
@@ -104,7 +105,7 @@ require (
...
@@ -104,7 +105,7 @@ require (
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/mitchellh/mapstructure v1.5.0 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/pelletier/go-toml/v2 v2.1.1 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/pmezard/go-difflib v1.0.1-0.20181226105442-5d4384ee4fb2 // indirect
github.com/posthog/posthog-go v0.0.0-20240
115103626-fbd687c18571
github.com/posthog/posthog-go v0.0.0-20240
202122501-d793288ce2c9
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.6.0 // indirect
github.com/spf13/pflag v1.0.5 // indirect
github.com/spf13/pflag v1.0.5 // indirect
...
@@ -112,7 +113,7 @@ require (
...
@@ -112,7 +113,7 @@ require (
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
go.uber.org/multierr v1.11.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
golang.org/x/sys v0.1
6
.0 // indirect
golang.org/x/sys v0.1
7
.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/text v0.14.0 // indirect
golang.org/x/time v0.5.0 // indirect
golang.org/x/time v0.5.0 // indirect
google.golang.org/appengine v1.6.8 // indirect
google.golang.org/appengine v1.6.8 // indirect
...
...
go.sum
View file @
a4fa67cd
This diff is collapsed.
Click to expand it.
web/package.json
View file @
a4fa67cd
...
@@ -12,7 +12,7 @@
...
@@ -12,7 +12,7 @@
"@emotion/react"
:
"^11.11.3"
,
"@emotion/react"
:
"^11.11.3"
,
"@emotion/styled"
:
"^11.11.0"
,
"@emotion/styled"
:
"^11.11.0"
,
"@matejmazur/react-katex"
:
"^3.1.3"
,
"@matejmazur/react-katex"
:
"^3.1.3"
,
"@mui/joy"
:
"5.0.0-beta.2
5
"
,
"@mui/joy"
:
"5.0.0-beta.2
6
"
,
"@reduxjs/toolkit"
:
"^1.9.7"
,
"@reduxjs/toolkit"
:
"^1.9.7"
,
"axios"
:
"^1.6.7"
,
"axios"
:
"^1.6.7"
,
"classnames"
:
"^2.5.1"
,
"classnames"
:
"^2.5.1"
,
...
@@ -42,12 +42,12 @@
...
@@ -42,12 +42,12 @@
"@types/lodash-es"
:
"^4.17.12"
,
"@types/lodash-es"
:
"^4.17.12"
,
"@types/node"
:
"^20.11.16"
,
"@types/node"
:
"^20.11.16"
,
"@types/qs"
:
"^6.9.11"
,
"@types/qs"
:
"^6.9.11"
,
"@types/react"
:
"^18.2.5
2
"
,
"@types/react"
:
"^18.2.5
5
"
,
"@types/react-dom"
:
"^18.2.1
8
"
,
"@types/react-dom"
:
"^18.2.1
9
"
,
"@types/textarea-caret"
:
"^3.0.3"
,
"@types/textarea-caret"
:
"^3.0.3"
,
"@types/uuid"
:
"^9.0.8"
,
"@types/uuid"
:
"^9.0.8"
,
"@typescript-eslint/eslint-plugin"
:
"^6.2
0
.0"
,
"@typescript-eslint/eslint-plugin"
:
"^6.2
1
.0"
,
"@typescript-eslint/parser"
:
"^6.2
0
.0"
,
"@typescript-eslint/parser"
:
"^6.2
1
.0"
,
"@vitejs/plugin-react"
:
"^4.2.1"
,
"@vitejs/plugin-react"
:
"^4.2.1"
,
"autoprefixer"
:
"^10.4.17"
,
"autoprefixer"
:
"^10.4.17"
,
"eslint"
:
"^8.56.0"
,
"eslint"
:
"^8.56.0"
,
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
"less"
:
"^4.2.0"
,
"less"
:
"^4.2.0"
,
"long"
:
"^5.2.3"
,
"long"
:
"^5.2.3"
,
"nice-grpc-web"
:
"^3.3.2"
,
"nice-grpc-web"
:
"^3.3.2"
,
"postcss"
:
"^8.4.3
3
"
,
"postcss"
:
"^8.4.3
5
"
,
"prettier"
:
"^3.2.5"
,
"prettier"
:
"^3.2.5"
,
"protobufjs"
:
"^7.2.6"
,
"protobufjs"
:
"^7.2.6"
,
"typescript"
:
"^5.3.3"
,
"typescript"
:
"^5.3.3"
,
...
...
web/pnpm-lock.yaml
View file @
a4fa67cd
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