PR feedback

This commit is contained in:
Samuel Newman
2026-05-22 11:50:57 +03:00
parent b034b5b911
commit 5d875d311f
3 changed files with 7 additions and 8 deletions
+1 -1
View File
@@ -48,7 +48,7 @@ ENV EXPO_PUBLIC_SENTRY_DSN=$EXPO_PUBLIC_SENTRY_DSN
COPY . .
#
# Generate the JavaScript webpack.
# Generate the web bundle with Metro.
#
RUN mkdir --parents $NVM_DIR && \
wget \
+1 -1
View File
@@ -299,7 +299,7 @@ export default defineConfig(
* bskyogcard - server-side, Node.js imports are fine
*/
{
files: ['bskyogcard/**/*.{js,jsx,ts,tsx}'],
files: ['bskyogcard/**/*.{js,jsx,ts,tsx}', 'scripts/**/*.{js,ts}'],
rules: {
'import-x/no-nodejs-modules': 'off',
},
+5 -6
View File
@@ -1,6 +1,6 @@
const path = require('path')
const fs = require('fs')
const {execSync} = require('child_process')
const path = require('node:path')
const fs = require('node:fs')
const {execFileSync} = require('node:child_process')
const projectRoot = path.join(__dirname, '..')
const distDir = path.join(projectRoot, 'dist')
@@ -119,8 +119,7 @@ if (process.env.SENTRY_AUTH_TOKEN) {
const sourceMapDir = path.join(distDir, '_expo', 'static')
console.log(`Uploading source maps to Sentry (release: ${release})`)
const cmd = [
'sentry-cli',
const args = [
'sourcemaps',
'upload',
'--org',
@@ -133,7 +132,7 @@ if (process.env.SENTRY_AUTH_TOKEN) {
sourceMapDir,
]
try {
execSync(cmd.join(' '), {stdio: 'inherit', cwd: projectRoot})
execFileSync('sentry-cli', args, {stdio: 'inherit', cwd: projectRoot})
console.log('Sentry source map upload complete')
} catch (e) {
console.error('Sentry source map upload failed:', e.message)