Skip to content

Commit f3fd540

Browse files
Merge branch 'dev' into feature/handlebars-helpers
2 parents 74e5af2 + da4f187 commit f3fd540

File tree

653 files changed

+31218
-8100
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

653 files changed

+31218
-8100
lines changed

.eslintignore

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
**/node_modules/**
2+
node_modules
3+
**/vendor/**
4+
vendor
5+
**/test/**
6+
**/dist/**
7+
8+
// being refactored / removed
9+
packages/uikit-workshop/src/scripts/components/styleguide.js

.eslintrc.js

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
module.exports = {
2+
root: true,
3+
env: {
4+
node: true,
5+
builtin: true,
6+
es6: true,
7+
browser: true,
8+
},
9+
parser: 'babel-eslint',
10+
parserOptions: {
11+
ecmaVersion: 2018,
12+
sourceType: 'module',
13+
allowImportExportEverywhere: true,
14+
ecmaFeatures: {
15+
jsx: true,
16+
experimentalDecorators: true,
17+
},
18+
},
19+
globals: {},
20+
plugins: ['prettier'],
21+
extends: ['eslint-config-prettier'].map(require.resolve),
22+
rules: {
23+
'prettier/prettier': 'error',
24+
'block-scoped-var': 0,
25+
camelcase: 0,
26+
'consistent-return': 2,
27+
curly: [2, 'all'],
28+
'dot-notation': [1, { allowKeywords: true }],
29+
eqeqeq: [2, 'allow-null'],
30+
'global-strict': [0, 'never'],
31+
'guard-for-in': 2,
32+
'key-spacing': 0,
33+
'new-cap': 0,
34+
'no-alert': 2,
35+
'no-bitwise': 2,
36+
'no-caller': 2,
37+
'no-cond-assign': [2, 'except-parens'],
38+
'no-debugger': 2,
39+
'no-dupe-args': 2,
40+
'no-dupe-keys': 2,
41+
'no-empty': 2,
42+
'no-eval': 2,
43+
'no-extend-native': 2,
44+
'no-extra-bind': 2,
45+
'no-extra-parens': 0,
46+
'no-func-assign': 2,
47+
'no-implied-eval': 2,
48+
'no-invalid-regexp': 2,
49+
'no-irregular-whitespace': 1,
50+
'no-iterator': 2,
51+
'no-loop-func': 2,
52+
'no-mixed-requires': 0,
53+
'no-multi-str': 2,
54+
'no-native-reassign': 2,
55+
'no-new': 2,
56+
'no-param-reassign': 1,
57+
'no-proto': 2,
58+
'no-redeclare': 0,
59+
'no-script-url': 2,
60+
'no-self-assign': 2,
61+
'no-self-compare': 2,
62+
'no-sequences': 2,
63+
'no-shadow': 2,
64+
'no-undef': 2,
65+
'no-underscore-dangle': 0,
66+
'no-unreachable': 1,
67+
'no-unused-vars': 1,
68+
'no-use-before-define': 1,
69+
'no-useless-call': 2,
70+
'no-useless-concat': 2,
71+
'no-var': 2,
72+
'no-with': 2,
73+
quotes: [0, 'single'],
74+
radix: 2,
75+
strict: 0,
76+
'valid-typeof': 2,
77+
'vars-on-top': 0,
78+
'prefer-const': [
79+
'error',
80+
{
81+
destructuring: 'any',
82+
ignoreReadBeforeAssign: false,
83+
},
84+
],
85+
},
86+
};

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,12 @@
11
{
2+
"root": true,
23
"env": {
34
"node": true,
45
"builtin": true,
56
"es6": true
67
},
78
"parserOptions": {
8-
"ecmaVersion": 6,
9+
"ecmaVersion": 2017,
910
"sourceType": "module"
1011
},
1112
"globals": {},

.github/CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ No pull request is too small. Check out any [help wanted 🆘](https://github.co
66

77
## Prerequisites
88

9-
To get started, you'll need Node 8 or higher. Managing Node with [nvm](https://github.com/creationix/nvm) is recommended. Once installed, you can target the version of Node we specify within the [`.nvmrc`](https://github.com/pattern-lab/patternlab-node/blob/master/.nvmrc) file.
9+
To get started, you'll need Node installed. Managing Node with [nvm](https://github.com/creationix/nvm) is recommended. Once installed, you can target the version of Node we specify within the [`.nvmrc`](https://github.com/pattern-lab/patternlab-node/blob/master/.nvmrc) file.
1010

1111
```sh
1212
nvm install <<version>>

.github/ISSUE_TEMPLATE.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<!-- before posting an issue, try chatting on https://gitter.im/pattern-lab/node -->
22

3-
<!-- before posting an issue, verify you are running at least Node 6 -->
3+
<!-- before posting an issue, verify you are running at least Node 8 -->
44

55
I am using Pattern Lab Node `vX.X.X` on `Windows | Mac | Linux`, with Node `vX.X.X`, using a `Gulp | Grunt | Vanilla | Custom` Edition.
66

.github/stale.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Number of days of inactivity before an issue becomes stale
22
daysUntilStale: 60
33
# Number of days of inactivity before a stale issue is closed
4-
daysUntilClose: 14
4+
daysUntilClose: 30
55
# Issues with these labels will never be considered stale
66
exemptLabels:
77
- "staged for next release 🏁"

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
8.9.4
1+
10.0.0

.prettierignore

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,8 @@
88
packages/core/scripts/api.handlebars
99
packages/core/scripts/events.handlebars
1010
packages/core/test/files/annotations.js
11+
packages/**/annotations.js
1112
**/uikit-workshop/src/js/**/*
13+
*.json
14+
*.md
15+
*.scss

.travis.yml

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,18 +1,23 @@
11
language: node_js
22

3+
addons:
4+
chrome: stable
5+
36
before_install:
47
- phantomjs --version
58

69
before_script:
710
- npm install -g [email protected]
8-
- npm run bootstrap
11+
- npm run setup
912
- lerna add @pattern-lab/engine-mustache --scope=@pattern-lab/core
1013
- lerna add @pattern-lab/engine-handlebars --scope=@pattern-lab/core
1114
- lerna add @pattern-lab/engine-underscore --scope=@pattern-lab/core
1215
- lerna add @pattern-lab/engine-liquid --scope=@pattern-lab/core
1316
- lerna add @pattern-lab/engine-twig --scope=@pattern-lab/core
1417
- lerna add @pattern-lab/engine-react --scope=@pattern-lab/core
1518

19+
script: travis_wait npm run test
20+
1621
branches:
1722
only:
1823
- master

CODEOWNERS

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# This is a comment.
2+
# Each line is a file pattern followed by one or more owners.
3+
4+
# These owners will be the default owners for everything in
5+
# the repo. Unless a later match takes precedence,
6+
# @global-owner1 and @global-owner2 will be requested for
7+
# review when someone opens a pull request.
8+
@pattern-lab/trusted-committers
9+
10+
# CLI owner
11+
/packages/cli @raphaelokon
12+
13+
# uikit-workshop owner
14+
/packages/uikit-workshop @sghoweri
15+
16+
# engine-nunjucks owner
17+
/packages/engine-nunjucks @danwhite85

0 commit comments

Comments
 (0)