Skip to content

Commit 7ae728c

Browse files
chore(vue): Upgrade to Vue 3
Co-Authored-By: Florian Wendelborn <[email protected]>
1 parent a8c4210 commit 7ae728c

File tree

300 files changed

+8226
-15568
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

300 files changed

+8226
-15568
lines changed

README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,11 @@
1010
</p>
1111

1212
<table border="0" width="100%">
13+
<colgroup>
1314
<col style="width:33%">
1415
<col style="width:33%">
1516
<col style="width:33%">
17+
</colgroup>
1618
<tbody>
1719
<tr style="border: 0px !important;">
1820
<td valign="top" style="border: 0px !important;"><b>Complete</b>. The most commonly-needed components are implemented in Kotti. More components will be implemented when there is a specific need for them.</td>
@@ -121,10 +123,10 @@ yarn workspace @3yourmind/documentation run serve
121123

122124
There are two workflows to help with rebasing pull requests:
123125

124-
1. Rebase
126+
1. Rebase
125127
Commenting `/rebase` on any pull request will trigger a GitHub Action that rebases the PR.
126128
This is best used when attempting to rebase a PR without auto-rebase before merging.
127-
2. Auto-Rebase
129+
2. Auto-Rebase
128130
Adding the `autorebase:opt-in` label to any pull request will automatically rebase the PR as soon as it’s out-of-date.
129131
This should preferrably be used by the author, as it requires them to be aware of having to use `git pull --rebase`
130132

bun.lockb

528 KB
Binary file not shown.

eslint.config.mjs

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,14 +7,15 @@ import tseslint from 'typescript-eslint'
77

88
import eslintConfig3YD from '@3yourmind/eslint-config'
99

10-
import kottiUIPackageJSON from './packages/kotti-ui/package.json' assert { type: 'json' }
11-
import vueUseTippyPackageJSON from './packages/vue-use-tippy/package.json' assert { type: 'json' }
12-
import yocoPackageJSON from './packages/yoco/package.json' assert { type: 'json' }
10+
import kottiUIPackageJSON from './packages/kotti-ui/package.json' with { type: 'json' }
11+
import vueUseTippyPackageJSON from './packages/vue-use-tippy/package.json' with { type: 'json' }
12+
import yocoPackageJSON from './packages/yoco/package.json' with { type: 'json' }
1313

1414
const trustedDependencies = new Set([
1515
'@metatypes/typography',
1616
'@metatypes/units',
1717
'@tanstack/table-core',
18+
'@tanstack/vue-table',
1819
'filesize',
1920
'nanoid',
2021
'zod',

internals/fake-root/package.json

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,11 +2,11 @@
22
"name": "fake-root",
33
"private": true,
44
"scripts": {
5-
"check:eslint": "yarn --cwd ../.. run eslint --max-warnings=0 --ignore-pattern=internals --ignore-pattern=packages .",
6-
"check:knip": "yarn --cwd ../.. run knip --tags=-knipignore",
7-
"check:prettier": "yarn --cwd ../.. run prettier --check --ignore-path=.fake-prettierignore --ignore-path=.prettierignore .",
8-
"fix:eslint": "yarn run check:eslint --fix",
9-
"fix:prettier": "yarn run check:prettier --write"
5+
"check:eslint": "bun --bun run --cwd ../.. eslint --max-warnings=0 --ignore-pattern=internals --ignore-pattern=packages .",
6+
"check:knip": "bun --bun run --cwd ../.. knip --tags=-knipignore",
7+
"check:prettier": "bun --bun run --cwd ../.. prettier --check --ignore-path=.fake-prettierignore --ignore-path=.prettierignore .",
8+
"fix:eslint": "bun --bun run check:eslint --fix",
9+
"fix:prettier": "bun --bun run check:prettier --write"
1010
},
1111
"version": "0.0.0"
1212
}

knip.json

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,16 +16,6 @@
1616
"plugins/**/*.js",
1717
"nuxt.config.ts"
1818
],
19-
"ignoreDependencies": [
20-
"@nuxt/typescript-build",
21-
"@nuxtjs/markdownit-loader",
22-
"@nuxtjs/markdownit",
23-
"@nuxtjs/style-resources",
24-
"sass-loader",
25-
"ts-loader",
26-
"vue-server-renderer",
27-
"vue-template-compiler"
28-
],
2919
"project": ["**/*.{js,ts,vue}"]
3020
},
3121
"packages/kotti-ui": {

packages/documentation/.gitignore

Lines changed: 138 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,138 @@
1+
# Logs
2+
logs
3+
*.log
4+
npm-debug.log*
5+
yarn-debug.log*
6+
yarn-error.log*
7+
lerna-debug.log*
8+
.pnpm-debug.log*
9+
10+
# Diagnostic reports (https://nodejs.org/api/report.html)
11+
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json
12+
13+
# Runtime data
14+
pids
15+
*.pid
16+
*.seed
17+
*.pid.lock
18+
19+
# Directory for instrumented libs generated by jscoverage/JSCover
20+
lib-cov
21+
22+
# Coverage directory used by tools like istanbul
23+
coverage
24+
*.lcov
25+
26+
# nyc test coverage
27+
.nyc_output
28+
29+
# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
30+
.grunt
31+
32+
# Bower dependency directory (https://bower.io/)
33+
bower_components
34+
35+
# node-waf configuration
36+
.lock-wscript
37+
38+
# Compiled binary addons (https://nodejs.org/api/addons.html)
39+
build/Release
40+
41+
# Dependency directories
42+
node_modules/
43+
jspm_packages/
44+
45+
# Snowpack dependency directory (https://snowpack.dev/)
46+
web_modules/
47+
48+
# TypeScript cache
49+
*.tsbuildinfo
50+
51+
# Optional npm cache directory
52+
.npm
53+
54+
# Optional eslint cache
55+
.eslintcache
56+
57+
# Optional stylelint cache
58+
.stylelintcache
59+
60+
# Microbundle cache
61+
.rpt2_cache/
62+
.rts2_cache_cjs/
63+
.rts2_cache_es/
64+
.rts2_cache_umd/
65+
66+
# Optional REPL history
67+
.node_repl_history
68+
69+
# Output of 'npm pack'
70+
*.tgz
71+
72+
# Yarn Integrity file
73+
.yarn-integrity
74+
75+
# dotenv environment variable files
76+
.env
77+
.env.development.local
78+
.env.test.local
79+
.env.production.local
80+
.env.local
81+
82+
# parcel-bundler cache (https://parceljs.org/)
83+
.cache
84+
.parcel-cache
85+
86+
# firebase-admin service-account
87+
firebase
88+
89+
# Next.js build output
90+
.next
91+
out
92+
93+
# Nuxt.js build / generate output
94+
.nuxt
95+
dist
96+
97+
# Gatsby files
98+
.cache/
99+
# Comment in the public line in if your project uses Gatsby and not Next.js
100+
# https://nextjs.org/blog/next-9-1#public-directory-support
101+
# public
102+
103+
# vuepress build output
104+
.vuepress/dist
105+
106+
# vuepress v2.x temp and cache directory
107+
.temp
108+
109+
# Docusaurus cache and generated files
110+
.docusaurus
111+
112+
# Serverless directories
113+
.serverless/
114+
115+
# FuseBox cache
116+
.fusebox/
117+
118+
# DynamoDB Local files
119+
.dynamodb/
120+
121+
# TernJS port file
122+
.tern-port
123+
124+
# Stores VSCode versions used for testing VSCode extensions
125+
.vscode-test
126+
127+
# yarn v2
128+
.yarn/cache
129+
.yarn/unplugged
130+
.yarn/build-state.yml
131+
.yarn/install-state.gz
132+
.pnp.*
133+
134+
# Cloudflare
135+
.wrangler/
136+
137+
# Sentry Vite Plugin
138+
.env.sentry-build-plugin

packages/documentation/README.md

Lines changed: 38 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,39 @@
1-
# `@3yourmind/documentation`
1+
Generated with [Bati](https://batijs.dev) ([version 288](https://www.npmjs.com/package/create-bati/v/0.0.288)) using this command:
2+
3+
```sh
4+
bun create bati --vue
5+
```
6+
7+
# About this app
8+
This app is ready to start. It's powered by [Vike](https://vike.dev) and [Vue](https://vuejs.org/guide/quick-start.html).
9+
10+
### `/pages/+config.ts`
11+
12+
Such `+` files are [the interface](https://vike.dev/config) between Vike and your code. It defines:
13+
- A default [`<Layout>` component](https://vike.dev/Layout) (that wraps your [`<Page>` components](https://vike.dev/Page)).
14+
- A default [`title`](https://vike.dev/title).
15+
- Global [`<head>` tags](https://vike.dev/head-tags).
16+
17+
### Routing
18+
19+
[Vike's built-in router](https://vike.dev/routing) lets you choose between:
20+
- [Filesystem Routing](https://vike.dev/filesystem-routing) (the URL of a page is determined based on where its `+Page.vue` file is located on the filesystem)
21+
- [Route Strings](https://vike.dev/route-string)
22+
- [Route Functions](https://vike.dev/route-function)
23+
24+
### `/pages/_error/+Page.vue`
25+
26+
The [error page](https://vike.dev/error-page) which is rendered when errors occur.
27+
28+
### `/pages/+onPageTransitionStart.ts` and `/pages/+onPageTransitionEnd.ts`
29+
30+
The [`onPageTransitionStart()` hook](https://vike.dev/onPageTransitionStart), together with [`onPageTransitionEnd()`](https://vike.dev/onPageTransitionEnd), enables you to implement page transition animations.
31+
32+
### SSR
33+
34+
SSR is enabled by default. You can [disable it](https://vike.dev/ssr) for all your pages or only for some pages.
35+
36+
### HTML Streaming
37+
38+
You can enable/disable [HTML streaming](https://vike.dev/stream) for all your pages, or only for some pages while still using it for others.
239

3-
> TODO: description
Lines changed: 8 additions & 0 deletions
Loading
Lines changed: 6 additions & 0 deletions
Loading

packages/documentation/assets/img/icon_github.svg

Lines changed: 0 additions & 12 deletions
This file was deleted.

0 commit comments

Comments
 (0)