-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f32c2c
commit 906fb6a
Showing
12 changed files
with
10,829 additions
and
9,057 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,10 +18,14 @@ jobs: | |
- uses: actions/checkout@v2 | ||
with: | ||
ref: "main" | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- uses: actions/setup-node@v4 | ||
with: | ||
node-version: 20 | ||
- run: npm install -g yarn | ||
cache: "pnpm" | ||
- name: Release latest Ably UI version | ||
env: | ||
NPM_TOKEN: ${{ secrets.NPM_TOKEN }} | ||
|
@@ -39,8 +43,12 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- name: Build | ||
run: yarn && yarn build-storybook | ||
run: pnpm i && pnpm build-storybook | ||
- name: Upload | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -20,8 +20,12 @@ jobs: | |
steps: | ||
- name: Checkout | ||
uses: actions/checkout@v4 | ||
- name: Install pnpm | ||
uses: pnpm/action-setup@v4 | ||
with: | ||
version: 9 | ||
- name: Build | ||
run: yarn && yarn build-storybook | ||
run: pnpm i && pnpm build-storybook | ||
- name: Upload | ||
uses: actions/[email protected] | ||
with: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
public-hoist-pattern[]=*storybook* | ||
//registry.npmjs.org/:_authToken=${NPM_TOKEN} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,2 @@ | ||
nodejs 20.13.1 | ||
yarn 1.22.22 | ||
pnpm 9.14.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,6 +2,7 @@ | |
"name": "@ably/ui", | ||
"version": "15.0.1", | ||
"description": "Home of the Ably design system library ([design.ably.com](https://design.ably.com)). It provides a showcase, development/test environment and a publishing pipeline for different distributables.", | ||
"packageManager": "[email protected]", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://[email protected]/ably/ably-ui.git" | ||
|
@@ -33,6 +34,7 @@ | |
"@types/dompurify": "^3.0.5", | ||
"@types/js-cookie": "^3.0.6", | ||
"@types/lodash.throttle": "^4.1.9", | ||
"@types/react": "^18.3.12", | ||
"@types/react-dom": "^18.3.0", | ||
"@types/svg-sprite": "^0.0.39", | ||
"@typescript-eslint/eslint-plugin": "^7.0.0", | ||
|
@@ -63,19 +65,19 @@ | |
"build:tsc": "tsc && node tsc.js && rm -r types", | ||
"build:cleanup": "mv dist/* . && rm -r dist", | ||
"build:sprites": "ts-node scripts/generate-sprites.ts", | ||
"build": "yarn build:prebuild && yarn build:sprites && yarn build:swc && yarn build:tsc && yarn build:cleanup", | ||
"watch": "yarn build:swc -w", | ||
"build": "pnpm build:prebuild && pnpm build:sprites && pnpm build:swc && pnpm build:tsc && pnpm build:cleanup", | ||
"watch": "pnpm build:swc -w", | ||
"format:check": "prettier -c *.{js,ts} src/**/*.{js,ts,tsx}", | ||
"format:write": "prettier -w *.{js,ts} src/**/*.{js,ts,tsx}", | ||
"lint": "eslint *.{js,ts} src/**/*.{js,ts,tsx}", | ||
"update:all": "./scripts/update-dependents.sh", | ||
"pre-release": "./scripts/pre-release.sh", | ||
"release": "./scripts/release.sh", | ||
"start": "vite --port 5000", | ||
"storybook": "yarn build && storybook dev -p 6006", | ||
"build-storybook": "yarn build && storybook build --quiet -o preview", | ||
"test": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook && yarn http-server preview --port 6007 --silent\" \"wait-on tcp:6007 && yarn test-storybook --url http://127.0.0.1:6007\"", | ||
"test:update-snapshots": "npx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"yarn build-storybook && yarn http-server preview --port 6007 --silent\" \"wait-on tcp:6007 && yarn test-storybook -u --url http://127.0.0.1:6007\"" | ||
"storybook": "pnpm build && storybook dev -p 6006", | ||
"build-storybook": "pnpm build && storybook build --quiet -o preview", | ||
"test": "pnpx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm build-storybook && pnpm http-server preview --port 6007 --silent\" \"pnpx wait-on tcp:6007 && pnpm test-storybook --url http://127.0.0.1:6007\"", | ||
"test:update-snapshots": "pnpx concurrently -k -s first -n \"SB,TEST\" -c \"magenta,blue\" \"pnpm build-storybook && pnpm http-server preview --port 6007 --silent\" \"pnpx wait-on tcp:6007 && pnpm test-storybook -u --url http://127.0.0.1:6007\"" | ||
}, | ||
"dependencies": { | ||
"@radix-ui/react-accordion": "^1.2.1", | ||
|
Oops, something went wrong.