Skip to content

Commit

Permalink
add a bunch of things
Browse files Browse the repository at this point in the history
  • Loading branch information
jcbhmr authored Aug 22, 2023
1 parent b019113 commit 1231bfc
Show file tree
Hide file tree
Showing 92 changed files with 2,598 additions and 16,366 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Deploy docs
name: Deploy GitHub Pages
on:
release:
types: published
Expand Down
28 changes: 0 additions & 28 deletions .github/workflows/preview-docs.yml

This file was deleted.

18 changes: 7 additions & 11 deletions .github/workflows/publish-npm.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,9 @@
name: Publish npm
on:
release:
types: [published, prereleased]
types: published
workflow_dispatch:
concurrency:
group: ${{ github.workflow }}
cancel-in-progress: true
concurrency: ${{ github.workflow }}
jobs:
publish-npm:
runs-on: ubuntu-latest
Expand All @@ -17,12 +15,10 @@ jobs:
registry-url: https://registry.npmjs.org/
- run: npm ci
- run: npm test
- name: Publish to npm
run: |
if [[ "${{ github.event.release.prerelease }}" == "true" ]]; then
npm publish --tag next --access public
else
npm publish --access public
fi
- run: npm publish --tag next
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
- if: '!github.event.release.prerelease'
run: npm dist-tag add "$(npm view . name)@$(npm view . version)" latest
env:
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
34 changes: 34 additions & 0 deletions .github/workflows/test-nodejs.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
name: Test
on:
push:
branches: "main"
paths-ignore:
- .gitignore
- LICENSE
- README.md
- .github/**
- "!.github/workflows/test-nodejs.yml"
pull_request:
paths:
- .gitignore
- LICENSE
- README.md
- .github/**
- "!.github/workflows/test-nodejs.yml"
concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true
jobs:
test:
strategy:
matrix:
node-version: ["16", "18", "20"]
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: ${{ matrix.node-version }}
cache: npm
- run: npm ci
- run: npm test
37 changes: 0 additions & 37 deletions .github/workflows/test.yml

This file was deleted.

136 changes: 133 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,5 +1,135 @@
docs/dist
# https://typedoc.org/
docs

#region https://github.com/github/gitignore/blob/main/Node.gitignore
# Logs
logs
*.log
npm-debug.log*
yarn-debug.log*
yarn-error.log*
lerna-debug.log*
.pnpm-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
node_modules/
jspm_packages/

# Snowpack dependency directory (https://snowpack.dev/)
web_modules/

# TypeScript cache
*.tsbuildinfo

# Optional npm cache directory
.npm

# Optional eslint cache
.eslintcache

# Optional stylelint cache
.stylelintcache

# 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 variable files
.env
.env.development.local
.env.test.local
.env.production.local
.env.local

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

# Next.js build output
.next
out

# 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

# vuepress v2.x temp and cache directory
.temp
.cache

# Docusaurus cache and generated files
.docusaurus

# Serverless directories
.serverless/

# FuseBox cache
.fusebox/

# DynamoDB Local files
.dynamodb/

# TernJS port file
.tern-port

# Stores VSCode versions used for testing VSCode extensions
.vscode-test

# yarn v2
.yarn/cache
.yarn/unplugged
.yarn/build-state.yml
.yarn/install-state.gz
.pnp.*
#endregion
9 changes: 0 additions & 9 deletions .vscode/settings.json

This file was deleted.

2 changes: 1 addition & 1 deletion LICENSE
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
MIT License

Copyright (c) 2018 Luca Ban - Mesqueeb
Copyright (c) 2018 Luca Ban

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
Loading

0 comments on commit 1231bfc

Please sign in to comment.