Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce Nacara + Rework the structure #1

Open
wants to merge 4 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions .config/dotnet-tools.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,18 @@
"commands": [
"paket"
]
},
"fable": {
"version": "3.4.9",
"commands": [
"fable"
]
},
"femto": {
"version": "0.12.0",
"commands": [
"femto"
]
}
}
}
28 changes: 28 additions & 0 deletions .github/workflows/publish.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
name: Publish
on:
push:
branches:
- master
workflow_dispatch:
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/setup-dotnet@v1
with:
dotnet-version: '5.0.x'
- uses: actions/setup-node@v2
with:
node-version: '14'
- name: Install and use custom npm version
run: npm i -g npm@7
- name: Setup workspace
run: npm install
- name: Build site
run: npm run docs:build
- name: Deploy site
uses: peaceiris/actions-gh-pages@v3
with:
personal_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs_deploy
7 changes: 6 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -375,4 +375,9 @@ MigrationBackup/
.ionide/

# Fody - auto-generated XML schema
FodyWeavers.xsd
FodyWeavers.xsd

docs_deploy/
.nacara
demo/fableBuild/
docs/public/js/
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
File renamed without changes.
12 changes: 12 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,15 @@ femto install Feliz.Tippy
## Demo

A live example can be found [here](https://compositionalit.github.io/feliz-tippy/)

## Development

This repository use NPM scripts to control the build system here is a list of the main scripts available:

| Script | Description |
|---|---|
| `npm run demo:watch` | To use when working on the demo project project or to test the bindings |
| `npm run docs:watch` | To uses when working on the documentation |
| `npm run docs:serve` | To use to test the website locally |

The documentation is being published automatically from the master branch by the CI.
5 changes: 5 additions & 0 deletions babel.config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
{
"presets": [
"@babel/preset-react"
]
}
1 change: 1 addition & 0 deletions demo/.npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
engine-strict=true
Loading