-
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.
feat: bump to v14, replace Webpack with Vite+SWC+svg-sprite
- Loading branch information
1 parent
6e22efb
commit 473c318
Showing
28 changed files
with
1,724 additions
and
5,592 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 |
---|---|---|
|
@@ -5,4 +5,5 @@ cypress/screenshots | |
cypress/videos | ||
server_killer.rb | ||
yarn-error.log | ||
preview | ||
preview | ||
dist |
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,15 +1,14 @@ | ||
.babelrc | ||
.bundle | ||
.DS_Store | ||
.editorconfig | ||
.eslintrc.js | ||
.pretterrc.json | ||
.prettierignore | ||
lib | ||
modules-config.js | ||
node_modules | ||
preview | ||
release-canditate.sh | ||
release.sh | ||
scripts | ||
webpack.config.js | ||
.swcrc | ||
dist |
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"dest": "dist/core", | ||
"mode": { | ||
"symbol": { | ||
"inline": true, | ||
"sprite": "../sprites" | ||
} | ||
}, | ||
"shape": { | ||
"id": { | ||
"generator": "sprite-%s" | ||
} | ||
} | ||
} |
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 |
---|---|---|
@@ -0,0 +1,12 @@ | ||
{ | ||
"jsc": { | ||
"parser": { | ||
"syntax": "typescript", | ||
"tsx": true, | ||
"decorators": false, | ||
"dynamicImport": false | ||
} | ||
}, | ||
"exclude": [".stories.tsx"], | ||
"minify": true | ||
} |
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 was deleted.
Oops, something went wrong.
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,7 +1,8 @@ | ||
{ | ||
"name": "@ably/ui", | ||
"version": "13.2.2-dev.78815ed", | ||
"version": "14.0.0", | ||
"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.", | ||
"type": "module", | ||
"repository": { | ||
"type": "git", | ||
"url": "git+ssh://[email protected]/ably/ably-ui.git" | ||
|
@@ -15,66 +16,53 @@ | |
"tailwind.extend.js" | ||
], | ||
"devDependencies": { | ||
"@babel/core": "^7.12.3", | ||
"@babel/plugin-transform-regenerator": "^7.12.1", | ||
"@babel/plugin-transform-runtime": "^7.12.10", | ||
"@babel/preset-env": "^7.12.1", | ||
"@babel/preset-react": "^7.12.5", | ||
"@storybook/addon-essentials": "^7.6.4", | ||
"@storybook/addon-interactions": "^7.6.4", | ||
"@storybook/addon-links": "^7.6.4", | ||
"@storybook/addon-styling-webpack": "^0.0.5", | ||
"@storybook/blocks": "^7.6.4", | ||
"@storybook/react": "^7.6.4", | ||
"@storybook/react-webpack5": "^7.6.4", | ||
"@spiriit/vite-plugin-svg-spritemap": "^2.2.4", | ||
"@storybook/addon-essentials": "^7.6.17", | ||
"@storybook/addon-interactions": "^7.6.17", | ||
"@storybook/addon-links": "^7.6.17", | ||
"@storybook/blocks": "^7.6.17", | ||
"@storybook/react": "^7.6.17", | ||
"@storybook/react-vite": "^7.6.17", | ||
"@storybook/test": "^7.6.4", | ||
"@swc/cli": "^0.3.10", | ||
"@swc/core": "^1.4.11", | ||
"@typescript-eslint/eslint-plugin": "^6.21.0", | ||
"@typescript-eslint/parser": "^6.21.0", | ||
"@vitejs/plugin-react": "^4.2.1", | ||
"autoprefixer": "^10.0.2", | ||
"babel-loader": "^8.2.0", | ||
"blink-diff": "^1.0.13", | ||
"commander": "^7.2.0", | ||
"css-loader": "^5.0.0", | ||
"cypress": "^13.3.1", | ||
"eslint": "^7.12.1", | ||
"eslint-config-prettier": "^6.15.0", | ||
"eslint-plugin-cypress": "^2.11.2", | ||
"eslint-plugin-react": "^7.21.5", | ||
"eslint-plugin-storybook": "^0.6.15", | ||
"extra-watch-webpack-plugin": "^1.0.3", | ||
"find-imports": "^1.1.0", | ||
"mini-css-extract-plugin": "^1.2.1", | ||
"msw": "1.3.2", | ||
"msw-storybook-addon": "^1.10.0", | ||
"null-loader": "^4.0.1", | ||
"postcss": "^8.1.10", | ||
"postcss-calc": "^7.0.5", | ||
"postcss-custom-properties": "^10.0.0", | ||
"postcss": "^8.4.35", | ||
"postcss-import": "^13.0.0", | ||
"postcss-loader": "^4.0.4", | ||
"prettier": "^2.3.0", | ||
"storybook": "^7.6.4", | ||
"style-loader": "^3.3.3", | ||
"svg-spritemap-webpack-plugin": "^3.7.1", | ||
"svg-sprite": "^2.0.4", | ||
"tailwindcss": "^3.3.6", | ||
"tsx": "^3.14.0", | ||
"typescript": "5.3.3", | ||
"webpack": "^5.3.2", | ||
"webpack-cli": "^4.2.0", | ||
"yargs": "^16.2.0" | ||
"vite": "^4.5.2" | ||
}, | ||
"scripts": { | ||
"build": "node scripts/build.js", | ||
"build:verbose": "node scripts/build.js -v", | ||
"watch": "node scripts/build.js -w", | ||
"format:check": "yarn prettier -c *.{js,ts} src/**/*.{js,ts,tsx} cypress", | ||
"format:write": "yarn prettier -w *.{js,ts} src/**/*.{js,ts,tsx} cypress", | ||
"build:swc": "swc src/core src/reset -d dist --copy-files --include-dotfiles --strip-leading-paths", | ||
"watch": "yarn build:swc -w", | ||
"build:sprites": "svg-sprite -C .svgspriterc src/core/icons/*.svg", | ||
"build": "yarn build:swc && yarn build:sprites", | ||
"format:check": "prettier -c *.{js,ts} src/**/*.{js,ts,tsx} cypress", | ||
"format:write": "prettier -w *.{js,ts} src/**/*.{js,ts,tsx} cypress", | ||
"lint": "eslint *.{js,ts} src/**/*.{js,ts,tsx} cypress", | ||
"cy:open": "cypress open", | ||
"cy:headless": "cypress run --quiet", | ||
"update:all": "./scripts/update-dependents.sh", | ||
"pre-release": "./scripts/pre-release.sh", | ||
"release": "./scripts/release.sh", | ||
"storybook": "storybook dev -p 6006 --no-version-updates", | ||
"start": "vite --port 5000", | ||
"storybook": "yarn build && storybook dev -p 6006 --no-version-updates", | ||
"build-storybook": "storybook build -o preview" | ||
}, | ||
"dependencies": { | ||
|
Oops, something went wrong.