Rocky_Mountain_Vending/.pnpm-store/v10/files/15/a69579b7e0ce8d45755af4c273a48d2fd1bdcb20ea4f33a074228040c98c7f5f00ee5ace489a99ca2a88e596a94a716ba3e8b2f40d71fcb6d85ec3a551a9a6
DMleadgen 46d973904b
Initial commit: Rocky Mountain Vending website
Next.js website for Rocky Mountain Vending company featuring:
- Product catalog with Stripe integration
- Service areas and parts pages
- Admin dashboard with Clerk authentication
- SEO optimized pages with JSON-LD structured data

Co-authored-by: Cursor <cursoragent@cursor.com>
2026-02-12 16:22:15 -07:00

23 lines
618 B
Text

import { register } from 'module'
import { Hook, createAddHookMessageChannel } from '../../index.js'
// We've imported path here to ensure that the hook is still applied later even
// if the library is used here.
import * as path from 'path'
const { registerOptions, waitForAllMessagesAcknowledged } = createAddHookMessageChannel()
register('../../hook.mjs', import.meta.url, registerOptions)
Hook(['path'], (exports) => {
exports.sep = '@'
})
Hook(['os'], (exports) => {
exports.arch = function () {
return 'new_crazy_arch'
}
})
console.assert(path.sep !== '@')
await waitForAllMessagesAcknowledged()