-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
refactor(core): Use folder src and structure new folders, remove libs…
… and Bump [email protected]
- Loading branch information
Showing
120 changed files
with
8,696 additions
and
6,402 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'x-boilerplate': major | ||
--- | ||
|
||
Use folder src and structure new folders, remove libs and Bump [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
NEXT_PUBLIC_MSW_MOCKING = 'disabled' | ||
|
||
GITHUB_ID="" | ||
GITHUB_SECRET="" | ||
NEXTAUTH_URL="http://localhost:3000/" | ||
SECRET="" | ||
|
||
RESEND_API_KEY="" | ||
RESEND_DOMAIN="[email protected]" | ||
|
||
NEXT_PUBLIC_API_URL_BASE="" | ||
TWITTER_CREATOR="@wootsbot" | ||
SITE_NAME="X Boilerplate" | ||
SITE_URL="https://x.openkit.run" | ||
NEXT_PUBLIC_SITE_URL="https://x.openkit.run" | ||
|
||
RESEND_API_KEY="" | ||
RESEND_DOMAIN="[email protected]" | ||
|
||
AUTH_GITHUB_ID="" | ||
AUTH_GITHUB_SECRET="" | ||
|
||
AUTH_SECRET="" # Added by `npx auth`. Read more: https://cli.authjs.dev | ||
|
||
# Optional | ||
NEXT_PUBLIC_DEFAULT_LANGUAGE_KEY="en" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
import { expect, test } from '@playwright/test'; | ||
|
||
test.describe('Home Page', () => { | ||
test('must has title', async ({ page }) => { | ||
await page.goto('/'); | ||
await expect(page).toHaveTitle(/X Boilerplate/); | ||
}); | ||
|
||
// test('get started link', async ({ page }) => { | ||
// await page.goto('/'); | ||
|
||
// await page.click('text=🍍 State Management X-state'); | ||
// await expect(page).toHaveURL(/x-state/); | ||
// await expect(page.locator('h1')).toContainText('🍍'); | ||
// await expect(page.getByRole('heading', { name: 'Hi X-State!' })).toBeVisible(); | ||
// await expect(page.locator('p')).toContainText('Promise canine example.'); | ||
// await expect(page.getByRole('button', { name: 'Get Dog data' })).toBeVisible(); | ||
// await expect(page.getByRole('button', { name: 'Reset Dog data' })).toBeVisible(); | ||
// await expect(page.getByRole('button', { name: 'Retry Dog data' })).toBeVisible(); | ||
|
||
// await page.getByRole('button', { name: /Get Dog data/i }).click(); | ||
// await expect(page.getByText('Loading Image...')).toBeVisible(); | ||
// await expect(page.getByRole('img', { name: 'dog' })).toBeVisible(); | ||
|
||
// await page.getByRole('button', { name: /Reset Dog data/i }).click(); | ||
// await expect(page.getByText('Loading Image...')).not.toBeVisible(); | ||
// await expect(page.getByRole('img', { name: 'dog' })).not.toBeVisible(); | ||
|
||
// await page.getByRole('button', { name: /Retry Dog data/i }).click(); | ||
// await expect(page.getByText('Loading Image...')).toBeVisible(); | ||
// await expect(page.getByRole('img', { name: 'dog' })).toBeVisible(); | ||
|
||
// await page.click('text=Go back'); | ||
// await expect(page).toHaveURL('/'); | ||
// }); | ||
}); |
Oops, something went wrong.