@mars-stack/cli 8.0.8 → 8.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mars-stack/cli",
3
- "version": "8.0.8",
3
+ "version": "8.0.10",
4
4
  "description": "MARS CLI: scaffold, configure, and maintain SaaS apps",
5
5
  "license": "MIT",
6
6
  "repository": {
@@ -29,7 +29,8 @@ test.describe('Kitchen-sink CLI catalog (MARS-041)', () => {
29
29
 
30
30
  test('blog: listing page shows Blog heading', async ({ page }) => {
31
31
  await page.goto('/blog');
32
- await expect(page.getByRole('heading', { name: 'Blog' })).toBeVisible();
32
+ // Substring match would also hit post titles like "Welcome to the Blog".
33
+ await expect(page.getByRole('heading', { name: 'Blog', exact: true })).toBeVisible();
33
34
  });
34
35
 
35
36
  test('dark-mode: theme toggle is present and clickable', async ({ page }) => {
@@ -1,7 +1,7 @@
1
- // Relative import: `prisma db seed` runs this file with `tsx`. The `@db` tsconfig alias
2
- // is not a valid Node package name (ERR_INVALID_MODULE_SPECIFIER). Omit `.js` so tsx
3
- // resolves Prisma’s emitted `client.ts` (there is no standalone `client.js` on disk).
4
- import { PrismaClient } from '../prisma/generated/prisma/client';
1
+ // `prisma db seed` runs with `tsx`. Prisma 7 emits `client.ts` only; a bare relative
2
+ // import resolves to `client.js` under Node ESM and fails. Use the `@db` path alias
3
+ // from `tsconfig.json` (same as `src/lib/prisma.ts`) so bundler, `tsc`, and `tsx` agree.
4
+ import { PrismaClient } from '@db';
5
5
  import { PrismaPg } from '@prisma/adapter-pg';
6
6
  import { hashPassword } from '@mars-stack/core/auth/password-hash';
7
7