Skip to content

Commit c33cf23

Browse files
committed
v1.0.0 - initial working release
0 parents  commit c33cf23

20 files changed

+3860
-0
lines changed

.editorconfig

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
# 2023 June 22
2+
# https://github.com/bevry/base
3+
4+
root = true
5+
6+
[*]
7+
end_of_line = lf
8+
charset = utf-8
9+
trim_trailing_whitespace = true
10+
insert_final_newline = false
11+
indent_style = tab
12+
13+
[{*.mk,*.py}]
14+
indent_style = tab
15+
indent_size = 4
16+
17+
[*.md]
18+
indent_style = space
19+
indent_size = 4
20+
21+
[{*.json,*.lsrules,*.yaml,*.yml,*.bowerrc,*.babelrc,*.code-workspace}]
22+
indent_style = space
23+
indent_size = 2
24+
25+
[{*.json,*.lsrules}]
26+
insert_final_newline = true

.gitattributes

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# 2024 January 3
2+
# https://github.com/bevry/base
3+
4+
# never modify any line ending in any file, disregarding all nonsense from eol, autocrlf, renormalize, safecrlf, usecrlfattr, allBinary
5+
* -text
6+
7+
# =====================================
8+
# CUSTOM

.github/FUNDING.yml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
github: [balupton]
2+
patreon: bevry
3+
open_collective: bevry
4+
ko_fi: balupton
5+
liberapay: bevry
6+
tidelift: npm/async-errback
7+
custom: ['https://bevry.me/fund']

.github/dependabot.yml

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
version: 2
2+
updates:
3+
- package-ecosystem: github-actions
4+
directory: /
5+
schedule:
6+
interval: weekly
7+
day: sunday
8+
time: '00:00'
9+
timezone: Australia/Perth
10+
- package-ecosystem: npm
11+
directory: /
12+
schedule:
13+
interval: weekly
14+
day: sunday
15+
time: '00:00'
16+
timezone: Australia/Perth
17+
open-pull-requests-limit: 0

.github/workflows/bevry.yml

Lines changed: 80 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,80 @@
1+
name: bevry
2+
'on':
3+
- push
4+
- pull_request
5+
jobs:
6+
test:
7+
strategy:
8+
matrix:
9+
os:
10+
- ubuntu-latest
11+
- macos-latest
12+
- windows-latest
13+
node:
14+
- '16'
15+
- '18'
16+
- '20'
17+
- '21'
18+
runs-on: ${{ matrix.os }}
19+
steps:
20+
- uses: actions/checkout@v4
21+
- name: Install desired Node.js version
22+
uses: actions/setup-node@v4
23+
with:
24+
node-version: '20'
25+
- name: Verify Node.js Versions
26+
run: >-
27+
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
28+
--version && node -e 'console.log(process.versions)'
29+
- run: npm run our:setup
30+
- run: npm run our:compile
31+
- run: npm run our:verify
32+
- name: Install targeted Node.js
33+
if: ${{ matrix.node != 20 }}
34+
uses: actions/setup-node@v4
35+
with:
36+
node-version: ${{ matrix.node }}
37+
- name: Verify Node.js Versions
38+
run: >-
39+
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
40+
--version && node -e 'console.log(process.versions)'
41+
- run: npm test
42+
publish:
43+
if: ${{ github.event_name == 'push' }}
44+
needs: test
45+
runs-on: ubuntu-latest
46+
steps:
47+
- uses: actions/checkout@v4
48+
- name: Install desired Node.js version
49+
uses: actions/setup-node@v4
50+
with:
51+
node-version: '20'
52+
- name: Verify Node.js Versions
53+
run: >-
54+
printf '%s' 'node: ' && node --version && printf '%s' 'npm: ' && npm
55+
--version && node -e 'console.log(process.versions)'
56+
- run: npm run our:setup
57+
- run: npm run our:compile
58+
- run: npm run our:meta
59+
- name: publish to npm
60+
uses: bevry-actions/npm@v1.1.7
61+
with:
62+
npmAuthToken: ${{ secrets.NPM_AUTH_TOKEN }}
63+
npmBranchTag: ':next'
64+
- name: publish to surge
65+
uses: bevry-actions/surge@v1.1.0
66+
with:
67+
surgeLogin: ${{ secrets.SURGE_LOGIN }}
68+
surgeToken: ${{ secrets.SURGE_TOKEN }}
69+
automerge:
70+
permissions:
71+
contents: write
72+
pull-requests: write
73+
runs-on: ubuntu-latest
74+
if: github.actor == 'dependabot[bot]'
75+
steps:
76+
- name: Enable auto-merge for Dependabot PRs
77+
run: gh pr merge --auto --squash "$PR_URL"
78+
env:
79+
PR_URL: ${{github.event.pull_request.html_url}}
80+
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}

.gitignore

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,57 @@
1+
# 2020 June 3
2+
# https://github.com/bevry/base
3+
4+
# System Files
5+
**/.DS_Store
6+
7+
# Temp Files
8+
**/.docpad.db
9+
**/*.log
10+
**/*.cpuprofile
11+
**/*.heapsnapshot
12+
13+
# Editor Files
14+
.c9/
15+
.vscode/
16+
17+
# Yarn Files
18+
.yarn/*
19+
!.yarn/releases
20+
!.yarn/plugins
21+
!.yarn/sdks
22+
!.yarn/versions
23+
.pnp.*
24+
.pnp/
25+
26+
# Private Files
27+
.env
28+
.idea
29+
.cake_task_cache
30+
31+
# Build Caches
32+
build/
33+
bower_components/
34+
node_modules/
35+
.next/
36+
37+
# -------------------------------------
38+
# CDN Inclusions, Git Exclusions
39+
40+
# Build Outputs
41+
**/out.*
42+
**/*.out.*
43+
**/out/
44+
**/output/
45+
*compiled*
46+
edition*/
47+
coffeejs/
48+
coffee/
49+
es5/
50+
es2015/
51+
esnext/
52+
docs/
53+
54+
# =====================================
55+
# CUSTOM
56+
57+
.now

.npmignore

Lines changed: 67 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,67 @@
1+
# 2020 May 5
2+
# https://github.com/bevry/base
3+
4+
# System Files
5+
**/.DS_Store
6+
7+
# Temp Files
8+
**/.docpad.db
9+
**/*.log
10+
**/*.cpuprofile
11+
**/*.heapsnapshot
12+
13+
# Editor Files
14+
.c9/
15+
.vscode/
16+
17+
# Private Files
18+
.env
19+
.idea
20+
.cake_task_cache
21+
22+
# Build Caches
23+
build/
24+
components/
25+
bower_components/
26+
node_modules/
27+
.pnp/
28+
.pnp.js
29+
30+
# Ecosystem Files
31+
.dependabout
32+
.github
33+
34+
# -------------------------------------
35+
# CDN Inclusions, Package Exclusions
36+
37+
# Documentation Files
38+
docs/
39+
guides/
40+
BACKERS.md
41+
CONTRIBUTING.md
42+
HISTORY.md
43+
44+
# Development Files
45+
web/
46+
**/example*
47+
**/test*
48+
.babelrc*
49+
.editorconfig
50+
.eslintrc*
51+
.jshintrc
52+
.jscrc
53+
coffeelint*
54+
.travis*
55+
nakefile*
56+
Cakefile
57+
Makefile
58+
59+
# Other Package Definitions
60+
template.js
61+
component.json
62+
bower.json
63+
64+
# =====================================
65+
# CUSTOM
66+
67+
# None

.prettierignore

Lines changed: 59 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,59 @@
1+
# 2023 November 13
2+
# https://github.com/bevry/base
3+
4+
# VCS Files
5+
.git
6+
.svn
7+
.hg
8+
9+
# System Files
10+
**/.DS_Store
11+
12+
# Temp Files
13+
**/.docpad.db
14+
**/*.log
15+
**/*.cpuprofile
16+
**/*.heapsnapshot
17+
18+
# Yarn Files
19+
.yarn/*
20+
!.yarn/releases
21+
!.yarn/plugins
22+
!.yarn/sdks
23+
!.yarn/versions
24+
.pnp.*
25+
.pnp/
26+
27+
# Build Caches
28+
build/
29+
components/
30+
bower_components/
31+
node_modules/
32+
33+
# Build Outputs
34+
**/*.cjs
35+
**/*.mjs
36+
**/out.*
37+
**/*.out.*
38+
**/out/
39+
**/output/
40+
*compiled*
41+
edition*/
42+
coffeejs/
43+
coffee/
44+
es5/
45+
es2015/
46+
esnext/
47+
docs/
48+
49+
# Development Files
50+
test/
51+
**/*fixtures*
52+
53+
# Ecosystem Caches
54+
.trunk/*/
55+
56+
# =====================================
57+
# CUSTOM
58+
59+
# None

0 commit comments

Comments
 (0)