Skip to content

Commit

Permalink
Item14874: docu installation of npm tools
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelDaum committed Jan 4, 2021
1 parent b998673 commit 6965b7a
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 12 deletions.
15 changes: 4 additions & 11 deletions BuildContrib/data/System/BuildContrib.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
%META:TOPICINFO{author="ProjectContributor" date="1573735696" format="1.1" version="1"}%
%META:TOPICINFO{author="ProjectContributor" date="1609783495" format="1.1" version="1"}%
%META:TOPICPARENT{name="Contribs"}%
---+!! Foswiki Developer Environment
<img src="%ATTACHURLPATH%/logo.gif" alt="WikiRing" class="foswikiRight" />
Expand Down Expand Up @@ -179,12 +179,13 @@ to generate another that is functionally identical, but smaller for faster
download. It will search for an avaliable minifier:

* [[https://npmjs.org/package/terser][terser]] *Recommended*
* [[https://www.npmjs.com/package/csso][csso]] *Recommended*
* [[https://npmjs.org/package/uglify-js][uglifyjs]]
* [[https://npmjs.org/package/cssmin][cssmin]]

To make the recommended compressor avaliable on your system, first install
[[http://nodejs.org/][Node.js]], and then use "npm" to install the
compressors: =npm install -g terser= and =npm install -g cssmin=
compressors: =npm install -g terser= and =npm install -g csso=
This will install both terser and !MinCSS.

The compression can work with a number of different naming schemes, depending
Expand Down Expand Up @@ -309,7 +310,6 @@ Created pub/TWiki/EditRowPlugin/TableSort.js
Created pub/TWiki/EditRowPlugin/TableSort_src.js
Created pub/TWiki/EditRowPlugin/erp.js
Created pub/TWiki/EditRowPlugin/erp_src.js
Created pub/TWiki/EditRowPlugin/wikiringlogo20x20.png
Created lib/TWiki/Plugins/EditRowPlugin/MANIFEST
Created lib/TWiki/Plugins/EditRowPlugin/DEPENDENCIES
Created lib/TWiki/Plugins/EditRowPlugin/build.pl
Expand Down Expand Up @@ -650,15 +650,8 @@ You are strongly recommended to use this Contrib to help split your code develop

%$INSTALL_INSTRUCTIONS%

---++ Info

Another great Foswiki extension from the <img src="%ATTACHURLPATH%/wikiringlogo20x20.png" alt="WikiRing" /> *WikiRing* - working together to improve your wiki experience!

See the repository for full change history.


%META:FILEATTACHMENT{name="wikiringlogo20x20.png" attr="h" comment="" date="1573735696" size="1343" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="logo.gif" attr="" comment="logo" date="1573735696" size="14169" user="ProjectContributor" version="1"}%
%META:FILEATTACHMENT{name="logo.gif" attr="" comment="logo" date="1609783495" size="14169" user="ProjectContributor" version="1"}%
%META:FORM{name="PackageForm"}%
%META:FIELD{name="Author" title="Author" value="[[http://c-dot.co.uk][Crawford Currie]]"}%
%META:FIELD{name="Copyright" title="Copyright" value="Foswiki Contributors 2004-2019, All Rights Reserved"}%
Expand Down
1 change: 0 additions & 1 deletion BuildContrib/lib/Foswiki/Contrib/BuildContrib/MANIFEST
Original file line number Diff line number Diff line change
Expand Up @@ -27,5 +27,4 @@ lib/Foswiki/Contrib/BuildContrib/TEMPLATE_installer.pl 0444 Installer template
lib/Perl/Tidy.pm
pub/System/BuildContrib/logo.gif 0444 Image
create_new_extension.pl 0555 Wizard for creating new extensions
pub/System/BuildContrib/wikiringlogo20x20.png 0660
build.pl 0750 Interface to build scripts
Binary file not shown.

0 comments on commit 6965b7a

Please sign in to comment.