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

Update @foxglove/studio package to @foxglove/extension, bump to 1.0.0 #123

Merged
merged 2 commits into from
May 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// -*- jsonc -*-
{
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"editor.defaultFormatter": "esbenp.prettier-vscode",
"editor.formatOnSave": true,
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
[Foxglove](https://foxglove.dev) allows developers to create
[extensions](https://docs.foxglove.dev/docs/visualization/extensions/introduction), or custom code
that is loaded and executed inside the Foxglove application. Extensions are authored in TypeScript
using the `@foxglove/studio` SDK.
using the `@foxglove/extension` SDK.

## Creating Your First Extension

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-foxglove-extension",
"version": "0.8.6",
"version": "1.0.0",
"publisher": "foxglove",
"description": "Create and package Foxglove extensions",
"license": "MIT",
Expand Down
2 changes: 1 addition & 1 deletion src/create.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import { info } from "./log";

const DEPENDENCIES = [
"@foxglove/eslint-plugin@^1",
"@foxglove/studio@^1",
"@foxglove/extension@^2",
"@types/react@^18",
"@types/react-dom@^18",
"@typescript-eslint/eslint-plugin@^6",
Expand Down
2 changes: 1 addition & 1 deletion src/webpackConfigExtension.ts
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ export default (
// the source file. Using a separate source map file does not work.
devtool: "eval-source-map",
externals: {
"@foxglove/studio": "@foxglove/studio",
"@foxglove/extension": "@foxglove/extension",
},
resolve: {
extensions: [".js", ".ts", ".jsx", ".tsx"],
Expand Down
2 changes: 1 addition & 1 deletion template/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# ${NAME}

[Foxglove](https://foxglove.dev) allows developers to create [extensions](https://docs.foxglove.dev/docs/visualization/extensions/introduction), or custom code that is loaded and executed inside the Foxglove application. This can be used to add custom panels. Extensions are authored in TypeScript using the `@foxglove/studio` SDK.
[Foxglove](https://foxglove.dev) allows developers to create [extensions](https://docs.foxglove.dev/docs/visualization/extensions/introduction), or custom code that is loaded and executed inside the Foxglove application. This can be used to add custom panels. Extensions are authored in TypeScript using the `@foxglove/extension` SDK.

## Develop

Expand Down
2 changes: 1 addition & 1 deletion template/src/ExamplePanel.tsx
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { Immutable, MessageEvent, PanelExtensionContext, Topic } from "@foxglove/studio";
import { Immutable, MessageEvent, PanelExtensionContext, Topic } from "@foxglove/extension";
import { useEffect, useLayoutEffect, useState } from "react";
import ReactDOM from "react-dom";

Expand Down
2 changes: 1 addition & 1 deletion template/src/index.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { ExtensionContext } from "@foxglove/studio";
import { ExtensionContext } from "@foxglove/extension";
import { initExamplePanel } from "./ExamplePanel";

export function activate(extensionContext: ExtensionContext): void {
Expand Down
Loading