spyne-cli 0.4.0 → 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/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "spyne-cli": "index.js"
5
5
  },
6
6
  "type": "module",
7
- "version": "0.4.0",
7
+ "version": "0.4.1",
8
8
  "description": "Generates spyne objects and saves them to standard spyne.",
9
9
  "main": "index.js",
10
10
  "scripts": {
@@ -33,6 +33,7 @@
33
33
  "json-stringify-safe": "^5.0.1",
34
34
  "pkg-dir": "^6.0.1",
35
35
  "pkg-up": "^4.0.0",
36
+ "ramda": "^0.28.0",
36
37
  "read-pkg": "^7.0.0"
37
38
  },
38
39
  "devDependencies": {
@@ -0,0 +1,15 @@
1
+ ## Spynejs Hello World Application
2
+ barebones app preconfigured for building, testing and adding content using the spyne-cli tool
3
+
4
+ App includes
5
+ * AppView
6
+ * Application Folder Structure
7
+ * Build, production setup using webpack and sass
8
+ * Spyne Console plugin
9
+ * Unit testing
10
+
11
+ ```
12
+ npm run init or npm install
13
+ ```
14
+
15
+ ### Build better web experiences, faster
@@ -13,7 +13,7 @@ import enquirer from 'enquirer';
13
13
  const {prompt, Select} = enquirer;
14
14
 
15
15
  import c from 'ansi-colors';
16
- import R from 'ramda';
16
+ import * as R from 'ramda';
17
17
  import {getLocalFileDirectory, validateFileDirectory} from '../utils/file-utils.js';
18
18
  import changeCase from 'change-case';
19
19
 
@@ -4,7 +4,7 @@ import PromptInputField from './generate-prompt-input-fields.js';
4
4
 
5
5
  import enquirer from 'enquirer';
6
6
  const {prompt} = enquirer;
7
- import R from 'ramda';
7
+ import * as R from 'ramda';
8
8
  import fs from 'fs';
9
9
  import color from 'ansi-colors';
10
10
 
@@ -1,4 +1,4 @@
1
- import R from 'ramda';
1
+ import * as R from 'ramda';
2
2
  import boxen from 'boxen';
3
3
  import colors from 'ansi-colors';
4
4
  colors.alias('comment', colors.white);
@@ -7,7 +7,7 @@ import stringify from 'json-stringify-safe';
7
7
  import path from 'path';
8
8
  import fs from 'fs';
9
9
  import c from 'ansi-colors';
10
- import R from 'ramda';;
10
+ import * as R from 'ramda';
11
11
 
12
12
 
13
13
  const checkIfFileExists = (fileLoc) => fs.existsSync(fileLoc)
@@ -4,7 +4,7 @@ import {MockData} from './mocks/enquirer-data.js';
4
4
  import {AnswersData} from './mocks/answers.js';
5
5
  const {answersArr} = AnswersData;
6
6
  import {generatePromptOutput} from '../src/templates/generate-prompt-output.js';
7
- import R from 'ramda';
7
+ import * as R from 'ramda';
8
8
 
9
9
  const getAnswersByFileType = (fileType) => R.compose(R.head, R.filter(R.propEq('fileType', fileType)))(answersArr)
10
10
 
@@ -3,7 +3,7 @@ const {expect, assert} = chai;
3
3
  import {MockData} from '../mocks/enquirer-data.js';
4
4
  import {AnswersData} from '../mocks/answers.js';
5
5
  const {answersArr} = AnswersData;
6
- import R from 'ramda';
6
+ import * as R from 'ramda';
7
7
  import fs from 'fs';
8
8
  import path from 'path';
9
9