Skip to content

Commit

Permalink
Initial commit
Browse files Browse the repository at this point in the history
  • Loading branch information
blwatkins authored Oct 20, 2024
0 parents commit e334da6
Show file tree
Hide file tree
Showing 20 changed files with 4,941 additions and 0 deletions.
45 changes: 45 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
name: Bug Report
description: Use this form to submit a bug report.
title: "Bug Report - [BUG SUMMARY]"
labels: [ "bug" ]
body:
- type: input
id: browserName
attributes:
label: Browser Name
description: What browser are you using?
placeholder: "Example: Firefox"
validations:
required: false
- type: input
id: browserVersion
attributes:
label: Browser Version
description: What version of your browser are you using?
placeholder: "Example: v121.0"
validations:
required: false
- type: input
id: projectVersion
attributes:
label: Library Version
description: What version of the project are you using?
placeholder: "Example: v1.0.1"
validations:
required: true
- type: checkboxes
attributes:
label: Code of Conduct
description: The Code of Conduct helps create a safe space for everyone. We require that everyone agrees to it.
options:
- label: "I agree to follow this project's [Code of Conduct](https://github.com/brittni-and-the-polar-bear/.github/tree/main?tab=coc-ov-file#readme)."
required: true
- type: textarea
attributes:
label: Issue Description
description: Please explain in detail the problems you are experiencing with the program.
validations:
required: true
- type: markdown
attributes:
value: "## Thank you for your feedback!"
5 changes: 5 additions & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
blank_issues_enabled: false
contact_links:
- name: Code of Conduct Violations
url: https://tr.ee/O4CuCemckO
about: Please report any Code of Conduct violations here.
18 changes: 18 additions & 0 deletions .github/ISSUE_TEMPLATE/feature-request.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
---
name: Feature Request
about: Use this form to request a feature.
title: "Feature Request - [Feature Summary]"
labels: enhancement
---

# Description

Place the description of your new feature here.

# Tasks

If you are familiar with the development requirements, place the tasks you expect will need to be completed for this
feature here.

- [ ] task 1
- [ ] task 2
62 changes: 62 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
# To get started with Dependabot version updates, you'll need to specify which
# package ecosystems to update and where the package manifests are located.
# Please see the documentation for all configuration options:
# https://docs.github.com/github/administering-a-repository/configuration-options-for-dependency-updates

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
schedule:
interval: weekly
target-branch: "main"
allow:
- dependency-type: "direct"
versioning-strategy: increase
commit-message:
prefix: "dependabot npm update"
include: "scope"
groups:
development-dependencies:
applies-to: version-updates
dependency-type: "development"
update-types:
- "major"
- "minor"
- "patch"
development-dependencies-security:
applies-to: security-updates
dependency-type: "development"
update-types:
- "major"
- "minor"
- "patch"
production-dependencies:
applies-to: version-updates
dependency-type: "production"
update-types:
- "major"
- "minor"
- "patch"
production-dependencies-security:
applies-to: security-updates
dependency-type: "production"
update-types:
- "major"
- "minor"
- "patch"
reviewers:
- "blwatkins"
- "azurepolarbear"

- package-ecosystem: github-actions
directory: "/"
schedule:
interval: weekly
target-branch: "main"
commit-message:
prefix: "dependabot github-action update"
include: "scope"
reviewers:
- "blwatkins"
- "azurepolarbear"
83 changes: 83 additions & 0 deletions .github/workflows/codeql.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,83 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"
schedule:
- cron: '0 12 * * *'

jobs:
analyze:
name: Analyze
# Runner size impacts CodeQL analysis time. To learn more, please see:
# - https://gh.io/recommended-hardware-resources-for-running-codeql
# - https://gh.io/supported-runners-and-hardware-resources
# - https://gh.io/using-larger-runners
# Consider using larger runners for possible analysis time improvements.
runs-on: ${{ (matrix.language == 'swift' && 'macos-latest') || 'ubuntu-latest' }}
timeout-minutes: ${{ (matrix.language == 'swift' && 120) || 360 }}
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript-typescript' ]
# CodeQL supports [ 'c-cpp', 'csharp', 'go', 'java-kotlin', 'javascript-typescript', 'python', 'ruby', 'swift' ]
# Use only 'java-kotlin' to analyze code written in Java, Kotlin or both
# Use only 'javascript-typescript' to analyze code written in JavaScript, TypeScript or both
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v3
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# For more details on CodeQL's query packs, refer to: https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, Go, Java, or Swift).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v3

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v3
with:
category: "/language:${{matrix.language}}"
33 changes: 33 additions & 0 deletions .github/workflows/node-build.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# This workflow will do a clean installation of node dependencies, cache/restore them, build the source code and run tests across different versions of node
# For more information see: https://docs.github.com/en/actions/automating-builds-and-tests/building-and-testing-nodejs

name: Node.js Build

on:
push:
branches:
- "main"
pull_request:
branches:
- "main"

jobs:
build:

runs-on: ubuntu-latest

strategy:
matrix:
node-version: [ 20.x ]
# See supported Node.js release schedule at https://nodejs.org/en/about/releases/

steps:
- uses: actions/checkout@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: 'npm'
- run: npm ci
- run: npm run lint
- run: npm run build
12 changes: 12 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
*.DS_Store

# node and npm
node_modules/

# generated files
out/
dist/
zip/

# WebStorm
.idea/
1 change: 1 addition & 0 deletions .node-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
v20.18.0
Loading

0 comments on commit e334da6

Please sign in to comment.