-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' of github.com:dxc-technology/halstack-react int…
…o Mil4n0r/tooltip-actionicon
- Loading branch information
Showing
2,145 changed files
with
56,453 additions
and
92,387 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
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
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,3 +1,42 @@ | ||
app/cypress/snapshots/detailed-visual-regression.js/__diff_output__/ | ||
/node_modules | ||
/dist | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# Dependencies | ||
node_modules | ||
.pnp | ||
.pnp.js | ||
|
||
# Local env files | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
|
||
# Testing | ||
coverage | ||
|
||
# Turbo | ||
.turbo | ||
|
||
# Vercel | ||
.vercel | ||
|
||
# Build Outputs | ||
.next/ | ||
out/ | ||
build | ||
dist | ||
|
||
|
||
# Debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
|
||
# Misc | ||
.DS_Store | ||
*.pem | ||
|
||
# Storybook | ||
*storybook.log | ||
storybook-static |
File renamed without changes.
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,68 @@ | ||
<p align="center"> | ||
<a href="https://developer.dxc.com/halstack/"> | ||
<img src="apps/website/screens/common/images/halstack_logo.svg" alt="Halstack Design System logo" /> | ||
</a> | ||
</p> | ||
|
||
<h1 align="center">Local environment</h1> | ||
|
||
Halstack has become a monorepo, so the development environment has changed. Now, the library and the example application are in the same repository, and the library is built and linked to the example application. | ||
|
||
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. | ||
|
||
## Before start working | ||
|
||
Remember to read [the documentation site](https://developer.dxc.com/halstack/) carefully before trying to modify any Halstack implementation, documentation or examples. | ||
|
||
## Monorepo structure | ||
|
||
The monorepo is structured as follows (some folders and files are omitted for explanation purposes): | ||
|
||
```bash | ||
📂 apps | ||
📂 website # Contains our Next.js documentation site application | ||
📂 packages | ||
📂 cloudscape-themed # Contains Cloudscape components themed by Halstack | ||
📂 lib # Contains halstack-react component library | ||
📄 package.json # Root package.json | ||
📄 package-lock.json # Root package-lock.json | ||
📄 turbo.json # <turbo> command configuration file | ||
``` | ||
|
||
There are two main folders here: | ||
|
||
- `apps`: Contains website and any other future Halstack-related app. | ||
- `packages`: Contains all the libraries that Halstack is composed of. | ||
|
||
## Getting Started | ||
|
||
Install the dependencies of the project: | ||
|
||
```bash | ||
npm install | ||
``` | ||
|
||
Install turbo globally so you can conveniently run turbo commands in your terminal from anywhere in your repository: | ||
|
||
```bash | ||
npm install turbo --global | ||
``` | ||
|
||
In any case, all the commands can be run using `npm run` instead of `turbo`. | ||
|
||
## Commands | ||
|
||
Here is a list of the most common commands you will use: | ||
|
||
- `turbo build` - Build the library. | ||
- `turbo dev` - Start the development server. | ||
- `turbo format` - Run the Prettier formatter. | ||
- `turbo lint` - Run the linter. | ||
- `turbo storybook` - Start the Storybook server. | ||
- `turbo storybook:accessibility` - Run the accessibility tests on Storybook. | ||
- `turbo storybook:accessibility:ci` - Run the accessibility tests on Storybook in CI mode. | ||
- `turbo storybook:build` - Build the Storybook. | ||
- `turbo storybook:deploy` - Deploy the Storybook to GitHub Pages. | ||
- `turbo test` - Run the tests. | ||
- `turbo test:accessibility` - Run the accessibility tests. | ||
- `turbo test:watch` - Run the tests in watch mode. |
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
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.