@vtex/faststore-plugin-buyer-portal 2.0.6 → 2.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.
@@ -0,0 +1,101 @@
1
+ ---
2
+ name: "speckit-taskstoissues"
3
+ description: "Convert existing tasks into actionable, dependency-ordered GitHub issues for the feature based on available design artifacts."
4
+ compatibility: "Requires spec-kit project structure with .specify/ directory"
5
+ metadata:
6
+ author: "github-spec-kit"
7
+ source: "templates/commands/taskstoissues.md"
8
+ ---
9
+
10
+
11
+ ## User Input
12
+
13
+ ```text
14
+ $ARGUMENTS
15
+ ```
16
+
17
+ You **MUST** consider the user input before proceeding (if not empty).
18
+
19
+ ## Pre-Execution Checks
20
+
21
+ **Check for extension hooks (before tasks-to-issues conversion)**:
22
+ - Check if `.specify/extensions.yml` exists in the project root.
23
+ - If it exists, read it and look for entries under the `hooks.before_taskstoissues` key
24
+ - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
25
+ - Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
26
+ - For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
27
+ - If the hook has no `condition` field, or it is null/empty, treat the hook as executable
28
+ - If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
29
+ - For each executable hook, output the following based on its `optional` flag:
30
+ - **Optional hook** (`optional: true`):
31
+ ```
32
+ ## Extension Hooks
33
+
34
+ **Optional Pre-Hook**: {extension}
35
+ Command: `/{command}`
36
+ Description: {description}
37
+
38
+ Prompt: {prompt}
39
+ To execute: `/{command}`
40
+ ```
41
+ - **Mandatory hook** (`optional: false`):
42
+ ```
43
+ ## Extension Hooks
44
+
45
+ **Automatic Pre-Hook**: {extension}
46
+ Executing: `/{command}`
47
+ EXECUTE_COMMAND: {command}
48
+
49
+ Wait for the result of the hook command before proceeding to the Outline.
50
+ ```
51
+ - If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
52
+
53
+ ## Outline
54
+
55
+ 1. Run `.specify/scripts/bash/check-prerequisites.sh --json --require-tasks --include-tasks` from repo root and parse FEATURE_DIR and AVAILABLE_DOCS list. All paths must be absolute. For single quotes in args like "I'm Groot", use escape syntax: e.g 'I'\''m Groot' (or double-quote if possible: "I'm Groot").
56
+ 1. From the executed script, extract the path to **tasks**.
57
+ 1. Get the Git remote by running:
58
+
59
+ ```bash
60
+ git config --get remote.origin.url
61
+ ```
62
+
63
+ > [!CAUTION]
64
+ > ONLY PROCEED TO NEXT STEPS IF THE REMOTE IS A GITHUB URL
65
+
66
+ 1. For each task in the list, use the GitHub MCP server to create a new issue in the repository that is representative of the Git remote.
67
+
68
+ > [!CAUTION]
69
+ > UNDER NO CIRCUMSTANCES EVER CREATE ISSUES IN REPOSITORIES THAT DO NOT MATCH THE REMOTE URL
70
+
71
+ ## Post-Execution Checks
72
+
73
+ **Check for extension hooks (after tasks-to-issues conversion)**:
74
+ Check if `.specify/extensions.yml` exists in the project root.
75
+ - If it exists, read it and look for entries under the `hooks.after_taskstoissues` key
76
+ - If the YAML cannot be parsed or is invalid, skip hook checking silently and continue normally
77
+ - Filter out hooks where `enabled` is explicitly `false`. Treat hooks without an `enabled` field as enabled by default.
78
+ - For each remaining hook, do **not** attempt to interpret or evaluate hook `condition` expressions:
79
+ - If the hook has no `condition` field, or it is null/empty, treat the hook as executable
80
+ - If the hook defines a non-empty `condition`, skip the hook and leave condition evaluation to the HookExecutor implementation
81
+ - For each executable hook, output the following based on its `optional` flag:
82
+ - **Optional hook** (`optional: true`):
83
+ ```
84
+ ## Extension Hooks
85
+
86
+ **Optional Hook**: {extension}
87
+ Command: `/{command}`
88
+ Description: {description}
89
+
90
+ Prompt: {prompt}
91
+ To execute: `/{command}`
92
+ ```
93
+ - **Mandatory hook** (`optional: false`):
94
+ ```
95
+ ## Extension Hooks
96
+
97
+ **Automatic Hook**: {extension}
98
+ Executing: `/{command}`
99
+ EXECUTE_COMMAND: {command}
100
+ ```
101
+ - If no hooks are registered or `.specify/extensions.yml` does not exist, skip silently
package/CHANGELOG.md CHANGED
@@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [2.0.7] - 2026-06-29
11
+ ### Fixed
12
+
13
+ - Remove `react-dom` from `dependencies` and move `@types/react-dom` to `devDependencies`
14
+
10
15
  ## [2.0.6] - 2026-06-26
11
16
 
12
17
  ### Changed
@@ -708,7 +713,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
708
713
  - Add CHANGELOG file
709
714
  - Add README file
710
715
 
711
- [unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.6...HEAD
716
+ [unreleased]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.7...HEAD
712
717
  [1.3.55]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.54...v1.3.55
713
718
  [1.3.54]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.53...v1.3.54
714
719
  [1.3.53]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.52...v1.3.53
@@ -794,6 +799,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
794
799
  [1.3.85]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.3.85
795
800
  [1.3.87]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v1.3.86...v1.3.87
796
801
  [1.3.86]: https://github.com/vtex/faststore-plugin-buyer-portal/releases/tag/1.3.86
802
+ [2.0.7]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.6...v2.0.7
797
803
  [2.0.6]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.5...v2.0.6
798
804
  [2.0.5]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.4...v2.0.5
799
805
  [2.0.4]: https://github.com/vtex/faststore-plugin-buyer-portal/compare/v2.0.3...v2.0.4
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vtex/faststore-plugin-buyer-portal",
3
- "version": "2.0.6",
3
+ "version": "2.0.7",
4
4
  "description": "A plugin for faststore with buyer portal",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -20,10 +20,6 @@
20
20
  "eslint --fix"
21
21
  ]
22
22
  },
23
- "dependencies": {
24
- "@types/react-dom": "^19.0.3",
25
- "react-dom": "^19.0.0"
26
- },
27
23
  "devDependencies": {
28
24
  "@eslint/js": "^9.29.0",
29
25
  "@faststore/core": "4.2.0",
@@ -31,6 +27,7 @@
31
27
  "@release-it/bumper": "^4.0.0",
32
28
  "@release-it/keep-a-changelog": "^3.0.0",
33
29
  "@types/react": "^18.2.42",
30
+ "@types/react-dom": "^18.2.0",
34
31
  "@vitest/coverage-v8": "2",
35
32
  "cypress": "13",
36
33
  "eslint": "^9.29.0",
@@ -22,7 +22,7 @@ export const SCOPE_KEYS = {
22
22
  CREDIT_CARDS: "creditCards",
23
23
  } as const;
24
24
 
25
- export const CURRENT_VERSION = "2.0.6";
25
+ export const CURRENT_VERSION = "2.0.7";
26
26
 
27
27
  export const CHANGES_TIMEOUT_MESSAGE =
28
28
  "Changes may take up to 10 minutes to apply.";