Closed pabloguerino closed 4 years ago
Looks the common way is to add commands to package.json kinda https://github.com/phase2/particle/pull/258/files#diff-b9cfc7f2cdf78a7f4b91a753d10865a2R29
@pabloguerino i can't see Makefile here: https://github.com/pabloguerino/zen/commit/4e26a3f027f586d8edb8db4e6f925d9c9cd47768
But i see this file i this pullrequest. Where it was added? How i can check your PR?
As i see you removed gulpfile.js in this case we can't use theme with out docker & Makefile.
@hog-seruj,
As i see you removed gulpfile.js in this case we can't use theme with out docker & Makefile.
Theme gulpfile.js
was not removed, the one removed was one that we don't really need and can be replaced with a bash script.
i can't see Makefile here: pabloguerino/zen@4e26a3f
Why are you looking for a Makefile? We don't have one on the original theme either. This is what you mean? https://github.com/skilld-labs/zen/blob/8.x-7.x/Makefile
How i can check your PR?
You can use this branch https://github.com/pabloguerino/zen/tree/overhaul
we can use Makefile caching like
Updated babel-preset version + dependencies. Removed commented styles since we don't need them, and fixed some naming issues on templates.
i'm having issues with createSubTheme.sh both local macOs and docker php container. Files and 'STARTERKIT' inside files weren't renamed.
Also i think it would be better to create theme outside zen dir.
https://github.com/iberdinsky-skilld/zen/tree/overhaul_fixes fixes there. @pabloguerino please merge and update that PR
phpcs linter fails
FILE: THEMENAME_theme/src/js/init.js
FOUND 5 ERRORS AFFECTING 2 LINES
1 | ERROR | [x] You must use "/**" style comments for a file comment | | (Drupal.Commenting.FileComment.WrongStyle) 1 | ERROR | [x] Inline comments must start with a capital letter | | (Drupal.Commenting.InlineComment.NotCapital) 1 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing parentheses | | (Drupal.Commenting.InlineComment.InvalidEndChar) 6 | ERROR | [x] Inline comments must start with a capital letter | | (Drupal.Commenting.InlineComment.NotCapital) 6 | ERROR | [x] Inline comments must end in full-stops, exclamation | | marks, colons, question marks, or closing parentheses | | (Drupal.Commenting.InlineComment.InvalidEndChar)
PHPCBF CAN FIX THE 5 MARKED SNIFF VIOLATIONS AUTOMATICALLY
Fixed linter errors, updated babel presets and added clean task. Working on issues renaming theme folder.
Fixed issue on renaming theme folder because it didn't work on all OS. Tried bash and shell scripting, ended up using node.js for better compatibility.
find
andsed
for quick script replacement: