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

New repos struct (depends of #105) #109

Merged
merged 4 commits into from
Jul 8, 2022
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
7 changes: 7 additions & 0 deletions .babelrc
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"presets": [
"@babel/preset-env",
"@babel/preset-typescript",
"@babel/preset-react"
]
}
7 changes: 0 additions & 7 deletions .babelrc.js

This file was deleted.

11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,14 @@ jobs:
uses: actions/setup-node@v1
with:
node-version: ${{ matrix.node-version }}
- name: install
run: npm ci --legacy-peer-deps

- uses: pnpm/action-setup@v2.1.0
with:
version: 6.32.11
run_install: true

- name: build
run: npm run compile
run: npm run build

- name: test
run: npm run test
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ node_modules
tsconfig.tsbuildinfo
.cache
dist
example/dist
example-client/dist
.parcel-cache
1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
strict-peer-dependencies=false
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@ const FooPage = forwardRef((props, handleRef) => {
const componentName = "FooPage";
const rootRef = useRef(null);

// create custom page transitions (example with GSAP)
// create custom page transitions (example-client with GSAP)
const playIn = () => {
return new Promise((resolve) => {
gsap.from(rootRef.current, { autoAlpha: 0, onComplete: resolve });
Expand Down
174 changes: 0 additions & 174 deletions example-ssr/src/helpers/useFetchApi.ts

This file was deleted.

144 changes: 0 additions & 144 deletions example-ssr/src/helpers/useGetStaticProps.ts

This file was deleted.

2 changes: 1 addition & 1 deletion example/index.html → examples/example-client/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@

<body>
<div id="root"></div>
<script type="module" src="./index.tsx"></script>
<script type="module" src="/src/index.tsx"></script>
</body>
</html>
Loading