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

create-qwik

Package Overview
Dependencies
Maintainers
4
Versions
294
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-qwik - npm Package Compare versions

Comparing version 0.0.10 to 0.0.11

create-qwik

9

package.json
{
"name": "create-qwik",
"version": "0.0.10",
"description": "Interactive CLI for generating Qwik projects.",
"version": "0.0.11",
"description": "Interactive CLI and API for generating Qwik projects.",
"bin": {
"create-qwik": "index.js"
"create-qwik": "create-qwik"
},
"main": "index.js",
"files": [
"starters"
"create-qwik",
"starters/"
],

@@ -12,0 +13,0 @@ "author": "Builder.io Team",

@@ -21,2 +21,21 @@ # Create Qwik

## API
```javascript
const { getStarters, generateStarter } = require('create-qwik');
const starters = await getStarters();
console.log(starters);
const opts = {
projectName: 'my-project',
appId: 'todo',
serverId: 'express',
outDir: '/path/to/output/dir',
};
const result = await generateStarter(opts);
console.log(result);
```
## Community

@@ -23,0 +42,0 @@

@@ -12,3 +12,3 @@ {

"devDependencies": {
"@builder.io/qwik": "0.0.16-4",
"@builder.io/qwik": "0.0.16-6",
"@rollup/plugin-node-resolve": "^13.0.6",

@@ -15,0 +15,0 @@ "@rollup/plugin-typescript": "^8.3.0",

import { nodeResolve } from '@rollup/plugin-node-resolve';
import typescript from '@rollup/plugin-typescript';
import { qwikRollup } from '@builder.io/qwik/optimizer';
import { writeFile, mkdir } from "fs/promises";
import { dirname } from "path";
import { writeFileSync, mkdirSync } from 'fs';
import { dirname } from 'path';

@@ -37,5 +37,5 @@ export default async function () {

async function outputJSON(path, data) {
await mkdir(dirname(path), {recursive: true});
await writeFile(path, JSON.stringify(data, null, 2));
function outputJSON(path, data) {
mkdirSync(dirname(path), { recursive: true });
writeFileSync(path, JSON.stringify(data, null, 2));
}

@@ -9,2 +9,3 @@ {

"strict": true,
"resolveJsonModule": true,
"moduleResolution": "node",

@@ -11,0 +12,0 @@ "esModuleInterop": true,

@@ -12,3 +12,3 @@ {

"devDependencies": {
"@builder.io/qwik": "0.0.16-4",
"@builder.io/qwik": "0.0.16-6",
"@rollup/plugin-node-resolve": "^13.0.6",

@@ -15,0 +15,0 @@ "@rollup/plugin-typescript": "^8.3.0",

import { nodeResolve } from '@rollup/plugin-node-resolve';
import typescript from '@rollup/plugin-typescript';
import { qwikRollup } from '@builder.io/qwik/optimizer';
import { writeFile, mkdir } from "fs/promises";
import { dirname } from "path";
import { writeFileSync, mkdirSync } from 'fs';
import { dirname } from 'path';

@@ -37,5 +37,5 @@ export default async function () {

async function outputJSON(path, data) {
await mkdir(dirname(path), {recursive: true});
await writeFile(path, JSON.stringify(data, null, 2));
function outputJSON(path, data) {
mkdirSync(dirname(path), { recursive: true });
writeFileSync(path, JSON.stringify(data, null, 2));
}

@@ -6,6 +6,6 @@ {

"lib": ["es2020", "DOM"],
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
"jsx": "react-jsx",
"jsxImportSource": "@builder.io/qwik",
"strict": true,
"resolveJsonModule": true,
"moduleResolution": "node",

@@ -12,0 +12,0 @@ "esModuleInterop": true,

@@ -12,3 +12,3 @@ {

"devDependencies": {
"@builder.io/qwik": "0.0.16-4",
"@builder.io/qwik": "0.0.16-6",
"@rollup/plugin-node-resolve": "^13.0.6",

@@ -15,0 +15,0 @@ "@rollup/plugin-typescript": "^8.3.0",

import { nodeResolve } from '@rollup/plugin-node-resolve';
import typescript from '@rollup/plugin-typescript';
import { qwikRollup } from '@builder.io/qwik/optimizer';
import { writeFile, mkdir } from "fs/promises";
import { dirname } from "path";
import { writeFileSync, mkdirSync } from 'fs';
import { dirname } from 'path';

@@ -37,5 +37,5 @@ export default async function () {

async function outputJSON(path, data) {
await mkdir(dirname(path), {recursive: true});
await writeFile(path, JSON.stringify(data, null, 2));
function outputJSON(path, data) {
mkdirSync(dirname(path), { recursive: true });
writeFileSync(path, JSON.stringify(data, null, 2));
}

@@ -6,6 +6,6 @@ {

"lib": ["es2020", "DOM"],
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
"jsx": "react-jsx",
"jsxImportSource": "@builder.io/qwik",
"strict": true,
"resolveJsonModule": true,
"moduleResolution": "node",

@@ -12,0 +12,0 @@ "esModuleInterop": true,

@@ -12,3 +12,3 @@ {

"devDependencies": {
"@builder.io/qwik": "0.0.16-4",
"@builder.io/qwik": "0.0.16-6",
"@rollup/plugin-node-resolve": "^13.0.6",

@@ -15,0 +15,0 @@ "@rollup/plugin-typescript": "^8.3.0",

import { nodeResolve } from '@rollup/plugin-node-resolve';
import typescript from '@rollup/plugin-typescript';
import { qwikRollup } from '@builder.io/qwik/optimizer';
import { terser } from "rollup-plugin-terser";
import { writeFile, mkdir } from "fs/promises";
import { dirname } from "path";
import { terser } from 'rollup-plugin-terser';
import { writeFileSync, mkdirSync } from 'fs';
import { dirname } from 'path';

@@ -39,5 +39,5 @@ export default async function () {

async function outputJSON(path, data) {
await mkdir(dirname(path), {recursive: true});
await writeFile(path, JSON.stringify(data, null, 2));
function outputJSON(path, data) {
mkdirSync(dirname(path), { recursive: true });
writeFileSync(path, JSON.stringify(data, null, 2));
}

@@ -6,5 +6,4 @@ {

"lib": ["es2020", "DOM"],
"jsx": "react",
"jsxFactory": "h",
"jsxFragmentFactory": "Fragment",
"jsx": "react-jsx",
"jsxImportSource": "@builder.io/qwik",
"strict": true,

@@ -11,0 +10,0 @@ "resolveJsonModule": true,

Sorry, the diff of this file is too big to display

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

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