@dword-design/base 16.1.1 → 16.1.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.
package/dist/cli.js CHANGED
@@ -47,7 +47,10 @@ try {
47
47
  handler: () => base.typecheck()
48
48
  },
49
49
  verify: {
50
- handler: () => base.verify()
50
+ handler: () => {
51
+ dotenv.config();
52
+ return base.verify();
53
+ }
51
54
  },
52
55
  ...(base.config.testInContainer && {
53
56
  "test:raw": {
@@ -28,8 +28,10 @@ export default async function (options) {
28
28
  stderr: options.stderr
29
29
  });
30
30
  } finally {
31
- await execa("docker", ["run", "--rm", "--tty", "-v", `${this.cwd}:/app`, "-v", `${volumeName}:/app/node_modules`, "dworddesign/testing:latest", "bash", "-c", `chown -R ${userInfo.uid}:${userInfo.gid} /app`], {
32
- cwd: this.cwd
33
- });
31
+ if (process.platform === "linux") {
32
+ await execa("docker", ["run", "--rm", "--tty", "-v", `${this.cwd}:/app`, "-v", `${volumeName}:/app/node_modules`, "dworddesign/testing:latest", "bash", "-c", `chown -R ${userInfo.uid}:${userInfo.gid} /app`], {
33
+ cwd: this.cwd
34
+ });
35
+ }
34
36
  }
35
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "16.1.1",
3
+ "version": "16.1.3",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",