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

@multivisio/nswow

Package Overview
Dependencies
Maintainers
3
Versions
80
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@multivisio/nswow - npm Package Compare versions

Comparing version 0.1.38 to 0.1.39

scripts/beaver.js

8

cli.js
#!/usr/bin/env node
import { Command } from "commander";
import { readFile } from 'fs/promises';
import { addComponents, removeComponents, createComponent, addGroups, removeGroups, createGroup } from "./scripts/components.mjs";
import { build, map } from "./scripts/build.mjs";
import { beaver } from "./scripts/beaver.mjs";
import { addComponents, removeComponents, createComponent, addGroups, removeGroups, createGroup } from "./scripts/components.js";
import { build, map } from "./scripts/build.js";
import { beaver } from "./scripts/beaver.js";

@@ -14,3 +14,3 @@ const packageJson = JSON.parse(

import {init} from "./scripts/init.mjs";
import {init} from "./scripts/init.js";

@@ -17,0 +17,0 @@ const commander = new Command();

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

"build-type-check": "run-p type-check \"build-only {@}\" --",
"build-only": "vite build",
"type-check": "vue-tsc --build --force",

@@ -24,3 +25,3 @@ "lint": "eslint . --ext .vue,.js,.jsx,.cjs,.mjs,.ts,.tsx,.cts,.mts --fix --ignore-path .gitignore",

"devDependencies": {
"@multivisio/nswow": "^0.1.38",
"@multivisio/nswow": "^0.1.39",
"@rushstack/eslint-patch": "^1.3.3",

@@ -27,0 +28,0 @@ "@tsconfig/node20": "^20.1.2",

@@ -5,5 +5,5 @@ import { defineConfig } from 'vite'

import { beaver } from '@multivisio/nswow/scripts/beaver.mjs'
import { map } from '@multivisio/nswow/scripts/build.mjs'
import {nswowWatcher} from "@multivisio/nswow/scripts/vite.mjs"
import { beaver } from '@multivisio/nswow/scripts/beaver.js'
import { map } from '@multivisio/nswow/scripts/build.js'
import {nswowWatcher} from "@multivisio/nswow/scripts/vite.js"
import { alias } from "./alias.js"

@@ -10,0 +10,0 @@

{
"name": "@multivisio/nswow",
"version": "0.1.38",
"version": "0.1.39",
"description": "Manage nswow templates, build and publish",

@@ -8,2 +8,5 @@ "bin": {

},
"scripts": {
"typescript": "npx -p typescript tsc"
},
"type": "module",

@@ -36,3 +39,6 @@ "main": "cli.js",

"author": "Michael Dörer",
"license": "ISC"
"license": "ISC",
"devDependencies": {
"typescript": "^5.4.3"
}
}

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

/**
* Builds the Livingdocs design and components based on the configuration.
*
* @returns {boolean} - Indicates whether the build was successful or not.
*/
async function build() {

@@ -9,0 +14,0 @@ try {

@@ -5,2 +5,9 @@ import configuration from "../configuration.js";

/**
* Builds and packages a design version.
*
* @param {object} designData - The design data object.
* @param {object} components - The components object.
* @returns {void}
*/
const BuildV1 = (designData, components) => {

@@ -7,0 +14,0 @@ // critical tests

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