Skip to content

Commit bca0526

Browse files
authored
chore: migrate package to vue org (#106)
1 parent 40e8c6a commit bca0526

File tree

121 files changed

+526
-328
lines changed

Some content is hidden

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

121 files changed

+526
-328
lines changed

docs/guide/standalone.md

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -11,19 +11,19 @@
1111
::: code-group
1212

1313
```sh [npm]
14-
$ npm add -g @vue/devtools-next
14+
$ npm add -g @vue/devtools
1515
```
1616

1717
```sh [pnpm]
18-
$ pnpm add -g @vue/devtools-next
18+
$ pnpm add -g @vue/devtools
1919
```
2020

2121
```sh [yarn]
22-
$ yarn global add @vue/devtools-next
22+
$ yarn global add @vue/devtools
2323
```
2424

2525
```sh [bun]
26-
$ bun add -g @vue/devtools-next
26+
$ bun add -g @vue/devtools
2727
```
2828

2929
:::
@@ -33,19 +33,19 @@ $ bun add -g @vue/devtools-next
3333
::: code-group
3434

3535
```sh [npm]
36-
$ npm add -D @vue/devtools-next
36+
$ npm add -D @vue/devtools
3737
```
3838

3939
```sh [pnpm]
40-
$ pnpm add -D @vue/devtools-next
40+
$ pnpm add -D @vue/devtools
4141
```
4242

4343
```sh [yarn]
44-
$ yarn add -D @vue/devtools-next
44+
$ yarn add -D @vue/devtools
4545
```
4646

4747
```sh [bun]
48-
$ bun add -D @vue/devtools-next
48+
$ bun add -D @vue/devtools
4949
```
5050

5151
:::
@@ -98,7 +98,7 @@ You can also use the global `vue-devtools-next` to start the app, but you might
9898
Then import it directly in your app:
9999

100100
```ts
101-
import { devtools } from '@vue/devtools-next'
101+
import { devtools } from '@vue/devtools'
102102
```
103103

104104
:::tip Important
@@ -165,7 +165,7 @@ For that you can also use ngrok, as it automatically proxies https requests to h
165165
Make sure that the page under `http://your-ip:8098` is returning a javascript coode on your device/simulator. If it doesn't - make sure to check your anti-virus or router/firewall settings. If it works - please follow the instructions, and connect to devtools using your IP. For example:
166166

167167
```ts
168-
import devtools from '@vue/devtools-next'
168+
import devtools from '@vue/devtools'
169169
import Vue from 'vue'
170170
// ...
171171

docs/plugins/api.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,27 +7,27 @@ Plugins API for easier DevTools integrations.
77
::: code-group
88

99
```sh [npm]
10-
$ npm add -D @vue/devtools-next-api
10+
$ npm add -D @vue/devtools-api
1111
```
1212

1313
```sh [pnpm]
14-
$ pnpm add -D @vue/devtools-next-api
14+
$ pnpm add -D @vue/devtools-api
1515
```
1616

1717
```sh [yarn]
18-
$ yarn add -D @vue/devtools-next-api
18+
$ yarn add -D @vue/devtools-api
1919
```
2020

2121
```sh [bun]
22-
$ bun add -D @vue/devtools-next-api
22+
$ bun add -D @vue/devtools-api
2323
```
2424

2525
:::
2626

2727
## `addCustomTab`
2828

2929
```ts
30-
import { addCustomTab } from '@vue/devtools-next-api'
30+
import { addCustomTab } from '@vue/devtools-api'
3131

3232
addCustomTab({
3333
// unique identifier
@@ -48,7 +48,7 @@ addCustomTab({
4848
## `addCustomCommand`
4949

5050
```ts
51-
import { addCustomCommand } from '@vue/devtools-next-api'
51+
import { addCustomCommand } from '@vue/devtools-api'
5252

5353
// Add a custom command with url
5454
addCustomCommand({
@@ -99,7 +99,7 @@ addCustomCommand({
9999
## `removeCustomCommand`
100100

101101
```ts
102-
import { removeCustomCommand } from '@vue/devtools-next-api'
102+
import { removeCustomCommand } from '@vue/devtools-api'
103103

104104
// Remove a custom command by id
105105
removeCustomCommand('vueuse')
@@ -108,7 +108,7 @@ removeCustomCommand('vueuse')
108108
## `onDevToolsClientConnected`
109109

110110
```ts
111-
import { onDevToolsClientConnected } from '@vue/devtools-next-api'
111+
import { onDevToolsClientConnected } from '@vue/devtools-api'
112112

113113
onDevToolsClientConnected(() => {
114114
console.log('devtools client connected')

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@vue-devtools-next/monorepo",
2+
"name": "@vue/devtools-monorepo",
33
"type": "module",
44
"version": "0.0.0",
55
"private": true,
@@ -71,8 +71,8 @@
7171
"@types/fs-extra": "^11.0.4",
7272
"@types/node": "^20.10.5",
7373
"@unocss/eslint-plugin": "^0.58.0",
74-
"@vue-devtools-next/core": "workspace:^",
75-
"@vue-devtools-next/schema": "workspace:^",
74+
"@vue/devtools-core": "workspace:^",
75+
"@vue/devtools-schema": "workspace:^",
7676
"archiver": "^6.0.1",
7777
"bumpp": "^9.2.1",
7878
"cross-env": "^7.0.3",

packages/browser-extension/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@vue-devtools-next/browser-extension",
2+
"name": "@vue/devtools-browser-extension",
33
"type": "module",
44
"version": "0.0.0",
55
"private": true,
@@ -13,8 +13,8 @@
1313
"dev": "cross-env NODE_ENV=development tsup --watch"
1414
},
1515
"dependencies": {
16-
"@vue-devtools-next/core": "workspace:^",
17-
"@vue-devtools-next/shared": "workspace:^"
16+
"@vue/devtools-core": "workspace:^",
17+
"@vue/devtools-shared": "workspace:^"
1818
},
1919
"devDependencies": {
2020
"@vitejs/plugin-vue": "^4.5.2",

packages/browser-extension/src/background.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { isNumeric } from '@vue-devtools-next/shared'
1+
import { isNumeric } from '@vue/devtools-shared'
22

33
type PortInfo = Record<'tab' | 'name', string | number> & { port: chrome.runtime.Port }
44
type PortDetail = Record<'devtools' | 'userApp', chrome.runtime.Port>

packages/browser-extension/src/user-app.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
import { target } from '@vue-devtools-next/shared'
1+
import { target } from '@vue/devtools-shared'
22
import { Bridge } from '../../core/src/bridge'
33
import { prepareInjection } from '../../core/src/injection'
44

packages/client/package.json

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"name": "@vue-devtools-next/client",
2+
"name": "@vue/devtools-client",
33
"type": "module",
44
"version": "0.0.0",
55
"private": true,
@@ -26,11 +26,11 @@
2626
"dependencies": {
2727
"@unocss/preset-icons": "^0.58.0",
2828
"@unocss/runtime": "^0.58.0",
29-
"@vue-devtools-next/core": "workspace:^",
30-
"@vue-devtools-next/kit": "workspace:^",
31-
"@vue-devtools-next/schema": "workspace:*",
32-
"@vue-devtools-next/shared": "workspace:^",
33-
"@vue-devtools-next/ui": "workspace:*",
29+
"@vue/devtools-core": "workspace:^",
30+
"@vue/devtools-kit": "workspace:^",
31+
"@vue/devtools-schema": "workspace:*",
32+
"@vue/devtools-shared": "workspace:^",
33+
"@vue/devtools-ui": "workspace:*",
3434
"@vueuse/core": "^10.7.0",
3535
"@vueuse/integrations": "^10.7.0",
3636
"colord": "^2.9.3",

packages/client/src/App.vue

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<script setup lang="ts">
22
import type { Ref } from 'vue'
3-
import { useDevToolsBridge, useDevToolsState } from '@vue-devtools-next/core'
4-
import { isInChromePanel } from '@vue-devtools-next/shared'
3+
import { useDevToolsBridge, useDevToolsState } from '@vue/devtools-core'
4+
import { isInChromePanel } from '@vue/devtools-shared'
55
import { Pane, Splitpanes } from 'splitpanes'
66
77
import('./setup/unocss-runtime')

packages/client/src/components/CommandPalette.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { VueIcon, VueInput, VueOverlay } from '@vue-devtools-next/ui'
2+
import { VueIcon, VueInput, VueOverlay } from '@vue/devtools-ui'
33
import Fuse from 'fuse.js'
44
import type { CommandItem } from '../composables/state-commands'
55

packages/client/src/components/WaitForConnection.vue

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
<script setup lang="ts">
2-
import { VueInput } from '@vue-devtools-next/ui'
2+
import { VueInput } from '@vue/devtools-ui'
33
import AppConnecting from '~/components/AppConnecting.vue'
44
55
const props = defineProps<{

0 commit comments

Comments
 (0)