-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Co-authored-by: Oliver Abrahams <[email protected]> Co-authored-by: James Mockett <[email protected]>
- Loading branch information
1 parent
13eb569
commit 0382052
Showing
287 changed files
with
1,758 additions
and
2,155 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
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,23 @@ | ||
--- | ||
'@guardian/source-react-components-development-kitchen': patch | ||
'@guardian/eslint-plugin-source-react-components': patch | ||
'@guardian/eslint-plugin-source-foundations': patch | ||
'@guardian/eslint-config-typescript': patch | ||
'@guardian/source-react-components': patch | ||
'@guardian/identity-auth-frontend': patch | ||
'@guardian/browserslist-config': patch | ||
'@guardian/source-foundations': patch | ||
'@guardian/cobalt-plugin-ts': patch | ||
'@guardian/newsletter-types': patch | ||
'@guardian/core-web-vitals': patch | ||
'@guardian/design-tokens': patch | ||
'@guardian/eslint-config': patch | ||
'@guardian/identity-auth': patch | ||
'@guardian/ab-react': patch | ||
'@guardian/prettier': patch | ||
'@guardian/tsconfig': patch | ||
'@guardian/ab-core': patch | ||
'@guardian/libs': patch | ||
--- | ||
|
||
Now bundled using [`pkgroll`](https://www.npmjs.com/package/pkgroll). |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,11 +18,18 @@ runs: | |
- run: pnpm install --frozen-lockfile | ||
shell: bash | ||
|
||
# if cypress tests fail _and_ you have an update to the lockfile, you may | ||
# need to do a single run with this uncommented... | ||
# don't forget to check the version. | ||
# i hate cypress. | ||
# - run: pnpm dlx [email protected] install --force | ||
# shell: bash | ||
|
||
# Restores cypress binary cache. If the binary is missing, it will be | ||
# downloaded and cached for next time. | ||
# https://docs.cypress.io/guides/continuous-integration/introduction#Caching | ||
- name: Cache Cypress binary | ||
uses: actions/cache@v4 | ||
with: | ||
path: ~/.cache/Cypress | ||
key: cypress-${{ runner.os }}-${{ hashFiles('pnpm-lock.yaml') }} | ||
key: cypress-${{ runner.os }}-cypress-${{ hashFiles('pnpm-lock.yaml') }} |
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
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
module.exports = { | ||
export default { | ||
'*': 'prettier --ignore-unknown --write --cache', | ||
'package.json': 'sort-package-json', | ||
}; |
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
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 |
---|---|---|
@@ -1,25 +1,10 @@ | ||
import { defineConfig } from 'astro/config'; | ||
import tsConfig from '../../tsconfig.base.json'; | ||
import path from 'node:path'; | ||
|
||
import svelte from '@astrojs/svelte'; | ||
|
||
// duplicate the aliases defined in tsconfig.base.json | ||
let alias = {}; | ||
for (const [module, modulePath] of Object.entries( | ||
tsConfig.compilerOptions.paths, | ||
)) { | ||
alias[module] = path.resolve('../../' + modulePath[0] + '.ts'); | ||
} | ||
|
||
// https://astro.build/config | ||
export default defineConfig({ | ||
site: 'https://guardian.github.io', | ||
base: '/csnx', | ||
integrations: [svelte()], | ||
vite: { | ||
resolve: { | ||
alias, | ||
}, | ||
}, | ||
}); |
Oops, something went wrong.