@entur/utils
Advanced tools
Comparing version 0.4.6-beta.2 to 0.4.6
@@ -106,3 +106,3 @@ 'use strict'; | ||
warning__default["default"](missingImports.length === 0, "You are missing " + (singleMissingImport ? 'a CSS import' : missingImports.length + " CSS imports") + "!\n\nPlease add the following CSS import" + (singleMissingImport ? '' : 's') + " somewhere in your app:\n\n" + missingImports.map(function (namespace) { | ||
return "\t@import '~@entur/" + namespace + "/dist/styles.css';"; | ||
return "\t@import '@entur/" + namespace + "/dist/styles.css';"; | ||
}).join('\n') + "\n") ; | ||
@@ -109,0 +109,0 @@ } |
@@ -97,3 +97,3 @@ import React from 'react'; | ||
process.env.NODE_ENV !== "production" ? warning(missingImports.length === 0, "You are missing " + (singleMissingImport ? 'a CSS import' : missingImports.length + " CSS imports") + "!\n\nPlease add the following CSS import" + (singleMissingImport ? '' : 's') + " somewhere in your app:\n\n" + missingImports.map(function (namespace) { | ||
return "\t@import '~@entur/" + namespace + "/dist/styles.css';"; | ||
return "\t@import '@entur/" + namespace + "/dist/styles.css';"; | ||
}).join('\n') + "\n") : void 0; | ||
@@ -100,0 +100,0 @@ } |
{ | ||
"//": "Add a change to utils", | ||
"name": "@entur/utils", | ||
"version": "0.4.6-beta.2", | ||
"version": "0.4.6", | ||
"license": "EUPL-1.2", | ||
@@ -21,5 +20,6 @@ "main": "dist/index.js", | ||
"scripts": { | ||
"start": "yarn run dts watch --noClean", | ||
"build": "yarn run dts build && cp src/*.scss dist", | ||
"lint": "yarn run dts lint" | ||
"start": "dts watch --noClean", | ||
"build": "dts build && cp src/*.scss dist", | ||
"test": "dts test --env=jsdom", | ||
"lint": "dts lint" | ||
}, | ||
@@ -34,6 +34,3 @@ "peerDependencies": { | ||
}, | ||
"devDependencies": { | ||
"dts-cli": "^1.1.6" | ||
}, | ||
"gitHead": "89c8eee86c247794134c34484a205e0f7f65d0a5" | ||
"gitHead": "11fde5ffbfd805773572c3a7d999d63f2733e0c7" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
50046
0
20