Skip to content

Commit

Permalink
cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
yesoreyeram committed Jun 28, 2024
1 parent 843d239 commit b9b44ba
Show file tree
Hide file tree
Showing 57 changed files with 883 additions and 1,727 deletions.
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.

26 changes: 17 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,21 @@ 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: 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 +46,5 @@ jobs:
yarn --version
echo "-------- go version -----"
go version
- name: Test backend
run: npx [email protected] -- turbo test:backend
- name: Test
run: yarn test
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

0 comments on commit b9b44ba

Please sign in to comment.