New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@athenna/core

Package Overview
Dependencies
Maintainers
0
Versions
218
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@athenna/core - npm Package Compare versions

Comparing version 5.4.0 to 5.5.0

2

package.json
{
"name": "@athenna/core",
"version": "5.4.0",
"version": "5.5.0",
"description": "One foundation for multiple applications.",

@@ -5,0 +5,0 @@ "license": "MIT",

@@ -16,4 +16,4 @@ /**

private getOutDir;
getVite(): any;
getVite(): Promise<typeof import("vite")>;
getViteConfig(vite: any): Promise<any>;
}

@@ -20,4 +20,4 @@ /**

import { tsc } from '@athenna/tsconfig/tsc';
import { Path, Color } from '@athenna/common';
import { isAbsolute, join, parse } from 'node:path';
import { Path, Color, Module } from '@athenna/common';
import { BaseCommand, Option } from '@athenna/artisan';

@@ -50,7 +50,4 @@ import { copyfiles } from '@athenna/tsconfig/copyfiles';

tasks.addPromise(`Compiling the application with ${compiler} compiler`, () => tsc(tsConfigPath));
if (include.length) {
tasks.addPromise(`Copying included paths to ${outDirName} folder: ${includedPaths}`, () => copyfiles(include, outDir));
}
if (this.vite) {
const vite = this.getVite();
const vite = await this.getVite();
tasks.addPromise(`Compiling static files using ${Color.yellow.bold('vite')}`, async () => {

@@ -61,2 +58,5 @@ const config = await this.getViteConfig(vite);

}
if (include.length) {
tasks.addPromise(`Copying included paths to ${outDirName} folder: ${includedPaths}`, () => copyfiles(include, outDir));
}
await tasks.run();

@@ -80,5 +80,4 @@ console.log();

}
getVite() {
const require = Module.createRequire(import.meta.url);
return require('vite');
async getVite() {
return import('vite');
}

@@ -85,0 +84,0 @@ async getViteConfig(vite) {

@@ -16,6 +16,5 @@ /**

handle(): Promise<void>;
getVite(): any;
getVitePluginRestart(): any;
getNodemon(): any;
getVite(): Promise<typeof import("vite")>;
getViteConfig(vite: any): Promise<any>;
}

@@ -96,10 +96,2 @@ /**

}
getVite() {
const require = Module.createRequire(import.meta.url);
return require('vite');
}
getVitePluginRestart() {
const require = Module.createRequire(import.meta.url);
return require('vite-plugin-restart');
}
getNodemon() {

@@ -109,2 +101,5 @@ const require = Module.createRequire(import.meta.url);

}
async getVite() {
return import('vite');
}
async getViteConfig(vite) {

@@ -150,3 +145,3 @@ const defaultConfig = {

signature: '-w, --watch',
description: 'Use nodemon to watch the application and restart on changes (also turn on vite --watch if using it).',
description: 'Use nodemon to watch the application and restart on changes.',
default: false

@@ -153,0 +148,0 @@ }),

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