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

Move example to examples/simple #17

Merged
merged 1 commit into from
May 7, 2023
Merged
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
2 changes: 1 addition & 1 deletion .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ jobs:
uses: codecov/codecov-action@v3
with:
token: ${{ secrets.CODECOV_TOKEN }}
files: packages/clock/coverage/lcov.info,example/coverage/lcov.info
files: packages/clock/coverage/lcov.info,examples/simple/coverage/lcov.info
flags: unittests
name: codecov-umbrella
fail_ci_if_error: true
Expand Down
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -232,4 +232,4 @@ sketch

# End of https://www.toptal.com/developers/gitignore/api/react
packages/*/build/*
example/build/*
examples/*/build/*
Expand Down
2 changes: 1 addition & 1 deletion .gitignore.in
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ gibo dump macOS
gibo dump Node
gi react
echo 'packages/*/build/*'
echo 'example/build/*'
echo 'examples/*/build/*'
4 changes: 0 additions & 4 deletions example/tsconfig.json

This file was deleted.

File renamed without changes.
File renamed without changes.
14 changes: 8 additions & 6 deletions example/package.json → examples/simple/package.json
Original file line number Diff line number Diff line change
@@ -1,21 +1,23 @@
{
"name": "example",
"name": "simple",
"version": "0.1.0",
"private": true,
"dependencies": {
"react": "^18.2.0",
"react-dom": "^18.2.0",
"@kitsuyui/react-clock": "file:../../packages/clock"
},
"devDependencies": {
"@testing-library/jest-dom": "^5.14.1",
"@testing-library/react": "^14.0.0",
"@testing-library/user-event": "^14.0.0",
"@types/jest": "^29.0.0",
"@types/node": "^18.0.0",
"@types/react": "^18.0.0",
"@types/react-dom": "^18.0.0",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-scripts": "5.0.1",
"typescript": "^5.0.0",
"web-vitals": "^3.0.0",
"@kitsuyui/react-clock": "file:../packages/clock"
"react-scripts": "5.0.1",
"typescript": "^5.0.0"
},
"scripts": {
"start": "react-scripts start",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions examples/simple/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": "../../tsconfig.json",
"include": ["src"]
}
File renamed without changes.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"workspaces": [
"config/*",
"packages/*",
"example"
"examples/*"
],
"devDependencies": {
"turbo": "^1.9.3"
Expand Down