Skip to content

Commit c631c5b

Browse files
authored
Variants API, camelCase support for mods, mod parsing fixes (#300)
1 parent 924b50f commit c631c5b

File tree

17 files changed

+691
-326
lines changed

17 files changed

+691
-326
lines changed

.changeset/tall-colts-brake.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@cube-dev/ui-kit": minor
3+
---
4+
5+
Variants API, camelCase support for mods, nested mods support.

.github/workflows/main.yml

+4
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ concurrency: ${{ github.workflow }}-${{ github.ref }}
1010
jobs:
1111
publish:
1212
runs-on: ubuntu-latest
13+
env:
14+
NODE_OPTIONS: --max-old-space-size=4096
1315
outputs:
1416
published: ${{ steps.changesets.outputs.published }}
1517
steps:
@@ -48,6 +50,7 @@ jobs:
4850
name: Chromatic Production
4951
url: ${{ steps.publish_chromatic.outputs.url }}
5052
env:
53+
NODE_OPTIONS: --max-old-space-size=4096
5154
CHROMATIC_RETRIES: 5
5255
steps:
5356
- uses: actions/checkout@v2
@@ -94,6 +97,7 @@ jobs:
9497
name: Docs Production
9598
url: ${{ steps.publish_docs.outputs.NETLIFY_PREVIEW_URL }}
9699
env:
100+
NODE_OPTIONS: --max-old-space-size=4096
97101
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID }}
98102
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
99103
steps:

.github/workflows/pull-request.yml

+2
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ jobs:
1313
build:
1414
name: 'Build & canary release'
1515
runs-on: ubuntu-latest
16+
env:
17+
NODE_OPTIONS: --max-old-space-size=4096
1618
environment:
1719
name: Canary package in NPM
1820
url: https://www.npmjs.com/package/@cube-dev/ui-kit/v/${{ steps.publish.outputs.version }}

.github/workflows/size-limit.yml

+2-1
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@ jobs:
1717
NETLIFY_SITE_ID: ${{ secrets.NETLIFY_SITE_ID_STATOSCOPE }}
1818
NETLIFY_AUTH_TOKEN: ${{ secrets.NETLIFY_AUTH_TOKEN }}
1919
REPORT_FOLDER: './size-limit-report'
20+
NODE_OPTIONS: --max-old-space-size=4096
2021
steps:
2122
- uses: actions/checkout@v3
2223

@@ -97,4 +98,4 @@ jobs:
9798
if: steps.measure_size.outcome != 'success'
9899
run: |
99100
echo "Size limit has been exceeded"
100-
exit 1
101+
exit 1

0 commit comments

Comments
 (0)