pm-auto 1.0.6 → 1.0.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 (43) hide show
  1. package/config.json +45 -0
  2. package/dist/build_command.d.ts +6 -1
  3. package/dist/build_command.d.ts.map +1 -1
  4. package/dist/build_command.js +61 -22
  5. package/dist/build_command.js.map +1 -1
  6. package/dist/config_path.d.ts +1 -0
  7. package/dist/config_path.d.ts.map +1 -1
  8. package/dist/config_path.js +60 -2
  9. package/dist/config_path.js.map +1 -1
  10. package/dist/config_reader.d.ts +2 -12
  11. package/dist/config_reader.d.ts.map +1 -1
  12. package/dist/config_reader.js +72 -89
  13. package/dist/config_reader.js.map +1 -1
  14. package/dist/display.d.ts.map +1 -1
  15. package/dist/display.js +1 -0
  16. package/dist/display.js.map +1 -1
  17. package/dist/index.js +5 -6
  18. package/dist/index.js.map +1 -1
  19. package/dist/orchestrator.d.ts.map +1 -1
  20. package/dist/orchestrator.js +18 -28
  21. package/dist/orchestrator.js.map +1 -1
  22. package/dist/run_commands.d.ts +6 -0
  23. package/dist/run_commands.d.ts.map +1 -0
  24. package/dist/{install.js → run_commands.js} +4 -4
  25. package/dist/run_commands.js.map +1 -0
  26. package/dist/types/index.d.ts +8 -2
  27. package/dist/types/index.d.ts.map +1 -1
  28. package/package.json +3 -1
  29. package/src/build_command.ts +73 -23
  30. package/src/config_path.ts +63 -2
  31. package/src/config_reader.ts +86 -107
  32. package/src/display.ts +1 -0
  33. package/src/index.ts +6 -9
  34. package/src/orchestrator.ts +21 -36
  35. package/src/{install.ts → run_commands.ts} +3 -3
  36. package/src/types/index.ts +12 -3
  37. package/tests/build_command.test.ts +239 -41
  38. package/tests/config_reader.test.ts +51 -92
  39. package/tests/{install.test.ts → run_command.test.ts} +23 -23
  40. package/dist/install.d.ts +0 -6
  41. package/dist/install.d.ts.map +0 -1
  42. package/dist/install.js.map +0 -1
  43. package/test.json +0 -87
package/test.json DELETED
@@ -1,87 +0,0 @@
1
- {
2
- "sample": {
3
- "name": "sample",
4
- "description": "",
5
- "packageManager": "npm",
6
- "packages": [
7
- {
8
- "command": "gsap",
9
- "interactive": false
10
- }
11
- ]
12
- },
13
-
14
- "vite": {
15
- "name": "vite",
16
- "description": "Vite configuration",
17
- "packageManager": "npm",
18
- "packages": [
19
- {
20
- "command": "create-vite@latest my-app",
21
- "interactive": true
22
- }
23
- ]
24
- },
25
-
26
- "next": {
27
- "name": "next",
28
- "description": "Next.js configuration",
29
- "packageManager": "pnpm",
30
- "packages": [
31
- {
32
- "command": "three --save-dev",
33
- "interactive": false
34
- },
35
- {
36
- "command": "@react-three/drei",
37
- "interactive": false
38
- },
39
- {
40
- "command": "framer-motion",
41
- "interactive": false
42
- },
43
- {
44
- "command": "create-next-app@latest my-app",
45
- "interactive": true
46
- }
47
- ]
48
- },
49
- "test": {
50
- "name": "test",
51
- "description": "Test configuration",
52
- "packageManager": "npm",
53
- "packages": [
54
- {
55
- "command": "three",
56
- "interactive": false
57
- },
58
- {
59
- "command": "gsap",
60
- "interactive": false
61
- },
62
- {
63
- "command": "@react-three/fiber",
64
- "interactive": false
65
- }
66
- ]
67
- },
68
- "test2": {
69
- "name": "test2",
70
- "description": "Test2 configuration",
71
- "packageManager": "npm",
72
- "packages": [
73
- {
74
- "command": "@react-three/drei",
75
- "interactive": false
76
- },
77
- {
78
- "command": "framer-motion",
79
- "interactive": false
80
- },
81
- {
82
- "command": "@react-three/postprocessing",
83
- "interactive": false
84
- }
85
- ]
86
- }
87
- }