create-rstack 1.5.1 → 1.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.
package/dist/index.js CHANGED
@@ -1691,17 +1691,7 @@ async function create({ name, root, templates, skipFiles, getTemplateName, mapES
1691
1691
  skipFiles,
1692
1692
  isMergePackageJson: true
1693
1693
  });
1694
- if ('biome' === tool) {
1695
- const packageJson = await readPackageJson(distFolder);
1696
- let biomeVersion = packageJson.devDependencies?.['@biomejs/biome'] ?? '2.0.0';
1697
- biomeVersion = biomeVersion.replace(/\^/, '');
1698
- const biomeJsonTemplatePath = node_path.join(distFolder, 'biome.json.template');
1699
- const biomeJsonPath = node_path.join(distFolder, 'biome.json');
1700
- const biomeJson = await readJSON(biomeJsonTemplatePath);
1701
- biomeJson.$schema = biomeJson.$schema.replace('{version}', biomeVersion);
1702
- await node_fs.promises.writeFile(biomeJsonPath, `${JSON.stringify(biomeJson, null, 2)}\n`, 'utf-8');
1703
- await node_fs.promises.rm(biomeJsonTemplatePath);
1704
- }
1694
+ if ('biome' === tool) await node_fs.promises.rename(node_path.join(distFolder, 'biome.json.template'), node_path.join(distFolder, 'biome.json'));
1705
1695
  }
1706
1696
  const nextSteps = noteInformation ? noteInformation : [
1707
1697
  `1. ${picocolors_default().cyan(`cd ${targetDir}`)}`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rstack",
3
- "version": "1.5.1",
3
+ "version": "1.5.2",
4
4
  "description": "Create a new Rstack project",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,5 +1,5 @@
1
1
  {
2
- "$schema": "https://biomejs.dev/schemas/{version}/schema.json",
2
+ "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
3
3
  "assist": {
4
4
  "actions": {
5
5
  "source": {