@joycostudio/scripts 0.0.2 → 0.0.3

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/dist/cli.js +3 -3
  2. package/package.json +2 -2
package/dist/cli.js CHANGED
@@ -3052,7 +3052,7 @@ var {
3052
3052
  // package.json
3053
3053
  var package_default = {
3054
3054
  name: "@joycostudio/scripts",
3055
- version: "0.0.2",
3055
+ version: "0.0.3",
3056
3056
  description: "Joyco utility scripts as a pnpx CLI",
3057
3057
  bin: {
3058
3058
  scripts: "dist/cli.js"
@@ -3080,7 +3080,7 @@ var package_default = {
3080
3080
  },
3081
3081
  scripts: {
3082
3082
  build: "node esbuild.config.mjs",
3083
- test: 'node --test -r ts-node/register/transpile-only "test/**/*.test.ts"',
3083
+ test: "node --test -r ts-node/register/transpile-only test/*.test.ts",
3084
3084
  tscheck: "tsc --noEmit"
3085
3085
  },
3086
3086
  packageManager: "pnpm@10.11.0",
@@ -3132,7 +3132,7 @@ var import_promises2 = __toESM(require("fs/promises"));
3132
3132
  var import_promises = __toESM(require("fs/promises"));
3133
3133
  async function listFiles(dir) {
3134
3134
  const entries = await import_promises.default.readdir(dir, { withFileTypes: true });
3135
- return entries.filter((entry) => entry.isFile()).map((entry) => entry.name).sort();
3135
+ return entries.filter((entry) => entry.isFile() && !entry.name.startsWith(".")).map((entry) => entry.name).sort();
3136
3136
  }
3137
3137
  async function ensureDir(dir) {
3138
3138
  await import_promises.default.mkdir(dir, { recursive: true });
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@joycostudio/scripts",
3
- "version": "0.0.2",
3
+ "version": "0.0.3",
4
4
  "description": "Joyco utility scripts as a pnpx CLI",
5
5
  "bin": {
6
6
  "scripts": "dist/cli.js"
@@ -40,7 +40,7 @@
40
40
  },
41
41
  "scripts": {
42
42
  "build": "node esbuild.config.mjs",
43
- "test": "node --test -r ts-node/register/transpile-only \"test/**/*.test.ts\"",
43
+ "test": "node --test -r ts-node/register/transpile-only test/*.test.ts",
44
44
  "tscheck": "tsc --noEmit"
45
45
  }
46
46
  }