create-rulecad 0.2.1 → 0.3.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.
Files changed (2) hide show
  1. package/index.mjs +1 -1
  2. package/package.json +1 -1
package/index.mjs CHANGED
@@ -20,7 +20,7 @@ fs.renameSync(path.join(dir, 'gitignore'), path.join(dir, '.gitignore')); // npm
20
20
  const readme = path.join(dir, 'README.md');
21
21
  fs.writeFileSync(readme, fs.readFileSync(readme, 'utf8').replaceAll('NAME', name));
22
22
  // $RULECAD_LOCAL: a rulecad checkout to use instead of npm (to try unpublished changes)
23
- const from = (pkg) => (process.env.RULECAD_LOCAL ? `file:${path.join(path.resolve(process.env.RULECAD_LOCAL), 'packages', pkg)}` : '^0.2.0');
23
+ const from = (pkg) => (process.env.RULECAD_LOCAL ? `file:${path.join(path.resolve(process.env.RULECAD_LOCAL), 'packages', pkg)}` : '^0.3.0');
24
24
  fs.writeFileSync(path.join(dir, 'package.json'), `${JSON.stringify({
25
25
  name, private: true, type: 'module',
26
26
  scripts: { check: 'cad check home/soap-tray' },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-rulecad",
3
- "version": "0.2.1",
3
+ "version": "0.3.0",
4
4
  "description": "Start a rulecad project: npm create rulecad my-designs. A workspace with a soap tray to start from, ready to check, preview, export and share.",
5
5
  "type": "module",
6
6
  "bin": {