Skip to content

Commit

Permalink
fix website build again
Browse files Browse the repository at this point in the history
  • Loading branch information
feledori committed Oct 9, 2024
1 parent a0dc0df commit 3c8ddba
Show file tree
Hide file tree
Showing 8 changed files with 31 additions and 10 deletions.
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,6 @@
"build": "pnpm build:core && pnpm build:all",
"build:core": "tsup --config tsup.core.ts",
"build:all": "tsup",
"build:website": "pnpm build && pnpm --filter website build",
"dev": "pnpm run -w --parallel /^dev:.*/",
"dev:build": "tsup --watch",
"dev:playground": "pnpm --filter playground dev",
Expand Down
21 changes: 21 additions & 0 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion website/layouts/default/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,11 +4,11 @@ import { CustomHead } from 'components/custom-head'
import { Footer } from 'components/footer'
import { Intro } from 'components/intro'
import { Scrollbar } from 'components/scrollbar'
import Lenis from 'lenis'
import { useStore } from 'lib/store'
import dynamic from 'next/dynamic'
import { useRouter } from 'next/router'
import { useEffect, useState } from 'react'
import Lenis from '../../../dist/lenis.mjs'
import s from './layout.module.scss'

const Cursor = dynamic(
Expand Down
1 change: 1 addition & 0 deletions website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
"clsx": "^1.2.1",
"glslify-loader": "^2.0.0",
"gsap": "npm:@gsap/business@^3.12.4",
"lenis": "^1.1.13",
"leva": "^0.9.34",
"nanoevents": "^7.0.1",
"next": "^13.2.4",
Expand Down
2 changes: 1 addition & 1 deletion website/pages/docs/index.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { useFrame } from '@studio-freight/hamo'
import Lenis from 'lenis'
import { useEffect, useRef, useState } from 'react'
import Lenis from '../../../dist/lenis.mjs'
import s from './docs.module.scss'

export default function Docs() {
Expand Down
4 changes: 2 additions & 2 deletions website/pages/snap/index.js
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
import cn from 'clsx'
import { CustomHead } from 'components/custom-head'
import Lenis from 'lenis'
import Snap from 'lenis/snap'
import { useEffect, useRef } from 'react'
import Snap from '../../../dist/lenis-snap.mjs'
import Lenis from '../../../dist/lenis.mjs'
import s from './snap.module.scss'

export default function Page() {
Expand Down
8 changes: 4 additions & 4 deletions website/public/sitemap-0.xml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9" xmlns:news="http://www.google.com/schemas/sitemap-news/0.9" xmlns:xhtml="http://www.w3.org/1999/xhtml" xmlns:mobile="http://www.google.com/schemas/sitemap-mobile/1.0" xmlns:image="http://www.google.com/schemas/sitemap-image/1.1" xmlns:video="http://www.google.com/schemas/sitemap-video/1.1">
<url><loc>https://lenis.darkroom.engineering</loc><lastmod>2024-10-09T13:45:29.366Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering/docs</loc><lastmod>2024-10-09T13:45:29.367Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering/home</loc><lastmod>2024-10-09T13:45:29.367Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering/snap</loc><lastmod>2024-10-09T13:45:29.367Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering</loc><lastmod>2024-10-09T14:37:18.358Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering/docs</loc><lastmod>2024-10-09T14:37:18.359Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering/home</loc><lastmod>2024-10-09T14:37:18.359Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
<url><loc>https://lenis.darkroom.engineering/snap</loc><lastmod>2024-10-09T14:37:18.359Z</lastmod><changefreq>daily</changefreq><priority>0.7</priority></url>
</urlset>
2 changes: 1 addition & 1 deletion website/public/sw.js

Large diffs are not rendered by default.

1 comment on commit 3c8ddba

@github-actions
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

"⚡️ Lighthouse report for the changes in this commit:

🟠 Performance: 53
🟢 Accessibility: 100
🟠 Best practices: 79
🟢 SEO: 92

Lighthouse ran on https://vercel.com/login?next=%2Fsso-api%3Furl%3Dhttps%253A%252F%252Flenis-7wzxpqvyg-darkroom-engineering.vercel.app%252F%26nonce%3Db061e6924449d9684a622c0b9b62849f2622e42e7b2b66d2b0d36ae026e42e57"

Please sign in to comment.