-
Notifications
You must be signed in to change notification settings - Fork 120
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Convert Design System project to Rush monorepo (#929)
- Loading branch information
Showing
308 changed files
with
33,905 additions
and
44,916 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -0,0 +1,14 @@ | ||
# Don't allow people to merge changes to these generated files, because the result | ||
# may be invalid. You need to run "rush update" again. | ||
pnpm-lock.yaml merge=binary | ||
shrinkwrap.yaml merge=binary | ||
npm-shrinkwrap.json merge=binary | ||
yarn.lock merge=binary | ||
|
||
# Rush's JSON config files use JavaScript-style code comments. The rule below prevents pedantic | ||
# syntax highlighters such as GitHub's from highlighting these comments as errors. Your text editor | ||
# may also require a special configuration to allow comments in JSON. | ||
# | ||
# For more information, see this issue: https://github.com/microsoft/rushstack/issues/1088 | ||
# | ||
*.json linguist-language=JSON-with-Comments |
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 |
---|---|---|
|
@@ -17,30 +17,33 @@ jobs: | |
- name: Use Node.js ${{ matrix.node-version }} | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: 10.x | ||
node-version: 12.x | ||
|
||
- name: NPM Install | ||
working-directory: docs | ||
run: npm install | ||
- name: PNPM cache via actions/cache@v2 | ||
id: pnpm-cache | ||
uses: actions/cache@v2 | ||
with: | ||
path: /home/runner/work/design-system/design-system/common/temp/pnpm-store/v3 | ||
key: rush-pnpm-cache | ||
restore-keys: rush-pnpm-cache | ||
|
||
- name: Install dependencies | ||
run: node common/scripts/install-run-rush.js install | ||
|
||
- name: Build components | ||
run: node common/scripts/install-run-rush.js build | ||
|
||
- name: Build docsite | ||
working-directory: docs | ||
env: | ||
NODE_ENV: production | ||
run: | | ||
npm run build | ||
touch out/.nojekyll | ||
run: node common/scripts/install-run-rush.js build:docs | ||
|
||
- name: Build static Storybook | ||
working-directory: ./ | ||
run: | | ||
npm install | ||
npm run storybook | ||
run: node common/scripts/install-run-rush.js build:storybook | ||
|
||
- name: Push build directory to GitHub Pages branch | ||
uses: s0/[email protected] | ||
env: | ||
REPO: self | ||
BRANCH: gh-pages | ||
FOLDER: docs/out | ||
FOLDER: apps/docs/out | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_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
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,24 +1,75 @@ | ||
node_modules | ||
npm-debug.log | ||
lerna-debug.log | ||
yarn.lock | ||
coverage | ||
dist | ||
.history | ||
.vscode | ||
.idea | ||
icons.json | ||
.ssh | ||
.DS_Store | ||
*/.DS_Store | ||
tmp | ||
log | ||
.settings | ||
id_rsa | ||
id_rsa.pub | ||
known_hosts | ||
id_rs* | ||
*ssh* | ||
packages/**/package-lock.json | ||
.npmrc | ||
|
||
# Logs | ||
*.log | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Runtime data | ||
*.pid | ||
*.seed | ||
*.pid.lock | ||
|
||
# Directory for instrumented libs generated by jscoverage/JSCover | ||
lib-cov | ||
|
||
# Coverage directory used by tools like istanbul | ||
coverage | ||
|
||
# nyc test coverage | ||
.nyc_output | ||
|
||
# Grunt intermediate storage (http://gruntjs.com/creating-plugins#storing-task-files) | ||
.grunt | ||
|
||
# Bower dependency directory (https://bower.io/) | ||
bower_components | ||
|
||
# node-waf configuration | ||
.lock-wscript | ||
|
||
# Compiled binary addons (https://nodejs.org/api/addons.html) | ||
build/Release | ||
|
||
# Dependency directories | ||
node_modules/ | ||
jspm_packages/ | ||
|
||
# Optional npm cache directory | ||
.npm | ||
|
||
# Optional eslint cache | ||
.eslintcache | ||
|
||
# Optional REPL history | ||
.node_repl_history | ||
|
||
# Output of 'npm pack' | ||
*.tgz | ||
|
||
# Yarn Integrity file | ||
.yarn-integrity | ||
|
||
# dotenv environment variables file | ||
.env | ||
|
||
# next.js build output | ||
.next | ||
|
||
# OS X temporary files | ||
.DS_Store | ||
|
||
# Rush temporary files | ||
common/deploy/ | ||
common/temp/ | ||
common/autoinstallers/*/.npmrc | ||
**/.rush/temp/ | ||
|
||
# build output | ||
**/dist/ | ||
|
||
apps/docs/out/ | ||
|
||
# SVGR intermediate build steps | ||
packages/icons/components/ | ||
|
||
.vscode |
Oops, something went wrong.