Skip to content

Commit

Permalink
Merge pull request #26 from QwikDev/feature/install-packages
Browse files Browse the repository at this point in the history
Auto import fix
  • Loading branch information
byte-barista authored Jan 20, 2025
2 parents 8ffce4a + cc10763 commit d8c9b9a
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions packages/plugin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# @devtools/plugin

## 1.1.1

### Patch Changes

- Auto import fix

## 1.1.0

### Minor Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/plugin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@devtools/plugin",
"version": "1.1.0",
"version": "1.1.1",
"description": "Qwik devtools plugin",
"main": "./dist/index.mjs",
"exports": {
Expand Down
4 changes: 2 additions & 2 deletions packages/plugin/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ export function qwikDevtools(): Plugin {

// Only transform the root component file
if (id.endsWith('root.tsx')) {
// const importPath = '@qwik.dev/devtools/ui';
const importPath = '@devtools/ui';
const importPath = '@qwik.dev/devtools/ui';
// const importPath = '@devtools/ui';
// Check if QwikDevtools import already exists
if (!code.includes(importPath)) {
// Add import for QwikDevtools using the correct package name
Expand Down

0 comments on commit d8c9b9a

Please sign in to comment.