Conversation
|
Cahllagerfeld
left a comment
There was a problem hiding this comment.
I created the packages in a subdirectory, and not in a nested monorepo, because I think it's not required, as we are already having a parent directory. Let me know what you think about it!
|
Nice, I like the This means we can delete Update: I take it we use the same naming convention for all plugins we release, agreed? E.g. |
Yeah sure 👍 The only thing that made me think, is that the packages are living not in a nested monorepo, but just in a subdirectory, but that's fine I guess 👍 |
|
There seems to be an issue with the pre-commit hook in husky, caused by a recursive script in |
| "changeset": "changeset && pnpm install", | ||
| "clean": "pnpm --recursive --parallel clean", | ||
| "clean:nodemodules": "find . -type d -name \"node_modules\" -exec rm -fr {} +", | ||
| "dev": "pnpm --recursive --parallel dev", |
There was a problem hiding this comment.
I removed these packages, so they don't start the dev server with all packages, we can remove that filter again though :)
| getAppName(ctx.appDir) | ||
| ) | ||
| ); | ||
| fs.renameSync( |
There was a problem hiding this comment.
forgot to rename the extensions namespace
| "copy-templates": "copyfiles ./src/templates/* ./build/templates", | ||
| "format": "prettier --plugin-search-dir . --write .", | ||
| "build": "tsc -p tsconfig.json", | ||
| "build": "npm run clean && run-s build:cli copy-templates", |
There was a problem hiding this comment.
forgot to copy the templates during the build step
Yes I agree, that's fine.
Which recursive script? |
|
I believe its the test script inide the |
|
Found it. Modify |
|
Figured it out.
import { test, expect } from '@playwright/test';
test('homepage has Playwright in title and get started link linking to the intro page', async ({
page
}) => {
await page.goto('https://playwright.dev/');
// Expect a title "to contain" a substring.
await expect(page).toHaveTitle(/Playwright/);
});Does SvelteKit have an example of how to write tests for a SvelteKit lib project? I'm not aware of it, so we may have to come up with our own setup. |
closes #280