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

@magidoc/cli

Package Overview
Dependencies
Maintainers
1
Versions
123
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@magidoc/cli - npm Package Compare versions

Comparing version 0.1.4 to 0.2.0

build/generate/command.d.ts

2

build/index.d.ts

@@ -1,1 +0,1 @@

export declare const x = "";
export {};

@@ -1,2 +0,14 @@

export const x="";
import { Command } from 'commander';
import { readFileSync } from 'fs';
import buildGenerateCommand from './generate/command.js';
import buildInitCommand from './init/command.js';
const packageJson = JSON.parse(readFileSync('../package.json').toString());
const program = new Command()
.name('Magidoc')
.description('Magidoc CLI helps you to get started building GraphQL documentation websites.\n')
.version(packageJson.version || 'unknown');
buildGenerateCommand(program);
buildInitCommand(program);
program.parse();
//# sourceMappingURL=index.js.map

@@ -5,3 +5,3 @@ {

"private": false,
"version": "0.1.4",
"version": "0.2.0",
"type": "module",

@@ -11,12 +11,23 @@ "license": "MIT",

"types": "./build/index.d.ts",
"dependencies": {
"@magidoc/rollup-plugin-fetch-gql-schema": "^0.2.0",
"commander": "^9.1.0"
},
"devDependencies": {
"@rollup/plugin-typescript": "^8.3.1",
"@types/jest": "^27.4.1",
"esbuild": "^0.14.32",
"esbuild": "^0.14.34",
"jest": "^27.5.1",
"jest-extended": "^2.0.0",
"listr2": "^4.0.5",
"rollup": "^2.70.1",
"ts-jest": "^27.1.4",
"tslib": "^2.3.1",
"typescript": "^4.6.3"
},
"scripts": {
"build": "esbuild --minify --sourcemap --outdir=build ./src/*.ts && tsc --build tsconfig.build.json",
"start": "pnpm build:rollup && cd build && node index.js",
"build": "run-p build:*",
"build:rollup": "rollup -c",
"build:tsc": "tsc --build tsconfig.build.json",
"test": "jest",

@@ -23,0 +34,0 @@ "release": "pnpm publish --no-git-checks --access public"

@@ -1,1 +0,20 @@

export const x = ''
import { Command } from 'commander'
import { readFileSync } from 'fs'
import buildGenerateCommand from './generate/command'
import buildInitCommand from './init/command'
const packageJson = JSON.parse(readFileSync('../package.json').toString()) as {
version: string
}
const program = new Command()
.name('Magidoc')
.description(
'Magidoc CLI helps you to get started building GraphQL documentation websites.\n',
)
.version(packageJson.version || 'unknown')
buildGenerateCommand(program)
buildInitCommand(program)
program.parse()

@@ -0,1 +1,4 @@

// TODO - remove
export {}
describe('should pass', () => {

@@ -2,0 +5,0 @@ it('should pass', () => {

@@ -5,2 +5,4 @@ {

"useDefineForClassFields": true,
"importsNotUsedAsValues": "error",
"isolatedModules": true,
"module": "esnext",

@@ -13,2 +15,3 @@ "moduleResolution": "node",

"sourceMap": true,
"outDir": "build",
"resolveJsonModule": true,

@@ -20,3 +23,3 @@ "esModuleInterop": true,

"include": ["src/**/*.ts", "src/**/*.d.ts", "tests/**/*.ts"],
"exclude": ["node_modules"]
"exclude": ["build", "node_modules"]
}

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