Skip to content

Commit

Permalink
v1.0.0 - initial working release
Browse files Browse the repository at this point in the history
  • Loading branch information
balupton committed Nov 17, 2023
0 parents commit 8ca0c2d
Show file tree
Hide file tree
Showing 19 changed files with 4,933 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# 2023 June 22
# https://github.com/bevry/base

root = true

[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = false
indent_style = tab

[{*.mk,*.py}]
indent_style = tab
indent_size = 4

[*.md]
indent_style = space
indent_size = 4

[{*.json,*.lsrules,*.yaml,*.yml,*.bowerrc,*.babelrc,*.code-workspace}]
indent_style = space
indent_size = 2

[{*.json,*.lsrules}]
insert_final_newline = true
7 changes: 7 additions & 0 deletions .github/FUNDING.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
github: [balupton]
patreon: bevry
open_collective: bevry
ko_fi: balupton
liberapay: bevry
tidelift: npm/@bevry/fs-read
custom: ['https://bevry.me/fund']
17 changes: 17 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
version: 2
updates:
- package-ecosystem: github-actions
directory: /
schedule:
interval: weekly
day: sunday
time: '00:00'
timezone: Australia/Perth
- package-ecosystem: npm
directory: /
schedule:
interval: weekly
day: sunday
time: '00:00'
timezone: Australia/Perth
open-pull-requests-limit: 0
78 changes: 78 additions & 0 deletions .github/workflows/bevry.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,78 @@
name: bevry
'on':
- push
- pull_request
jobs:
test:
strategy:
matrix:
os:
- ubuntu-latest
node:
- '16'
- '18'
- '20'
- '21'
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- name: Install desired Node.js version
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Verify Node.js Versions
run: >-
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
--version && node -e 'console.log(process.versions)'
- run: npm run our:setup
- run: npm run our:compile
- run: npm run our:verify
- name: Install targeted Node.js
if: ${{ matrix.node != 20 }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node }}
- name: Verify Node.js Versions
run: >-
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
--version && node -e 'console.log(process.versions)'
- run: npm test
publish:
if: ${{ github.event_name == 'push' }}
needs: test
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Install desired Node.js version
uses: actions/setup-node@v4
with:
node-version: '20'
- name: Verify Node.js Versions
run: >-
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
--version && node -e 'console.log(process.versions)'
- run: npm run our:setup
- run: npm run our:compile
- run: npm run our:meta
- name: publish to npm
uses: bevry-actions/[email protected]
with:
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}
npmBranchTag: ':next'
- name: publish to surge
uses: bevry-actions/[email protected]
with:
surgeLogin: ${{ secrets.SURGE_LOGIN }}
surgeToken: ${{ secrets.SURGE_TOKEN }}
automerge:
permissions:
contents: write
pull-requests: write
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- name: Enable auto-merge for Dependabot PRs
run: gh pr merge --auto --merge "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
57 changes: 57 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# 2020 June 3
# https://github.com/bevry/base

# System Files
**/.DS_Store

# Temp Files
**/.docpad.db
**/*.log
**/*.cpuprofile
**/*.heapsnapshot

# Editor Files
.c9/
.vscode/

# Yarn Files
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
.pnp/

# Private Files
.env
.idea
.cake_task_cache

# Build Caches
build/
bower_components/
node_modules/
.next/

# -------------------------------------
# CDN Inclusions, Git Exclusions

# Build Outputs
**/out.*
**/*.out.*
**/out/
**/output/
*compiled*
edition*/
coffeejs/
coffee/
es5/
es2015/
esnext/
docs/

# =====================================
# CUSTOM

.now
67 changes: 67 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,67 @@
# 2020 May 5
# https://github.com/bevry/base

# System Files
**/.DS_Store

# Temp Files
**/.docpad.db
**/*.log
**/*.cpuprofile
**/*.heapsnapshot

# Editor Files
.c9/
.vscode/

# Private Files
.env
.idea
.cake_task_cache

# Build Caches
build/
components/
bower_components/
node_modules/
.pnp/
.pnp.js

# Ecosystem Files
.dependabout
.github

# -------------------------------------
# CDN Inclusions, Package Exclusions

# Documentation Files
docs/
guides/
BACKERS.md
CONTRIBUTING.md
HISTORY.md

# Development Files
web/
**/example*
**/test*
.babelrc*
.editorconfig
.eslintrc*
.jshintrc
.jscrc
coffeelint*
.travis*
nakefile*
Cakefile
Makefile

# Other Package Definitions
template.js
component.json
bower.json

# =====================================
# CUSTOM

# None
59 changes: 59 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,59 @@
# 2023 November 13
# https://github.com/bevry/base

# VCS Files
.git
.svn
.hg

# System Files
**/.DS_Store

# Temp Files
**/.docpad.db
**/*.log
**/*.cpuprofile
**/*.heapsnapshot

# Yarn Files
.yarn/*
!.yarn/releases
!.yarn/plugins
!.yarn/sdks
!.yarn/versions
.pnp.*
.pnp/

# Build Caches
build/
components/
bower_components/
node_modules/

# Build Outputs
**/*.cjs
**/*.mjs
**/out.*
**/*.out.*
**/out/
**/output/
*compiled*
edition*/
coffeejs/
coffee/
es5/
es2015/
esnext/
docs/

# Development Files
test/
**/*fixtures*

# Ecosystem Caches
.trunk/*/

# =====================================
# CUSTOM

# None
Loading

0 comments on commit 8ca0c2d

Please sign in to comment.