-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 8ca0c2d
Showing
19 changed files
with
4,933 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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}} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
Oops, something went wrong.