flowershow 0.1.6 → 0.1.7

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # flowershow
2
2
 
3
+ ## 0.1.7
4
+
5
+ ### Patch Changes
6
+
7
+ - Rename [...slug].tsx to [[...slug]].tsx at installation, so that user can still define their own home pages using MD files.
8
+
3
9
  ## 0.1.6
4
10
 
5
11
  ### Patch Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "flowershow",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Publish your digital garden",
5
5
  "bin": {
6
6
  "flowershow": "src/bin/cli.js"
@@ -149,6 +149,7 @@ export default class Installer {
149
149
  fs.rmSync(`${flowershowDir}/jest.config.js`, { force: true });
150
150
  // TODO (temporary here) remove Flowershow app home page
151
151
  fs.rmSync(`${flowershowDir}/pages/index.tsx`, { force: true });
152
+ fs.rename(`${flowershowDir}/pages/[...slug].tsx`, `${flowershowDir}/pages/[[...slug]].tsx`, () => { });
152
153
  // update content and assets symlinks
153
154
  const contentSymlinkPath = path.relative(`${flowershowDir}`, contentDir);
154
155
  fs.symlinkSync(contentSymlinkPath, `${flowershowDir}/content`, "junction");