-
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.
- Use this repo only for distribution. - Add a GitHub Actions build. Fixes GH-1. - Add cron for running `npm audit`. - Add automatically built GitHub lables via a Github Action script. Fixes GH-3. - Add a gh-pages job that publishes assets to the web. - Add .prettierignore. - Remove shell scripts. - Remove all JS dependencies. - Remove `yarn.lock` and replace with `package-lock.json`. - Clean up `package.json`.
- Loading branch information
Showing
12 changed files
with
263 additions
and
2,915 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,117 @@ | ||
[ | ||
{ | ||
"name": "A-build", | ||
"color": "f7e101", | ||
"description": "Area: CI build infrastructure." | ||
}, | ||
{ | ||
"name": "A-deps", | ||
"color": "f7e101", | ||
"description": "Area: Source and library dependencies." | ||
}, | ||
{ | ||
"name": "A-logo", | ||
"color": "f7e101", | ||
"description": "Area: Logo design and rendering." | ||
}, | ||
{ | ||
"name": "A-packaging", | ||
"color": "f7e101", | ||
"description": "Area: Packaging and distribution." | ||
}, | ||
{ | ||
"name": "A-project", | ||
"color": "f7e101", | ||
"description": "Area: Infrastructure for running an open source project." | ||
}, | ||
{ | ||
"name": "A-release", | ||
"color": "f7e101", | ||
"description": "Area: crates.io releases and version bumps." | ||
}, | ||
{ | ||
"name": "C-bug", | ||
"color": "c1c8ff", | ||
"description": "Category: This is a bug." | ||
}, | ||
{ | ||
"name": "C-docs", | ||
"color": "c1c8ff", | ||
"description": "Category: Improvements or additions to documentation." | ||
}, | ||
{ | ||
"name": "C-enhancement", | ||
"color": "c1c8ff", | ||
"description": "Category: New feature or request." | ||
}, | ||
{ | ||
"name": "C-quality", | ||
"color": "c1c8ff", | ||
"description": "Category: Refactoring, cleanup, and quality improvements." | ||
}, | ||
{ | ||
"name": "C-question", | ||
"color": "c1c8ff", | ||
"description": "Category: Further information is requested." | ||
}, | ||
{ | ||
"name": "E-easy", | ||
"color": "02e10c", | ||
"description": "Call for participation: Experience needed to fix: Easy / not much." | ||
}, | ||
{ | ||
"name": "E-medium", | ||
"color": "02e10c", | ||
"description": "Call for participation: Experience needed to fix: Medium / intermediate." | ||
}, | ||
{ | ||
"name": "E-hard", | ||
"color": "02e10c", | ||
"description": "Call for participation: Experience needed to fix: Hard / a lot." | ||
}, | ||
{ | ||
"name": "E-help-wanted", | ||
"color": "02e10c", | ||
"description": "Call for participation: Help is requested to fix this issue." | ||
}, | ||
{ | ||
"name": "E-needs-test", | ||
"color": "02e10c", | ||
"description": "Call for participation: writing correctness tests." | ||
}, | ||
{ | ||
"name": "S-blocked", | ||
"color": "d3dddd", | ||
"description": "Status: marked as blocked ❌ on something else such as other implementation work." | ||
}, | ||
{ | ||
"name": "S-do-not-merge", | ||
"color": "d3dddd", | ||
"description": "Status: This pull request should not be merged." | ||
}, | ||
{ | ||
"name": "S-duplicate", | ||
"color": "d3dddd", | ||
"description": "Status: This issue or pull request already exists." | ||
}, | ||
{ | ||
"name": "S-invalid", | ||
"color": "d3dddd", | ||
"description": "Status: This issue or pull request is not well-formed." | ||
}, | ||
{ | ||
"name": "S-wip", | ||
"color": "d3dddd", | ||
"description": "Status: This pull request is a work in progress." | ||
}, | ||
{ | ||
"name": "S-wip", | ||
"color": "d3dddd", | ||
"description": "Status: This pull request is a work in progress." | ||
}, | ||
{ | ||
"name": "S-wontfix", | ||
"color": "d3dddd", | ||
"description": "Status: This issue or pull request will not be worked on." | ||
} | ||
] |
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,29 @@ | ||
name: Audit | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: "0 0 * * TUE" | ||
jobs: | ||
js: | ||
name: Audit JS Dependencies | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node toolchain | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
|
||
- name: Install Nodejs toolchain | ||
run: npm ci | ||
|
||
- name: npm audit | ||
run: npm audit |
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,30 @@ | ||
name: CI | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: "0 0 * * TUE" | ||
jobs: | ||
text: | ||
name: Lint and format text | ||
runs-on: ubuntu-latest | ||
strategy: | ||
fail-fast: false | ||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Install Node toolchain | ||
uses: actions/setup-node@v1 | ||
with: | ||
node-version: "12.x" | ||
|
||
- name: Lint and check formatting with prettier | ||
run: npx prettier --check '**/*' | ||
|
||
- name: Format markdown with prettier | ||
run: npx prettier --prose-wrap always --check '**/*.md' '*.md' |
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 @@ | ||
on: | ||
push: | ||
branches: | ||
- master | ||
paths: | ||
- .github/labels.json | ||
name: Create Repository Labels | ||
jobs: | ||
labels: | ||
name: Synchronize repository labels | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@v2 | ||
|
||
- uses: lannonbr/[email protected] | ||
env: | ||
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,33 @@ | ||
name: Web Hosting | ||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
schedule: | ||
- cron: "0 0 * * TUE" | ||
jobs: | ||
ghpages: | ||
name: Push to GitHub Pages | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Copy static assets | ||
run: | | ||
mkdir target | ||
cp --verbose logo.png logo.svg target | ||
- name: Deploy Assets | ||
uses: peaceiris/actions-gh-pages@v3 | ||
if: github.ref == 'refs/heads/master' | ||
with: | ||
github_token: ${{ secrets.GITHUB_TOKEN }} | ||
publish_dir: ./target | ||
publish_branch: gh-pages | ||
user_name: artichoke-ci | ||
user_email: [email protected] |
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 |
---|---|---|
@@ -1,3 +1,16 @@ | ||
/node_modules | ||
/target | ||
vendor | ||
**/* | ||
|
||
!**/*/ | ||
|
||
node_modules/ | ||
target/ | ||
|
||
!*.html | ||
!*.js | ||
!*.json | ||
!*.md | ||
!*.yaml | ||
!*.yml | ||
|
||
**/vendor/* | ||
!**/vendor/*.md |
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
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,86 +1,34 @@ | ||
{ | ||
"name": "@artichoke/logo", | ||
"version": "0.1.0", | ||
"version": "0.2.0", | ||
"private": true, | ||
"description": "Logo for Artichoke Ruby", | ||
"keywords": ["programming language", "scripting", "ruby", "rust", "assets"], | ||
"description": "Artichoke Ruby logo", | ||
"keywords": [ | ||
"programming language", | ||
"scripting", | ||
"ruby", | ||
"rust", | ||
"assets" | ||
], | ||
"homepage": "https://github.com/artichoke/logo#readme", | ||
"bugs": "https://github.com/artichoke/logo/issues", | ||
"license": "MIT", | ||
"author": { | ||
"name": "Ryan Lopopolo", | ||
"email": "[email protected]", | ||
"url": "https://hyperbo.la" | ||
}, | ||
"author": "Ryan Lopopolo <[email protected]> (https://hyperbo.la/)", | ||
"contributors": [ | ||
{ | ||
"name": "Ryan Lopopolo", | ||
"email": "[email protected]", | ||
"url": "https://hyperbo.la" | ||
} | ||
"Ryan Lopopolo <[email protected]> (https://hyperbo.la/)" | ||
], | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/artichoke/logo.git" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.2.2", | ||
"@babel/preset-env": "^7.5.5", | ||
"babel-eslint": "^10.0.1", | ||
"clang-format": "^1.2.4", | ||
"eslint": "^5.11.1", | ||
"eslint-config-airbnb": "^17.1.0", | ||
"eslint-config-prettier": "^6.0.0", | ||
"eslint-plugin-html": "^6.0.0", | ||
"eslint-plugin-import": "^2.7.0", | ||
"eslint-plugin-jsx-a11y": "^6.0.2", | ||
"eslint-plugin-prettier": "^3.0.1", | ||
"eslint-plugin-react": "^7.12.0", | ||
"gh-pages": "^2.1.1", | ||
"package-json-validator": "^0.6.3", | ||
"path": "^0.12.7", | ||
"pkg-dir-cli": "^2.1.0", | ||
"prettier": "^1.15.3", | ||
"prettier-eslint": "^9.0.0" | ||
}, | ||
"babel": { | ||
"presets": ["@babel/preset-env"] | ||
}, | ||
"repository": "github:artichoke/logo", | ||
"devDependencies": {}, | ||
"eslintConfig": { | ||
"env": { | ||
"browser": true, | ||
"commonjs": true, | ||
"es6": true, | ||
"node": true | ||
}, | ||
"parser": "babel-eslint", | ||
"plugins": ["html", "import", "prettier"], | ||
"extends": [ | ||
"airbnb", | ||
"prettier", | ||
"plugin:import/errors", | ||
"plugin:import/warnings" | ||
], | ||
"rules": { | ||
"prettier/prettier": "error", | ||
"react/jsx-closing-bracket-location": "off", | ||
"react/jsx-closing-tag-location": "off", | ||
"react/jsx-curly-spacing": "off", | ||
"react/jsx-equals-spacing": "off", | ||
"react/jsx-first-prop-new-line": "off", | ||
"react/jsx-indent": "off", | ||
"react/jsx-indent-props": "off", | ||
"react/jsx-max-props-per-line": "off", | ||
"react/jsx-one-expression-per-line": "off", | ||
"react/jsx-props-no-multi-spaces": "off", | ||
"react/jsx-tag-spacing": "off", | ||
"react/jsx-wrap-multilines": "off", | ||
"react/self-closing-comp": "off" | ||
} | ||
}, | ||
"scripts": { | ||
"eslint-check": "eslint --print-config . | eslint-config-prettier-check", | ||
"lint": "./scripts/lint.sh", | ||
"loc": "loc --exclude dist" | ||
"fmt": "npx prettier --write '**/*'", | ||
"fmt:md": "npx prettier --prose-wrap always --write '**/*.md' '*.md'" | ||
} | ||
} |
File renamed without changes
File renamed without changes
Oops, something went wrong.