Skip to content

Commit

Permalink
Updated dependencies; clarified docs
Browse files Browse the repository at this point in the history
  • Loading branch information
cxw42 committed Sep 27, 2019
1 parent 37fbff9 commit 27d8b2d
Show file tree
Hide file tree
Showing 3 changed files with 650 additions and 597 deletions.
10 changes: 5 additions & 5 deletions brunch-config.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,12 @@ let messages_en = require('./static/_locales/en/messages.json');
/*
* Notes on the TabFern extension friendly version number.
*
* The friendly version is the version_name in static/manifest.json. Since it
* The friendly version is the version in package.json and the
* version_name in public/manifest.json. Since it
* is displayed in the title bar of the popup window, it is lowercase (no
* shouting!). The following should match:
*
* - static/manifest.json (both the version and version_name)
* - public/manifest.json (both the version and version_name)
* - package.json (the version_name)
* - package-lock.json (the version_name)
*
Expand Down Expand Up @@ -59,7 +60,7 @@ let ver_name = (matches[4] == null) ?

console.log(`TF version ${pkg_json.version} -> ${ver_tuple} ("${ver_name}")`);

// Copy app/manifest.json->public/mjanifest.json and fill in versions
// Copy app/manifest.json->public/manifest.json and fill in versions
fs.createReadStream(path.join(__dirname, 'app', 'manifest.json'))
.pipe(replaceStream('$VER$', ver_tuple))
.pipe(replaceStream('$VERNAME$', ver_name))
Expand Down Expand Up @@ -216,9 +217,8 @@ let me = {
};

// String replacement
//let chrome_manifest = require('./static/manifest.json');

// Regexes we will replace
// Regexes we will replace in our source files
const kFN = /\b__filename\b/;

me.plugins.replacer = { // Permit using __filename in modules
Expand Down
Loading

0 comments on commit 27d8b2d

Please sign in to comment.