@mytegroupinc/myte-core 0.0.31 → 0.0.33

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
@@ -1,15 +1,18 @@
1
1
  {
2
2
  "name": "@mytegroupinc/myte-core",
3
- "version": "0.0.31",
3
+ "version": "0.0.33",
4
4
  "description": "Myte CLI core implementation.",
5
5
  "type": "commonjs",
6
6
  "main": "cli.js",
7
- "files": [
8
- "README.md",
9
- "cli.js",
10
- "lib",
11
- "scripts",
12
- "package.json"
7
+ "files": [
8
+ "README.md",
9
+ "THIRD_PARTY_NOTICES.md",
10
+ "TRADEMARKS.md",
11
+ "cli.js",
12
+ "mytecody-cli.js",
13
+ "lib",
14
+ "scripts",
15
+ "package.json"
13
16
  ],
14
17
  "scripts": {
15
18
  "test": "node --test"
@@ -21,8 +24,7 @@
21
24
  "publishConfig": {
22
25
  "access": "public"
23
26
  },
24
- "dependencies": {},
25
- "devDependencies": {
26
- "yaml": "^2.8.1"
27
- }
28
- }
27
+ "devDependencies": {
28
+ "yaml": "^2.8.1"
29
+ }
30
+ }
@@ -90,24 +90,24 @@ function writePrd(workspace, title, index) {
90
90
  return filePath;
91
91
  }
92
92
 
93
- function loadFeedbackManifest(workspace) {
94
- const manifestPath = path.join(workspace, "MyteCommandCenter", "data", "feedback.yml");
95
- if (!fs.existsSync(manifestPath)) {
96
- return { items: [] };
97
- }
98
- const text = fs.readFileSync(manifestPath, "utf8");
99
- try {
100
- const parsed = JSON.parse(text);
101
- const items = []
102
- .concat(Array.isArray(parsed.items) ? parsed.items : [])
103
- .concat(Array.isArray(parsed.queue) ? parsed.queue : []);
104
- return { items };
105
- } catch (_err) {
106
- // Older local files may still be YAML-like. Keep a small fallback parser so
107
- // the harness can validate either shape without adding runtime deps.
108
- }
109
- const items = [];
110
- let current = null;
93
+ function loadFeedbackManifest(workspace) {
94
+ const manifestPath = path.join(workspace, "MyteCommandCenter", "data", "feedback.yml");
95
+ if (!fs.existsSync(manifestPath)) {
96
+ return { items: [] };
97
+ }
98
+ const text = fs.readFileSync(manifestPath, "utf8");
99
+ try {
100
+ const parsed = JSON.parse(text);
101
+ const items = []
102
+ .concat(Array.isArray(parsed.items) ? parsed.items : [])
103
+ .concat(Array.isArray(parsed.queue) ? parsed.queue : []);
104
+ return { items };
105
+ } catch (_err) {
106
+ // Older local files may still be YAML-like. Keep a small fallback parser so
107
+ // the harness can validate either shape without adding runtime deps.
108
+ }
109
+ const items = [];
110
+ let current = null;
111
111
  for (const line of text.split(/\r?\n/)) {
112
112
  const feedbackMatch = line.match(/^\s*-\s+feedback_id:\s*["']?([^"'\s]+)["']?\s*$/) || line.match(/^\s*feedback_id:\s*["']?([^"'\s]+)["']?\s*$/);
113
113
  if (feedbackMatch) {