Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@navikt/aksel

Package Overview
Dependencies
Maintainers
15
Versions
188
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@navikt/aksel - npm Package Compare versions

Comparing version 2.8.16-rc.4 to 2.8.16-rc.5

11

dist/css-imports/generate-output.js

@@ -15,2 +15,3 @@ var __awaiter = (this && this.__awaiter) || function (thisArg, _arguments, P, generator) {

import lodash from "lodash";
import chalk from "chalk";
export function generateImportOutput(answers) {

@@ -51,7 +52,7 @@ return __awaiter(this, void 0, void 0, function* () {

if (answers.output.includes("print")) {
console.log("...");
console.log(importStr);
console.log(chalk.bold.cyan(`\nImports 🚀 \n`));
console.log(chalk.green(`${importStr}`));
}
if (useCdn) {
console.log(`\nNotes on CDN-usage 📝`);
console.log(chalk.bold.underline.cyan(`\nNotes on CDN-usage 📝`));
console.log(`We recommend using Static imports, then uploading the your bundled static-files to your own CDN-instance.

@@ -62,4 +63,4 @@ ✔︎ This allows you to control the version of the CSS-files with package.json, and avoids desync between ds-react/ds-css.

if (useTailwind) {
console.log(`\nNotes on Tailwind-use 📝`);
console.log(`When using tailwind with Aksel, you will need to add the postcss plugin ${"postcss-import"}
console.log(chalk.bold.underline.cyan(`\nNotes on Tailwind-use 📝`));
console.log(`When using tailwind with Aksel, you will need to add the postcss plugin ${chalk.cyan("postcss-import")}
✔︎ NPM: https://www.npmjs.com/package/postcss-import

@@ -66,0 +67,0 @@ ✔︎ Read more here: https://aksel.nav.no/grunnleggende/kode/tailwind`);

@@ -19,3 +19,3 @@ #!/usr/bin/env node

import { getAllVersions } from "./get-version.js";
/* import chalk from "chalk"; */
import chalk from "chalk";
import { getDirectories } from "./get-directories.js";

@@ -98,3 +98,3 @@ const __filename = fileURLToPath(import.meta.url);

footer() {
return 'Remember to match version with @navikt/ds-react!\nNote: CDN was introduced in v2.9.0, older versions not available.\nUse "static" import instead.';
return chalk.grey('Remember to match version with @navikt/ds-react!\nNote: CDN was introduced in v2.9.0, older versions not available.\nUse "static" import instead.');
},

@@ -131,3 +131,3 @@ },

footer() {
return "filtered out: node_moduels, dist, build, lib, .* (dotfiles)";
return chalk.grey("filtered out: node_moduels, dist, build, lib, .* (dotfiles)");
},

@@ -134,0 +134,0 @@ },

#!/usr/bin/env node
import chalk from "chalk";
console.log(`

@@ -6,6 +7,6 @@ ✨ Aksel client-tool

📝 Documentation
- "https://github.com/navikt/aksel/blob/main/%40navikt/aksel/README.md"
- ${chalk.blueBright("https://github.com/navikt/aksel/blob/main/%40navikt/aksel/README.md")}
💻 Commands:
- npx @navikt/aksel ${"css-imports"}
- ${chalk.cyan(`npx @navikt/aksel ${chalk.green("css-imports")}`)}
✔︎ Helps with adding CSS imports for all Aksel-components

@@ -15,2 +16,1 @@ ✔︎ Supports Static and CDN-imports

`);
export {};
{
"name": "@navikt/aksel",
"version": "2.8.16-rc.4",
"version": "2.8.16-rc.5",
"description": "Aksel command line interface. Handles css-imports, codemods (planned) and more",

@@ -5,0 +5,0 @@ "author": "Aksel | NAV designsystem team",

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