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

transfer & cleanup #1

Merged
merged 1 commit into from
Jun 28, 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
5 changes: 0 additions & 5 deletions .changeset/five-guests-clap.md

This file was deleted.

47 changes: 0 additions & 47 deletions .github/ISSUE_TEMPLATE/plugin_bug_report.md

This file was deleted.

30 changes: 21 additions & 9 deletions .github/workflows/libs-backend.yaml → .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
@@ -1,19 +1,17 @@
name: Backed libraries
name: Test & Build
on:
pull_request:
paths:
- "lib/go/**"
push:
branches:
- main
paths:
- "lib/go/**"
defaults:
run:
shell: bash
working-directory: ./
permissions:
contents: read
env:
DO_NOT_TRACK: 1
jobs:
build:
runs-on: ubuntu-latest
Expand All @@ -23,11 +21,25 @@ jobs:
with:
egress-policy: audit
- name: Checkout
uses: actions/checkout@v3
uses: actions/checkout@v4
with:
repository: ${{ github.event.pull_request.head.repo.full_name || github.repository }}
ref: ${{ github.event.pull_request.head.ref || github.ref }}
fetch-depth: 1
- name: Setup NodeJS environment
uses: actions/setup-node@v4
with:
node-version-file: .nvmrc
cache: yarn
- name: Install frontend dependencies
run: yarn install --frozen-lockfile;
- name: Spellcheck
run: yarn spellcheck;
- name: Setup Go environment
uses: actions/setup-go@v4
uses: actions/setup-go@v5
with:
go-version: "1.22.1"
cache-dependency-path: "**/*.sum"
- name: Validate environment
run: |
echo "-------- node version -----"
Expand All @@ -38,5 +50,5 @@ jobs:
yarn --version
echo "-------- go version -----"
go version
- name: Test backend
run: npx --package=turbo@2.0.5 -- turbo test:backend
- name: Test
run: yarn test
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
20
14 changes: 2 additions & 12 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
# CHANGELOG

## v0.0.2
## v1.0.0

- **Chore**: Cleanup / removed plugins from the monorepo

## v0.0.1

- **plugin - blank** [yesoreyeram-blank-datasource](./plugins/yesoreyeram-blank-datasource/) added
- **plugin - hello** [yesoreyeram-hello-datasource](./plugins/yesoreyeram-hello-datasource/) added
- **plugin - petstore** [yesoreyeram-petstore-datasource](./plugins/yesoreyeram-petstore-datasource/) added
- **plugin - vercel** [yesoreyeram-vercel-datasource](./plugins/yesoreyeram-vercel-datasource) added
- **backend package** new backend package `macros` added
- **backend package** new backend package `restds` added
- **backend package** new backend package `anyframer` added
- **Chore**: Initial version forked from [yesoreyeram's repo](https://github.com/yesoreyeram/grafana-plugins)
6 changes: 3 additions & 3 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,12 @@
- Git
- NodeJS 20+
- Yarn
- go 1.22
- go 1.22.1
- Mage
- Docker

## How to run this locally

- Clone the repo locally `git clone https://github.com/yesoreyeram/grafana-plugins yesoreyeram-grafana-plugins` and `cd yesoreyeram-grafana-plugins`
- Clone the repo locally `git clone https://github.com/grafana/infinity-libs infinity-libs` and `cd infinity-libs`
- Install packages `yarn`
- Test `yarn test`
- Run the backend tests with `yarn test`
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
# Grafana Plugins
# Infinity libs

My experiments with [Grafana](https://grafana.com) [plugins](https://grafana.com/plugins) eco-system. This is a mono-repo of following plugins and grafana related packages.
The libs used by [Grafana Infinity data source plugin](https://grafana.com/grafana/plugins/yesoreyeram-infinity-datasource) and other grafana plugins. This repository contains only the libraries but not the actual plugins. If you are looking forward to contribute to the infinity data source plugin, consider using it's [repository](https://github.com/grafana/grafana-infinity-datasource) instead.

> **NOTE**: This is a forked/detached version of [original libs](https://github.com/yesoreyeram/grafana-plugins) developed by [@yesoreyeram](https://github.com/yesoreyeram).

## Included go packages

Expand Down
4 changes: 1 addition & 3 deletions go.work
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
go 1.22

toolchain go1.22.1
go 1.22.1

use (
./lib/go/anyframer
Expand Down
Loading