@qavajs/create 0.4.0 → 0.4.2

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/CHANGELOG.MD CHANGED
@@ -8,6 +8,12 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
8
8
  :beetle: - bugfix
9
9
  :x: - deprecation
10
10
 
11
+ ## [0.4.2]
12
+ - :beetle: fixed default UI scenario
13
+
14
+ ## [0.4.1]
15
+ - :beetle: fixed issue with gitignore template
16
+
11
17
  ## [0.4.0]
12
18
  - :rocket: updated formatters to modern syntax
13
19
  - :rocket: added .gitignore template
package/lib/install.js CHANGED
@@ -97,8 +97,8 @@ function install() {
97
97
  }
98
98
  const isPOIncluded = isWdioIncluded || isPlaywrightIncluded;
99
99
  const isTemplateIncluded = answers.modules.includes('template');
100
- // add .gitignore
101
- const gitignoreTemplate = yield (0, promises_1.readFile)((0, path_1.resolve)(__dirname, '../templates/.gitignore'), 'utf-8');
100
+ // add gitignore
101
+ const gitignoreTemplate = yield (0, promises_1.readFile)((0, path_1.resolve)(__dirname, '../templates/gitignore'), 'utf-8');
102
102
  yield (0, promises_1.writeFile)(`./.gitignore`, gitignoreTemplate, 'utf-8');
103
103
  // add package.json
104
104
  const packageJsonTemplate = yield (0, promises_1.readFile)((0, path_1.resolve)(__dirname, '../templates/package.json'), 'utf-8');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qavajs/create",
3
- "version": "0.4.0",
3
+ "version": "0.4.2",
4
4
  "description": "initializer of @qavajs project",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,17 +20,17 @@
20
20
  "author": "Alexandr Galichenko",
21
21
  "license": "MIT",
22
22
  "dependencies": {
23
- "@inquirer/prompts": "^5.3.2",
23
+ "@inquirer/prompts": "^5.5.0",
24
24
  "ejs": "^3.1.10",
25
25
  "fs-extra": "^11.2.0",
26
- "typescript": "^5.5.4",
26
+ "typescript": "^5.6.2",
27
27
  "yarn-install": "^1.0.0"
28
28
  },
29
29
  "devDependencies": {
30
30
  "@types/ejs": "^3.1.5",
31
31
  "@types/fs-extra": "^11.0.4",
32
- "@types/node": "^20.14.11",
33
- "@vitest/coverage-v8": "^2.0.4",
34
- "vitest": "^2.0.4"
32
+ "@types/node": "^20.16.5",
33
+ "@vitest/coverage-v8": "^2.0.5",
34
+ "vitest": "^2.0.5"
35
35
  }
36
36
  }
package/src/install.ts CHANGED
@@ -64,9 +64,9 @@ export default async function install(): Promise<void> {
64
64
  const isPOIncluded: boolean = isWdioIncluded || isPlaywrightIncluded;
65
65
  const isTemplateIncluded: boolean = answers.modules.includes('template');
66
66
 
67
- // add .gitignore
67
+ // add gitignore
68
68
  const gitignoreTemplate = await readFile(
69
- resolve(__dirname, '../templates/.gitignore'),
69
+ resolve(__dirname, '../templates/gitignore'),
70
70
  'utf-8'
71
71
  );
72
72
  await writeFile(`./.gitignore`, gitignoreTemplate, 'utf-8');
@@ -2,4 +2,4 @@ Feature: qavajs framework
2
2
 
3
3
  Scenario: Open qavajs docs
4
4
  Given I open 'https://qavajs.github.io/' url
5
- Then I expect text of 'Body' to contain 'npm install @qavajs/cli'
5
+ Then I expect text of 'Body' to contain 'qavajs'
@@ -0,0 +1 @@
1
+ node_modules/