Skip to content

Commit

Permalink
chore[no-changelog]: turn off fyn source maps
Browse files Browse the repository at this point in the history
  • Loading branch information
jchip committed Aug 7, 2021
1 parent e8cf15d commit 638478a
Show file tree
Hide file tree
Showing 33 changed files with 14 additions and 40 deletions.
10 changes: 5 additions & 5 deletions fyn-lock.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2487,12 +2487,12 @@ function-bind:
$: sha512-yIovAzMX49sF8Yl58fSCWJ5svSLuaibPxXQJFLmBObTuCr0Mf1KiPopGM9NiFjiYBCbfaa2Fh6breQ6ANVTI0A==
_: 'https://registry.npmjs.org/function-bind/-/function-bind-1.1.1.tgz'
fyn:
_latest: 0.4.33
_latest: 0.4.34
_:
^0.4.33: 0.4.33
0.4.33:
$: sha512-4P1379bycT8XmdozgTTEbVJPECGWzNSfPZlKGYbPMX+rMotX2i5yQ0b95JGi85i/SNXe/S/9MUW2/Bkug5NoeQ==
_: 'https://registry.npmjs.org/fyn/-/fyn-0.4.33.tgz'
^0.4.33: 0.4.34
0.4.34:
$: sha512-vQyA2BGan2yyqj9lzIWuAU09YANJpfzLfrQY3Q7I7yIM2euEYkpq4l7le5jvCQxWeiuRsb6LKMBA/Xh8uKj4+g==
_: 'https://registry.npmjs.org/fyn/-/fyn-0.4.34.tgz'
fynpo:
_latest: 0.4.2
_:
Expand Down
7 changes: 6 additions & 1 deletion lerna.json
Original file line number Diff line number Diff line change
Expand Up @@ -38,5 +38,10 @@
}
}
},
"fynpo": true
"fynpo": true,
"fyn": {
"options": {
"sourceMaps": false
}
}
}
1 change: 0 additions & 1 deletion packages/electrode-cdn-file-loader/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,3 @@ module.exports = function (content) {
};

module.exports.raw = true;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/electrode-node-resolver/lib/jest.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,3 @@ module.exports = function(path, options) {

throw new Error("jest.node-resolver failed path resolve");
};
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/electrode-node-resolver/lib/node-resolver.js
Original file line number Diff line number Diff line change
Expand Up @@ -78,4 +78,3 @@ module.exports = {
isModuleRequest,
resolve
};
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/electrode-node-resolver/lib/webpack-plugin.js
Original file line number Diff line number Diff line change
Expand Up @@ -60,4 +60,3 @@ module.exports = class ModuleResolver {
});
}
};
//# fynSourceMap=false
7 changes: 3 additions & 4 deletions packages/opt-archetype-check/optional-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -122,9 +122,9 @@ function optionalArchetypeCheck() {

if (optParams.onlyOneOf) {
// first, user's package.json cannot have multiple packages from onlyOneOf list
["dependencies", "devDependencies", "optionalDependencies"].forEach(x => {
["dependencies", "devDependencies", "optionalDependencies"].forEach((x) => {
if (appPkg[x]) {
foundOOO = foundOOO.concat(optParams.onlyOneOf.filter(n => appPkg[x].hasOwnProperty(n)));
foundOOO = foundOOO.concat(optParams.onlyOneOf.filter((n) => appPkg[x].hasOwnProperty(n)));
}
});

Expand Down Expand Up @@ -154,7 +154,7 @@ it excludes this package ${myName} - skip installing`
// check if app's package.json has the package in its dependencies or optionalDependencies
//
const appDep = ["dependencies", "devDependencies", "optionalDependencies"].find(
x => appPkg[x] && appPkg[x].hasOwnProperty(myName)
(x) => appPkg[x] && appPkg[x].hasOwnProperty(myName)
);

if (appDep) {
Expand Down Expand Up @@ -221,4 +221,3 @@ if (require.main === module) {
}

module.exports.isSameMajorVersion = isSameMajorVersion;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/opt-archetype-check/test/test1.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,4 +17,3 @@ assert(isSameMajorVersion("^0.1.1", "0.1.3") === true);
assert(isSameMajorVersion("1.0.0", "2.2.1") === false);
assert(isSameMajorVersion("~1.0.0", "2.2.1") === false);
assert(isSameMajorVersion("^1.0.0", "2.2.1") === false);
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/opt-archetype-check/xarc-opt-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,3 @@ if (require.main === module) {
}

module.exports.isSameMajorVersion = isSameMajorVersion;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/subapp-util/lib/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -376,4 +376,3 @@ module.exports = {
formUrl,
tryThrowOriginalSubappRegisterError
};
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/bin/xrun.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,3 @@ function invoke() {
}

invoke();
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/e1/index.js
Original file line number Diff line number Diff line change
@@ -1,2 +1 @@
module.exports = require("electrode-server");
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/require.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Archetype-based require.
/*eslint-disable strict, global-require*/
module.exports = require;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/scripts/l10n/flatten-messages.js
Original file line number Diff line number Diff line change
Expand Up @@ -70,4 +70,3 @@ module.exports = flattenMessagesL10n;
if (isMain) {
flattenMessagesL10n();
}
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/scripts/map-isomorphic-cdn.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,4 +53,3 @@ if (isMain) {
}

module.exports = mapIsomorphicCdn;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/scripts/merge-isomorphic-assets.js
Original file line number Diff line number Diff line change
Expand Up @@ -37,4 +37,3 @@ module.exports = mergeIsomorphicAssets;
if (isMain) {
mergeIsomorphicAssets();
}
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/scripts/webpack5-jsonp-cdn.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// normally apps depend on @xarc/app[-dev] directly only but not @xarc/webpack
// so put this here to allow webpack config to load this into entry through @xarc/app-dev
require("@xarc/webpack/lib/client/webpack5-jsonp-cdn");
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/src/config/eslint/js/base.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,3 @@

const optEslintRequire = require("./opt-eslint-require");
module.exports = optEslintRequire("eslint-config-walmart");
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/src/config/eslint/js/es5-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
"use strict";
const optEslintRequire = require("./opt-eslint-require");
module.exports = optEslintRequire("eslint-config-walmart/configurations/es5-node");
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/src/config/eslint/js/es6-node.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
"use strict";
const optEslintRequire = require("./opt-eslint-require");
module.exports = optEslintRequire("eslint-config-walmart/configurations/es6-node");
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/src/config/eslint/js/es6-react.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
"use strict";
const optEslintRequire = require("./opt-eslint-require");
module.exports = optEslintRequire("eslint-config-walmart/configurations/es6-react");
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/src/config/eslint/js/es6-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,3 @@
"use strict";
const optEslintRequire = require("./opt-eslint-require");
module.exports = optEslintRequire("eslint-config-walmart/configurations/es6-test");
//# fynSourceMap=false
Original file line number Diff line number Diff line change
Expand Up @@ -8,4 +8,3 @@ try {
require.resolve("electrode-archetype-opt-eslint/package.json")
);
}
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/src/config/karma/entry-xarc.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ testsReq.keys().map(testsReq);
if (!window.__karma__) {
window.mocha.run();
}
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/src/config/karma/entry.js
Original file line number Diff line number Diff line change
Expand Up @@ -72,4 +72,3 @@ testsReq.keys().map(testsReq);
if (!window.__karma__) {
window.mocha.run();
}
//# fynSourceMap=false
Original file line number Diff line number Diff line change
Expand Up @@ -291,4 +291,3 @@ var a = /(^\d{1,4}[\.|\\/|-]\d{1,2}[\.|\\/|-]\d{1,4})(\s*(?:0?[1-9]:[0-5]|1(?=[0
})();

/* eslint-enable */
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app-dev/src/lib/dev-admin/log-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -580,4 +580,3 @@ window.addEventListener("keypress", (event) => {
lastEntryId = parseEntryId(hashVal.get("entryId") || "0");
updateLevelCheckboxes();
// setTimeout(displayLogs, 10);
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app/require.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// Archetype-based require.
/*eslint-disable strict, global-require*/
module.exports = require;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-app/runtime-setup.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,3 @@ const { setupAppSrcDir, setupIsomorphicLoader } = require("./dist/support");
setupAppSrcDir();

setupIsomorphicLoader();
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-opt-eslint/xarc-opt-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,3 @@ if (require.main === module) {
}

module.exports.isSameMajorVersion = isSameMajorVersion;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-opt-postcss/xarc-opt-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,3 @@ if (require.main === module) {
}

module.exports.isSameMajorVersion = isSameMajorVersion;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-opt-stylus/xarc-opt-check.js
Original file line number Diff line number Diff line change
Expand Up @@ -168,4 +168,3 @@ if (require.main === module) {
}

module.exports.isSameMajorVersion = isSameMajorVersion;
//# fynSourceMap=false
1 change: 0 additions & 1 deletion packages/xarc-webpack/bin/xarc-webpack-cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -59,4 +59,3 @@ const originalModuleCompile = Module.prototype._compile;
});
}
})();
//# fynSourceMap=false

0 comments on commit 638478a

Please sign in to comment.