Skip to content

Commit

Permalink
Initial commit.
Browse files Browse the repository at this point in the history
  • Loading branch information
strarsis committed Jan 13, 2021
0 parents commit dec3f8a
Show file tree
Hide file tree
Showing 87 changed files with 27,241 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .editorconfig
@@ -0,0 +1,17 @@
# editorconfig.org

root = true

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

[*.php]
indent_size = 4

[resources/views/**.php]
indent_size = 2
48 changes: 48 additions & 0 deletions .eslintrc.js
@@ -0,0 +1,48 @@
module.exports = {
'root': true,
'extends': 'eslint:recommended',
'globals': {
'wp': true,
},
'env': {
'node': true,
'es6': true,
'amd': true,
'browser': true,
'jquery': true,
},
'parserOptions': {
'ecmaFeatures': {
'globalReturn': true,
'generators': false,
'objectLiteralDuplicateProperties': false,
'experimentalObjectRestSpread': true,
},
'ecmaVersion': 2017,
'sourceType': 'module',
},
'plugins': [
'import',
],
'settings': {
'import/core-modules': [],
'import/ignore': [
'node_modules',
'\\.(coffee|scss|css|less|hbs|svg|json)$',
],
},
'rules': {
'no-console': 0,
'quotes': ['error', 'single'],
'comma-dangle': [
'error',
{
'arrays': 'always-multiline',
'objects': 'always-multiline',
'imports': 'always-multiline',
'exports': 'always-multiline',
'functions': 'ignore',
},
],
},
};
3 changes: 3 additions & 0 deletions .gitattributes
@@ -0,0 +1,3 @@
/.github export-ignore
/.gitattributes export-ignore
/.travis.yml export-ignore
1 change: 1 addition & 0 deletions .github/CONTRIBUTING.md
@@ -0,0 +1 @@
Please read [Contributing to Roots Projects](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md)
62 changes: 62 additions & 0 deletions .github/ISSUE_TEMPLATE.md
@@ -0,0 +1,62 @@
## Submit a feature request or bug report

- [ ] I've read the [guidelines for Contributing to Roots Projects](https://github.com/roots/guidelines/blob/master/CONTRIBUTING.md)
- [ ] This is a feature request
- [ ] This is a bug report
- [ ] This request isn't a duplicate of an [existing issue](https://github.com/roots/sage/issues)
- [ ] I've read the [docs](https://roots.io/sage/docs) and [NPM Debugging Guidelines post](https://discourse.roots.io/t/npm-debugging-guidelines-failed-npm-install-bower-install-or-gulp-build-read-this/3060) and followed them (if applicable)
- [ ] This is not a personal support request that should be posted on the [Roots Discourse](https://discourse.roots.io/c/sage) forums

<!-- Replace any `X` with your information. -->

---

**What is the current behavior?**

X


**What is the expected or desired behavior?**

X

---

## Bug report

<!-- (delete this section if not applicable) -->

**Please provide steps to reproduce, including full log output:**

X

**Please describe your local environment:**

WordPress version: X

OS: X

NPM/Node version: X

**Where did the bug happen? Development or remote servers?**

X


**Is there a related [Discourse](https://discourse.roots.io/) thread or were any utilized (please link them)?**

X

---

## Feature Request

<!-- (delete this section if not applicable) -->

**Please provide use cases for changing the current behavior:**

X

**Other relevant information:**

X
9 changes: 9 additions & 0 deletions .gitignore
@@ -0,0 +1,9 @@
# Include your project-specific ignores in this file
# Read about how to use .gitignore: https://help.github.com/articles/ignoring-files
.cache-loader
dist
node_modules
npm-debug.log
yarn-error.log
/vendor
resources/assets/config-local.json
34 changes: 34 additions & 0 deletions .stylelintrc.js
@@ -0,0 +1,34 @@
module.exports = {
'extends': 'stylelint-config-standard',
'rules': {
'no-empty-source': null,
'string-quotes': 'double',
'at-rule-no-unknown': [
true,
{
'ignoreAtRules': [
'extend',
'at-root',
'debug',
'warn',
'error',
'if',
'else',
'for',
'each',
'while',
'mixin',
'include',
'content',
'return',
'function',
'tailwind',
'apply',
'responsive',
'variants',
'screen',
],
},
],
},
};
41 changes: 41 additions & 0 deletions .travis.yml
@@ -0,0 +1,41 @@
language: php
sudo: false
dist: trusty
php:
- 7.3
- 7.2
- 7.1
- nightly

env:
- TRAVIS_NODE_VERSION="8"
- TRAVIS_NODE_VERSION="10"

matrix:
fast_finish: true
allow_failures:
- php: nightly

cache:
apt: true
directories:
- $HOME/.composer/cache
- $HOME/.yarn-cache
- vendor

before_install:
- composer self-update
- source ~/.nvm/nvm.sh && nvm install $TRAVIS_NODE_VERSION && nvm use $TRAVIS_NODE_VERSION
- export PATH=$HOME/.yarn/bin:$PATH && travis_retry curl -o- -L https://yarnpkg.com/install.sh | bash

install:
- node -v && yarn -V
- travis_retry yarn
- composer install -o --prefer-dist --no-interaction

script:
- yarn run test
- yarn run build
- yarn run rmdist
- yarn run "build:production"
- composer test

0 comments on commit dec3f8a

Please sign in to comment.