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 24, 2023
0 parents commit 40f4950
Show file tree
Hide file tree
Showing 17 changed files with 5,081 additions and 0 deletions.
26 changes: 26 additions & 0 deletions .editorconfig
@@ -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
@@ -0,0 +1,7 @@
github: [balupton]
patreon: bevry
open_collective: bevry
ko_fi: balupton
liberapay: bevry
tidelift: npm/file-url-to-path
custom: ['https://bevry.me/fund']
17 changes: 17 additions & 0 deletions .github/dependabot.yml
@@ -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
@@ -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/npm@v1.1.2
with:
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}
npmBranchTag: ':next'
- name: publish to surge
uses: bevry-actions/surge@v1.0.3
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 --squash "$PR_URL"
env:
PR_URL: ${{github.event.pull_request.html_url}}
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
57 changes: 57 additions & 0 deletions .gitignore
@@ -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
@@ -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
@@ -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

0 comments on commit 40f4950

Please sign in to comment.