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

@qwikdev/create-roadplan

Package Overview
Dependencies
Maintainers
6
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@qwikdev/create-roadplan - npm Package Compare versions

Comparing version 0.0.2 to 0.0.3

template/src/components/CodeSnippet/CodeSnippet.tsx

12

lib/index.js

@@ -130,6 +130,2 @@ #! /usr/bin/env node

});
if (typeof runDepInstallAnswer === 'symbol' || !runDepInstallAnswer) {
outro("RoadPlan starter creation completed successfully!");
process.exit(0);
}
const gitInitAnswer = await confirm({

@@ -139,6 +135,4 @@ message: `Initialize a new git repository?`,

});
log.step("Installing dependencies...");
await installDependencies(packageManager, projectNameAnswer);
const s = spinner();
if (gitInitAnswer) {
const s = spinner();
if (fs.existsSync(join(outDir, '.git'))) {

@@ -165,2 +159,6 @@ log.info(`Git has already been initialized before. Skipping...`);

}
if (typeof runDepInstallAnswer !== 'symbol' && runDepInstallAnswer) {
log.step("Installing dependencies...");
await installDependencies(packageManager, projectNameAnswer);
}
outro("RoadPlan starter creation completed successfully!");

@@ -167,0 +165,0 @@ }

{
"name": "@qwikdev/create-roadplan",
"description": "Interactive CLI for create a Qwik documentation starter",
"version": "0.0.2",
"version": "0.0.3",
"author": "QwikDev",

@@ -6,0 +6,0 @@ "license": "MIT",

@@ -27,26 +27,26 @@ {

"devDependencies": {
"@builder.io/qwik-city": "^1.2.17",
"@builder.io/qwik": "^1.2.17",
"@types/eslint": "^8.44.4",
"@types/estree-jsx": "^1.0.3",
"@types/node": "^20.8.4",
"@typescript-eslint/eslint-plugin": "^6.7.5",
"@typescript-eslint/parser": "^6.7.5",
"autoprefixer": "^10.4.14",
"eslint-plugin-qwik": "1.2.13",
"@builder.io/qwik": "^1.5.2",
"@builder.io/qwik-city": "^1.5.2",
"@types/eslint": "^8.56.7",
"@types/estree-jsx": "^1.0.5",
"@types/node": "^20.12.7",
"@typescript-eslint/eslint-plugin": "^7.6.0",
"@typescript-eslint/parser": "^7.6.0",
"autoprefixer": "^10.4.19",
"eslint": "^8.51.0",
"postcss": "^8.4.31",
"prettier-plugin-tailwindcss": "^0.5.4",
"prettier": "^3.0.3",
"rehype-pretty-code": "^0.10.2",
"sass": "^1.69.5",
"shiki": "^0.14.5",
"tailwindcss": "3.3.3",
"typescript": "^5.2.2",
"undici": "^5.26.0",
"unified": "^10.1.2",
"eslint-plugin-qwik": "1.5.2",
"postcss": "^8.4.38",
"prettier": "^3.2.5",
"prettier-plugin-tailwindcss": "^0.5.13",
"rehype-pretty-code": "^0.13.1",
"sass": "^1.74.1",
"shiki": "^1.3.0",
"tailwindcss": "3.4.3",
"typescript": "^5.4.5",
"undici": "^6.12.0",
"unified": "^11.0.4",
"unist-util-visit": "^5.0.0",
"vite-tsconfig-paths": "^4.2.1",
"vite": "^4.4.11"
"vite": "^5.2.8",
"vite-tsconfig-paths": "^4.3.2"
}
}
import { qwikCity } from "@builder.io/qwik-city/vite";
import { qwikVite } from "@builder.io/qwik/optimizer";
import { getHighlighter, Highlighter } from "shiki";
import { defineConfig } from "vite";

@@ -8,4 +7,2 @@ import tsconfigPaths from "vite-tsconfig-paths";

let highlighter: Highlighter;
export default defineConfig(async () => {

@@ -15,9 +12,2 @@ const { default: rehypePrettyCode } = await import("rehype-pretty-code");

async function getOrCreateHighlighter() {
if (highlighter) {
return highlighter;
}
highlighter = await getHighlighter({ theme: "css-variables" });
return highlighter;
}
return {

@@ -50,3 +40,2 @@ plugins: [

{
getHighlighter: getOrCreateHighlighter,
onVisitLine(node: any) {

@@ -53,0 +42,0 @@ // Prevent lines from collapsing in `display: grid` mode, and allow empty

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

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