Socket
Socket
Sign inDemoInstall

@multivisio/nswow

Package Overview
Dependencies
Maintainers
3
Versions
72
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.5 to 0.1.6

dev/source/assets/scss/app.scss

17

cli.js

@@ -5,3 +5,4 @@ #!/usr/bin/env node

import { addComponents, removeComponents, createComponent } from "./scripts/components.mjs";
import { build } from "./scripts/build.mjs";
import { build, mapScss } from "./scripts/build.mjs";
import { beaver } from "./scripts/beaver.mjs";

@@ -52,2 +53,16 @@ const packageJson = JSON.parse(

commander.command("map")
.description("Build all necessary entries for production")
.action(() => {
mapScss();
})
;
commander.command("beaver")
.description("Update beaver configuration")
.action(() => {
beaver(1);
})
;
commander.parse();

2

dev/package.json

@@ -17,3 +17,3 @@ {

"devDependencies": {
"@multivisio/nswow": "^0.1.5",
"@multivisio/nswow": "^0.1.6",
"@vitejs/plugin-vue": "^4.6.2",

@@ -20,0 +20,0 @@ "@vue/test-utils": "^2.4.4",

import {fileURLToPath, URL} from 'node:url'
import {resolve} from 'node:path'
import {beaver} from '@multivisio/nswow/scripts/beaver'
import {mapScss} from '@multivisio/nswow/scripts/build'
import {nswowWatcher} from "@multivisio/nswow/scripts/vite.mjs";
import {defineConfig} from 'vite'
import vue from '@vitejs/plugin-vue'
beaver();
const CWD = process.cwd();
await beaver();
await mapScss();
// https://vitejs.dev/config/

@@ -12,12 +18,13 @@ export default defineConfig({

vue(),
{
name: "watch-for-file-updates",
handleHotUpdate({ file }) {
if (file.endsWith("/nswow.config.json")) {
beaver();
}
nswowWatcher(),
], build: {
outDir: './.output/app',
rollupOptions: {
input: {
main: resolve(CWD, './index.html'),
ldd: resolve(CWD, './nested/ldd.html'),
pdf: resolve(CWD, './nested/pdf.html'),
word: resolve(CWD, './nested/word.html'),
},
},
], build: {
outDir: './output/app'
}
},

@@ -24,0 +31,0 @@ resolve: {

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

@@ -11,2 +11,3 @@ "bin": {

"dependencies": {
"colors": "^1.4.0",
"commander": "^11.1.0",

@@ -13,0 +14,0 @@ "enquirer": "^2.4.1",

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

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