Skip to content

Commit 4512c60

Browse files
committed
bumped versions of all tooling.
1 parent 3775e49 commit 4512c60

11 files changed

+1827
-1492
lines changed

.eslintrc.cjs

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ module.exports = {
22
root: true,
33
// See for info on this preset:
44
// https://github.com/linusborg/eslint-config
5-
extends: ['@linusborg', 'plugin:vue/vue3-essential'],
5+
extends: ['@linusborg/eslint-config', 'plugin:vue/vue3-essential'],
66
parserOptions: {
77
ecmaVersion: 'latest',
88
},

.node-version

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
20

package.json

+55-42
Original file line numberDiff line numberDiff line change
@@ -1,43 +1,56 @@
11
{
2-
"name": "vue-lib-monorepo-template",
3-
"version": "0.1.0",
4-
"description": "A monorepo template for developing Vue libraries",
5-
"author": "Thorsten Lünborg <[email protected]>",
6-
"license": "MIT",
7-
"private": true,
8-
"workspaces": [
9-
"packages/*"
10-
],
11-
"scripts": {
12-
"dev": "pnpm -F playground dev",
13-
"test": "pnpm --if-present -r run test",
14-
"test-ci": "pnpm --if-present -r run test-ci",
15-
"test-libs": "pnpm -F '@linusborg/*' run test",
16-
"docs": "pnpm -F docs run dev",
17-
"docs-build": "pnpm -F docs run build",
18-
"lint": "pnpm eslint '**/*.{vue,ts,js}' --fix",
19-
"build": "pnpm build-packages && pnpm build-playground && pnpm build-docs",
20-
"build-packages": "pnpm -r -F '@linusborg/*' run build",
21-
"build-playground": "pnpm --F 'playground' run build",
22-
"build-docs": "pnpm -F 'docs' run build"
23-
},
24-
"packageManager": "[email protected]",
25-
"devDependencies": {
26-
"@linusborg/eslint-config": "^0.3.0",
27-
"@types/node": "16.18.11",
28-
"@vitejs/plugin-vue": "^4.0.0",
29-
"@vue/compiler-dom": "^3.2.45",
30-
"@vue/test-utils": "^2.0.0-beta.13",
31-
"@vue/tsconfig": "^0.1.3",
32-
"eslint": "^8.33.0",
33-
"jsdom": "^21.1.0",
34-
"lint-staged": "^13.1.0",
35-
"prettier": "^2.2.1",
36-
"run-p": "^0.0.0",
37-
"typescript": "^4.8.0",
38-
"vite": "^4.0.4",
39-
"vitest": "^0.28.3",
40-
"vue": "^3.2.45",
41-
"vue-tsc": "^1.0.24"
42-
}
43-
}
2+
"name": "vue-lib-monorepo-template",
3+
"version": "0.1.0",
4+
"description": "A monorepo template for developing Vue libraries",
5+
"author": "Thorsten Lünborg <[email protected]>",
6+
"license": "MIT",
7+
"private": true,
8+
"type": "module",
9+
"workspaces": [
10+
"packages/*"
11+
],
12+
"scripts": {
13+
"dev": "pnpm -F playground dev",
14+
"test": "pnpm --if-present -r run test",
15+
"test-ci": "pnpm --if-present -r run test-ci",
16+
"test-libs": "pnpm -F '@linusborg/*' run test",
17+
"docs": "pnpm -F docs run dev",
18+
"docs-build": "pnpm -F docs run build",
19+
"lint": "pnpm eslint '**/*.{vue,ts,js}' --fix",
20+
"build": "pnpm build-packages && pnpm build-playground && pnpm build-docs",
21+
"build-packages": "pnpm -r -F '@linusborg/*' run build",
22+
"build-playground": "pnpm --F 'playground' run build",
23+
"build-docs": "pnpm -F 'docs' run build"
24+
},
25+
"packageManager": "[email protected]",
26+
"devDependencies": {
27+
"@linusborg/eslint-config": "^0.4.0",
28+
"@tsconfig/node20": "^20.1.2",
29+
"@types/node": "20.8.10",
30+
"@vitejs/plugin-vue": "^4.4.0",
31+
"@vue/compiler-dom": "^3.3.8",
32+
"@vue/test-utils": "^2.4.1",
33+
"@vue/tsconfig": "^0.4.0",
34+
"eslint": "^8.53.0",
35+
"jsdom": "^22.1.0",
36+
"lint-staged": "^15.0.2",
37+
"prettier": "^3.0.3",
38+
"run-p": "^0.0.0",
39+
"typescript": "^5.2.2",
40+
"vite": "^4.5.0",
41+
"vitest": "^0.34.6",
42+
"vue": "^3.3.8",
43+
"vue-tsc": "^1.8.22"
44+
},
45+
"engines": {
46+
"node": ">=20.9.0",
47+
"pnpm": ">8.0.0"
48+
},
49+
"pnpm": {
50+
"peerDependencyRules": {
51+
"ignoreMissing": [
52+
"@algolia/client-search"
53+
]
54+
}
55+
}
56+
}

packages/docs/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,6 @@
2323
"@linusborg/lib": "workspace:*"
2424
},
2525
"devDependencies": {
26-
"vitepress": "1.0.0-alpha.43"
26+
"vitepress": "1.0.0-rc.25"
2727
}
2828
}

packages/lib/package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
"vue": "^3.0.4"
4242
},
4343
"devDependencies": {
44-
"vite": "^4.0.4",
45-
"vitest": "^0.28.3"
44+
"vite": "^4.5.0",
45+
"vitest": "^0.34.6"
4646
}
4747
}

packages/lib/tsconfig.app.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
2-
"extends": "@vue/tsconfig/tsconfig.web.json",
2+
"extends": "@vue/tsconfig/tsconfig.dom.json",
33
"include": ["src/env.d.ts", "src/**/*", "src/**/*.vue"],
44
"exclude": ["src/**/__tests__/*"],
55
"compilerOptions": {
6-
"lib": ["ES2019"],
6+
// only uncomment if you encounter problems w. 3rd party libs
7+
// See: https://github.com/vuejs/tsconfig?tab=readme-ov-file#migrating-from-typescript--50
8+
// "resolvePackageJsonExports": false
79
"composite": true,
810
"outDir": "dist",
911
"declarationDir": "types",

packages/playground/package.json

+5-9
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,19 @@
22
"name": "playground",
33
"version": "0.0.0",
44
"private": true,
5+
"type": "module",
56
"scripts": {
67
"dev": "vite",
78
"build": "vite build",
89
"lint": "eslint 'src/**/*.{ts,vue}'"
910
},
1011
"dependencies": {
1112
"@linusborg/lib": "workspace:*",
12-
"vue": "^3.0.4"
13+
"vue": "^3.3.8"
1314
},
1415
"devDependencies": {
15-
"@vue/compiler-sfc": "^3.0.4",
16-
"vite": "^4.0.4",
17-
"vite-plugin-windicss": "^1.2.5"
18-
},
19-
"pnpm": {
20-
"peerDependencyRules": {
21-
"ignoreMissing": ["@algolia/client-search"]
22-
}
16+
"@vue/compiler-sfc": "^3.3.8",
17+
"tailwindcss": "^3.3.5",
18+
"vite": "^4.5.0"
2319
}
2420
}

packages/playground/tailwind.config.js renamed to packages/playground/tailwind.config.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
module.exports = {
1+
export default {
22
purge: ['./index.html', './src/**/*.vue', './src/**/*.ts'],
33
darkMode: false, // or 'media' or 'class'
44
theme: {

packages/playground/tsconfig.app.json

+4-2
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,11 @@
11
{
2-
"extends": "@vue/tsconfig/tsconfig.web.json",
2+
"extends": "@vue/tsconfig/tsconfig.dom.json",
33
"include": ["src/env.d.ts", "src/**/*", "src/**/*.vue"],
44
"exclude": ["src/**/__tests__/*"],
55
"compilerOptions": {
6-
"lib": ["ES2019"],
6+
// only uncomment if you encounter problems w. 3rd party libs
7+
// See: https://github.com/vuejs/tsconfig?tab=readme-ov-file#migrating-from-typescript--50
8+
// "resolvePackageJsonExports": false
79
"composite": true,
810
"outDir": "dist",
911
"declaration": true,

0 commit comments

Comments
 (0)