@take-out/scripts 0.0.58 → 0.0.59

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 (2) hide show
  1. package/package.json +2 -2
  2. package/src/up.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@take-out/scripts",
3
- "version": "0.0.58",
3
+ "version": "0.0.59",
4
4
  "type": "module",
5
5
  "main": "./src/run.ts",
6
6
  "sideEffects": false,
@@ -28,7 +28,7 @@
28
28
  "access": "public"
29
29
  },
30
30
  "dependencies": {
31
- "@take-out/helpers": "0.0.58"
31
+ "@take-out/helpers": "0.0.59"
32
32
  },
33
33
  "devDependencies": {
34
34
  "vxrn": "*1.4.0"
package/src/up.ts CHANGED
@@ -102,7 +102,7 @@ function findPackageJsonFiles(dir: string): string[] {
102
102
  try {
103
103
  const entries = readdirSync(searchDir, { withFileTypes: true })
104
104
  for (const entry of entries) {
105
- if (entry.isDirectory()) {
105
+ if (entry.isDirectory() && entry.name !== 'node_modules') {
106
106
  const subPath = join(searchDir, entry.name)
107
107
  const pkgPath = join(subPath, 'package.json')
108
108
  if (existsSync(pkgPath)) {