Skip to content

Commit f8e8abd

Browse files
authored
Use webpack to minify output and apply babel-plugin-styled-components (#1438)
* Use webpack to minify output and apply babel-plugin-sstyled-components Add minHeight/maxHeight/minWidth/maxWidth support to Image * purge the barrel files and restore the ToastProvider tests and stories
1 parent c896d05 commit f8e8abd

File tree

341 files changed

+2076
-1983
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

341 files changed

+2076
-1983
lines changed

.github/workflows/chromatic-ci.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ jobs:
88
runs-on: ubuntu-latest
99

1010
steps:
11-
- uses: actions/checkout@v3
11+
- uses: actions/checkout@v4
1212
with:
1313
fetch-depth: 0 # needed by chromatic for git history
1414

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ jobs:
3939

4040
steps:
4141
- name: Checkout repository
42-
uses: actions/checkout@v3
42+
uses: actions/checkout@v4
4343

4444
# Initializes the CodeQL tools for scanning.
4545
- name: Initialize CodeQL

.github/workflows/continuous-integration.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ jobs:
1414
node-version: [18.x]
1515

1616
steps:
17-
- uses: actions/checkout@v3
17+
- uses: actions/checkout@v4
1818
with:
19-
fetch-depth: 0 # needed by chromatic for git history
19+
fetch-depth: 0
2020

2121
- name: Use Node.js ${{ matrix.node-version }}
2222
uses: actions/setup-node@v3

.github/workflows/npm-publish-beta.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,9 @@ jobs:
2020
steps:
2121
# Checks out a copy of your repository on the ubuntu-latest machine
2222
- name: Checkout code
23-
uses: actions/checkout@v3
23+
uses: actions/checkout@v4
2424
with:
25-
fetch-depth: 0
25+
fetch-depth: 1
2626
token: ${{ secrets.GH_PAT }}
2727

2828
- uses: actions/setup-node@v3

.github/workflows/npm-publish.yaml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,9 @@ jobs:
1919
steps:
2020
# Checks out a copy of your repository on the ubuntu-latest machine
2121
- name: Checkout code
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323
with:
24-
fetch-depth: 0
24+
fetch-depth: 2
2525
token: ${{ secrets.GH_PAT }}
2626

2727
- uses: actions/setup-node@v3

.github/workflows/on-main.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ jobs:
99
runs-on: ubuntu-latest
1010

1111
steps:
12-
- uses: actions/checkout@v3
12+
- uses: actions/checkout@v4
1313
with:
1414
fetch-depth: 0
1515

.github/workflows/release-branch.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
steps:
2020
# Checks out a copy of your repository on the ubuntu-latest machine
2121
- name: Checkout code
22-
uses: actions/checkout@v3
22+
uses: actions/checkout@v4
2323

2424
- uses: actions/setup-node@v3
2525
with:

apps/storybook/.storybook/decorators.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { Box, ThemeProvider } from 'pcln-design-system'
1+
import { Box, ThemeProvider } from 'pcln-design-system/lib'
22
import React from 'react'
33

44
const ThemeProviderDecorator = (Story) => (

apps/storybook/.storybook/parameters/backgrounds.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { createTheme } from 'pcln-design-system'
1+
import { createTheme } from 'pcln-design-system/lib'
22
const baseTheme = createTheme()
33

44
export const backgrounds = {
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
<div id="ToastProviderRoot"></div>

0 commit comments

Comments
 (0)