Skip to content

Commit c6f6c9b

Browse files
authored
chore: update deps 4 12 (#89)
* chore(deps): update deps * docs: clean up and og banner
1 parent 4878a95 commit c6f6c9b

30 files changed

+1572
-955
lines changed

docs/.vitepress/config.ts

Lines changed: 27 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,35 @@
11
import { defineConfig } from 'vitepress'
2-
import Unocss from 'unocss/vite'
3-
import svgLoader from 'vite-svg-loader'
42
import { resolve } from 'pathe'
53
import { templateCompilerOptions } from '@tresjs/core'
64

75
// https://vitepress.dev/reference/site-config
86
export default defineConfig({
97
title: 'Post-processing',
10-
description: 'Post-processing effects for ViteJS',
11-
head: [['link', { rel: 'icon', type: 'image/svg', href: '/favicon.svg' }]],
8+
description: 'Post-processing effects for TresJS',
9+
head: [
10+
['link', { rel: 'icon', type: 'image/svg', href: '/favicon.svg' }],
11+
['meta', { name: 'theme-color', content: '#82DBC5' }],
12+
['meta', { name: 'twitter:card', content: 'summary_large_image' }],
13+
['meta', { name: 'twitter:site', content: '@tresjs_dev' }],
14+
['meta', { name: 'twitter:creator', content: '@tresjs_dev' }],
15+
['meta', { property: 'og:type', content: 'website' }],
16+
['meta', { property: 'og:site_name', content: 'Cientos - TresJS' }],
17+
[
18+
'meta',
19+
{
20+
property: 'og:image',
21+
content: '/og-banner.png',
22+
},
23+
],
24+
[
25+
'meta',
26+
{
27+
property: 'twitter:image',
28+
content: '/og-banner.png',
29+
},
30+
],
31+
['script', { defer: 'true', 'data-site': 'OWBUVCJK', src: 'https://cdn.usefathom.com/script.js' }],
32+
],
1233
themeConfig: {
1334
logo: '/logo.svg',
1435
search: {
@@ -17,7 +38,7 @@ export default defineConfig({
1738
// https://vitepress.dev/reference/default-theme-config
1839
nav: [
1940
{ text: 'Guide', link: '/guide/' },
20-
{ text: 'Examples', link: '/examples' },
41+
{ text: 'Examples', link: 'https://playground.tresjs.org/' },
2142
],
2243

2344
sidebar: [
@@ -42,6 +63,7 @@ export default defineConfig({
4263
socialLinks: [
4364
{ icon: 'twitter', link: 'https://twitter.com/tresjs_dev' },
4465
{ icon: 'discord', link: 'https://discord.gg/UCr96AQmWn' },
66+
{ icon: 'github', link: 'https://github.com/Tresjs/post-processing' },
4567
],
4668
},
4769
vite: {

docs/guide/index.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ This package is not required to use with the core library, but it can make your
1717
::: code-group
1818

1919
```bash [npm]
20-
npm install three @tresjs/post-processing
20+
npm install @tresjs/post-processing
2121
```
2222

2323
```bash [yarn]
24-
yarn add three @tresjs/post-processing
24+
yarn add @tresjs/post-processing
2525
```
2626

2727
```bash [pnpm]
28-
pnpm add three @tresjs/post-processing
28+
pnpm add @tresjs/post-processing
2929
```
3030

3131
:::

docs/index.md

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,8 @@ features:
2020
details: Add post-processing passes and effects with Vue components.
2121
- icon: 🚀
2222
title: Performant
23-
details: Uses pmdrs/postprocessing pkg under the hood for maximum performance.
23+
details: Uses `pmndrs/postprocessing` pkg under the hood for maximum performance.
24+
- icon: 😍
25+
title: Visually awesome
26+
details: Let's face it, it looks super cool.
2427
---

docs/package.json

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -10,15 +10,15 @@
1010
},
1111
"dependencies": {
1212
"@tresjs/cientos": "^3.6.0",
13-
"@tresjs/core": "^3.5.0",
13+
"@tresjs/core": "^3.5.1",
1414
"@tresjs/post-processing": "workspace:^",
15-
"gsap": "^3.12.2"
15+
"gsap": "^3.12.3"
1616
},
1717
"devDependencies": {
18-
"@tresjs/leches": "^0.13.0",
19-
"unocss": "^0.57.4",
20-
"unplugin-vue-components": "^0.25.2",
21-
"vite-svg-loader": "^4.0.0",
22-
"vitepress": "1.0.0-rc.26"
18+
"@tresjs/leches": "^0.14.0",
19+
"unocss": "^0.58.0",
20+
"unplugin-vue-components": "^0.26.0",
21+
"vite-svg-loader": "^5.1.0",
22+
"vitepress": "1.0.0-rc.31"
2323
}
2424
}

docs/public/cientos-banner.png

-25.2 KB
Binary file not shown.
-2.74 MB
Binary file not shown.

docs/public/cientos/box.png

-1.81 KB
Binary file not shown.

docs/public/cientos/circle.png

-22.2 KB
Binary file not shown.

docs/public/cientos/cone.png

-21.5 KB
Binary file not shown.

docs/public/cientos/dodecahedron.png

-24 KB
Binary file not shown.

0 commit comments

Comments
 (0)