@dword-design/base 16.1.9 → 16.2.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.
@@ -15,6 +15,7 @@ export default async function () {
15
15
  ".husky/pre-push": true,
16
16
  "CHANGELOG.md": true,
17
17
  PRCHECKLIST: true,
18
+ "base.config.ts": true,
18
19
  demo: true,
19
20
  doc: true,
20
21
  fixtures: true,
@@ -6,9 +6,7 @@ export default function (): ({
6
6
  if?: undefined;
7
7
  with?: undefined;
8
8
  } | {
9
- env: {
10
- GH_TOKEN: string;
11
- };
9
+ env: any;
12
10
  run: string;
13
11
  name?: undefined;
14
12
  uses?: undefined;
@@ -25,7 +25,10 @@ export default function () {
25
25
  ...(this.config.doppler ? {
26
26
  DOPPLER_TOKEN: "${{ secrets.DOPPLER_TOKEN }}"
27
27
  } : Object.fromEntries(envVariableNames.map(name => [name, `\${{ secrets.${name} }}`]))),
28
- GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
28
+ GH_TOKEN: "${{ secrets.GITHUB_TOKEN }}",
29
+ ...(this.config.githubActionsTypecheckMemoryLimitMb && {
30
+ NODE_OPTIONS: `--max-old-space-size=${this.config.githubActionsTypecheckMemoryLimitMb}`
31
+ })
29
32
  },
30
33
  run: `${this.config.doppler ? `doppler run -p ${packageName} -c test -- ` : ""}pnpm verify`
31
34
  }, {
package/dist/index.d.ts CHANGED
@@ -25,6 +25,7 @@ type Config = {
25
25
  deployPlugins: string[];
26
26
  editorIgnore: string[];
27
27
  fetchGitHistory: boolean;
28
+ githubActionsTypecheckMemoryLimitMb: number | null;
28
29
  git?: GitHost;
29
30
  gitignore: string[];
30
31
  hasTypescriptConfigRootAlias: boolean;
package/dist/index.js CHANGED
@@ -177,6 +177,7 @@ class Base {
177
177
  git: getGitInfo({
178
178
  cwd: this.cwd
179
179
  }),
180
+ githubActionsTypecheckMemoryLimitMb: null,
180
181
  gitignore: [],
181
182
  global: false,
182
183
  hasTypescriptConfigRootAlias: true,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "16.1.9",
3
+ "version": "16.2.0",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",