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

adonis-inertia

Package Overview
Dependencies
Maintainers
1
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

adonis-inertia - npm Package Compare versions

Comparing version 0.1.1 to 0.1.2

10

build/instructions.js

@@ -22,3 +22,2 @@ "use strict";

Object.defineProperty(exports, "__esModule", { value: true });
const path_1 = require("path");
const sinkStatic = __importStar(require("@adonisjs/sink"));

@@ -56,5 +55,4 @@ /**

*/
async function instructions(projectRoot, sink) {
// ...
const pkg = new sink.files.PackageJsonFile(projectRoot);
async function instructions(sink) {
const pkg = new sink.files.PackageJsonFile('.');
pkg.install('@inertiajs/inertia');

@@ -77,5 +75,7 @@ const frontendFramework = await getFrontendFramework(sink);

}
sink.logger.info(`Installing packages: ${pkg.getInstalls().list.join(', ')}`);
await pkg.commitAsync();
sink.logger.success('Packages installed!');
}
exports.default = instructions;
instructions(path_1.join(__dirname, 'sample'), sinkStatic).catch(console.log);
instructions(sinkStatic).catch(console.log);
{
"name": "adonis-inertia",
"version": "0.1.1",
"version": "0.1.2",
"main": "build/providers/InertiaProvider.js",

@@ -5,0 +5,0 @@ "types": "build/adonis-typings/index.d.ts",

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