stay-gold 1.1.3 → 1.1.5

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/index.js +6 -5
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -4,12 +4,13 @@
4
4
  import { spawn } from "node:child_process";
5
5
  import path from "node:path";
6
6
  import { fileURLToPath } from "node:url";
7
- const here = path.dirname(fileURLToPath(import.meta.url));
7
+ const filePath = path.dirname(fileURLToPath(import.meta.url));
8
+ console.log(filePath);
8
9
  const checks = [
9
- { name: "Bang Check", script: path.join(here, "dist/bang.js") },
10
- { name: "TODO Check", script: path.join(here, "dist/todos.js") },
11
- { name: "CSS Variables Check", script: path.join(here, "dist/css-vars.js") },
12
- { name: "CSS Named Colors Check", script: path.join(here, "dist/css-named-colors.js") },
10
+ { name: "Bang Check", script: path.join(filePath, "bang.js") },
11
+ { name: "TODO Check", script: path.join(filePath, "todos.js") },
12
+ { name: "CSS Variables Check", script: path.join(filePath, "css-vars.js") },
13
+ { name: "CSS Named Colors Check", script: path.join(filePath, "css-named-colors.js") },
13
14
  ];
14
15
  async function runCheck(script, name) {
15
16
  return new Promise((resolve) => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "stay-gold",
3
- "version": "1.1.3",
3
+ "version": "1.1.5",
4
4
  "type": "module",
5
5
  "description": "Checks and balances for code quality. Run as a dev dependency in any project.",
6
6
  "main": "dist/index.js",