From 3de63e8dcae908bfb4c2e32272edf4bd370cf550 Mon Sep 17 00:00:00 2001 From: Francis Enyi Date: Sun, 26 Jan 2025 17:41:24 +0000 Subject: [PATCH] Updated documentation --- .github/workflows/main | 25 ----------------------- .github/workflows/npm-publish.yml | 33 ------------------------------- README.md | 1 + 3 files changed, 1 insertion(+), 58 deletions(-) delete mode 100644 .github/workflows/main delete mode 100644 .github/workflows/npm-publish.yml diff --git a/.github/workflows/main b/.github/workflows/main deleted file mode 100644 index 515874d..0000000 --- a/.github/workflows/main +++ /dev/null @@ -1,25 +0,0 @@ -name: Run Tests - -on: - pull_request: - branches: - - main - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - name: Checkout repository - uses: actions/checkout@v2 - - - name: Set up Node.js - uses: actions/setup-node@v3 - with: - node-version: '14' - - - name: Install dependencies - run: npm install - - - name: Run Jest tests - run: npm test diff --git a/.github/workflows/npm-publish.yml b/.github/workflows/npm-publish.yml deleted file mode 100644 index 6681cc8..0000000 --- a/.github/workflows/npm-publish.yml +++ /dev/null @@ -1,33 +0,0 @@ -# This workflow will run tests using node and then publish a package to GitHub Packages when a release is created -# For more information see: https://docs.github.com/en/actions/publishing-packages/publishing-nodejs-packages - -name: Publish Package - -on: - release: - types: [created] - -jobs: - build: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - - run: npm ci - - run: npm test - - publish-npm: - needs: build - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v3 - - uses: actions/setup-node@v3 - with: - node-version: 16 - registry-url: https://registry.npmjs.org/ - - run: npm ci - - run: npm publish - env: - NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} diff --git a/README.md b/README.md index 9f36bc2..e21fb5c 100644 --- a/README.md +++ b/README.md @@ -92,6 +92,7 @@ export interface TreeViewItem { expanded?: boolean; disableDragAndDrop?: boolean; // Disable drag and drop for a specific node. disabled?: boolean;// When disabled, an item can neither be selected nor checked + styles?: string[]; // Add the .css styles for a given item meta?: any;// provides meta-data of any type per node. } ```