create-moost 0.2.33 → 0.2.35

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +36 -1
  2. package/package.json +12 -4
package/README.md CHANGED
@@ -1 +1,36 @@
1
- # create-moost
1
+ # create-moost
2
+
3
+ <p align="center">
4
+ <img src="../../moost-logo.png" width="450px"><br>
5
+ <a href="https://github.com/moostjs/moostjs/blob/main/LICENSE">
6
+ <img src="https://img.shields.io/badge/License-MIT-green?style=for-the-badge" />
7
+ </a>
8
+ </p>
9
+
10
+ `create-moost` is an npm initializer module that allows you to quickly set up new Moost applications. It provides a simple command-line interface to create Moost applications, either as a HTTP app or a CLI app.
11
+
12
+ ## Getting Started
13
+
14
+ To use `create-moost`, make sure you have Node.js (version 14 or above) and npm (Node Package Manager) installed on your machine. Then, follow the steps below to create your Moost application.
15
+
16
+ ### Creating a HTTP App
17
+
18
+ To create a Moost HTTP app, use the following command in your terminal:
19
+
20
+ ```bash
21
+ npm create moost -- --http
22
+ ```
23
+
24
+ This command will initiate the creation of a new Moost HTTP app. It will prompt you with a series of questions to configure your app, such as enabling eslint and prettier, and choosing between the esbuild and rollup bundlers.
25
+
26
+ ### Creating a CLI App
27
+
28
+ To create a Moost CLI app, use the following command in your terminal:
29
+
30
+ ```bash
31
+ npm create moost -- --cli
32
+ ```
33
+
34
+ This command will start the creation process for a new Moost CLI app. It will ask you questions to customize your app, including eslint and prettier preferences, as well as the choice between the esbuild and rollup bundlers.
35
+
36
+ ## [Official Documentation](https://moost.org/)
package/package.json CHANGED
@@ -1,10 +1,18 @@
1
1
  {
2
2
  "name": "create-moost",
3
- "version": "0.2.33",
3
+ "version": "0.2.35",
4
4
  "description": "create-moost",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.mjs",
7
7
  "types": "dist/index.d.ts",
8
+ "sideEffects": false,
9
+ "exports": {
10
+ ".": {
11
+ "import": "./dist/index.mjs",
12
+ "require": "./dist/index.cjs",
13
+ "types": "./dist/index.d.ts"
14
+ }
15
+ },
8
16
  "bin": {
9
17
  "create-moost": "./bin.js"
10
18
  },
@@ -33,10 +41,10 @@
33
41
  },
34
42
  "homepage": "https://github.com/moostjs/moostjs/tree/main/packages/create-moost#readme",
35
43
  "dependencies": {
36
- "@moostjs/event-cli": "0.2.33",
37
- "@wooksjs/event-cli": "^0.3.3",
44
+ "@moostjs/event-cli": "0.2.35",
45
+ "@wooksjs/event-cli": "^0.3.11",
38
46
  "@prostojs/rewrite": "^0.0.4",
39
- "moost": "0.2.33",
47
+ "moost": "0.2.35",
40
48
  "prompts": "^2.4.2"
41
49
  }
42
50
  }