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

Feature/update repo to lichtblick #6

Merged
merged 6 commits into from
Dec 9, 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
18 changes: 18 additions & 0 deletions .eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
extends:
- plugin:@lichtblick/base
- plugin:@lichtblick/jest

env:
node: true

ignorePatterns:
- dist
- examples
- template

overrides:
- files: ["*.ts", "*.tsx"]
extends:
- plugin:@lichtblick/typescript
parserOptions:
project: ./tsconfig.json
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ jobs:
- name: create sample extension
run: npx package.tgz sample

# install local package.tgz to use the foxglove-scripts from this build
# install local package.tgz to use the lichtblick-scripts from this build
- run: npm install ../package.tgz
working-directory: sample

Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# create-lichtblick-extension

[![npm version](https://img.shields.io/npm/v/create-foxglove-extension.svg?style=flat)](https://www.npmjs.com/package/create-foxglove-extension)
[![npm version](https://img.shields.io/npm/v/create-lichtblick-extension.svg?style=flat)](https://www.npmjs.com/package/create-lichtblick-extension)

## Introduction

Expand All @@ -10,12 +10,12 @@ using the "@lichtblick/suite" SDK.

## Creating Your First Extension

Make sure you have [Node.js](https://nodejs.org/) 14 or newer installed. In a terminal, go
Make sure you have [Node.js](https://nodejs.org/) 16 or newer installed. In a terminal, go
into the directory where you keep source code (ex: `cd ~/Code`) and run the following
command:

```sh
npm init foxglove-extension@latest helloworld
npm init lichtblick-extension@latest helloworld
```

Feel free to choose an extension name other than _helloworld_. Otherwise, this will create
Expand Down Expand Up @@ -83,11 +83,11 @@ You can find examples of different kinds of extensions in the `./examples` direc

## Developer information

Information on developing `create-foxglove-extension` itself.
Information on developing `create-lichtblick-extension` itself.

### Build and Run Locally

Build the `create-foxglove-extension` package locally with:
Build the `create-lichtblick-extension` package locally with:

```bash
npm pack
Expand All @@ -96,7 +96,7 @@ npm pack
Run the extension generator:

```bash
npx create-foxglove-extension-{VERSION}.tgz example-extension-name
npx create-lichtblick-extension-{VERSION}.tgz example-extension-name
```

### Release process
Expand Down
20 changes: 0 additions & 20 deletions eslint.config.js

This file was deleted.

27 changes: 27 additions & 0 deletions examples/call-service-panel-example/.eslintrc.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
root: true

env:
browser: true
es2020: true
node: false

ignorePatterns:
- dist

plugins:
- jest

extends:
- plugin:@lichtblick/base
- plugin:@lichtblick/react

rules:
react-hooks/exhaustive-deps:
- error

overrides:
- files: ["*.ts", "*.tsx"]
extends:
- plugin:@lichtblick/typescript
parserOptions:
project: ./tsconfig.json
2 changes: 1 addition & 1 deletion examples/call-service-panel-example/README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# call-service-panel

This is a simple [Foxglove](http://foxglove.dev/) [extension panel](https://docs.foxglove.dev/docs/visualization/extensions/api/panel) that allows for calling services.
This is a simple [Lichtblick](https://github.com/Lichtblick-Suite) extension panel that allows for calling services.
23 changes: 0 additions & 23 deletions examples/call-service-panel-example/eslint.config.js

This file was deleted.

Loading
Loading