npm-pkgbuild 10.13.0 → 10.13.1

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,6 +1,6 @@
1
1
  {
2
2
  "name": "npm-pkgbuild",
3
- "version": "10.13.0",
3
+ "version": "10.13.1",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -158,6 +158,7 @@ export async function* extractFromPackage(options = {}) {
158
158
  let output = {};
159
159
  let arch = new Set();
160
160
  let restrictArch = new Set();
161
+ let groups;
161
162
 
162
163
  function processPkg(json, dir, modulePath) {
163
164
  const pkgbuild = json.pkgbuild;
@@ -165,9 +166,13 @@ export async function* extractFromPackage(options = {}) {
165
166
  if (pkgbuild) {
166
167
  if (modulePath) {
167
168
  if (!pkgbuild.abstract) {
168
- dependencies[pkgbuild.name || json.name] = ">=" + json.version;
169
+ if(json.groups === groups) {
170
+ dependencies[pkgbuild.name || json.name] = ">=" + json.version;
171
+ }
169
172
  }
170
173
  } else {
174
+ groups = pkgbuild.groups;
175
+
171
176
  if (json.cpu) {
172
177
  for (const a of asArray(json.cpu)) {
173
178
  arch.add(npmArchMapping[a]);
package/src/package.mjs CHANGED
@@ -137,6 +137,7 @@ const skipPattern = [
137
137
  ".nycrc",
138
138
  "**.DS_Store",
139
139
  ".env",
140
+ "**.vcxproj.filters",
140
141
  "**lerna.json",
141
142
  "x-package.json5",
142
143
  "component.json",