Skip to content

Commit 32d955d

Browse files
author
“andresin87”
committed
chore(Root): upgrade sui-studio v10
1 parent a943c1b commit 32d955d

File tree

8 files changed

+28
-6
lines changed

8 files changed

+28
-6
lines changed

README.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# SUI Documentation Library
2+
3+
<img src="https://avatars2.githubusercontent.com/u/13288987?s=200&v=4" alt="SUI Logo" width="150">
4+
5+
SUI Documentation Library is an Open-Source, high quality library of React components for easy documentation.
6+
7+
## ⚙️ Minimum requirements
8+
- ![node](https://shields.io/badge/node-v16+-lightgray?logo=node-dot-js&logoWidth=20&style=for-the-badge)
9+
- ![npm](https://shields.io/badge/npm-v7+-lightgrey?logo=npm&logoWidth=20&style=for-the-badge)
10+
11+
## 🖥 Environment Support
12+
13+
- Modern browsers and Internet Explorer 11+ (with [polyfills](https://github.com/SUI-Components/sui/tree/master/packages/sui-polyfills))
14+
- Server-side Rendering
15+
16+
## ✨ Features
17+
18+
- Well-tested, production ready presentational React components.
19+
- Customizable components using css custom properties.

components/documentation/library/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
"description": "",
55
"main": "lib/main.js",
66
"scripts": {
7-
"prepare": "npx rimraf ./lib && npm run build:js && npm run build:styles && npm run doc && ./scripts/copyFiles.js \"src/components/**/!(*.*).md\" \"src\" \"lib\"",
8-
"build:js": "../../../node_modules/.bin/babel --presets sui ./src --out-dir ./lib",
9-
"build:styles": "../../../node_modules/.bin/cpx './src/**/*.scss' ./lib",
7+
"prepare": "npm run build:js && npm run build:styles",
8+
"build:js": "babel --presets sui ./src --out-dir ./lib",
9+
"build:styles": "cpx './src/**/*.scss' ./lib",
1010
"prettier:js": "npx prettier --write src/**/*.js",
1111
"doc": "./scripts/findComponents.js | ./scripts/docComponents.js",
1212
"test": "jest",

components/globals.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
// globals file

package.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,16 @@
66
"scripts": {
77
"build": "sui-studio build",
88
"check:release": "sui-studio check-release",
9-
"co": "sui-studio commit",
9+
"co": "sui-mono commit",
1010
"commitmsg": "validate-commit-msg",
1111
"dev": "sui-studio dev",
12+
"generate": "sui-studio generate -S s-ui -P react",
1213
"lint": "npm run lint:js && npm run lint:sass",
1314
"lint:js": "sui-lint js",
1415
"lint:sass": "sui-lint sass",
1516
"phoenix": "npx @s-ui/mono@2 run 'rm -rf ./node_modules' && rm -rf ./node_modules && npm install --legacy-peer-deps",
16-
"release": "sui-studio release",
17+
"phoenix:ci": "npm run phoenix -- --no-optional --no-fund --no-audit",
18+
"release": "sui-mono release",
1719
"start": "sui-studio start",
1820
"storybook:start": "start-storybook -p 6006 -c components/documentation/library/.storybook/",
1921
"storybook:build": "build-storybook -o dist/storybook",
@@ -33,7 +35,7 @@
3335
"@s-ui/helpers": "1",
3436
"@s-ui/mono": "1",
3537
"@s-ui/precommit": "2",
36-
"@s-ui/studio": "9",
38+
"@s-ui/studio": "10",
3739
"@storybook/addon-actions": "6",
3840
"@storybook/addon-essentials": "6",
3941
"@storybook/addon-links": "6",

0 commit comments

Comments
 (0)