@_linked/cli 1.5.0 → 1.5.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.
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.5.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#36](https://github.com/linked-cm/cli/pull/36) [`fc37baa`](https://github.com/linked-cm/cli/commit/fc37baa54874d64349622b56b05d14f691bafb1c) Thanks [@flyon](https://github.com/flyon)! - The components-showcase page (`/page1`) is now a public route by default — the template doesn't wire up an authentication provider out of the box, so `requireAuth` would just hide the page behind a redirect to a non-functional signin. The `requireAuth: true` line is now commented out with a note pointing readers to `@_linked/auth` when they want to add it.
|
|
8
|
+
|
|
9
|
+
Top-of-file comment in `Page1.tsx` updated to match.
|
|
10
|
+
|
|
3
11
|
## 1.5.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
// Components showcase — demonstrates a slice of @_linked/primitives against
|
|
2
|
-
// the active @_linked/css theme.
|
|
3
|
-
//
|
|
2
|
+
// the active @_linked/css theme. Tweak tokens in src/theme.css to re-skin
|
|
3
|
+
// everything on this page. (To make the route sign-in-protected later, see
|
|
4
|
+
// the `requireAuth` line in src/routes.tsx.)
|
|
4
5
|
import React, { useState } from 'react';
|
|
5
6
|
import { DefaultLayout } from '../layout/DefaultLayout';
|
|
6
7
|
import { Button } from '@_linked/primitives/components/Button';
|
|
@@ -34,9 +34,11 @@ export const ROUTES: RoutesConfig = {
|
|
|
34
34
|
component: lazy(
|
|
35
35
|
() => import(/* webpackChunkName: "page1" */ './pages/Page1')
|
|
36
36
|
),
|
|
37
|
-
label: '
|
|
38
|
-
requireAuth: true,
|
|
37
|
+
label: 'Components',
|
|
39
38
|
preloadChunks: ['page1'],
|
|
39
|
+
// To make this route sign-in-protected, uncomment the next line + wire up
|
|
40
|
+
// an authentication provider in App.tsx. See @_linked/auth for options.
|
|
41
|
+
// requireAuth: true,
|
|
40
42
|
},
|
|
41
43
|
signin: {
|
|
42
44
|
path: '/signin',
|
package/lib/cjs/package.json
CHANGED
package/lib/esm/package.json
CHANGED