Skip to content

Commit 4672c01

Browse files
chore: Drop monorepo in favor of simple one package (#89)
1 parent b7d26e4 commit 4672c01

42 files changed

Lines changed: 902 additions & 1098 deletions

Some content is hidden

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

.github/workflows/deploy-docs.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ jobs:
2020
node-version: lts/*
2121
cache: pnpm
2222
- run: pnpm install
23-
- run: pnpm -F '!docs' build
24-
- run: NUXT_APP_BASE_URL=/vue-split-panel/ pnpm -F docs build --preset github_pages
23+
- run: pnpm run build
24+
- run: NUXT_APP_BASE_URL=/vue-split-panel/ pnpm docs:build --preset github_pages
2525
env:
2626
NUXT_UI_PRO_LICENSE: ${{ secrets.NUXT_UI_PRO_LICENSE }}
2727
- name: Upload artifact

.github/workflows/unit-test.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,10 @@ jobs:
3838
run: pnpm install --frozen-lockfile
3939

4040
- name: Build
41-
run: pnpm -F '!docs' run build
41+
run: pnpm run build
4242

4343
- name: Lint
44-
run: pnpm -F '!docs' run lint
44+
run: pnpm run lint
4545

4646
- name: Test
47-
run: pnpm -F '!docs' run test
47+
run: pnpm run test

docs/content/1.getting-started/3.contributing.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,18 +30,18 @@ PRs are very welcome. Please be mindful of breaking changes. If you're thinking
3030

3131
This allows you to mess around with the component in isolation to quickly prototype and iterate on your change.
3232

33-
`pnpm -F vue-split-panel playground`
33+
`pnpm playground`
3434

3535
## Writing docs
3636

3737
The documentation is a [Docus](https://docus.dev)-based Nuxt application. You can run it in development with:
3838

39-
`pnpm -F docs dev`
39+
`pnpm docs:dev`
4040

4141
Please make sure to update the docs if you're implementing new features, or changing the default behavior.
4242

4343
## Testing
4444

4545
`vue-split-panel` relies on vitest for it's tests. You can run them with
4646

47-
`pnpm -F vue-split-panel test`
47+
`pnpm test`

docs/package.json

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

package.json

Lines changed: 70 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,76 @@
11
{
2+
"name": "@directus/vue-split-panel",
3+
"version": "0.8.12",
4+
"description": "Split panel component for Vue based on WebAwesome Split Panel",
5+
"keywords": [
6+
"components",
7+
"panel",
8+
"splitter",
9+
"ui",
10+
"vue"
11+
],
12+
"homepage": "https://github.com/directus/vue-split-panel",
13+
"bugs": {
14+
"url": "https://github.com/directus/vue-split-panel/issues"
15+
},
16+
"author": "Rijk van Zanten <rijkvanzanten@me.com>",
17+
"repository": {
18+
"type": "git",
19+
"url": "git+https://github.com/directus/vue-split-panel.git"
20+
},
21+
"files": [
22+
"dist"
23+
],
224
"type": "module",
25+
"sideEffects": false,
26+
"module": "./dist/index.js",
27+
"types": "./dist/index.d.ts",
28+
"exports": {
29+
".": {
30+
"import": "./dist/index.js"
31+
},
32+
"./package.json": "./package.json",
33+
"./index.css": "./dist/style.css"
34+
},
35+
"scripts": {
36+
"build": "vp pack",
37+
"dev": "vp pack --watch",
38+
"playground": "vp dev",
39+
"docs:dev": "nuxt dev docs",
40+
"docs:build": "nuxt build docs",
41+
"test": "vp test --run",
42+
"test:coverage": "vp test --run --coverage",
43+
"release": "bumpp && pnpm publish",
44+
"prepublishOnly": "pnpm run build",
45+
"lint": "vp lint --type-aware --type-check",
46+
"lint:fix": "vp lint --fix"
47+
},
48+
"dependencies": {
49+
"@vueuse/core": "14.3.0"
50+
},
351
"devDependencies": {
4-
"vite-plus": "catalog:"
52+
"@nuxt/kit": "4.3.0",
53+
"@nuxt/ui-pro": "3.3.7",
54+
"@nuxtjs/mdc": "0.20.0",
55+
"@tsdown/css": "0.22.0",
56+
"@types/node": "25.9.1",
57+
"@vitejs/plugin-vue": "6.0.7",
58+
"@vitest/coverage-v8": "4.1.7",
59+
"@vue/test-utils": "2.4.10",
60+
"better-sqlite3": "12.6.2",
61+
"bumpp": "11.1.0",
62+
"docus": "5.4.4",
63+
"happy-dom": "20.9.0",
64+
"nuxt": "4.3.0",
65+
"tailwindcss": "4.1.18",
66+
"typescript": "6.0.3",
67+
"unist-util-visit": "5.1.0",
68+
"vite-plus": "0.1.23",
69+
"vue": "3.5.35",
70+
"vue-tsc": "3.2.9"
71+
},
72+
"peerDependencies": {
73+
"vue": "^3.5.0"
574
},
675
"packageManager": "pnpm@11.5.0"
776
}

packages/vue-split-panel/package.json

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

0 commit comments

Comments
 (0)