@multivisio/nswow
Advanced tools
Comparing version 0.1.38 to 0.1.39
#!/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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
348
278737
1
3300
1