Playing Next Lesson In
seconds

How To Make A Simple AdonisJS 6 Package

In This Lesson

We'll learn how to use AdonisJS' Package Starter Kit to create a simple package where we can configure and add a make:action Ace CLI command to generate action class files, similar to the make:service command.

Created by
@tomgobich
Published

Chapters

00:00 - Our Goal With This Lesson
01:01 - The Package Starter Kit
02:22 - What Is Giget?
03:02 - Reading Recommendations
03:55 - Getting Started With Our Package
04:45 - Filling Out Our Package.json Details
08:14 - Creating Our Make Action Ace Command
13:03 - Defining Our Action Stub
16:19 - Setting Up Our Package Configuration
17:25 - Building Our Package
18:18 - Writing A Japa Test For Our Package
21:50 - Testing Our Package Locally Using NPM Link
24:40 - Wrapping Up

Cloning the Package Starter Kit Using Giget

npx giget@latest gh:adonisjs/pkg-starter-kit
Copied!

Resources

Below you can find the resources mentioned throughout this lesson.

Join the Discussion 0 comments

Create a free account to join in on the discussion
robot comment bubble

Be the first to comment!