@dword-design/base 16.1.3 → 16.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.
package/README.md CHANGED
@@ -65,6 +65,8 @@ $ yarn add @dword-design/base
65
65
  ```
66
66
  <!-- /INSTALL -->
67
67
 
68
+ foo bar baz
69
+
68
70
  <!-- LICENSE/ -->
69
71
  ## Contribute
70
72
 
@@ -20,7 +20,7 @@ export default async function (options) {
20
20
  }).map(name => constantCase(name));
21
21
  const userInfo = getUserInfo();
22
22
  try {
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(" ")], {
23
+ return await execa("docker", ["run", "--rm", ...envVariableNames.filter(name => process.env[name] !== void 0).flatMap(name => ["--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(" ")], {
24
24
  cwd: this.cwd,
25
25
  ...(options.log && {
26
26
  stdout: "inherit"
@@ -8,5 +8,6 @@ export default async function (options) {
8
8
  await this.lint(options);
9
9
  await this.typecheck(options);
10
10
  await this.depcheck();
11
+ await this.checkUnknownFiles();
11
12
  await this.test(options);
12
13
  }
@@ -1,5 +1,4 @@
1
1
  import gitHubAction from "tagged-template-noop";
2
- import checkUnknownFilesSteps from "../steps/check-unknown-files.js";
3
2
  import coverageSteps from "../steps/coverage.js";
4
3
  import getReleaseSteps from "../steps/get-release.js";
5
4
  import getTestSteps from "../steps/get-test.js";
@@ -27,7 +26,7 @@ export default function () {
27
26
  run: 'git config --global user.name "GitHub Actions"'
28
27
  }, {
29
28
  run: "pnpm install --frozen-lockfile"
30
- }, ...checkUnknownFilesSteps, {
29
+ }, {
31
30
  run: "pnpm lint"
32
31
  }, ...getReleaseSteps.call(this)]
33
32
  },
@@ -1,5 +1,4 @@
1
1
  import gitHubAction from "tagged-template-noop";
2
- import checkUnknownFilesSteps from "../steps/check-unknown-files.js";
3
2
  import coverageSteps from "../steps/coverage.js";
4
3
  import getReleaseSteps from "../steps/get-release.js";
5
4
  import getTestSteps from "../steps/get-test.js";
@@ -31,7 +30,7 @@ export default function () {
31
30
  run: 'git config --global user.name "GitHub Actions"'
32
31
  }, {
33
32
  run: "pnpm install --frozen-lockfile"
34
- }, ...getTestSteps.call(this), ...coverageSteps, ...checkUnknownFilesSteps, ...getReleaseSteps.call(this)]
33
+ }, ...getTestSteps.call(this), ...coverageSteps, ...getReleaseSteps.call(this)]
35
34
  }
36
35
  };
37
36
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "16.1.3",
3
+ "version": "16.1.5",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",
@@ -91,6 +91,7 @@
91
91
  "@playwright/test": "^1.56.1",
92
92
  "@types/hosted-git-info": "^3.0.5",
93
93
  "@types/parse-git-config": "^3.0.4",
94
+ "node-version": "^3.0.0",
94
95
  "p-event": "^6.0.1",
95
96
  "playwright-expect-snapshot": "^1.0.4",
96
97
  "renovate": "^42.19.3",
@@ -1,4 +0,0 @@
1
- declare const _default: {
2
- run: string;
3
- }[];
4
- export default _default;
@@ -1,3 +0,0 @@
1
- export default [{
2
- run: "pnpm checkUnknownFiles"
3
- }];