Skip to content

Commit b16b9f3

Browse files
committed
chore(snap): format starter-template fixture files
The pre-commit lint-staged glob does not cover .mjs/.json, so these two files in the new create-monorepo snap fixture were committed unformatted and failed `vp check`.
1 parent 42a571f commit b16b9f3

2 files changed

Lines changed: 6 additions & 3 deletions

File tree

  • packages/cli/snap-tests/create-monorepo-local-template-shorthand/packages/starter-template

packages/cli/snap-tests/create-monorepo-local-template-shorthand/packages/starter-template/bin/index.mjs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,10 @@ write('.oxlintrc.json', `${JSON.stringify({ rules: {} }, null, 2)}\n`);
4040
write('.oxfmtrc.json', `${JSON.stringify({}, null, 2)}\n`);
4141

4242
mkdirSync(path.join(dir, 'tooling'), { recursive: true });
43-
writeFileSync(path.join(dir, 'tooling', 'format.ts'), 'export const fmt = { ignorePatterns: [] };\n');
43+
writeFileSync(
44+
path.join(dir, 'tooling', 'format.ts'),
45+
'export const fmt = { ignorePatterns: [] };\n',
46+
);
4447
writeFileSync(path.join(dir, 'tooling', 'lint.ts'), 'export const lint = { rules: {} };\n');
4548

4649
console.log(`cloned starter-template to ${dir}`);

packages/cli/snap-tests/create-monorepo-local-template-shorthand/packages/starter-template/package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,6 @@
33
"version": "0.0.0",
44
"private": true,
55
"description": "A local starter template that wires fmt/lint via shorthand.",
6-
"type": "module",
7-
"bin": "./bin/index.mjs"
6+
"bin": "./bin/index.mjs",
7+
"type": "module"
88
}

0 commit comments

Comments
 (0)