@quilted/create 0.2.5 → 0.2.6

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
  # @quilted/create
2
2
 
3
+ ## 0.2.6
4
+
5
+ ### Patch Changes
6
+
7
+ - [`76676b97`](https://github.com/lemonmade/quilt/commit/76676b97e67864d0b4206d07260dc3d826d065d1) Thanks [@lemonmade](https://github.com/lemonmade)! - Add develop command to app templates
8
+
9
+ - [`48ab9a9c`](https://github.com/lemonmade/quilt/commit/48ab9a9c715f0878f9dd1482d5e66e6dc29a2361) Thanks [@lemonmade](https://github.com/lemonmade)! - Clean up more app template issues
10
+
3
11
  ## 0.2.5
4
12
 
5
13
  ### Patch Changes
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quilted/create",
3
3
  "type": "module",
4
- "version": "0.2.5",
4
+ "version": "0.2.6",
5
5
  "license": "MIT",
6
6
  "repository": {
7
7
  "type": "git",
@@ -1,7 +1,8 @@
1
+ import {type PropsWithChildren} from 'react';
2
+
1
3
  import {HTML} from '@quilted/quilt/html';
2
4
  import {Routing, useRoutes} from '@quilted/quilt/navigate';
3
5
  import {Localization, useLocaleFromEnvironment} from '@quilted/quilt/localize';
4
- import {type PropsWithChildren} from '@quilted/quilt/react/tools';
5
6
 
6
7
  import {Head} from './foundation/html.ts';
7
8
  import {Headers} from './foundation/http.ts';
@@ -38,6 +39,8 @@ export function App(props: AppProps) {
38
39
  );
39
40
  }
40
41
 
42
+ export default App;
43
+
41
44
  // This component renders the routes for your application. If you have a lot
42
45
  // of routes, you may want to split this component into its own file.
43
46
  function Routes() {
@@ -5,6 +5,8 @@
5
5
  "private": true,
6
6
  "scripts": {
7
7
  "build": "rollup --config ./rollup.config.js",
8
+ "develop": "vite --config ./vite.config.js",
9
+ "test": "vitest --config ./vite.config.js",
8
10
  "start": "node ./build/server/server.js"
9
11
  },
10
12
  "dependencies": {},
@@ -1,3 +1,5 @@
1
1
  export function App() {
2
2
  return <div>Hello world!</div>;
3
3
  }
4
+
5
+ export default App;
@@ -5,6 +5,8 @@
5
5
  "private": true,
6
6
  "scripts": {
7
7
  "build": "rollup --config ./rollup.config.js",
8
+ "develop": "vite --config ./vite.config.js",
9
+ "test": "vitest --config ./vite.config.js",
8
10
  "start": "node ./build/server/server.js"
9
11
  },
10
12
  "dependencies": {},
@@ -1,9 +1,8 @@
1
- import {useMemo} from 'react';
1
+ import {useMemo, type PropsWithChildren} from 'react';
2
2
 
3
3
  import {HTML} from '@quilted/quilt/html';
4
4
  import {Routing, useRoutes} from '@quilted/quilt/navigate';
5
5
  import {Localization, useLocaleFromEnvironment} from '@quilted/quilt/localize';
6
- import {type PropsWithChildren} from '@quilted/quilt/react/tools';
7
6
  import {GraphQLContext, type GraphQLRun} from '@quilted/quilt/graphql';
8
7
 
9
8
  import {ReactQueryContext} from '@quilted/react-query';
@@ -46,6 +45,8 @@ export function App(props: AppProps) {
46
45
  );
47
46
  }
48
47
 
48
+ export default App;
49
+
49
50
  // This component renders the routes for your application. If you have a lot
50
51
  // of routes, you may want to split this component into its own file.
51
52
  function Routes() {
@@ -5,6 +5,8 @@
5
5
  "private": true,
6
6
  "scripts": {
7
7
  "build": "rollup --config ./rollup.config.js",
8
+ "develop": "vite --config ./vite.config.js",
9
+ "test": "vitest --config ./vite.config.js",
8
10
  "start": "node ./build/server/server.js"
9
11
  },
10
12
  "dependencies": {},
@@ -1,9 +1,8 @@
1
- import {useMemo} from 'react';
1
+ import {useMemo, type PropsWithChildren} from 'react';
2
2
 
3
3
  import {HTML} from '@quilted/quilt/html';
4
4
  import {Routing, useRoutes, useInitialUrl} from '@quilted/quilt/navigate';
5
5
  import {Localization, useLocaleFromEnvironment} from '@quilted/quilt/localize';
6
- import {type PropsWithChildren} from '@quilted/quilt/react/tools';
7
6
 
8
7
  import {httpBatchLink} from '@trpc/client';
9
8
  import {QueryClient} from '@tanstack/react-query';
@@ -45,6 +44,8 @@ export function App(props: AppProps) {
45
44
  );
46
45
  }
47
46
 
47
+ export default App;
48
+
48
49
  // This component renders the routes for your application. If you have a lot
49
50
  // of routes, you may want to split this component into its own file.
50
51
  function Routes() {
@@ -5,6 +5,8 @@
5
5
  "private": true,
6
6
  "scripts": {
7
7
  "build": "rollup --config ./rollup.config.js",
8
+ "develop": "vite --config ./vite.config.js",
9
+ "test": "vitest --config ./vite.config.js",
8
10
  "start": "node ./build/server/server.js"
9
11
  },
10
12
  "dependencies": {},