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

create-kitql

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

create-kitql - npm Package Compare versions

Comparing version 0.0.2-next.0 to 0.0.2-next.2

templates/kit-routes/package-lock.json

27

bin.js
#!/usr/bin/env node
import * as p from '@clack/prompts'
import { bold, cyan, gray, green, italic } from '@kitql/helpers'
import { program, Option, InvalidArgumentError } from 'commander'
import { program, Option } from 'commander'
import fs, { readFileSync } from 'node:fs'

@@ -37,15 +37,16 @@ import path from 'node:path'

)
program.addOption(
new Option('-s, --schema <schema>', '"local" or "http..."').argParser(value => {
if (value === 'local' || value.startsWith('http')) {
return value
}
throw new InvalidArgumentError('Should be "local" or "http..." or do not set it!')
}),
)
// program.addOption(
// new Option('-s, --schema <schema>', '"local" or "http..."').argParser(value => {
// if (value === 'local' || value.startsWith('http')) {
// return value
// }
// throw new InvalidArgumentError('Should be "local" or "http..." or do not set it!')
// }),
// )
program.parse(process.argv)
const options_cli = program.opts()
p.intro('🎨 Welcome to Svelte UX!')
p.intro(`${green(`⚡️`)} Welcome to KitQL world!`)

@@ -104,3 +105,3 @@ // if we weren't given a directory, then we should ask

message: 'Which template do you want to use?',
initialValue: 'starter',
initialValue: 'kit-routes',
options,

@@ -122,4 +123,4 @@ })

{
PROJECT_NAME: projectName,
SVELTE_UX_VERSION: version,
// replace the project name in the template, in the template it should follow this format be be replaced
[`create-kitql-${template}`]: projectName,
},

@@ -126,0 +127,0 @@ { '.meta.gitignore': '.gitignore' },

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

],
"version": "0.0.2-next.0",
"version": "0.0.2-next.2",
"license": "MIT",

@@ -26,4 +26,4 @@ "type": "module",

"@clack/prompts": "^0.7.0",
"commander": "^11.1.0",
"@kitql/helpers": "0.8.4"
"@kitql/helpers": "0.8.4",
"commander": "^11.1.0"
},

@@ -30,0 +30,0 @@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zEwLjI2MiAyMTYuMjA3IDMyMi40NTQgMjMzLjc0OUMzMjkuOTU2IDI0NC4wNDEgMzMyLjc3IDI1Ni45MDUgMzMwLjY2IDI2OS41MzZDMzI4LjU0OSAyODEuNjk4IDMyMS4wNDcgMjkyLjY5MiAzMTAuNDk2IDI5OS4yNDFMMjQ2LjAyMSAzNDAuMTczQzI0Mi4wMzYgMzQyLjc0NiAyMzcuNTgxIDM0NC42MTcgMjMyLjg5MiAzNDYuMDJaIiBmaWxsPSJ3aGl0ZSIvPgo8L2c+CjxkZWZzPgo8Y2xpcFBhdGggaWQ9ImNsaXAwXzVfMiI+CjxyZWN0IHdpZHRoPSIyMzAiIGhlaWdodD0iMjc2IiBmaWxsPSJ3aGl0ZSIgdHJhbnNmb3JtPSJ0cmFuc2xhdGUoMTM3IDEwMykiLz4KPC9jbGlwUGF0aD4KPC9kZWZzPgo8L3N2Zz4K&logoColor=E10098)](https://kitql.dev/docs/tools/06_vite-plugin-kit-routes)
[![](https://img.shields.io/badge/Documentation%20of-create%20kitql-FF3E00.svg?style=flat&logo=stackblitz&logoColor=FF3E00)](https://kitql.dev/docs/create)

@@ -14,2 +14,5 @@ ## 🧑‍💻 Try it

npm create kitql@latest demo-kitql
# or with a template option
npm create kitql@latest demo-kitql --template kit-routes
```

@@ -19,3 +22,3 @@

[![GitHub Repo stars](https://img.shields.io/github/stars/jycouet/kitql?logo=github&label=KitQL&color=FF3E00)](https://github.com/jycouet/kitql)
[![GitHub Repo stars](https://img.shields.io/github/stars/jycouet/kitql?logo=github&label=KitQL&color=#4ACC31)](https://github.com/jycouet/kitql)
{
"label": "Demo - Vite Kit Routes",
"label": "vite - Kit Routes",
"hint": "Never go out of sync with your routes again! No more 🤞, now be confident ✅!"
}
{
"name": "kitql-kit-routes",
"name": "create-kitql-kit-routes",
"version": "0.0.1",

@@ -33,2 +33,3 @@ "private": true,

"vite": "^4.4.2",
"vite-plugin-kit-routes": "^0.1.0-next.5",
"vitest": "^0.32.2"

@@ -35,0 +36,0 @@ },

import { sveltekit } from '@sveltejs/kit/vite';
import { defineConfig } from 'vitest/config';
import { kitRoutes } from 'vite-plugin-kit-routes';
export default defineConfig({
plugins: [sveltekit()],
plugins: [
sveltekit(),
kitRoutes({
post_update_run: 'npm exec prettier ./src/lib/ROUTES.ts -- -w',
LINKS: {
twitter: 'https://twitter.com/jycouet',
github: 'https://github.com/jycouet/kitql',
github_avatar: { href: 'https://avatars.githubusercontent.com/[author]' },
gravatar: {
href: 'https://www.gravatar.com/avatar/[str]',
explicit_search_params: {
s: { type: 'number', default: 75 },
d: { type: '"retro" | "identicon"', default: '"identicon"' }
}
}
}
})
],
test: {

@@ -7,0 +25,0 @@ include: ['src/**/*.{test,spec}.{js,ts}']

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