Rocky_Mountain_Vending/.pnpm-store/v10/files/2b/ad39d36eb29c7e8e9dfd691942191aa40df023133b83e4e8c9ab0a3acb6052ae2f20cce48725338b117784d9b63b8cd11ddaf6711ed0303213b3742b5f9d4e
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

18 lines
523 B
Text

import { register } from 'module'
import { Hook, createAddHookMessageChannel } from '../../index.js'
import { dirname, join } from 'path'
import { fileURLToPath } from 'url'
const fooPath = join(dirname(fileURLToPath(import.meta.url)), 'foo.mjs')
const { registerOptions, waitForAllMessagesAcknowledged } = createAddHookMessageChannel()
register('../../hook.mjs', import.meta.url, registerOptions)
global.hooked = []
Hook([fooPath], (_, name) => {
global.hooked.push(name)
})
await waitForAllMessagesAcknowledged()