Skip to content

Commit

Permalink
πŸŽ‰ (dotfiles) from (dotfiles-private)
Browse files Browse the repository at this point in the history
Ejects from private repo (now renamed to) `dotfiles-private`
 which I have been using since 2016 apparently. πŸ˜…οΈ
  • Loading branch information
JeromeFitz committed Dec 1, 2021
0 parents commit f4dd351
Show file tree
Hide file tree
Showing 112 changed files with 10,683 additions and 0 deletions.
23 changes: 23 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
root = true

[*]
charset = utf-8
end_of_line = lf
indent_size = 2
indent_style = space
insert_final_newline = true
tab_width = 4
trim_trailing_whitespace = true

[*.md]
trim_trailing_whitespace = false

[*.js]
quote_type = single

[{*.c,*.cc,*.h,*.hh,*.cpp,*.hpp,*.m,*.mm,*.mpp,*.js,*.java,*.go,*.rs,*.php,*.ng,*.jsx,*.ts,*.d,*.cs,*.swift}]
curly_bracket_next_line = false
spaces_around_operators = true
spaces_around_brackets = outside
# close enough to 1TB
indent_brace_style = K&R
22 changes: 22 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
node_modules
/.yarn
.yarn
**/_next/**
**/.cache/**
**/.dist/**
**/.next/**
**/.now/**
**/.types/**
**/.vercel/**
**/.vercel*/**
**/bundles/**
**/dist/**
**/out/**

**/deprecated/**
**/fonts/**
**/zzz--do-not-use/**

public/scripts/**

# Brewfile.lock.json
5 changes: 5 additions & 0 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = require('@jeromefitz/codestyle/.eslintrc.cjs')

module.exports = {
...config,
}
25 changes: 25 additions & 0 deletions .github/.kodiak.toml
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
# .kodiak.toml
# docs: https://kodiakhq.com/docs/config-reference

version = 1

[merge]
automerge_label = [" πŸ₯³οΈ LGTM", "πŸ₯³οΈ LGTM","πŸ₯³οΈ LGTM","LGTM"]
require_automerge_label = true
blocking_labels = ["🚧️ WIP"]
method = "squash"
optimistic_updates = true

[merge.automerge_dependencies]
versions=["minor", "patch"]
usernames=["dependabot","dependabot[bot]","dependabot%5Bbot%5D"]

[merge.message]
title = "pull_request_title"
body = "pull_request_body"
include_pr_number = true
body_type = "markdown"
strip_html_comments = true

[update]
autoupdate_label = "πŸ”„οΈ Conflict"
22 changes: 22 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
# ref: https://docs.github.com/en/github/administering-a-repository/configuration-options-for-dependency-updates
version: 2
updates:
- package-ecosystem: npm
directory: '/'
schedule:
interval: daily
open-pull-requests-limit: 10
versioning-strategy: increase
labels:
- 'πŸ“¦οΈ Dependencies'
commit-message:
# prefix: '⬆️ '
# include: 'scope'
prefix: '⬆️ (deps) '
prefix-development: '⬆️ (deps-dev) '
target-branch: 'main'
ignore:
- dependency-name: 'chalk-pipe'
versions:
- '>=5'
- dependency-name: 'typescript'
47 changes: 47 additions & 0 deletions .github/workflows/nightly.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,47 @@
name: 'πŸŒƒοΈ Nightly'
on:
schedule:
# * is a special character in YAML so you have to quote this string
# ref: https://docs.github.com/en/actions/reference/events-that-trigger-workflows#schedule
- cron: '0 0 * * *'
jobs:
release:
name: 'πŸŒƒοΈ Nightly'
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14']
steps:
- name: 'πŸ”§οΈ Setup Node: ${{ matrix.node }}'
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
architecture: 'x64'
- name: 'πŸ™οΈ Git Checkout'
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: '🌡️ Cache-tus'
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: 'πŸ“¦οΈ Install Dependecies'
run: |
yarn install --frozen-lockfile --ignore-engines --network-concurrency 1
- name: '🚨️ Lint'
run: |
yarn lint
# - name: 'βš—οΈ Test'
# run: |
# yarn test
- name: '🏷️ Semantic Release'
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "registry=http://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
echo "@jeromefitz:registry=https://registry.npmjs.org/" >> .npmrc
yarn semantic-release
37 changes: 37 additions & 0 deletions .github/workflows/pull.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
name: 'βš—οΈ Pull Request'
on:
pull_request:
branches:
- main
- canary
jobs:
release:
name: 'βš—οΈ Pull Request'
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14']
steps:
- name: 'πŸ”§οΈ Setup Node: ${{ matrix.node }}'
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
architecture: 'x64'
- name: 'πŸ™οΈ Git Checkout'
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: '🌡️ Cache-tus'
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: 'πŸ“¦οΈ Install Dependecies'
run: |
yarn install --frozen-lockfile --ignore-engines --network-concurrency 1
- name: '🚨️ Lint'
run: |
yarn lint
# - name: 'βš—οΈ Test'
# run: |
# yarn test
52 changes: 52 additions & 0 deletions .github/workflows/push.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
name: 'πŸ”€οΈ Push'
on:
push:
branches:
- main
- canary
- ci/**
- feature/**
- fix/**
- release/**
jobs:
release:
name: 'πŸ”€οΈ Push'
runs-on: ubuntu-latest
strategy:
matrix:
node: ['14']
steps:
- name: 'πŸ”§οΈ Setup Node: ${{ matrix.node }}'
uses: actions/setup-node@v2
with:
node-version: ${{ matrix.node }}
architecture: 'x64'
- name: 'πŸ™οΈ Git Checkout'
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: '🌡️ Cache-tus'
uses: actions/cache@v2
with:
path: '**/node_modules'
key: ${{ runner.os }}-modules-${{ hashFiles('**/yarn.lock') }}
- name: 'πŸ“¦οΈ Install Dependecies'
run: |
yarn install --frozen-lockfile --ignore-engines --network-concurrency 1
- name: '🚨️ Lint'
run: |
yarn lint
# - name: 'βš—οΈ Test'
# run: |
# yarn test
- name: '🏷️ Semantic Release'
if: contains(github.event.head_commit.message , '[build]')
env:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: |
echo "registry=http://registry.npmjs.org/" >> .npmrc
echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" >> .npmrc
echo "@jeromefitz:registry=https://registry.npmjs.org/" >> .npmrc
yarn semantic-release
15 changes: 15 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# misc
.DS_Store
*.swp
*.pem
node_modules

# npm, yarn
npm-debug.log*
yarn-debug.log*
yarn-error.log*

# repo
.idea
Brewfile.lock.json
gitconfig.private.symlink
1 change: 1 addition & 0 deletions .husky/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
_
5 changes: 5 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/bin/sh
[ -n "$CI" ] && exit 0
. "$(dirname "$0")/_/husky.sh"

yarn lint-staged
5 changes: 5 additions & 0 deletions .husky/prepare-commit-msg
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
[ -n "$CI" ] && exit 0

yarn pretty-quick --staged
exec < /dev/tty
yarn git-cz --hook $ALLOW_EMPTY || true
22 changes: 22 additions & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
node_modules
/.yarn
.yarn
**/_next/**
**/.cache/**
**/.dist/**
**/.next/**
**/.now/**
**/.types/**
**/.vercel/**
**/.vercel*/**
**/bundles/**
**/dist/**
**/out/**

**/deprecated/**
**/fonts/**
**/zzz--do-not-use/**

public/scripts/**

# Brewfile.lock.json
22 changes: 22 additions & 0 deletions .prettierignore_staged
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
node_modules
/.yarn
.yarn
**/_next/**
**/.cache/**
**/.dist/**
**/.next/**
**/.now/**
**/.types/**
**/.vercel/**
**/.vercel*/**
**/bundles/**
**/dist/**
**/out/**

**/deprecated/**
**/fonts/**
**/zzz--do-not-use/**

public/scripts/**

# Brewfile.lock.json
5 changes: 5 additions & 0 deletions .prettierrc.cjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const config = require('@jeromefitz/codestyle/.prettierrc.cjs')

module.exports = {
...config,
}
21 changes: 21 additions & 0 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"files.associations": {
".gitconfig.*": "properties",
"*.conf.symlink": "properties",
"*.js.symlink": "javascript",
"*.json.symlink": "json",
"*.plist.symlink": "xml",
"*.symlink": "shellscript",
"*.yml.symlink": "yaml",
"Brewfile": "ruby",
"keybindings.json.symlink": "jsonc",
"settings.json.symlink": "jsonc"
},
"editor.formatOnSave": true,
"workbench.colorCustomizations": {
"titleBar.activeForeground": "#f1f1f1",
"titleBar.inactiveForeground": "#f1f1f1",
"titleBar.activeBackground": "#6272a4",
"titleBar.inactiveBackground": "#6273a46c"
}
}
Loading

0 comments on commit f4dd351

Please sign in to comment.