Skip to content

Commit

Permalink
Re-add node 18 (#147)
Browse files Browse the repository at this point in the history
* wip

* prettify icons

* Update PlusSmall.svg

* wip

* docs and playroom package build with node 18

* lint fixes

* ci job node version bump

* fix missing node polyfill for playroom

* reset icons

* remove playroom snippets

* remove playroom package

* remove playroom references in docs package

* remove playroom references from configs

* fix missing avatars

* remove write snippets file functon from scripts

* fix tests

* clean up tooling to use yarn publish rather than npm

* set node version in package json

* use npm publish

---------

Co-authored-by: Cash Baller <[email protected]>
  • Loading branch information
nathanielgrossman and cashd authored Jun 30, 2023
1 parent e5435b4 commit fba9193
Show file tree
Hide file tree
Showing 65 changed files with 5,642 additions and 9,783 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
docs/.next/
docs/public/playroom/

components/dist/
components/coverage/
Expand Down
6 changes: 1 addition & 5 deletions .eslintrc
Original file line number Diff line number Diff line change
Expand Up @@ -114,11 +114,7 @@
"import/resolver": {
"typescript": {
"alwaysTryTypes": true,
"project": [
"components/tsconfig.json",
"docs/tsconfig.json",
"playroom/tsconfig.json"
]
"project": ["components/tsconfig.json", "docs/tsconfig.json"]
}
},
"react": {
Expand Down
6 changes: 3 additions & 3 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ jobs:
needs: lint
strategy:
matrix:
node-version: [14]
node-version: [18]
steps:
- uses: actions/checkout@v3
- name: Set up Node ${{ matrix.node-version }}
Expand All @@ -30,7 +30,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14]
node-version: [18]
steps:
- uses: actions/checkout@v3
- name: Set up Node ${{ matrix.node-version }}
Expand All @@ -51,7 +51,7 @@ jobs:
needs: lint
strategy:
matrix:
node-version: [14]
node-version: [18]
steps:
- uses: actions/checkout@v3
- name: Set up Node ${{ matrix.node-version }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node-version: [14]
node-version: [18]
steps:
- uses: actions/checkout@v3
with:
Expand All @@ -32,7 +32,7 @@ jobs:
- name: Bump version to ${{ github.event.release.tag_name }}
run: |
cd components
npm version ${{ github.event.release.tag_name }}
yarn version ${{ github.event.release.tag_name }}
git add package.json
git commit -m "${{ github.event.release.tag_name }}"
- name: Publish
Expand Down
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ yarn-debug.log*
yarn-error.log*

docs/.next/
docs/public/playroom/

components/dist/
components/coverage/
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
14.18.2
18.16.0
4 changes: 3 additions & 1 deletion .prettierignore
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
docs/.next/
docs/public/playroom/

components/dist/
components/coverage/
components/src/components/icons/generated/

.yarn/*
yarn.lock

icons
*.svg
12 changes: 0 additions & 12 deletions .yarn/patches/playroom.patch

This file was deleted.

550 changes: 550 additions & 0 deletions .yarn/plugins/@yarnpkg/plugin-version.cjs

Large diffs are not rendered by default.

874 changes: 874 additions & 0 deletions .yarn/releases/yarn-3.6.0.cjs

Large diffs are not rendered by default.

631 changes: 0 additions & 631 deletions .yarn/releases/yarn-berry.cjs

This file was deleted.

4 changes: 3 additions & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,7 @@ plugins:
spec: '@yarnpkg/plugin-typescript'
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
spec: '@yarnpkg/plugin-workspace-tools'
- path: .yarn/plugins/@yarnpkg/plugin-version.cjs
spec: '@yarnpkg/plugin-version'

yarnPath: .yarn/releases/yarn-berry.cjs
yarnPath: .yarn/releases/yarn-3.6.0.cjs
16 changes: 0 additions & 16 deletions components/src/components/Avatar/Avatar.snippets.tsx

This file was deleted.

28 changes: 0 additions & 28 deletions components/src/components/AvatarGroup/AvatarGroup.snippets.tsx

This file was deleted.

12 changes: 0 additions & 12 deletions components/src/components/Box/Box.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/Button/Button.snippets.tsx

This file was deleted.

19 changes: 0 additions & 19 deletions components/src/components/ButtonCard/ButtonCard.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/Card/Card.snippets.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions components/src/components/Field/Field.snippets.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions components/src/components/FieldSet/FieldSet.snippets.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions components/src/components/FileInput/FileInput.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/Heading/Heading.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/Input/Input.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/MediaPicker/MediaPicker.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/NumericSelect/NumericSelect.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/Range/Range.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/Skeleton/Skeleton.snippets.tsx

This file was deleted.

16 changes: 0 additions & 16 deletions components/src/components/SkeletonGroup/SkeletonGroup.snippets.tsx

This file was deleted.

11 changes: 0 additions & 11 deletions components/src/components/Spinner/Spinner.snippets.tsx

This file was deleted.

15 changes: 0 additions & 15 deletions components/src/components/Stack/Stack.snippets.tsx

This file was deleted.

2 changes: 1 addition & 1 deletion components/src/components/Stack/Stack.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export const validStackComponents = [
] as const

type Props = {
as?: typeof validStackComponents[number]
as?: (typeof validStackComponents)[number]
align?: BoxProps['alignItems']
children: ReactNodeNoStrings
direction?: OptionalResponsiveValue<Direction>
Expand Down
Loading

1 comment on commit fba9193

@vercel
Copy link

@vercel vercel bot commented on fba9193 Jun 30, 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.