@dword-design/base 15.2.0 → 15.2.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.
@@ -14,7 +14,10 @@ export default async function (options) {
14
14
  const envSchemaPath = findUpSync(".env.schema.json", {
15
15
  cwd: this.cwd
16
16
  });
17
- const envVariableNames = Object.keys(envSchemaPath ? await fs.readJson(envSchemaPath) : {}).map(name => constantCase(name));
17
+ const envVariableNames = Object.keys({
18
+ CI: true,
19
+ ...(envSchemaPath ? await fs.readJson(envSchemaPath) : {})
20
+ }).map(name => constantCase(name));
18
21
  const userInfo = getUserInfo();
19
22
  try {
20
23
  return await execa("docker", ["run", "--rm", ...envVariableNames.filter(name => process.env[name] !== void 0).flatMap(name => ["--env", `${name}=${process.env[name]}`]), "-v", `${this.cwd}:/app`, "-v", `${volumeName}:/app/node_modules`, "dworddesign/testing:latest", "bash", "-c", ["pnpm install --frozen-lockfile", "&&", "pnpm test:raw", ...(options.updateSnapshots ? [" --update-snapshots"] : []), ...options.patterns.map(pattern => `"${pattern}"`), ...(options.grep ? [`-g "${options.grep}"`] : [])].join(" ")], {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "15.2.0",
3
+ "version": "15.2.1",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",