Skip to content

Commit

Permalink
chore(*): Initial Commit
Browse files Browse the repository at this point in the history
  • Loading branch information
noxzym committed Jul 25, 2024
1 parent 69c6c74 commit 3879373
Show file tree
Hide file tree
Showing 38 changed files with 7,580 additions and 3,013 deletions.
8 changes: 8 additions & 0 deletions .changeset/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Changesets

Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works
with multi-package repos, or single-package repos to help you version and publish your code. You can
find the full documentation for it [in our repository](https://github.com/changesets/changesets)

We have a quick list of common questions to get you started engaging with this project in
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md)
11 changes: 11 additions & 0 deletions .changeset/config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json",
"changelog": "@changesets/cli/changelog",
"commit": false,
"fixed": [],
"linked": [],
"access": "public",
"baseBranch": "master",
"updateInternalDependencies": "patch",
"ignore": []
}
2 changes: 0 additions & 2 deletions .gitattributes

This file was deleted.

18 changes: 0 additions & 18 deletions .github/workflows/docker-build.yaml

This file was deleted.

39 changes: 39 additions & 0 deletions .github/workflows/docs.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
name: Generate Documentation

on:
push:
branches:
- main

jobs:
generate:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 2

- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0

- name: Setup Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .node-version
check-latest: true
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Generate Docs
run: pnpm build:docs

- name: Deploy
uses: peaceiris/actions-gh-pages@4f9cc6602d3f66b9c108549d475ec49e8ef4d45e # v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
publish_dir: ./docs
user_name: "github-actions[bot]"
user_email: "github-actions[bot]@users.noreply.github.com"
16 changes: 8 additions & 8 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
# name: Publish to NPM and GitHub registry
name: Publish to NPM and GitHub registry

# on:
# release:
# types: [created]
on:
release:
types: [created]

# jobs:
# publish:
# uses: stegripe/workflows/.github/workflows/pnpm-publish.yaml@main
# secrets: inherit
jobs:
publish:
uses: stegripe/workflows/.github/workflows/pnpm-publish.yaml@main
secrets: inherit
65 changes: 55 additions & 10 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
@@ -1,14 +1,59 @@
name: Lint code and compile setup script
name: Lint code and compile test

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

jobs:
test:
uses: stegripe/workflows/.github/workflows/pnpm-lint-and-test.yaml@main
secrets: inherit
lint:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 2

- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0

- name: Setup Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .node-version
check-latest: true
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Lint code
run: pnpm lint

compile:
needs: lint
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7
with:
fetch-depth: 2

- name: Setup pnpm
uses: pnpm/action-setup@fe02b34f77f8bc703788d5817da081398fad5dd2 # v4.0.0

- name: Setup Node.js
uses: actions/setup-node@1e60f620b9541d16bece96c5465dc8ee9832be0b # v4.0.3
with:
node-version-file: .node-version
check-latest: true
cache: "pnpm"

- name: Install dependencies
run: pnpm install --frozen-lockfile

- name: Test compile
run: pnpm build && pnpm clean
126 changes: 31 additions & 95 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,100 +1,36 @@
# Logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*

# Diagnostic reports (https://nodejs.org/api/report.html)
report.[0-9]*.[0-9]*.[0-9]*.[0-9]*.json

# Runtime data
pids
*.pid
*.seed
*.pid.lock

# Directory for instrumented libs generated by jscoverage/JSCover
lib-cov

# Coverage directory used by tools like istanbul
coverage
*.lcov

# nyc test coverage
.nyc_output

# Grunt intermediate storage (https://gruntjs.com/creating-plugins#storing-task-files)
.grunt

# Bower dependency directory (https://bower.io/)
bower_components

# node-waf configuration
.lock-wscript

# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release

# Dependency directories
# Ignore a blackhole and the folder for development
node_modules/
jspm_packages/

# TypeScript cache
.vs/
.idea/
*.iml
coverage/
docs/

# Yarn files
.yarn/install-state.gz
.yarn/build-state.yml

# Build Artifacts
dist/
build/
docs/
test_out/
*.tsbuildinfo
*.zip
*.tar
*.tar.xz
*.tar.gz
*.7z

# Ignore heapsnapshot and log files
*.heapsnapshot
*.log

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Microbundle cache
.rpt2_cache/
.rts2_cache_cjs/
.rts2_cache_es/
.rts2_cache_umd/

# Optional REPL history
.node_repl_history

# Output of 'npm pack'
*.tgz

# Yarn Integrity file
.yarn-integrity

# dotenv environment variables file
.env
.env.test

# parcel-bundler cache (https://parceljs.org/)
.cache

# Next.js build output
.next

# Nuxt.js build / generate output
.nuxt
dist

# Gatsby files
.cache/
# Comment in the public line in if your project uses Gatsby and *not* Next.js
# https://nextjs.org/blog/next-9-1#public-directory-support
# public

# vuepress build output
.vuepress/dist

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/
# Ignore package locks
package-lock.json

# DynamoDB Local files
.dynamodb/
# Ignore Turbo caching
.turbo

# TernJS port file
.tern-port
# Ignore Eslint caching
.eslintcache
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
.node-version
./.node-version
39 changes: 0 additions & 39 deletions Dockerfile

This file was deleted.

Loading

0 comments on commit 3879373

Please sign in to comment.