mirror of
https://github.com/siderolabs/omni.git
synced 2025-08-07 10:06:59 +02:00
Dropped some dependencies which no longer worked: - monaco-editor-vue3 - replaced with a tiny wrapper. - polyfill for streaming classes - replaced with vite plugin for polyfills. - buffer - replaced base64 encoding with calls from the `fetch.pb.ts`. Dropped the code that sets up monaco in `main.ts` in favor of Vite monaco plugin that does that for you. Updated `monaco-yaml` as the old version didn't work with Vite. Switched from `Jest` to `bun:test`. Use TypeScript in the tailwind config, as it imports `colors.ts` now. Had to use TypeScript for `colors` as Vite can't import CommonJS modules. Add eslint linter to the `lint` dependencies, enable a bit more linters and fix all detected errors. Fixes: https://github.com/siderolabs/omni/issues/294 Signed-off-by: Artem Chernyshev <artem.chernyshev@talos-systems.com>
18 lines
392 B
Go
18 lines
392 B
Go
// Copyright (c) 2024 Sidero Labs, Inc.
|
|
//
|
|
// Use of this software is governed by the Business Source License
|
|
// included in the LICENSE file.
|
|
|
|
// THIS FILE WAS AUTOMATICALLY GENERATED, PLEASE DO NOT EDIT.
|
|
//
|
|
// Generated on 2024-06-05T19:29:29Z by kres f292767-dirty.
|
|
|
|
package frontend
|
|
|
|
import "embed"
|
|
|
|
// Dist is an embedded JS frontend release folder.
|
|
//
|
|
//go:embed dist
|
|
var Dist embed.FS
|