Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions frontend/.gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -44,3 +44,6 @@ Thumbs.db
# Open Mina
/src/assets/webnode/pkg
/src/assets/webnode/circuit-blobs

# Sentry Config File
.sentryclirc
1 change: 1 addition & 0 deletions frontend/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@
"assets": [
"src/assets"
],
"sourceMap": true,
"styles": [
"src/styles.scss"
],
Expand Down
2 changes: 1 addition & 1 deletion frontend/httpd.conf
Original file line number Diff line number Diff line change
Expand Up @@ -499,7 +499,7 @@ LogLevel warn
AddType application/x-compress .Z
AddType application/x-gzip .gz .tgz
AddType application/wasm .wasm

AddType application/javascript .js
#
# AddHandler allows you to map certain file extensions to "handlers":
# actions unrelated to filetype. These can be either built into the server
Expand Down
247 changes: 242 additions & 5 deletions frontend/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 5 additions & 3 deletions frontend/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"start:dev": "ng serve --configuration development",
"start:dev:mobile": "ng serve --configuration development --host 0.0.0.0",
"build": "ng build",
"build:prod": "ng build --configuration production",
"build:prod": "ng build --configuration production && npm run sentry:sourcemaps",
"tests": "npx cypress open --config baseUrl=http://localhost:4200",
"tests:headless": "npx cypress run --headless --config baseUrl=http://localhost:4200",
"docker": "npm run build:prod && docker buildx build --platform linux/amd64 -t openmina/frontend:latest . && docker push openmina/frontend:latest",
Expand All @@ -16,7 +16,8 @@
"dev:ssr": "ng run frontend:serve-ssr",
"serve:ssr": "node dist/frontend/server/main.js",
"build:ssr": "ng build && ng run frontend:server",
"prerender": "ng run frontend:prerender"
"prerender": "ng run frontend:prerender",
"sentry:sourcemaps": "sentry-cli sourcemaps inject --org openmina-uv --project openmina ./dist/frontend/browser && sentry-cli sourcemaps upload --org openmina-uv --project openmina ./dist/frontend/browser"
},
"private": true,
"dependencies": {
Expand All @@ -40,6 +41,7 @@
"@nguniversal/express-engine": "^7.0.2",
"@openmina/shared": "^0.107.0",
"@sentry/angular": "^8.35.0",
"@sentry/cli": "^2.38.2",
"@sentry/tracing": "^7.114.0",
"base-x": "^5.0.0",
"bs58check": "^4.0.0",
Expand Down Expand Up @@ -80,4 +82,4 @@
"webpack": "^5.88.2",
"webpack-bundle-analyzer": "^4.9.0"
}
}
}
Loading