spyne-cli 0.6.5 → 0.6.7

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 (3) hide show
  1. package/README.md +4 -21
  2. package/package.json +1 -1
  3. package/src/ui.js +1 -1
package/README.md CHANGED
@@ -26,7 +26,7 @@ To install the `spyne-cli`, you need to have Node.js and npm installed on your s
26
26
  To create a new SpyneJS application, run:
27
27
 
28
28
  ```bash
29
- npx spyne-cli create-app <app-name>
29
+ npx spyne-cli new <app-name>
30
30
  ```
31
31
 
32
32
  This will generate the necessary project files in the specified `<app-name>` directory.
@@ -60,13 +60,13 @@ To create a new application and add a `ViewStream` component:
60
60
  1. Create a new application:
61
61
 
62
62
  ```bash
63
- npx spyne-cli create-app my-spyne-app
63
+ npx spyne-cli new my-spyne-app
64
64
  ```
65
65
 
66
- 2. Navigate to the application directory:
66
+ 2. Navigate to and start the application:
67
67
 
68
68
  ```bash
69
- cd my-spyne-app
69
+ cd my-spyne-app && npm start
70
70
  ```
71
71
 
72
72
  3. Generate a `ViewStream` component:
@@ -75,23 +75,6 @@ To create a new application and add a `ViewStream` component:
75
75
  npx spyne-cli generate viewstream MyView
76
76
  ```
77
77
 
78
- ## Configuration
79
-
80
- The `spyne-cli` supports customization via the `spyne.config.js` file located in your project’s root directory. You can modify the config file to control the file structure, template generation, and more.
81
-
82
- ### Example `spyne.config.js`
83
-
84
- ```javascript
85
- module.exports = {
86
- templates: {
87
- viewstream: './templates/viewstream.hbs',
88
- channel: './templates/channel.hbs',
89
- spynetrait: './templates/spynetrait.hbs',
90
- },
91
- outputDir: './src/components',
92
- };
93
- ```
94
-
95
78
  ## Contributing
96
79
 
97
80
  Contributions are welcome! Please feel free to submit a Pull Request or open an Issue on the [GitHub repository](https://github.com/spynejs/spyne-cli).
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "spyne-cli": "index.js"
5
5
  },
6
6
  "type": "module",
7
- "version": "0.6.5",
7
+ "version": "0.6.7",
8
8
  "description": "Generates spyne objects and saves them to standard spyne.",
9
9
  "main": "index.js",
10
10
  "scripts": {
package/src/ui.js CHANGED
@@ -5,7 +5,7 @@ export class SpyneCliUI {
5
5
 
6
6
  constructor() {}
7
7
  static title(){
8
- const figletTxt = figlet.textSync('spyne-cli 6.5', {
8
+ const figletTxt = figlet.textSync('spyne-cli 6.7', {
9
9
  horizontalLayout: 'universal smushing'
10
10
  })
11
11
  const chalkOutput = chalk.blue(figletTxt);