create-awesome-node-app 0.3.8 → 0.4.1

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 CHANGED
@@ -16,25 +16,10 @@
16
16
 
17
17
  </div>
18
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))_
19
+ Powerful tool to scaffold your application choosing between different templates and extensions for Web apps, Web Extensions, Monorepos and more!
30
20
 
31
21
  ## Creating an app
32
22
 
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
23
  To create a new app, you may choose one of the following methods:
39
24
 
40
25
  ### npx
@@ -61,14 +46,6 @@ yarn create awesome-node-app my-project
61
46
 
62
47
  _`yarn create` is available in Yarn 0.25+_
63
48
 
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
49
  [cibadge]: https://github.com/Create-Node-App/create-node-app/actions/workflows/ci.yml/badge.svg
73
50
  [npmversion]: https://img.shields.io/npm/v/create-awesome-node-app.svg?maxAge=2592000?style=plastic
74
51
  [npmdownloads]: https://img.shields.io/npm/dm/create-awesome-node-app.svg?maxAge=2592000?style=plastic
package/dist/index.cjs CHANGED
@@ -3656,7 +3656,7 @@ var getCnaOptions = async (options) => {
3656
3656
  // package.json
3657
3657
  var package_default = {
3658
3658
  name: "create-awesome-node-app",
3659
- version: "0.3.8",
3659
+ version: "0.4.1",
3660
3660
  type: "module",
3661
3661
  description: "Command line tool to create Node apps with a lot of different templates and extensions.",
3662
3662
  license: "MIT",
@@ -3725,6 +3725,7 @@ var main = async () => {
3725
3725
  "--nodeps",
3726
3726
  "generate package.json file without installing dependencies"
3727
3727
  ).parse(process.argv);
3728
+ (0, import_core.checkNodeVersion)(package_default.engines.node, package_default.name);
3728
3729
  const latest = await (0, import_core.checkForLatestVersion)("create-awesome-node-app");
3729
3730
  if (latest && import_semver.default.lt(package_default.version, latest)) {
3730
3731
  console.log();
package/dist/index.js CHANGED
@@ -3430,7 +3430,11 @@ var require_chalk = __commonJS({
3430
3430
  var import_commander = __toESM(require_commander(), 1);
3431
3431
  var import_chalk = __toESM(require_chalk(), 1);
3432
3432
  import semver from "semver";
3433
- import { createNodeApp, checkForLatestVersion } from "@create-node-app/core";
3433
+ import {
3434
+ createNodeApp,
3435
+ checkForLatestVersion,
3436
+ checkNodeVersion
3437
+ } from "@create-node-app/core";
3434
3438
 
3435
3439
  // src/options.ts
3436
3440
  import prompts from "prompts";
@@ -3662,7 +3666,7 @@ var getCnaOptions = async (options) => {
3662
3666
  // package.json
3663
3667
  var package_default = {
3664
3668
  name: "create-awesome-node-app",
3665
- version: "0.3.8",
3669
+ version: "0.4.1",
3666
3670
  type: "module",
3667
3671
  description: "Command line tool to create Node apps with a lot of different templates and extensions.",
3668
3672
  license: "MIT",
@@ -3731,6 +3735,7 @@ var main = async () => {
3731
3735
  "--nodeps",
3732
3736
  "generate package.json file without installing dependencies"
3733
3737
  ).parse(process.argv);
3738
+ checkNodeVersion(package_default.engines.node, package_default.name);
3734
3739
  const latest = await checkForLatestVersion("create-awesome-node-app");
3735
3740
  if (latest && semver.lt(package_default.version, latest)) {
3736
3741
  console.log();
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-awesome-node-app",
3
- "version": "0.3.8",
3
+ "version": "0.4.1",
4
4
  "type": "module",
5
5
  "description": "Command line tool to create Node apps with a lot of different templates and extensions.",
6
6
  "license": "MIT",