New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

exos-scripts

Package Overview
Dependencies
Maintainers
1
Versions
65
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

exos-scripts - npm Package Compare versions

Comparing version 0.4.4 to 0.5.0

2

lib/common/getConfigToUse.js

@@ -21,2 +21,4 @@ "use strict";

}
// We need to require this dynamically as the command is chosen by the user
// eslint-disable-next-line @typescript-eslint/no-var-requires
const config = require(customConfigPath)(defaultConfig, { env: process.env.NODE_ENV });

@@ -23,0 +25,0 @@ return { config, isCustom: true, customConfigPath };

15

lib/scripts/build/index.js

@@ -20,2 +20,4 @@ #!/usr/bin/env node

if (err) {
console.log();
console.error(chalk_1.default.red("❌ There are compilation errors. Fix them and try again."));
console.error(err.message);

@@ -28,13 +30,16 @@ console.error(err.stack || err);

if (executionStats.errors.length) {
// Only keep the first error. Others are often indicative
// of the same problem, but confuse the reader with noise.
// Only print the first error. Others are often indicative
// of the same problem, and the extra noise will confuse the reader.
console.log();
console.error(chalk_1.default.red("❌ There was an error during build."));
console.error(executionStats.errors[0]);
console.log();
// Exit with a failure code
process.exit(1);
}
if (stats.hasWarnings()) {
// Print all the warnings, but don't fail
console.log();
console.warn(chalk_1.default.yellow("🚧 There were warnings during build."));
console.warn(executionStats.warnings);
console.log();
executionStats.warnings.forEach((warning) => console.warn(chalk_1.default.yellow(warning)));
// Exit with an OK code
process.exit(0);

@@ -41,0 +46,0 @@ }

@@ -9,2 +9,9 @@ "use strict";

const miniCssExtractPluginLoader = mini_css_extract_plugin_1.default.loader;
const typingsCssModulesLoader = {
loader: "@teamsupercell/typings-for-css-modules-loader",
options: {
banner: "/* autogenerated by typings-for-css-modules-loader. Please do not change this file! */",
formatter: "prettier",
},
};
const cssLoader = {

@@ -24,3 +31,3 @@ loader: "css-loader",

};
return isDevelopment ? [styleLoader, cssLoader] : [miniCssExtractPluginLoader, cssLoader];
return isDevelopment ? [styleLoader, typingsCssModulesLoader, cssLoader] : [miniCssExtractPluginLoader, cssLoader];
};

@@ -27,0 +34,0 @@ exports.default = (isDevelopment) => [

@@ -26,4 +26,5 @@ "use strict";

}),
isDevelopment ? new webpack_1.default.HotModuleReplacementPlugin() : () => { },
new webpack_1.default.WatchIgnorePlugin([/scss\.d\.ts$/]),
isDevelopment ? new webpack_1.default.HotModuleReplacementPlugin() : () => undefined,
];
//# sourceMappingURL=resolvePlugins.js.map
{
"name": "exos-scripts",
"version": "0.4.4",
"version": "0.5.0",
"description": "Set of out-of-the-box extensible scripts that helps you with the lifecycle of your React + TypeScript applications",

@@ -25,3 +25,3 @@ "main": "./lib/index.js",

"scripts": {
"lint": "eslint -c ./src/scripts/lint/.eslintrc.js ./src/**/*.ts",
"lint": "eslint -c ./src/scripts/lint/.eslintrc.library.js ./src/**/*.ts",
"test": "jest -c ./src/scripts/test/jest.config.js --passWithNoTests --collectCoverage=$CI --rootDir=.",

@@ -37,2 +37,3 @@ "build": "rm -rf lib && tsc",

"@svgr/webpack": "^5.3.0",
"@teamsupercell/typings-for-css-modules-loader": "^2.2.0",
"@typescript-eslint/eslint-plugin": "^2.27.0",

@@ -45,10 +46,10 @@ "@typescript-eslint/parser": "^2.27.0",

"enzyme-adapter-react-16": "^1.15.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.10.1",
"eslint-plugin-prettier": "^3.1.2",
"eslint-plugin-react": "^7.19.0",
"eslint": "^7.1.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
"eslint-plugin-react": "^7.20.0",
"file-loader": "^6.0.0",
"html-webpack-plugin": "^4.0.3",
"identity-obj-proxy": "^3.0.0",
"jest": "^25.3.0",
"jest": "^26.0.1",
"mini-css-extract-plugin": "^0.9.0",

@@ -60,5 +61,5 @@ "node-sass": "^4.13.1",

"style-loader": "^1.1.3",
"ts-jest": "^25.3.1",
"ts-jest": "^26.0.0",
"ts-loader": "^6.2.2",
"tslib": "^1.11.1",
"tslib": "^2.0.0",
"url-loader": "^4.0.0",

@@ -71,3 +72,3 @@ "webpack": "^4.42.1",

"@types/cross-spawn": "^6.0.1",
"@types/eslint": "^6.8.0",
"@types/eslint": "^6.8.1",
"@types/jest": "^25.2.1",

@@ -78,6 +79,6 @@ "@types/mini-css-extract-plugin": "^0.9.1",

"@types/webpack-dev-server": "^3.10.1",
"typescript": "^3.8.3",
"typescript": "^3.9.3",
"webpack-cli": "^3.3.11"
},
"gitHead": "2673e9486757f5ac2724e6dc1ff1a5a57e11758e"
"gitHead": "71099d1c45dcd077ad656dc35c75b1e470cf7096"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc