Skip to content

Commit

Permalink
chore: rename browser-extension to chrome-extension
Browse files Browse the repository at this point in the history
  • Loading branch information
webfansplz committed Jun 14, 2024
1 parent 7c32103 commit 414733a
Show file tree
Hide file tree
Showing 39 changed files with 14 additions and 14 deletions.
4 changes: 2 additions & 2 deletions .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ node_modules
ci.yml
release.yml
**.svg
packages/browser-extension/overlay/*
packages/chrome-extension/overlay/*
packages/vite/src/overlay/*
packages/browser-extension/client/*
packages/chrome-extension/client/*
eslint.config.js
4 changes: 2 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,8 @@ components.d.ts

# Project

packages/browser-extension/overlay/**/*
packages/browser-extension/client/**/*
packages/chrome-extension/overlay/**/*
packages/chrome-extension/client/**/*
packages/electron/client/**/*
packages/vite/src/overlay/**/*
packages/vite/client/**/*
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,8 +42,8 @@
"build:ui": "turbo build --filter=./packages/ui...",
"build:vite": "turbo build --filter=./packages/vite...",
"build:devtools-api": "turbo build --filter=./packages/devtools-api...",
"build:browser-extension": "turbo build --filter=./packages/browser-extension...",
"dev:browser-extension": "turbo dev --filter=./packages/browser-extension",
"build:chrome-extension": "turbo build --filter=./packages/chrome-extension...",
"dev:chrome-extension": "turbo dev --filter=./packages/chrome-extension",
"dev:ui-story": "turbo dev --filter=./packages/ui-story",
"prepare:type": "turbo prepare:type --filter='./packages/*'",
"dev": "NODE_OPTIONS=\"--max-old-space-size=8192\" nr prepare:type && nr build:ui && turbo stub --concurrency 20",
Expand Down
File renamed without changes.
File renamed without changes
File renamed without changes
File renamed without changes
File renamed without changes.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"name": "@vue/devtools-browser-extension",
"name": "@vue/devtools-chrome-extension",
"type": "module",
"version": "7.3.0-beta.3",
"private": true,
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
2 changes: 1 addition & 1 deletion packages/client/scripts/pre-build.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import fse from 'fs-extra'
const __dirname = fileURLToPath(new URL('.', import.meta.url))

async function run() {
;['../../browser-extension/client', '../../electron/client', '../../vite/client'].forEach((dir) => {
;['../../chrome-extension/client', '../../electron/client', '../../vite/client'].forEach((dir) => {
const absoluteDir = resolve(__dirname, dir)
if (fse.existsSync(absoluteDir))
fse.removeSync(absoluteDir)
Expand Down
2 changes: 1 addition & 1 deletion packages/client/vite.lib.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ export default defineConfig(mergeConfig(baseConfig, {
closeBundle() {
// copy
const clientFile = resolve(__dirname, './dist/devtools-client-lib')
;['../browser-extension/client', '../electron/client'].forEach((dir) => {
;['../chrome-extension/client', '../electron/client'].forEach((dir) => {
fse.copySync(clientFile, resolve(__dirname, dir))
})
},
Expand Down
2 changes: 1 addition & 1 deletion packages/overlay/vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ export default defineConfig({
// Browser extension keep using js file
fse.copySync(
overlayFile,
resolve(__dirname, '../browser-extension/overlay'),
resolve(__dirname, '../chrome-extension/overlay'),
{
filter: (file) => {
return !file.endsWith('.mjs')
Expand Down
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.

2 changes: 1 addition & 1 deletion scripts/extension-zip.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ import readdirGlob from 'readdir-glob'
import ProgressBar from 'progress'

const __dirname = path.dirname(fileURLToPath(import.meta.url))
const targetPkgDir = path.join(__dirname, '../packages/browser-extension')
const targetPkgDir = path.join(__dirname, '../packages/chrome-extension')
const INCLUDE_FILES = [
'client/**',
'dist/**',
Expand Down
4 changes: 2 additions & 2 deletions turbo.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
"@vue/devtools-electron#stub"
]
},
"@vue/devtools-browser-extension#build": {
"@vue/devtools-chrome-extension#build": {
"dependsOn": [
"@vue/devtools-client#build",
"^build"
Expand All @@ -24,7 +24,7 @@
"outputs": [
"dist/**",
"../electron/client/**",
"../browser-extension/client/**",
"../chrome-extension/client/**",
"../vite/client/**"
]
},
Expand Down

0 comments on commit 414733a

Please sign in to comment.