Skip to content

Commit

Permalink
Merge branch 'main' into patch-1
Browse files Browse the repository at this point in the history
  • Loading branch information
LinusBorg authored Nov 18, 2023
2 parents 187641c + 6f5a28a commit 48550a5
Show file tree
Hide file tree
Showing 3 changed files with 49 additions and 49 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Vue Library-Monorepo Template

> My personal repo template for developing Vue 3 libraries in a monorepo powered by yarn workspaces
> My personal repo template for developing Vue 3 libraries in a monorepo powered by pnpm workspaces
**STATE**: Still working on this here and ther, but it's working fine, usually ☺️

Expand Down Expand Up @@ -34,7 +34,7 @@ see Github wiki: ...(TBD)
All commands can be run directly from the project root like:

```bash
yarn start
pnpm start
```

We use pnpm to run commands in individual workspaces as needed.
Expand Down
92 changes: 46 additions & 46 deletions packages/lib/package.json
Original file line number Diff line number Diff line change
@@ -1,47 +1,47 @@
{
"name": "@linusborg/lib",
"description": "CHANGE_ME This is a placeholder description, please change me as well as the name above me.",
"version": "0.0.1",
"private": false,
"author": "CHANGE_ME Thorsten Lünborg <[email protected]>",
"homepage": "",
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./*": "./*"
},
"typings": "types/index.d.ts",
"files": [
"dist",
"src",
"types",
"README.md"
],
"scripts": {
"dev-server": "pnpm --parallel vite",
"dev-types": "vue-tsc --noEmit -p tsconfig.app.json --watch",
"build": "yarn build-lib && yarn build-types",
"build-lib": "vite build",
"build-types": "vue-tsc --emitDeclarationOnly --declaration -p tsconfig.app.json",
"lint": "eslint 'src/**/*.{ts,vue}'",
"test": "vitest",
"test-ci": "vitest --run"
},
"dependencies": {
"@linusborg/lib": "workspace:*"
},
"peerDependencies": {
"vue": "^3.0.4"
},
"devDependencies": {
"vite": "^4.5.0",
"vitest": "^0.34.6"
}
}
"name": "@linusborg/lib",
"description": "CHANGE_ME This is a placeholder description, please change me as well as the name above me.",
"version": "0.0.1",
"private": false,
"author": "CHANGE_ME Thorsten Lünborg <[email protected]>",
"homepage": "",
"license": "MIT",
"type": "module",
"main": "dist/index.cjs",
"module": "dist/index.mjs",
"exports": {
".": {
"types": "./types/index.d.ts",
"import": "./dist/index.mjs",
"require": "./dist/index.cjs"
},
"./*": "./*"
},
"typings": "types/index.d.ts",
"files": [
"dist",
"src",
"types",
"README.md"
],
"scripts": {
"dev-server": "pnpm --parallel vite",
"dev-types": "vue-tsc --noEmit -p tsconfig.app.json --watch",
"build": "pnpm build-lib && pnpm build-types",
"build-lib": "vite build",
"build-types": "vue-tsc --emitDeclarationOnly --declaration -p tsconfig.app.json",
"lint": "eslint 'src/**/*.{ts,vue}'",
"test": "vitest",
"test-ci": "vitest --run"
},
"dependencies": {
"@linusborg/lib": "workspace:*"
},
"peerDependencies": {
"vue": "^3.0.4"
},
"devDependencies": {
"vite": "^4.5.0",
"vitest": "^0.34.6"
}
}
2 changes: 1 addition & 1 deletion packages/playground/tailwind.config.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
/** @type {import('tailwindcss').Config} */
export default {
content: ['./index.html', './src/**/*.vue', './src/**/*.ts'],
darkMode: false, // or 'media' or 'class'
darkMode: 'media', // 'media' or 'class'
theme: {
extend: {},
},
Expand Down

0 comments on commit 48550a5

Please sign in to comment.