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

storybook-nuxt

Package Overview
Dependencies
Maintainers
1
Versions
99
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

storybook-nuxt - npm Package Compare versions

Comparing version 0.0.5 to 0.0.6-alpha.0

18

init.js
#!/usr/bin/env node
/* eslint-disable @typescript-eslint/indent */
const fs = require('node:fs')

@@ -77,4 +75,3 @@ const path = require('node:path')

logger.error(`${CROSSMARK} Package installation failed with code ${code}`)
}
else {
} else {
logger.log(`${CHECKMARK} Packages installed successfully!`)

@@ -137,4 +134,3 @@

logger.log(`${CHECKMARK} Storybook devDependencies added to package.json `)
}
else {
} else {
logger.log(`${CROSSMARK} Sorry, this feature is currently only supported with pnpm.`)

@@ -155,4 +151,3 @@ }

logger.log(`${CHECKMARK} Storybook scripts added to package.json `)
}
else {
} else {
logger.log(`${CROSSMARK} Sorry, this feature is currently only supported with pnpm.`)

@@ -166,2 +161,4 @@ }

const targetDir = path.join(process.cwd(), storiesPath)
logger.log(`${CHECKMARK} templateDir: ${templateDir} `)
logger.log(`${CHECKMARK} targetDir: ${targetDir} `)
copyFolderRecursive(templateDir, targetDir)

@@ -192,4 +189,3 @@ // Copy the common assets to the project root

fs.copyFileSync(sourceFilePath, destinationFilePath)
}
else if (stats.isDirectory()) {
} else if (stats.isDirectory()) {
// If it's a directory, recursively copy it

@@ -203,2 +199,2 @@ copyFolderRecursive(sourceFilePath, destinationFilePath)

module.exports = { initStorybook }
module.exports = { initStorybook }
{
"name": "storybook-nuxt",
"version": "0.0.5",
"version": "0.0.6-alpha.0",
"description": "Storybook init CLI for Nuxt ",

@@ -18,3 +18,3 @@ "author": "Chakas@",

"init.js",
".storybook/*"
".storybook/**/*"
],

@@ -21,0 +21,0 @@ "dependencies": {

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