@qavajs/create 2.2.1 → 2.2.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
@@ -10,6 +10,9 @@ Check [Keep a Changelog](http://keepachangelog.com/) for recommendations on how
10
10
 
11
11
  :x: - deprecation
12
12
 
13
+ ## [2.2.2]
14
+ - :beetle: fixed issue with mandatory ESM js extension
15
+
13
16
  ## [2.2.1]
14
17
  - :beetle: fixed readme template
15
18
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@qavajs/create",
3
- "version": "2.2.1",
3
+ "version": "2.2.2",
4
4
  "description": "@qavajs init",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -10,22 +10,32 @@
10
10
  "bin": {
11
11
  "create-qavajs": "./index.js"
12
12
  },
13
+ "repository": {
14
+ "type": "git",
15
+ "url": "git+https://github.com/qavajs/create.git"
16
+ },
17
+ "bugs": {
18
+ "url": "https://github.com/qavajs/create/issues"
19
+ },
20
+ "homepage": "https://github.com/qavajs",
13
21
  "keywords": [
14
- "Testing",
15
- "QA"
22
+ "testing",
23
+ "qa",
24
+ "test-automation",
25
+ "qavajs"
16
26
  ],
17
27
  "author": "Alexandr Galichenko",
18
28
  "license": "MIT",
19
29
  "dependencies": {
20
- "@inquirer/prompts": "^7.8.4",
30
+ "@inquirer/prompts": "^7.8.6",
21
31
  "ejs": "^3.1.10",
22
- "fs-extra": "^11.3.1",
23
- "typescript": "^5.9.2"
32
+ "fs-extra": "^11.3.2",
33
+ "typescript": "^5.9.3"
24
34
  },
25
35
  "devDependencies": {
26
36
  "@types/ejs": "^3.1.5",
27
37
  "@types/fs-extra": "^11.0.4",
28
- "@types/node": "^24.3.1",
38
+ "@types/node": "^24.7.1",
29
39
  "@vitest/coverage-v8": "^3.2.4",
30
40
  "vitest": "^3.2.4"
31
41
  }
package/templates/po.ejs CHANGED
@@ -1,5 +1,5 @@
1
1
  <% if (moduleSystem === 'ES Modules' || moduleSystem === 'Typescript') {-%>
2
- <%-'import { locator } from "'-%><%-poModule%>";
2
+ <%-'import { locator } from "'-%><%-poModule%><% if (moduleSystem === 'ES Modules') {-%>.js<%}%>";
3
3
  <%} else {-%>
4
4
  <%-'const { locator } = require('%>"<%-poModule%>");
5
5
  <%}%>