@openelement/create 0.42.0-alpha.16 → 0.42.0-alpha.17
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/README.md +1 -1
- package/package.json +1 -1
- package/src/version.js +2 -2
- package/templates/app/routes/404.tsx +2 -0
- package/templates/app/routes/blog/[slug].tsx +2 -0
- package/templates/app/routes/blog/index.tsx +2 -0
- package/templates/app/routes/freshness.tsx +2 -0
- package/templates/app/routes/index.tsx +2 -0
package/README.md
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
Project scaffolding CLI for openElement applications.
|
|
4
4
|
|
|
5
|
-
> 0.42 alpha surface (v0.42.0-alpha.
|
|
5
|
+
> 0.42 alpha surface (v0.42.0-alpha.16, unfrozen; ADR-0122 freeze proposed):
|
|
6
6
|
> Framework product entry. This package is part of the
|
|
7
7
|
> first-run Framework story alongside `@openelement/app` and
|
|
8
8
|
> `@openelement/adapter-vite`.
|
package/package.json
CHANGED
package/src/version.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** The published CLI version, embedded so packed npm installs are self-contained. */ export const CREATE_VERSION = '0.42.0-alpha.
|
|
2
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
1
|
+
/** The published CLI version, embedded so packed npm installs are self-contained. */ export const CREATE_VERSION = '0.42.0-alpha.17';
|
|
2
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImZpbGU6Ly8vaG9tZS9ydW5uZXIvd29yay9vcGVuZWxlbWVudC9vcGVuZWxlbWVudC9wYWNrYWdlcy9jcmVhdGUvc3JjL3ZlcnNpb24udHMiXSwic291cmNlc0NvbnRlbnQiOlsiLyoqIFRoZSBwdWJsaXNoZWQgQ0xJIHZlcnNpb24sIGVtYmVkZGVkIHNvIHBhY2tlZCBucG0gaW5zdGFsbHMgYXJlIHNlbGYtY29udGFpbmVkLiAqL1xuZXhwb3J0IGNvbnN0IENSRUFURV9WRVJTSU9OID0gJzAuNDIuMC1hbHBoYS4xNyc7XG4iXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6IkFBQUEsbUZBQW1GLEdBQ25GLE9BQU8sTUFBTSxpQkFBaUIsa0JBQWtCIn0=
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import { defineElement, definePage } from '@openelement/app';
|
|
3
3
|
import { StyleSheet } from '@openelement/element';
|
|
4
4
|
|
|
5
|
+
// Names the content element below. definePage routes always register under
|
|
6
|
+
// the route-path tag; this export never drives page registration (#960).
|
|
5
7
|
export const tagName = 'not-found-page';
|
|
6
8
|
|
|
7
9
|
const styles = new StyleSheet();
|
|
@@ -3,6 +3,8 @@ import { defineElement, definePage, notFound } from '@openelement/app';
|
|
|
3
3
|
import { StyleSheet } from '@openelement/element';
|
|
4
4
|
import { getPostBySlug, posts } from '@openelement/generated/blog-data';
|
|
5
5
|
|
|
6
|
+
// Names the content element below. definePage routes always register under
|
|
7
|
+
// the route-path tag; this export never drives page registration (#960).
|
|
6
8
|
export const tagName = 'blog-post-page';
|
|
7
9
|
|
|
8
10
|
/**
|
|
@@ -3,6 +3,8 @@ import { defineElement, definePage } from '@openelement/app';
|
|
|
3
3
|
import { StyleSheet } from '@openelement/element';
|
|
4
4
|
import { posts } from '@openelement/generated/blog-data';
|
|
5
5
|
|
|
6
|
+
// Names the content element below. definePage routes always register under
|
|
7
|
+
// the route-path tag; this export never drives page registration (#960).
|
|
6
8
|
export const tagName = 'blog-index-page';
|
|
7
9
|
|
|
8
10
|
const styles = new StyleSheet();
|
|
@@ -2,6 +2,8 @@
|
|
|
2
2
|
import { defineElement, definePage } from '@openelement/app';
|
|
3
3
|
import { StyleSheet } from '@openelement/element';
|
|
4
4
|
|
|
5
|
+
// Names the content element below. definePage routes always register under
|
|
6
|
+
// the route-path tag; this export never drives page registration (#960).
|
|
5
7
|
export const tagName = 'freshness-page';
|
|
6
8
|
|
|
7
9
|
const styles = new StyleSheet();
|
|
@@ -3,6 +3,8 @@ import { defineElement, definePage } from '@openelement/app';
|
|
|
3
3
|
import { StyleSheet } from '@openelement/element';
|
|
4
4
|
import { posts } from '@openelement/generated/blog-data';
|
|
5
5
|
|
|
6
|
+
// Names the content element below. definePage routes always register under
|
|
7
|
+
// the route-path tag; this export never drives page registration (#960).
|
|
6
8
|
export const tagName = 'home-page';
|
|
7
9
|
|
|
8
10
|
const recentPosts = [...posts]
|