@thinkwise/testwise 0.2.7 → 0.2.16

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 (49) hide show
  1. package/artifact-builder/InterfaceGenerator.ts +2 -2
  2. package/artifact-builder/SchemaGenerator.ts +2 -2
  3. package/artifact-builder/SelectorBuilder.ts +6 -2
  4. package/artifact-builder/SubjectComponentGenerator.ts +35 -9
  5. package/artifact-builder/SubjectGenerator.ts +2 -2
  6. package/artifact-builder/SubjectRegistration.ts +14 -0
  7. package/artifact-builder/helpers/NamingHandler.ts +28 -48
  8. package/components/tab/BaseTabObjects.ts +1 -1
  9. package/controls/FormComboBox.ts +72 -0
  10. package/controls/LookupDropdown.ts +4 -2
  11. package/controls/index.ts +1 -0
  12. package/dist/artifact-builder/InterfaceGenerator.js +3 -3
  13. package/dist/artifact-builder/InterfaceGenerator.js.map +1 -1
  14. package/dist/artifact-builder/SchemaGenerator.js +2 -2
  15. package/dist/artifact-builder/SchemaGenerator.js.map +1 -1
  16. package/dist/artifact-builder/SelectorBuilder.d.ts +1 -0
  17. package/dist/artifact-builder/SelectorBuilder.js +4 -1
  18. package/dist/artifact-builder/SelectorBuilder.js.map +1 -1
  19. package/dist/artifact-builder/SubjectComponentGenerator.d.ts +2 -2
  20. package/dist/artifact-builder/SubjectComponentGenerator.js +27 -9
  21. package/dist/artifact-builder/SubjectComponentGenerator.js.map +1 -1
  22. package/dist/artifact-builder/SubjectGenerator.js +2 -2
  23. package/dist/artifact-builder/SubjectGenerator.js.map +1 -1
  24. package/dist/artifact-builder/SubjectRegistration.d.ts +1 -0
  25. package/dist/artifact-builder/SubjectRegistration.js +11 -0
  26. package/dist/artifact-builder/SubjectRegistration.js.map +1 -1
  27. package/dist/artifact-builder/helpers/NamingHandler.d.ts +2 -4
  28. package/dist/artifact-builder/helpers/NamingHandler.js +26 -44
  29. package/dist/artifact-builder/helpers/NamingHandler.js.map +1 -1
  30. package/dist/components/tab/BaseTabObjects.js +1 -1
  31. package/dist/components/tab/BaseTabObjects.js.map +1 -1
  32. package/dist/controls/FormComboBox.d.ts +10 -0
  33. package/dist/controls/FormComboBox.js +43 -0
  34. package/dist/controls/FormComboBox.js.map +1 -0
  35. package/dist/controls/LookupDropdown.d.ts +2 -1
  36. package/dist/controls/LookupDropdown.js.map +1 -1
  37. package/dist/controls/index.d.ts +1 -0
  38. package/dist/controls/index.js +1 -0
  39. package/dist/controls/index.js.map +1 -1
  40. package/dist/enums/ElementTypes.d.ts +2 -1
  41. package/dist/enums/ElementTypes.js +1 -0
  42. package/dist/enums/ElementTypes.js.map +1 -1
  43. package/dist/helpers/UserSimulationHelper.js +1 -1
  44. package/dist/helpers/UserSimulationHelper.js.map +1 -1
  45. package/enums/ElementTypes.ts +2 -1
  46. package/helpers/UserSimulationHelper.ts +1 -1
  47. package/package.json +5 -5
  48. package/scripts/postinstall.js +3 -1
  49. package/scripts/sync.js +748 -756
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@thinkwise/testwise",
3
- "version": "0.2.7",
3
+ "version": "0.2.16",
4
4
  "main": "dist/index.js",
5
5
  "type": "module",
6
6
  "bin": {
@@ -9,8 +9,8 @@
9
9
  },
10
10
  "scripts": {
11
11
  "lint": "eslint ./ --cache --ignore-pattern .gitignore",
12
- "format:fix": "run-s \"lint --fix\" && biome check --fix --unsafe",
13
- "format:check": "run-s \"lint \" && biome check",
12
+ "format:fix": "npm run lint --fix && biome check --fix --unsafe",
13
+ "format:check": "npm run lint && biome check",
14
14
  "postinstall": "node scripts/main.js postinstall"
15
15
  },
16
16
  "keywords": [],
@@ -22,6 +22,7 @@
22
22
  "@types/node": "^22.15.29",
23
23
  "axios": "^1.9.0",
24
24
  "chalk": "^5.4.1",
25
+ "change-case": "^5.4.4",
25
26
  "csv-parse": "^5.6.0",
26
27
  "dotenv": "^17.2.2",
27
28
  "playwright-bdd": "^8.4.2",
@@ -38,9 +39,8 @@
38
39
  "devDependencies": {
39
40
  "@biomejs/biome": "^2.3.8",
40
41
  "@eslint/js": "^9.28.0",
41
- "eslint": "^9.28.0",
42
+ "eslint": "^9.39.2",
42
43
  "eslint-plugin-playwright": "^2.2.0",
43
- "npm-run-all": "^4.1.5",
44
44
  "typescript-eslint": "^8.34.0"
45
45
  },
46
46
  "exports": {
@@ -23,7 +23,9 @@ export async function postinstall() {
23
23
 
24
24
  // eslint-disable-next-line @typescript-eslint/naming-convention
25
25
  const { SubjectRegistration } = await import('../dist/artifact-builder/index.js');
26
- new SubjectRegistration().run();
26
+ const subjectRegistration = new SubjectRegistration();
27
+ await subjectRegistration.resetSubjectRegistry();
28
+ await subjectRegistration.run();
27
29
 
28
30
  execSync('npx tsc', { cwd: rootDir, stdio: 'inherit' });
29
31