@dword-design/base 15.5.0 → 15.5.2

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.
@@ -11,4 +11,8 @@ export default function (): {
11
11
  branches: string[];
12
12
  };
13
13
  };
14
+ permissions: {
15
+ contents: string;
16
+ 'id-token': string;
17
+ };
14
18
  };
@@ -13,6 +13,12 @@ export default function () {
13
13
  push: {
14
14
  branches: ["master"]
15
15
  }
16
+ },
17
+ permissions: {
18
+ contents: "write",
19
+ // Create GitHub releases
20
+ "id-token": "write"
21
+ // For npm trusted publishing
16
22
  }
17
23
  };
18
24
  }
@@ -17,7 +17,8 @@ export default function () {
17
17
  }, {
18
18
  uses: gitHubAction`actions/setup-node@v4`,
19
19
  with: {
20
- "node-version": this.config.nodeVersion
20
+ "node-version": this.config.nodeVersion,
21
+ "registry-url": "https://registry.npmjs.org"
21
22
  }
22
23
  }, {
23
24
  run: "corepack enable"
@@ -38,9 +38,7 @@ export default function () {
38
38
  publishConfig: {
39
39
  access: "public"
40
40
  },
41
- ...(this.config.hasTypeModule ? {
42
- type: "module"
43
- } : {}),
41
+ type: "module",
44
42
  version: this.packageConfig.version || "1.0.0",
45
43
  ...(this.config.git && {
46
44
  repository: `dword-design/${this.config.git.project}`
package/dist/index.d.ts CHANGED
@@ -53,7 +53,6 @@ type Config = {
53
53
  renovateConfig: RenovateConfig;
54
54
  isLockFileFixCommitType: boolean;
55
55
  doppler: boolean;
56
- hasTypeModule: boolean;
57
56
  };
58
57
  type PartialConfigObject<TConfig extends Config = Config> = Omit<Partial<TConfig>, 'commands'> & {
59
58
  commands?: Record<string, PartialCommandInObjectWithBase<TConfig>>;
package/dist/index.js CHANGED
@@ -179,7 +179,6 @@ class Base {
179
179
  }),
180
180
  gitignore: [],
181
181
  global: false,
182
- hasTypeModule: true,
183
182
  hasTypescriptConfigRootAlias: true,
184
183
  isLockFileFixCommitType: false,
185
184
  lint: () => {},
@@ -187,7 +186,7 @@ class Base {
187
186
  macos: true,
188
187
  maxNodeVersion: null,
189
188
  minNodeVersion: null,
190
- nodeVersion: 20,
189
+ nodeVersion: 22,
191
190
  packageConfig: {},
192
191
  preDeploySteps: [],
193
192
  prepare: identity,
@@ -204,7 +203,7 @@ class Base {
204
203
  `,
205
204
  renovateConfig: {},
206
205
  seeAlso: [],
207
- supportedNodeVersions: [20, 22],
206
+ supportedNodeVersions: [22, 24],
208
207
  syncKeywords: true,
209
208
  testInContainer: false,
210
209
  typecheck: () => {},
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "15.5.0",
3
+ "version": "15.5.2",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",
@@ -74,7 +74,7 @@
74
74
  "parse-packagejson-name": "^1.0.1",
75
75
  "plugin-name-to-package-name": "npm:@dword-design/plugin-name-to-package-name@^0.1.2",
76
76
  "safe-readfile": "^1.0.2",
77
- "semantic-release": "^22.0.12",
77
+ "semantic-release": "^25.0.2",
78
78
  "sort-keys": "^5.1.0",
79
79
  "sort-package-json": "^2.15.1",
80
80
  "spdx-expression-parse": "^4.0.0",
@@ -93,14 +93,14 @@
93
93
  "@types/parse-git-config": "^3.0.4",
94
94
  "p-event": "^6.0.1",
95
95
  "playwright-expect-snapshot": "^1.0.1",
96
- "renovate": "^39.264.1",
96
+ "renovate": "^42.19.0",
97
97
  "sharp": "^0.34.3",
98
98
  "strip-ansi": "^7.1.2",
99
99
  "uuid": "^11.1.0"
100
100
  },
101
101
  "packageManager": "pnpm@10.13.1+sha512.37ebf1a5c7a30d5fabe0c5df44ee8da4c965ca0c5af3dbab28c3a1681b70a256218d05c81c9c0dcf767ef6b8551eb5b960042b9ed4300c59242336377e01cfad",
102
102
  "engines": {
103
- "node": ">=20"
103
+ "node": ">=22"
104
104
  },
105
105
  "publishConfig": {
106
106
  "access": "public"