Author: roerohan
- Express.js
- Body Parser
Author: roerohan
#!/bin/bash | |
CURTAG=`git describe --tags --abbrev=0`; | |
CURTAG="${CURTAG/v/}" | |
IFS='.' read -a vers <<< "$CURTAG" | |
MAJ=${vers[0]} | |
MIN=${vers[1]} | |
BUG=${vers[2]} |
#!/bin/bash | |
RELEASE_RC_FILE=".releaserc.json" | |
GITHUB_WORKFLOWS_DIR=".github/workflows" | |
NPM_RELEASE_ACTION_FILE="$GITHUB_WORKFLOWS_DIR/release.yml" | |
LINT_BUILD_ACTION_FILE="$GITHUB_WORKFLOWS_DIR/lint.yml" | |
TEST_ACTION_FILE="$GITHUB_WORKFLOWS_DIR/test.yml" | |
if ! command -v npm &> /dev/null | |
then |
name: Release to NPM Registry | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
release: | |
name: Release | |
runs-on: ubuntu-latest | |
steps: |
An ideal application will contain 3 things:
Sample Application Template:
export default class DyteMap<T extends { id: string } & DyteEventEmitter> extends Map<string, T> { | |
readonly #eventEmitter: DyteEventEmitter; | |
#listeners: Map<string, (event: keyof typeof DyteEvents, ...args: any[]) => void>; | |
readonly onAddEvent: keyof typeof DyteEvents; | |
readonly onDeleteEvent: keyof typeof DyteEvents; | |
constructor(options?: |
import React, { useEffect, useRef, useState } from 'react'; | |
import { | |
provideDyteDesignSystem, | |
DyteCameraToggle, | |
DyteChatToggle, | |
DyteClock, | |
DyteControlbar, | |
DyteDialogManager, | |
DyteGrid, | |
DyteGridPagination, |