-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(pie-notification): DSW-1351 updated branch to latest verison
- Loading branch information
Showing
67 changed files
with
3,675 additions
and
4,141 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 @@ | ||
--- | ||
"@justeattakeaway/pie-components-config": minor | ||
--- | ||
|
||
[Added] - New `playwright-lit-setup` executable to create necessary files for Playwright components tests. |
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 @@ | ||
--- | ||
"pie-monorepo": patch | ||
--- | ||
|
||
[Fixed] - Issue where `packageManager` property was causing renovate PR's to fail due to `corepack` opt-in. |
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 @@ | ||
--- | ||
"pie-storybook": minor | ||
--- | ||
|
||
[Added] - Sort all component storybook controls alphabetically |
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.
Large diffs are not rendered by default.
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
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 |
---|---|---|
|
@@ -7,7 +7,6 @@ | |
"keywords": [], | ||
"author": "Just Eat Takeaway.com - Design System Team", | ||
"license": "Apache-2.0", | ||
"packageManager": "[email protected]", | ||
"scripts": { | ||
"build": "DEPLOYMENT_ENVIRONMENT='production' eleventy", | ||
"build:dev": "DEPLOYMENT_ENVIRONMENT='development' eleventy", | ||
|
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 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 @@ | ||
playwright/.cache/ |
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
File renamed without changes.
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 @@ | ||
// Despite being an empty file, Playwright component tests are dependant on this file existing. |
32 changes: 32 additions & 0 deletions
32
configs/pie-components-config/scripts/playwright-lit-setup.js
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,32 @@ | ||
#!/usr/bin/env node | ||
import path from 'path'; | ||
import { fileURLToPath } from 'url'; | ||
import fs from 'fs/promises'; | ||
|
||
const __filename = fileURLToPath(import.meta.url); | ||
const __dirname = path.dirname(__filename); | ||
|
||
const destinationDir = path.resolve(process.cwd(), 'playwright'); | ||
|
||
async function copyPlaywrightFiles () { | ||
try { | ||
try { | ||
await fs.access(destinationDir); | ||
} catch (err) { | ||
await fs.mkdir(destinationDir, { recursive: true }); | ||
} | ||
|
||
const playwrightFiles = ['index.html', 'index.ts']; | ||
playwrightFiles.forEach(async (file) => { | ||
const sourceFile = path.resolve(__dirname, '..', `playwright/${file}`); | ||
const destinationFile = path.resolve(destinationDir, file); | ||
|
||
await fs.copyFile(sourceFile, destinationFile); | ||
console.log(`Playwright ${file} copied successfully.`); | ||
}); | ||
} catch (err) { | ||
console.error('Error copying Playwright files.:', err); | ||
} | ||
} | ||
|
||
copyPlaywrightFiles(); |
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 |
---|---|---|
|
@@ -5,7 +5,6 @@ | |
"keywords": [], | ||
"author": "Just Eat Takeaway.com - Design System Team", | ||
"license": "Apache-2.0", | ||
"packageManager": "[email protected]", | ||
"private": true, | ||
"engines": { | ||
"node": "^16 || ^18 || ^20" | ||
|
@@ -47,6 +46,7 @@ | |
"test:ci": "yarn test:workflows && cross-env-shell turbo run test:ci --filter=!'./apps/examples/*' --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:coverage": "turbo run test:coverage --filter=!pie-monorepo", | ||
"test:generate-routes": "turbo run test:generate-routes --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:browsers-setup": "turbo run test:browsers-setup --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:browsers": "cross-env-shell turbo run test:browsers --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:browsers:ci": "cross-env-shell turbo run test:browsers:ci --filter=!pie-monorepo --token=${TURBO_TOKEN}", | ||
"test:visual": "turbo run test:visual --filter=!pie-monorepo", | ||
|
@@ -129,7 +129,7 @@ | |
}, | ||
"volta": { | ||
"node": "20.9.0", | ||
"yarn": "3.5.0" | ||
"yarn": "3.8.1" | ||
}, | ||
"resolutions": { | ||
"@babel/traverse": "7.22.5", | ||
|
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 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 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 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 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
Oops, something went wrong.