@tramvai/experiments 1.30.0 → 1.31.1

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.
@@ -16,7 +16,7 @@ export declare const staticFileSystemPageToPath: (pageComponent: string) => stri
16
16
  /**
17
17
  * @example
18
18
  * / to @/pages/index
19
- * /sub/route/:id to @/pages/sub/route/[id]
19
+ * /sub/route/:id/ to @/pages/sub/route/[id]/index
20
20
  */
21
21
  export declare const pathToExternalFileSystemPage: (path: string) => string;
22
22
  export declare const fileSystemPageToRoute: (pageComponent: string) => Route;
package/lib/index.es.js CHANGED
@@ -31,7 +31,7 @@ const staticFileSystemPageToPath = (pageComponent) => {
31
31
  /**
32
32
  * @example
33
33
  * / to @/pages/index
34
- * /sub/route/:id to @/pages/sub/route/[id]
34
+ * /sub/route/:id/ to @/pages/sub/route/[id]/index
35
35
  */
36
36
  const pathToExternalFileSystemPage = (path) => {
37
37
  const urlParts = getParts(path);
package/lib/index.js CHANGED
@@ -39,7 +39,7 @@ const staticFileSystemPageToPath = (pageComponent) => {
39
39
  /**
40
40
  * @example
41
41
  * / to @/pages/index
42
- * /sub/route/:id to @/pages/sub/route/[id]
42
+ * /sub/route/:id/ to @/pages/sub/route/[id]/index
43
43
  */
44
44
  const pathToExternalFileSystemPage = (path) => {
45
45
  const urlParts = router.getParts(path);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tramvai/experiments",
3
- "version": "1.30.0",
3
+ "version": "1.31.1",
4
4
  "description": "",
5
5
  "main": "lib/index.js",
6
6
  "module": "lib/index.es.js",
@@ -20,8 +20,8 @@
20
20
  },
21
21
  "dependencies": {},
22
22
  "peerDependencies": {
23
- "@tinkoff/router": "0.1.61",
24
- "@tramvai/cli": "1.30.0",
23
+ "@tinkoff/router": "0.1.62",
24
+ "@tramvai/cli": "1.31.1",
25
25
  "tslib": "^2.0.3"
26
26
  },
27
27
  "license": "Apache-2.0"