Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DEP Upgrade frontend build stack #481

Merged

Conversation

GuySartorelli
Copy link
Member

import React from 'react';

export default ({ color = 'currentColor', size = '3em' }) => (
<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512" height={size} width={size}>
<g fill={color}>
{/* eslint-ignore-line max-len */}
Copy link
Member Author

Choose a reason for hiding this comment

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

This wasn't being picked up anymore

Comment on lines +300 to +301
case SCREEN_INTRODUCTION:
default:
Copy link
Member Author

Choose a reason for hiding this comment

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

default has to be the last case to pass linting

Comment on lines -71 to +87
".*": "babel-jest"
".[jt]s[mx]?$": "babel-jest"
Copy link
Member Author

Choose a reason for hiding this comment

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

Leaving this as .* resulted in babel thinking the json imports were meant to be javascript, and tests were failing for missing semicolons in the json data.

@GuySartorelli GuySartorelli force-pushed the pulls/5/frontend-build-stack branch from 34962d8 to 53c786e Compare January 27, 2023 00:06
@emteknetnz emteknetnz merged commit a86914c into silverstripe:5 Jan 30, 2023
@emteknetnz emteknetnz deleted the pulls/5/frontend-build-stack branch January 30, 2023 01:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants