Skip to content

Commit

Permalink
Backport two minor fixes to v6 (#2059)
Browse files Browse the repository at this point in the history
  • Loading branch information
connor-baer authored Apr 24, 2023
1 parent 0ce369a commit 86c309c
Show file tree
Hide file tree
Showing 4 changed files with 12 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .changeset/great-papayas-cross.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/circuit-ui': patch
---

Removed an internal cyclic dependency.
5 changes: 5 additions & 0 deletions .changeset/ninety-glasses-notice.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@sumup/cna-template': patch
---

Fixed the `postinstall` script to initialize Foundry.
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import { css } from '@emotion/react';

import { useStack, StackItem } from '../../hooks/useStack';
import styled, { StyleProps } from '../../styles/styled';
import { spacing } from '../..';
import { spacing } from '../../styles/style-mixins';

import { BaseToastProps, ToastComponent } from './types';

Expand Down
2 changes: 1 addition & 1 deletion packages/cna-template/template/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "next start",
"test": "jest --watch",
"test:ci": "mkdir -p __reports__ && jest --ci --coverage --runInBand --json --outputFile=__reports__/jest-results.json --reporters default --reporters \"github-actions\"",
"postinstall": "npm run foundry init -- --presets lint; echo \"Remove the postinstall script from the package.json file after setting up Foundry.\""
"postinstall": "npx foundry init -- --presets lint; echo \"Remove the postinstall script from the package.json file after setting up Foundry.\""
},
"dependencies": {
"@emotion/css": "^11.10.5",
Expand Down

1 comment on commit 86c309c

@vercel
Copy link

@vercel vercel bot commented on 86c309c Apr 24, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.