Skip to content

Commit

Permalink
added sourcemap uploader
Browse files Browse the repository at this point in the history
  • Loading branch information
jgentes committed Jan 28, 2024
1 parent 42b04d4 commit fdad606
Show file tree
Hide file tree
Showing 2 changed files with 76 additions and 3 deletions.
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"version": "0.5.0",
"private": true,
"scripts": {
"build": "remix build",
"build": "remix build --sourcemap && npx --yes @highlight-run/sourcemap-uploader upload --apiKey $HIGHLIGHT_SOURCEMAP_KEY --path ./build && find build -name '*.js.map' -type f -delete",
"dev": "remix dev",
"lint": "biome check . --apply",
"test": "playwright test"
Expand Down Expand Up @@ -40,6 +40,7 @@
"devDependencies": {
"@argos-ci/playwright": "^1.3.2",
"@biomejs/biome": "1.4.1",
"@highlight-run/sourcemap-uploader": "^0.6.0",
"@playwright/test": "^1.40.1",
"@remix-run/dev": "^2.5.1",
"@types/node": "^20.11.8",
Expand All @@ -51,6 +52,6 @@
"zod": "^3.22.3"
},
"engines": {
"node": "18.17.1"
"node": ">=18.17.1"
}
}
74 changes: 73 additions & 1 deletion yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -944,6 +944,19 @@ __metadata:
languageName: node
linkType: hard

"@highlight-run/sourcemap-uploader@npm:^0.6.0":
version: 0.6.0
resolution: "@highlight-run/sourcemap-uploader@npm:0.6.0"
dependencies:
commander: ^10.0.0
cross-fetch: ^3.1.5
glob: ^9.3.0
bin:
sourcemap-uploader: ./dist/index.js
checksum: 36ef45675cb02a79ffc4011f6258d484de046514ea0b68984f1084e334fb83a8d567850a10d9cf99edabe562bdfae7bf918c50364e03d9da51af1839892d2dd4
languageName: node
linkType: hard

"@internationalized/date@npm:^3.5.1":
version: 3.5.1
resolution: "@internationalized/date@npm:3.5.1"
Expand Down Expand Up @@ -4826,6 +4839,13 @@ __metadata:
languageName: node
linkType: hard

"commander@npm:^10.0.0":
version: 10.0.1
resolution: "commander@npm:10.0.1"
checksum: 436901d64a818295803c1996cd856621a74f30b9f9e28a588e726b2b1670665bccd7c1a77007ebf328729f0139838a88a19265858a0fa7a8728c4656796db948
languageName: node
linkType: hard

"commander@npm:^4.0.0":
version: 4.1.1
resolution: "commander@npm:4.1.1"
Expand Down Expand Up @@ -4939,6 +4959,15 @@ __metadata:
languageName: node
linkType: hard

"cross-fetch@npm:^3.1.5":
version: 3.1.8
resolution: "cross-fetch@npm:3.1.8"
dependencies:
node-fetch: ^2.6.12
checksum: 78f993fa099eaaa041122ab037fe9503ecbbcb9daef234d1d2e0b9230a983f64d645d088c464e21a247b825a08dc444a6e7064adfa93536d3a9454b4745b3632
languageName: node
linkType: hard

"cross-spawn@npm:^7.0.0, cross-spawn@npm:^7.0.3":
version: 7.0.3
resolution: "cross-spawn@npm:7.0.3"
Expand Down Expand Up @@ -6062,6 +6091,18 @@ __metadata:
languageName: node
linkType: hard

"glob@npm:^9.3.0":
version: 9.3.5
resolution: "glob@npm:9.3.5"
dependencies:
fs.realpath: ^1.0.0
minimatch: ^8.0.2
minipass: ^4.2.4
path-scurry: ^1.6.1
checksum: 94b093adbc591bc36b582f77927d1fb0dbf3ccc231828512b017601408be98d1fe798fc8c0b19c6f2d1a7660339c3502ce698de475e9d938ccbb69b47b647c84
languageName: node
linkType: hard

"globals@npm:^11.1.0":
version: 11.12.0
resolution: "globals@npm:11.12.0"
Expand Down Expand Up @@ -7615,6 +7656,15 @@ __metadata:
languageName: node
linkType: hard

"minimatch@npm:^8.0.2":
version: 8.0.4
resolution: "minimatch@npm:8.0.4"
dependencies:
brace-expansion: ^2.0.1
checksum: 2e46cffb86bacbc524ad45a6426f338920c529dd13f3a732cc2cf7618988ee1aae88df4ca28983285aca9e0f45222019ac2d14ebd17c1edadd2ee12221ab801a
languageName: node
linkType: hard

"minimatch@npm:^9.0.0, minimatch@npm:^9.0.1":
version: 9.0.3
resolution: "minimatch@npm:9.0.3"
Expand Down Expand Up @@ -7700,6 +7750,13 @@ __metadata:
languageName: node
linkType: hard

"minipass@npm:^4.2.4":
version: 4.2.8
resolution: "minipass@npm:4.2.8"
checksum: 7f4914d5295a9a30807cae5227a37a926e6d910c03f315930fde52332cf0575dfbc20295318f91f0baf0e6bb11a6f668e30cde8027dea7a11b9d159867a3c830
languageName: node
linkType: hard

"minipass@npm:^5.0.0":
version: 5.0.0
resolution: "minipass@npm:5.0.0"
Expand Down Expand Up @@ -7732,6 +7789,7 @@ __metadata:
"@biomejs/biome": 1.4.1
"@fontsource/public-sans": ~4.5.11
"@highlight-run/remix": ^2.0.16
"@highlight-run/sourcemap-uploader": ^0.6.0
"@nextui-org/react": ^2.2.9
"@playwright/test": ^1.40.1
"@remix-run/dev": ^2.5.1
Expand Down Expand Up @@ -7927,6 +7985,20 @@ __metadata:
languageName: node
linkType: hard

"node-fetch@npm:^2.6.12":
version: 2.7.0
resolution: "node-fetch@npm:2.7.0"
dependencies:
whatwg-url: ^5.0.0
peerDependencies:
encoding: ^0.1.0
peerDependenciesMeta:
encoding:
optional: true
checksum: d76d2f5edb451a3f05b15115ec89fc6be39de37c6089f1b6368df03b91e1633fd379a7e01b7ab05089a25034b2023d959b47e59759cb38d88341b2459e89d6e5
languageName: node
linkType: hard

"node-gyp@npm:latest":
version: 10.0.1
resolution: "node-gyp@npm:10.0.1"
Expand Down Expand Up @@ -8229,7 +8301,7 @@ __metadata:
languageName: node
linkType: hard

"path-scurry@npm:^1.10.1":
"path-scurry@npm:^1.10.1, path-scurry@npm:^1.6.1":
version: 1.10.1
resolution: "path-scurry@npm:1.10.1"
dependencies:
Expand Down

1 comment on commit fdad606

@vercel
Copy link

@vercel vercel bot commented on fdad606 Jan 28, 2024

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.