Skip to content

Commit

Permalink
bumped versions of all tooling.
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusBorg committed Nov 7, 2023
1 parent 3775e49 commit 4512c60
Show file tree
Hide file tree
Showing 11 changed files with 1,827 additions and 1,492 deletions.
2 changes: 1 addition & 1 deletion .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ module.exports = {
root: true,
// See for info on this preset:
// https://github.com/linusborg/eslint-config
extends: ['@linusborg', 'plugin:vue/vue3-essential'],
extends: ['@linusborg/eslint-config', 'plugin:vue/vue3-essential'],
parserOptions: {
ecmaVersion: 'latest',
},
Expand Down
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
97 changes: 55 additions & 42 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,43 +1,56 @@
{
"name": "vue-lib-monorepo-template",
"version": "0.1.0",
"description": "A monorepo template for developing Vue libraries",
"author": "Thorsten Lünborg <thorsten@linusb.org>",
"license": "MIT",
"private": true,
"workspaces": [
"packages/*"
],
"scripts": {
"dev": "pnpm -F playground dev",
"test": "pnpm --if-present -r run test",
"test-ci": "pnpm --if-present -r run test-ci",
"test-libs": "pnpm -F '@linusborg/*' run test",
"docs": "pnpm -F docs run dev",
"docs-build": "pnpm -F docs run build",
"lint": "pnpm eslint '**/*.{vue,ts,js}' --fix",
"build": "pnpm build-packages && pnpm build-playground && pnpm build-docs",
"build-packages": "pnpm -r -F '@linusborg/*' run build",
"build-playground": "pnpm --F 'playground' run build",
"build-docs": "pnpm -F 'docs' run build"
},
"packageManager": "pnpm@7.25.0",
"devDependencies": {
"@linusborg/eslint-config": "^0.3.0",
"@types/node": "16.18.11",
"@vitejs/plugin-vue": "^4.0.0",
"@vue/compiler-dom": "^3.2.45",
"@vue/test-utils": "^2.0.0-beta.13",
"@vue/tsconfig": "^0.1.3",
"eslint": "^8.33.0",
"jsdom": "^21.1.0",
"lint-staged": "^13.1.0",
"prettier": "^2.2.1",
"run-p": "^0.0.0",
"typescript": "^4.8.0",
"vite": "^4.0.4",
"vitest": "^0.28.3",
"vue": "^3.2.45",
"vue-tsc": "^1.0.24"
}
}
"name": "vue-lib-monorepo-template",
"version": "0.1.0",
"description": "A monorepo template for developing Vue libraries",
"author": "Thorsten Lünborg <thorsten@linusb.org>",
"license": "MIT",
"private": true,
"type": "module",
"workspaces": [
"packages/*"
],
"scripts": {
"dev": "pnpm -F playground dev",
"test": "pnpm --if-present -r run test",
"test-ci": "pnpm --if-present -r run test-ci",
"test-libs": "pnpm -F '@linusborg/*' run test",
"docs": "pnpm -F docs run dev",
"docs-build": "pnpm -F docs run build",
"lint": "pnpm eslint '**/*.{vue,ts,js}' --fix",
"build": "pnpm build-packages && pnpm build-playground && pnpm build-docs",
"build-packages": "pnpm -r -F '@linusborg/*' run build",
"build-playground": "pnpm --F 'playground' run build",
"build-docs": "pnpm -F 'docs' run build"
},
"packageManager": "pnpm@7.25.0",
"devDependencies": {
"@linusborg/eslint-config": "^0.4.0",
"@tsconfig/node20": "^20.1.2",
"@types/node": "20.8.10",
"@vitejs/plugin-vue": "^4.4.0",
"@vue/compiler-dom": "^3.3.8",
"@vue/test-utils": "^2.4.1",
"@vue/tsconfig": "^0.4.0",
"eslint": "^8.53.0",
"jsdom": "^22.1.0",
"lint-staged": "^15.0.2",
"prettier": "^3.0.3",
"run-p": "^0.0.0",
"typescript": "^5.2.2",
"vite": "^4.5.0",
"vitest": "^0.34.6",
"vue": "^3.3.8",
"vue-tsc": "^1.8.22"
},
"engines": {
"node": ">=20.9.0",
"pnpm": ">8.0.0"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": [
"@algolia/client-search"
]
}
}
}
2 changes: 1 addition & 1 deletion packages/docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,6 @@
"@linusborg/lib": "workspace:*"
},
"devDependencies": {
"vitepress": "1.0.0-alpha.43"
"vitepress": "1.0.0-rc.25"
}
}
4 changes: 2 additions & 2 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
"vue": "^3.0.4"
},
"devDependencies": {
"vite": "^4.0.4",
"vitest": "^0.28.3"
"vite": "^4.5.0",
"vitest": "^0.34.6"
}
}
6 changes: 4 additions & 2 deletions packages/lib/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["src/env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"lib": ["ES2019"],
// only uncomment if you encounter problems w. 3rd party libs
// See: https://github.com/vuejs/tsconfig?tab=readme-ov-file#migrating-from-typescript--50
// "resolvePackageJsonExports": false
"composite": true,
"outDir": "dist",
"declarationDir": "types",
Expand Down
14 changes: 5 additions & 9 deletions packages/playground/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,23 +2,19 @@
"name": "playground",
"version": "0.0.0",
"private": true,
"type": "module",
"scripts": {
"dev": "vite",
"build": "vite build",
"lint": "eslint 'src/**/*.{ts,vue}'"
},
"dependencies": {
"@linusborg/lib": "workspace:*",
"vue": "^3.0.4"
"vue": "^3.3.8"
},
"devDependencies": {
"@vue/compiler-sfc": "^3.0.4",
"vite": "^4.0.4",
"vite-plugin-windicss": "^1.2.5"
},
"pnpm": {
"peerDependencyRules": {
"ignoreMissing": ["@algolia/client-search"]
}
"@vue/compiler-sfc": "^3.3.8",
"tailwindcss": "^3.3.5",
"vite": "^4.5.0"
}
}
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module.exports = {
export default {
purge: ['./index.html', './src/**/*.vue', './src/**/*.ts'],
darkMode: false, // or 'media' or 'class'
theme: {
Expand Down
6 changes: 4 additions & 2 deletions packages/playground/tsconfig.app.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
{
"extends": "@vue/tsconfig/tsconfig.web.json",
"extends": "@vue/tsconfig/tsconfig.dom.json",
"include": ["src/env.d.ts", "src/**/*", "src/**/*.vue"],
"exclude": ["src/**/__tests__/*"],
"compilerOptions": {
"lib": ["ES2019"],
// only uncomment if you encounter problems w. 3rd party libs
// See: https://github.com/vuejs/tsconfig?tab=readme-ov-file#migrating-from-typescript--50
// "resolvePackageJsonExports": false
"composite": true,
"outDir": "dist",
"declaration": true,
Expand Down
Loading

0 comments on commit 4512c60

Please sign in to comment.