Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Rebuild #5

Merged
merged 1 commit into from
Apr 6, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
117 changes: 117 additions & 0 deletions .github/labels.json
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."
}
]
29 changes: 29 additions & 0 deletions .github/workflows/audit.yaml
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
30 changes: 30 additions & 0 deletions .github/workflows/ci.yaml
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'
17 changes: 17 additions & 0 deletions .github/workflows/repo-labels.yaml
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 }}
33 changes: 33 additions & 0 deletions .github/workflows/webhost.yaml
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]
19 changes: 16 additions & 3 deletions .prettierignore
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
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
Logo for Artichoke Ruby.

<p align="center">
<img width="400" height="400" src="https://artichoke.run/logo.svg">
<img width="400" height="400" src="https://artichoke.github.io/logo/logo.svg">
</p>

## Attribution
Expand Down
5 changes: 5 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

82 changes: 15 additions & 67 deletions package.json
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
Loading