-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #5 from CompositionalIT/update-to-v1
Update to v1
- Loading branch information
Showing
6 changed files
with
57 additions
and
478 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: Build | ||
|
||
on: | ||
pull_request: | ||
branches: [ main ] | ||
|
||
jobs: | ||
build: | ||
|
||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Check out | ||
uses: actions/checkout@v4 | ||
|
||
- name: Restore tools | ||
run: dotnet tool restore | ||
|
||
- name: Build | ||
run: dotnet build --configuration Release | ||
|
||
- name: Restore demo tools | ||
run: dotnet tool restore | ||
working-directory: ./demo | ||
|
||
- name: Build Demo | ||
run: npm run build | ||
working-directory: ./demo |
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,15 +1,17 @@ | ||
# Setup | ||
|
||
Run the following commands | ||
|
||
`dotnet tool restore` | ||
|
||
`npm run start` | ||
|
||
## Components.fs | ||
All styling has been done, you should just need to use the `StyledComponents` module | ||
All styling has been done, you should just need to use the `StyledComponents` module | ||
|
||
- Navbar | ||
- Description (update name and npm/nuget links) | ||
- Demo (react-wrapper) | ||
- Props (any props you'd like to demo) | ||
- Installation (`cd ./project` + `femto install XXX`) | ||
- Sample code | ||
|
||
## Deploying | ||
- In the `publish.js` update the repo link to the relevant wrapper | ||
- `npm run publish-docs` will deploy the docs | ||
- Sample code |
Oops, something went wrong.