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
--- | |
0 debug pnpm:package-json: | |
initial: | |
name: "foundation-sites" | |
version: "6.4.3" | |
main: "dist/js/foundation.js" | |
module: "js/foundation.js" | |
jsnext:main: "js/foundation.js" | |
typings: "dist/js/foundation.d.ts" | |
sideEffects: false |
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
/Library/Ruby/Gems/2.3.0/gems/bootsnap-1.3.0/lib/bootsnap/load_path_cache/core_ext/kernel_require.rb:32:in `require': Could not load the 'listen' gem. Add `gem 'listen'` to the development group of your Gemfile (LoadError) | |
from /Library/Ruby/Gems/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in `block in require' | |
from /Library/Ruby/Gems/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:249:in `load_dependency' | |
from /Library/Ruby/Gems/2.3.0/gems/activesupport-5.2.0/lib/active_support/dependencies.rb:283:in `require' | |
from /Library/Ruby/Gems/2.3.0/gems/activesupport-5.2.0/lib/active_support/evented_file_update_checker.rb:61:in `block in initialize' | |
from /Library/Ruby/Gems/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/reporting.rb:15:in `block in silence_warnings' | |
from /Library/Ruby/Gems/2.3.0/gems/activesupport-5.2.0/lib/active_support/core_ext/kernel/reporting.rb:28:in `with_warnings' | |
from /Library/Ruby/Gems/2.3.0/gems/activesupport-5.2.0/lib/ac |
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
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-rails/spec/dummy/config/boot.rb:4:in `require': cannot load such file -- bootsnap/setup (LoadError) | |
from /Users/ncoden/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-rails/spec/dummy/config/boot.rb:4:in `<top (required)>' | |
from bin/rails:3:in `require_relative' | |
from bin/rails:3:in `<main>' |
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
➜ foundation-sites git:(develop) ✗ npm -v | |
5.2.0 | |
➜ foundation-sites git:(develop) ✗ npm i | |
> [email protected] install /Users/ncoden/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-sites/node_modules/husky | |
> node ./bin/install.js | |
husky | |
setting up Git hooks | |
done |
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
➜ foundation-sites git:(develop) ✗ npm i | |
> [email protected] install /Users/ncoden/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-sites/node_modules/fsevents | |
> node install | |
[fsevents] Success: "/Users/ncoden/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-sites/node_modules/fsevents/lib/binding/Release/node-v57-darwin-x64/fse.node" already installed | |
Pass --update-binary to reinstall or --build-from-source to recompile | |
> [email protected] install /Users/ncoden/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-sites/node_modules/uws | |
> node-gyp rebuild > build_log.txt 2>&1 || exit 0 |
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
➜ foundation-sites git:(colin-marshall/chore/update-eslint-to-v4) ✗ npx gulp lint:javascript | |
[22:48:32] Using gulpfile ~/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-sites/gulpfile.js | |
[22:48:32] Starting 'lint:javascript'... | |
[22:48:34] | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-sites/js/foundation.core.js | |
1:1 warning 'use strict' is unnecessary inside of modules strict | |
31:21 warning Gratuitous parentheses around expression no-extra-parens | |
50:19 error A function with a name starting with an uppercase letter should only be used as a constructor new-cap | |
82:5 error The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype guard-for-in | |
116:19 error ["object"] is better written in dot notation |
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
➜ foundation-sites git:(develop) ✗ npx gulp lint:javascript | |
[22:40:26] Using gulpfile ~/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-sites/gulpfile.js | |
[22:40:26] Starting 'lint:javascript'... | |
[22:40:30] | |
/Users/ncoden/Documents/Documents/Projects/Programmation/Web/2016/Foundation/foundation-sites/js/foundation.core.js | |
1:1 warning 'use strict' is unnecessary inside of modules strict | |
31:21 warning Gratuitous parentheses around expression no-extra-parens | |
50:19 error A function with a name starting with an uppercase letter should only be used as a constructor new-cap | |
82:5 error The body of a for-in should be wrapped in an if statement to filter unwanted properties from the prototype guard-for-in | |
116:19 error ["object"] is better written in dot notation |
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
module.exports = { | |
entry: { | |
'exampleCore': './src/example-core', | |
'examplePlugin': './src/example-plugin', | |
}, | |
externals: { | |
'./example-core': { | |
amd: 'exampleCore', | |
commonjs: 'exampleCore', | |
commonjs2: 'exampleCore', |
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
// Filter an object by its keys | |
exports.objectFilter = function(obj, keys) { | |
var newObj = {}; | |
var newKeys = Object.keys(obj).filter( (key) => { console.log(keys.indexOf(key)); return keys.indexOf(key) !== -1; }); | |
newKeys.forEach((key) => { newObj[key] = obj[key] }); | |
return newObj; | |
} |
NewerOlder