@dword-design/base 15.4.1 → 15.5.0

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.
@@ -5,7 +5,7 @@ export default endent`
5
5
  import parent from './eslint.config';
6
6
 
7
7
  export default defineConfig([
8
- parent,
8
+ ...parent,
9
9
  {
10
10
  files: ['**/*.spec.ts'],
11
11
  rules: { 'playwright/no-focused-test': 'error' },
@@ -38,7 +38,9 @@ export default function () {
38
38
  publishConfig: {
39
39
  access: "public"
40
40
  },
41
- type: "module",
41
+ ...(this.config.hasTypeModule ? {
42
+ type: "module"
43
+ } : {}),
42
44
  version: this.packageConfig.version || "1.0.0",
43
45
  ...(this.config.git && {
44
46
  repository: `dword-design/${this.config.git.project}`
package/dist/index.d.ts CHANGED
@@ -53,6 +53,7 @@ type Config = {
53
53
  renovateConfig: RenovateConfig;
54
54
  isLockFileFixCommitType: boolean;
55
55
  doppler: boolean;
56
+ hasTypeModule: boolean;
56
57
  };
57
58
  type PartialConfigObject<TConfig extends Config = Config> = Omit<Partial<TConfig>, 'commands'> & {
58
59
  commands?: Record<string, PartialCommandInObjectWithBase<TConfig>>;
package/dist/index.js CHANGED
@@ -179,6 +179,7 @@ class Base {
179
179
  }),
180
180
  gitignore: [],
181
181
  global: false,
182
+ hasTypeModule: true,
182
183
  hasTypescriptConfigRootAlias: true,
183
184
  isLockFileFixCommitType: false,
184
185
  lint: () => {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "15.4.1",
3
+ "version": "15.5.0",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",
@@ -92,6 +92,7 @@
92
92
  "@types/hosted-git-info": "^3.0.5",
93
93
  "@types/parse-git-config": "^3.0.4",
94
94
  "p-event": "^6.0.1",
95
+ "playwright-expect-snapshot": "^1.0.1",
95
96
  "renovate": "^39.264.1",
96
97
  "sharp": "^0.34.3",
97
98
  "strip-ansi": "^7.1.2",