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

@fathym/create-lcu-package

Package Overview
Dependencies
Maintainers
6
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fathym/create-lcu-package - npm Package Compare versions

Comparing version 0.0.9 to 0.0.10

86

dist/index.js

@@ -119,22 +119,35 @@ "use strict";

Applications: {
$1: {
Application: {
Description: "An application for hosting the files fromthe NPM package '{{NPM_PACKAGE}}'",
"{{guid '$1'}}": {
Details: {
Description: "An application for hosting the files from the NPM package '{{NPM_PACKAGE}}'",
Name: "NPM Package Deploy: {{NPM_PACKAGE}}",
},
LookupConfig: {
PathRegex: "/packages/{{NPM_PACKAGE}}.*",
PathRegex: "/{{PACKAGE_ROUTE}}.*",
},
LowCodeUnit: {
Package: "{{NPM_PACKAGE}}",
Version: "{{PACKAGE_VERSION}}",
Type: "NPM",
Package: {
Details: {
Package: "{{NPM_PACKAGE}}",
Version: "{{PACKAGE_VERSION}}",
},
Type: "NPMLowCodeUnit",
},
Processor: {
BaseHref: "/packages/{{NPM_PACKAGE}}/",
DefaultFile: "index.html",
Type: "DFS",
Details: {
BaseHref: "/{{PACKAGE_ROUTE}}/",
DefaultFile: "index.html",
},
Type: "DFSProcessor",
},
},
},
Projects: {
"{{PROJECT_LOOKUP}}": {
ApplicationLookups: ["{{guid '$1'}}"],
Details: {
Name: "{{Package.Details.Name}}",
Description: "{{Package.Details.Description}}",
},
},
},
};

@@ -150,2 +163,15 @@ }

},
Configurations: {
Basic: {
Name: "Basic NPM Package Deploy",
Description: "A simple NPM package deployment.",
Phases: [
{
Name: "Deploy NPM Package",
Order: 1,
Asset: "deploy",
},
],
},
},
};

@@ -169,10 +195,38 @@ }

return {
PROJECT_LOOKUP: {
Order: 1,
Prompts: [
{
Type: "eac:projects|select",
Message: "Choose the project to deploy the package to?",
Arguments: {
CreateText: "Create a project",
},
},
],
},
NPM_PACKAGE: {
type: "input",
message: "Enter the NPM package name:",
Order: 2,
Prompts: [
{
Message: "Enter the NPM package name:",
},
],
},
PACKAGE_VERSION: {
type: "input",
message: "Enter the NPM package version to use:",
Order: 2,
Prompts: [
{
Message: "Enter the NPM package version to use:",
},
],
},
PACKAGE_ROUTE: {
Order: 2,
Prompts: [
{
Message: "Enter the route to run the package on:",
},
],
},
};

@@ -182,3 +236,3 @@ }

return `# ${name}
The LowCodeUnit definition for creating a ${name} project.
The LCU Package definition for creating a ${name} project.
`;

@@ -185,0 +239,0 @@ }

2

oclif.manifest.json
{
"version": "0.0.9",
"version": "0.0.10",
"commands": {

@@ -4,0 +4,0 @@ ".": {

{
"name": "@fathym/create-lcu-package",
"description": "LCU Package scaffolding",
"version": "0.0.9",
"version": "0.0.10",
"bin": {

@@ -6,0 +6,0 @@ "create-lcu-package": "./bin/run"

@@ -25,3 +25,3 @@ # oclif-hello-world

$ create-lcu-package (--version)
@fathym/create-lcu-package/0.0.9 win32-x64 node-v18.12.1
@fathym/create-lcu-package/0.0.10 win32-x64 node-v18.12.1
$ create-lcu-package --help [COMMAND]

@@ -59,3 +59,3 @@ USAGE

_See code: [dist/index.ts](https://github.com/fathym/create-lcu-package/blob/v0.0.9/dist/index.ts)_
_See code: [dist/index.ts](https://github.com/fathym/create-lcu-package/blob/v0.0.10/dist/index.ts)_

@@ -62,0 +62,0 @@ ## `create-lcu-package help [COMMANDS]`

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