Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

JSON custom typescript #2940

Draft
wants to merge 16 commits into
base: master
Choose a base branch
from
Draft

JSON custom typescript #2940

wants to merge 16 commits into from

Conversation

GermanBluefox
Copy link
Contributor

No description provided.

@GermanBluefox GermanBluefox marked this pull request as draft February 5, 2025 10:16
DileSoft and others added 7 commits February 8, 2025 10:24
# Conflicts:
#	package-lock.json
#	packages/admin/src-admin/package.json
#	packages/admin/src-admin/src/bootstrap.tsx
#	packages/admin/tasks.js
import { defineConfig } from 'vite';
import react from '@vitejs/plugin-react';
import commonjs from 'vite-plugin-commonjs';
import svgr from 'vite-plugin-svgr';

Check notice

Code scanning / CodeQL

Unused variable, import, function or class Note

Unused import svgr.

Copilot Autofix AI 1 day ago

To fix the problem, we need to remove the unused import statement for svgr. This will clean up the code and eliminate any confusion about the purpose of the import. The change should be made in the packages/admin/src-admin/vite.config.ts file.

Suggested changeset 1
packages/admin/src-admin/vite.config.ts

Autofix patch

Autofix patch
Run the following command in your local git repository to apply this patch
cat << 'EOF' | git apply
diff --git a/packages/admin/src-admin/vite.config.ts b/packages/admin/src-admin/vite.config.ts
--- a/packages/admin/src-admin/vite.config.ts
+++ b/packages/admin/src-admin/vite.config.ts
@@ -3,3 +3,3 @@
 import commonjs from 'vite-plugin-commonjs';
-import svgr from 'vite-plugin-svgr';
+
 import vitetsConfigPaths from 'vite-tsconfig-paths';
EOF
@@ -3,3 +3,3 @@
import commonjs from 'vite-plugin-commonjs';
import svgr from 'vite-plugin-svgr';

import vitetsConfigPaths from 'vite-tsconfig-paths';
Copilot is powered by AI and may make mistakes. Always verify output.
Positive Feedback
Negative Feedback

Provide additional feedback

Please help us improve GitHub Copilot by sharing more details about this comment.

Please select one or more of the options
GermanBluefox and others added 7 commits March 5, 2025 11:27
# Conflicts:
#	packages/admin/src-admin/package.json
#	packages/admin/src-admin/src/bootstrap.tsx
#	packages/jsonConfig/src/JsonConfigComponent/ConfigCustom.tsx
…n-custom-typescript

# Conflicts:
#	packages/admin/src-admin/package.json
…ioBroker.admin into json-custom-typescript

# Conflicts:
#	packages/admin/src-admin/src/index.tsx
#	packages/jsonConfig/src/JsonConfigComponent/ConfigCustom.tsx
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants