Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: Simon-He95/vue3-right-click-menu
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v0.0.3
Choose a base ref
...
head repository: Simon-He95/vue3-right-click-menu
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v0.0.4
Choose a head ref
  • 3 commits
  • 6 files changed
  • 1 contributor

Commits on Apr 12, 2023

  1. chore: update

    Simon-He95 committed Apr 12, 2023
    Copy the full SHA
    186dd14 View commit details
  2. chore: update

    Simon-He95 committed Apr 12, 2023
    Copy the full SHA
    b82b4c4 View commit details
  3. chore: release v0.0.4

    Simon-He95 committed Apr 12, 2023
    Copy the full SHA
    15f86fc View commit details
Showing with 9 additions and 8 deletions.
  1. +6 −4 package.json
  2. +1 −1 playground/src/main.ts
  3. +1 −1 playground/src/pages/index.vue
  4. +0 −1 playground/vite.config.ts
  5. +1 −1 pnpm-lock.yaml
  6. 0 src/{index.css → style.css}
10 changes: 6 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vue3-right-click-menu",
"version": "0.0.3",
"version": "0.0.4",
"packageManager": "pnpm@7.18.2",
"description": "vue3-right-click-menu",
"author": "Simon He",
@@ -22,7 +22,7 @@
"require": "./dist/index.js",
"import": "./dist/index.mjs"
},
"./style.css": "./dist/index.css"
"./style.css": "./dist/style.css"
},
"main": "./dist/index.js",
"module": "./dist/index.mjs",
@@ -42,7 +42,9 @@
"node": ">=14.6"
},
"scripts": {
"build": "tsup ./src/index.ts ./src/index.css --format cjs,esm --dts --clean --minify --external vue",
"build": "npm run build:js && npm run build:css",
"build:js": "tsup ./src/index.ts --format cjs,esm --dts --clean --minify --external vue",
"build:css": "tsup ./src/style.css --minify",
"dev": "npm run build -- --watch src",
"play": "pnpm run -C playground dev",
"play:build": "pnpm run -C playground build",
@@ -80,7 +82,7 @@
"unocss": "^0.51.2",
"vite": "^4.0.0",
"vitest": "^0.13.1",
"vue3-right-click-menu": "workspace:^0.0.2"
"vue3-right-click-menu": "workspace:^0.0.3"
},
"lint-staged": {
"*": [
2 changes: 1 addition & 1 deletion playground/src/main.ts
Original file line number Diff line number Diff line change
@@ -5,7 +5,7 @@ import App from './App.vue'
import '@unocss/reset/tailwind.css'
import './styles/main.css'
import 'uno.css'
import 'vue3-right-click-menu/style.css'
import '../../src/style.css'

const app = createApp(App)
const router = createRouter({
2 changes: 1 addition & 1 deletion playground/src/pages/index.vue
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<script setup lang="ts">
import { RightClick } from 'vue3-right-click-menu'
import { RightClick } from '../../../src'
const menu = [
{ label: '新增', name: 'simon' },
{ label: '编辑', name: 'simon' },
1 change: 0 additions & 1 deletion playground/vite.config.ts
Original file line number Diff line number Diff line change
@@ -43,7 +43,6 @@ export default defineConfig({
// see unocss.config.ts for config
Unocss(),
],

// https://github.com/vitest-dev/vitest
test: {
environment: 'jsdom',
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

File renamed without changes.