create-awesome-node-app 0.2.4 → 0.2.5
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.
- package/README.md +78 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
<!--lint disable double-link awesome-heading awesome-git-repo-age awesome-toc-->
|
|
2
|
+
|
|
3
|
+
<div align="center">
|
|
4
|
+
<h1>Create Awesome Node App</h1>
|
|
5
|
+
|
|
6
|
+
[Changelog](#) |
|
|
7
|
+
[Contributing](./CONTRIBUTING.md)
|
|
8
|
+
|
|
9
|
+
</div>
|
|
10
|
+
<div align="center">
|
|
11
|
+
|
|
12
|
+
[![Continious Integration][cibadge]][ciurl]
|
|
13
|
+
[![npm][npmversion]][npmurl]
|
|
14
|
+
[![npm][npmdownloads]][npmurl]
|
|
15
|
+
[![License: MIT][licensebadge]][licenseurl]
|
|
16
|
+
|
|
17
|
+
</div>
|
|
18
|
+
|
|
19
|
+
The primary goal of this project is to provide a stable foundation upon which to build modern web applications. Its purpose is not to dictate your project structure or to demonstrate a complete real-world application, but to provide a set of tools intended to make front-end development robust and easy.
|
|
20
|
+
|
|
21
|
+
## Quickstart
|
|
22
|
+
|
|
23
|
+
```sh
|
|
24
|
+
npx create-awesome-node-app my-project # or specify flag `-h` to see all options
|
|
25
|
+
cd my-project
|
|
26
|
+
npm start
|
|
27
|
+
```
|
|
28
|
+
|
|
29
|
+
_([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_
|
|
30
|
+
|
|
31
|
+
## Creating an app
|
|
32
|
+
|
|
33
|
+
**You’ll need to have Node 18 or later on your local development machine**. You can use [fnm](https://github.com/Schniz/fnm) to easily switch Node versions between different projects.
|
|
34
|
+
|
|
35
|
+
It will create a directory called `my-project` inside the current folder.<br>
|
|
36
|
+
Inside that directory, it will generate the initial project structure and install the transitive dependencies.
|
|
37
|
+
|
|
38
|
+
To create a new app, you may choose one of the following methods:
|
|
39
|
+
|
|
40
|
+
### npx
|
|
41
|
+
|
|
42
|
+
```sh
|
|
43
|
+
npx create-awesome-node-app my-project
|
|
44
|
+
```
|
|
45
|
+
|
|
46
|
+
_([npx](https://medium.com/@maybekatz/introducing-npx-an-npm-package-runner-55f7d4bd282b) comes with npm 5.2+ and higher, see [instructions for older npm versions](https://gist.github.com/gaearon/4064d3c23a77c74a3614c498a8bb1c5f))_
|
|
47
|
+
|
|
48
|
+
### npm
|
|
49
|
+
|
|
50
|
+
```sh
|
|
51
|
+
npm init awesome-node-app my-project
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
_`npm init <initializer>` is available in npm 6+_
|
|
55
|
+
|
|
56
|
+
### yarn
|
|
57
|
+
|
|
58
|
+
```sh
|
|
59
|
+
yarn create awesome-node-app my-project
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
_`yarn create` is available in Yarn 0.25+_
|
|
63
|
+
|
|
64
|
+
## Contributors
|
|
65
|
+
|
|
66
|
+
<a href="https://github.com/Create-Node-App/create-node-app/contributors">
|
|
67
|
+
<img src="https://contrib.rocks/image?repo=Create-Node-App/create-node-app"/>
|
|
68
|
+
</a>
|
|
69
|
+
|
|
70
|
+
Made with [contributors-img](https://contrib.rocks).
|
|
71
|
+
|
|
72
|
+
[cibadge]: https://github.com/Create-Node-App/create-node-app/actions/workflows/ci.yml/badge.svg
|
|
73
|
+
[npmversion]: https://img.shields.io/npm/v/create-awesome-node-app.svg?maxAge=2592000?style=plastic
|
|
74
|
+
[npmdownloads]: https://img.shields.io/npm/dm/create-awesome-node-app.svg?maxAge=2592000?style=plastic
|
|
75
|
+
[licensebadge]: https://img.shields.io/badge/License-MIT-blue.svg
|
|
76
|
+
[ciurl]: https://github.com/Create-Node-App/create-node-app/actions/workflows/ci.yml
|
|
77
|
+
[npmurl]: https://www.npmjs.com/package/create-awesome-node-app
|
|
78
|
+
[licenseurl]: https://github.com/Create-Node-App/create-node-app/blob/main/LICENSE
|
package/dist/index.cjs
CHANGED
|
@@ -3639,7 +3639,7 @@ var getCnaOptions = async (options) => {
|
|
|
3639
3639
|
// package.json
|
|
3640
3640
|
var package_default = {
|
|
3641
3641
|
name: "create-awesome-node-app",
|
|
3642
|
-
version: "0.2.
|
|
3642
|
+
version: "0.2.5",
|
|
3643
3643
|
type: "module",
|
|
3644
3644
|
description: "Command line tool to create Node apps with a lot of different addons.",
|
|
3645
3645
|
license: "MIT",
|
package/dist/index.js
CHANGED
|
@@ -3645,7 +3645,7 @@ var getCnaOptions = async (options) => {
|
|
|
3645
3645
|
// package.json
|
|
3646
3646
|
var package_default = {
|
|
3647
3647
|
name: "create-awesome-node-app",
|
|
3648
|
-
version: "0.2.
|
|
3648
|
+
version: "0.2.5",
|
|
3649
3649
|
type: "module",
|
|
3650
3650
|
description: "Command line tool to create Node apps with a lot of different addons.",
|
|
3651
3651
|
license: "MIT",
|