You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chore: update build scripts and enhance file handling
- Added a warning message to the build scripts in both root and scan package to remind developers to bump the version before building.
- Refactored file handling in `tsup.config.ts` to use `fs/promises` for asynchronous file operations.
- Enhanced the `flush` function in the network monitoring module to improve interaction handling and ensure proper session management.
- Updated type definitions for `Interaction` and `Component` to allow for numeric interaction IDs.
- Modified the `getSession` function to include the package version in the session data.
"build": "pnpm --parallel --filter=!extension build && echo '\\n\\x1b[43m\\x1b[30m⚠️ WARNING: MAKE SURE TO BUMP VERSION BEFORE BUILDING OR REBUILD AFTER BUMPING VERSION IF PUBLISHING ⚠️\\x1b[0m\\n\\n'",
Copy file name to clipboardExpand all lines: packages/scan/package.json
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -214,7 +214,7 @@
214
214
"auto.d.ts"
215
215
],
216
216
"scripts": {
217
-
"build": "NODE_ENV=production tsup",
217
+
"build": "NODE_ENV=production tsup && echo '\\n\\x1b[43m\\x1b[30m⚠️ WARNING: MAKE SURE TO BUMP VERSION BEFORE BUILDING OR REBUILD AFTER BUMPING VERSION ⚠️\\x1b[0m\\n\\n'",
`${interaction.performanceEntry.type}::<REPLACED_PATH>::${interaction.url}`;// We replace the path with <REPLACED_PATH> on ingest with the component path joined by `.`
0 commit comments