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

90 basic webpack #334

Merged
merged 45 commits into from
Mar 27, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
45 commits
Select commit Hold shift + click to select a range
eb3b214
initial webpack.config.js
JBCSU Feb 5, 2019
e0237a9
initial js for webpack
JBCSU Feb 5, 2019
915c4b1
Merge branch 'master' into 90-basic-webpack
JBCSU Mar 7, 2019
cec3e40
initial webpack config
JBCSU Mar 11, 2019
cc2f099
work around bug in sass-loader, which chooses .js beofe .scss when bo…
JBCSU Mar 11, 2019
4087279
don't need module.exports to be a function just to get access to mode…
JBCSU Mar 11, 2019
459106d
add copy-webpack-plugin to populate styleguide/
JBCSU Mar 18, 2019
a94985a
copy-webpack-plugin copies files before the build - we need to copy t…
JBCSU Mar 18, 2019
912b776
minimize js and css for production builds
JBCSU Mar 18, 2019
929ea83
replace resolve-url-loader with url-loader, which inlines assets that…
JBCSU Mar 19, 2019
d1721ab
move (potentially) shared js into its own file
JBCSU Mar 19, 2019
13be2bb
Merge branch 'master' into 90-basic-webpack
JBCSU Mar 19, 2019
2500540
rebuild assets with webpack after merging master
JBCSU Mar 19, 2019
c0c1df0
move / copy placeholder images to new directory and copy them to the …
JBCSU Mar 19, 2019
b03ff1e
rebuild the styleguide after assets are built
JBCSU Mar 19, 2019
3053d6b
just clean the default objects
JBCSU Mar 19, 2019
b4154ae
can't copy the placeholder images until after the styleguide is built
JBCSU Mar 19, 2019
051b067
ensure the files the webpack-copy-on-build-plugin will copy after the…
JBCSU Mar 19, 2019
837da5a
add pre- and post- dist tasks
JBCSU Mar 19, 2019
d55815e
hide the gruntfile so folks don't accidentally try to use grunt in th…
JBCSU Mar 19, 2019
ba51407
refactor js into smaller files
JBCSU Mar 20, 2019
e1028a5
tell Code Climate to ignore: generated css and js; webpack.config.js;…
JBCSU Mar 20, 2019
4880f53
Merge branch 'master' into 90-basic-webpack
JBCSU Mar 20, 2019
75610d8
Merge branch 'master' into 90-basic-webpack
JBCSU Mar 20, 2019
9733779
90 packs (#353)
sherakama Mar 22, 2019
d40076e
Merge branch 'master' into 90-basic-webpack
JBCSU Mar 26, 2019
3f75016
fixup.
sherakama Mar 26, 2019
4067e0f
fixup.
sherakama Mar 26, 2019
594858b
scss has moved from core/scss to src/scss
JBCSU Mar 26, 2019
8da3ff7
Merge branch '90-basic-webpack' of github.com:SU-SWS/decanter into 90…
sherakama Mar 26, 2019
9f33639
Replace watch plugin with new watch plugin.
sherakama Mar 26, 2019
28e700a
Add linters.
sherakama Mar 26, 2019
95cc6a2
move src/ and dist/ under core/
JBCSU Mar 26, 2019
9cfc88c
Use separate plugins for core and kss configs.
JBCSU Mar 26, 2019
e8ef2e2
Use separate plugins for each config.
JBCSU Mar 26, 2019
9ef8264
Merge branch 'master' into 90-basic-webpack
JBCSU Mar 26, 2019
328c592
make devMode work;
JBCSU Mar 27, 2019
2160587
replace clean-webpack-plugin with filemanager-webpack-plugin;
JBCSU Mar 27, 2019
71ebabc
tell codeclimate about our new directory structure
JBCSU Mar 27, 2019
308d095
Merge branch 'linters' into 90-basic-webpack
JBCSU Mar 27, 2019
a4d49ab
90 cleanup (#361)
sherakama Mar 27, 2019
d72505f
Merge resolutions.
sherakama Mar 27, 2019
a9c0235
Added dist.
sherakama Mar 27, 2019
be12c83
fixup, merge resolution.
sherakama Mar 27, 2019
c3abe44
fixup, merge resolution.
sherakama Mar 27, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
4 changes: 3 additions & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,9 @@ exclude_patterns:
- "node_modules"
- "styleguide"
- "kss/**/*"
- "core/scss/core/_normalize.scss"
- "core/dist/**/*"
- "core/src/scss/core/_normalize.scss"
- "Gruntfile.js"
- "composer.json"
- "package.json"
- "webpack.config.js"
37 changes: 0 additions & 37 deletions .csslintrc

This file was deleted.

203 changes: 103 additions & 100 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,108 +1,111 @@
{
"extends": "eslint:recommended",
"env": {
"browser": true,
"es6": true
extends: "eslint:recommended",
env: {
browser: true,
es6: true
},
"globals": {
"domready": true
globals: {
domready: true
},
"ecmaFeatures": {
"arrowFunctions": true,
"blockBindings": true,
"classes": true,
"defaultParameters": true,
"destructuring": true,
"forOf": true,
"generators": true,
"modules": true,
"objectLiteralComputedProperties": true,
"objectLiteralDuplicateProperties": true,
"objectLiteralShorthandMethods": true,
"objectLiteralShorthandProperties": true,
"regexUFlag": true,
"regexYFlag": true,
"restParams": true,
"spread": true,
"superInFunctions": true,
"templateStrings": true,
"unicodeCodePointEscapes": true,
"globalReturn": true
parserOptions: {
ecmaVersion: 6,
sourceType: "module",
ecmaFeatures: {
arrowFunctions: true,
blockBindings: true,
classes: true,
defaultParameters: true,
destructuring: true,
forOf: true,
generators: true,
objectLiteralComputedProperties: true,
objectLiteralDuplicateProperties: true,
objectLiteralShorthandMethods: true,
objectLiteralShorthandProperties: true,
regexUFlag: true,
regexYFlag: true,
restParams: true,
spread: true,
superInFunctions: true,
templateStrings: true,
unicodeCodePointEscapes: true,
globalReturn: true
}
},
"rules": {
"max-len": [2, 80, 2, {"ignoreUrls": true}],
"array-bracket-spacing": [2, "never"],
"block-scoped-var": 2,
"brace-style": [2, "stroustrup", {"allowSingleLine": true}],
"comma-dangle": [2, "never"],
"comma-spacing": 2,
"comma-style": [2, "last"],
"computed-property-spacing": [2, "never"],
"curly": [2, "all"],
"eol-last": 2,
"eqeqeq": [2, "smart"],
"guard-for-in": 2,
"indent": [2, 2, {"SwitchCase": 1}],
"key-spacing": [2, {"beforeColon": false, "afterColon": true}],
"keyword-spacing": [2, {"before": true, "after": true}],
"linebreak-style": [2, "unix"],
"lines-around-comment": [2, {"beforeBlockComment": true, "afterBlockComment": false}],
"new-parens": 2,
"no-array-constructor": 2,
"no-caller": 2,
"no-catch-shadow": 2,
"no-eval": 2,
"no-extend-native": 2,
"no-extra-bind": 2,
"no-extra-parens": [2, "functions"],
"no-implied-eval": 2,
"no-iterator": 2,
"no-label-var": 2,
"no-labels": 2,
"no-lone-blocks": 2,
"no-loop-func": 2,
"no-multi-spaces": 2,
"no-multi-str": 2,
"no-native-reassign": 2,
"no-nested-ternary": 2,
"no-new-func": 2,
"no-new-object": 2,
"no-new-wrappers": 2,
"no-octal-escape": 2,
"no-process-exit": 2,
"no-proto": 2,
"no-return-assign": 2,
"no-script-url": 2,
"no-sequences": 2,
"no-shadow-restricted-names": 2,
"no-spaced-func": 2,
"no-trailing-spaces": 2,
"no-undef-init": 2,
"no-undefined": 2,
"no-unused-expressions": 2,
"no-unused-vars": [2, {"vars": "all", "args": "none"}],
"no-with": 2,
"object-curly-spacing": [2, "never"],
"one-var": [2, "never"],
"quote-props": [2, "consistent-as-needed"],
"quotes": [2, "single", "avoid-escape"],
"semi": [2, "always"],
"semi-spacing": [2, {"before": false, "after": true}],
"space-before-blocks": [2, "always"],
"space-before-function-paren": [2, {"anonymous": "always", "named": "never"}],
"space-in-parens": [2, "never"],
"space-infix-ops": 2,
"space-unary-ops": [2, { "words": true, "nonwords": false }],
"spaced-comment": [2, "always"],
"strict": [2, "function"],
"yoda": [2, "never"],
"max-nested-callbacks": [1, 3],
"valid-jsdoc": [1, {
"prefer": {
"returns": "return",
"property": "prop"
rules: {
max-len: [2, 80, 2, {"ignoreUrls": true}],
array-bracket-spacing: [2, "never"],
block-scoped-var: 2,
brace-style: [2, "stroustrup", {"allowSingleLine": true}],
comma-dangle: [2, "never"],
comma-spacing: 2,
comma-style: [2, "last"],
computed-property-spacing: [2, "never"],
curly: [2, "all"],
eol-last: 2,
eqeqeq: [2, "smart"],
guard-for-in: 2,
indent: [2, 2, {"SwitchCase": 1}],
key-spacing: [2, {"beforeColon": false, "afterColon": true}],
keyword-spacing: [2, {"before": true, "after": true}],
linebreak-style: [2, "unix"],
lines-around-comment: [2, {"beforeBlockComment": true, "afterBlockComment": false}],
new-parens: 2,
no-array-constructor: 2,
no-caller: 2,
no-catch-shadow: 2,
no-eval: 2,
no-extend-native: 2,
no-extra-bind: 2,
no-extra-parens: [2, "functions"],
no-implied-eval: 2,
no-iterator: 2,
no-label-var: 2,
no-labels: 2,
no-lone-blocks: 2,
no-loop-func: 2,
no-multi-spaces: 2,
no-multi-str: 2,
no-native-reassign: 2,
no-nested-ternary: 2,
no-new-func: 2,
no-new-object: 2,
no-new-wrappers: 2,
no-octal-escape: 2,
no-process-exit: 2,
no-proto: 2,
no-return-assign: 2,
no-script-url: 2,
no-sequences: 2,
no-shadow-restricted-names: 2,
no-spaced-func: 2,
no-trailing-spaces: 2,
no-undef-init: 2,
no-undefined: 2,
no-unused-expressions: 2,
no-unused-vars: [2, {"vars": "all", "args": "none"}],
no-with: 2,
object-curly-spacing: [2, "never"],
one-var: [2, "never"],
quote-props: [2, "consistent-as-needed"],
quotes: [2, "single", "avoid-escape"],
semi: [2, "always"],
semi-spacing: [2, {"before": false, "after": true}],
space-before-blocks: [2, "always"],
space-before-function-paren: [2, {"anonymous": "always", "named": "never"}],
space-in-parens: [2, "never"],
space-infix-ops: 2,
space-unary-ops: [2, { "words": true, "nonwords": false }],
spaced-comment: [2, "always"],
strict: [2, "function"],
yoda: [2, "never"],
max-nested-callbacks: [1, 3],
valid-jsdoc: [1, {
prefer: {
returns: "return",
property: "prop"
},
"requireReturn": false
requireReturn: false
}]
}
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,7 @@ config.rb
cgi-bin
node_modules
styleguide
kss/builder/decanter/kss-assets/dist

# Ignore as they are customized on the user end.
.lando.yml
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
9.10.1
10.15.1
Loading