@quilted/quilt 0.5.61 → 0.5.64

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,23 @@
1
1
  # @quilted/quilt
2
2
 
3
+ ## 0.5.64
4
+
5
+ ### Patch Changes
6
+
7
+ - [#190](https://github.com/lemonmade/quilt/pull/190) [`9bf454a`](https://github.com/lemonmade/quilt/commit/9bf454aaefc7ac6b85060fc5493b6b3ee4e2b526) Thanks [@lemonmade](https://github.com/lemonmade)! - Add easy environment variables
8
+
9
+ ## 0.5.63
10
+
11
+ ### Patch Changes
12
+
13
+ - [#185](https://github.com/lemonmade/quilt/pull/185) [`3b9a758`](https://github.com/lemonmade/quilt/commit/3b9a758c5703aa63b93a736e33f88a3bfa393fb8) Thanks [@lemonmade](https://github.com/lemonmade)! - Improve package entry declarations
14
+
15
+ ## 0.5.62
16
+
17
+ ### Patch Changes
18
+
19
+ - [#179](https://github.com/lemonmade/quilt/pull/179) [`ba2d282`](https://github.com/lemonmade/quilt/commit/ba2d28245528fc9825e36cfed85798b721f33152) Thanks [@lemonmade](https://github.com/lemonmade)! - Add useful-react-types package
20
+
3
21
  ## 0.5.61
4
22
 
5
23
  ### Patch Changes
@@ -0,0 +1,2 @@
1
+ 'use strict';
2
+
@@ -148,8 +148,7 @@ async function renderStatic(App, {
148
148
  fallback: false
149
149
  });
150
150
  }
151
- } // console.log({routeId, match, addFallbacks, children, routes, ownRoute});
152
-
151
+ }
153
152
 
154
153
  if (hasChildren) {
155
154
  for (const {
@@ -0,0 +1 @@
1
+
@@ -126,8 +126,7 @@ async function renderStatic(App, {
126
126
  fallback: false
127
127
  });
128
128
  }
129
- } // console.log({routeId, match, addFallbacks, children, routes, ownRoute});
130
-
129
+ }
131
130
 
132
131
  if (hasChildren) {
133
132
  for (const {
@@ -0,0 +1 @@
1
+
@@ -126,8 +126,7 @@ async function renderStatic(App, {
126
126
  fallback: false
127
127
  });
128
128
  }
129
- } // console.log({routeId, match, addFallbacks, children, routes, ownRoute});
130
-
129
+ }
131
130
 
132
131
  if (hasChildren) {
133
132
  for (const {
@@ -1162,9 +1162,9 @@
1162
1162
  "affectsGlobalScope": false
1163
1163
  },
1164
1164
  "../../async/build/typescript/global.d.ts": {
1165
- "version": "c085ff459afbef97e82c8cb5ce7ace827d3d5a6695755cbe2f73bf44026d419e",
1166
- "signature": "c085ff459afbef97e82c8cb5ce7ace827d3d5a6695755cbe2f73bf44026d419e",
1167
- "affectsGlobalScope": true
1165
+ "version": "9eaa5d7e95022f99f9c5d0a800e204645be8a771b772dc2a8969bd11fa6d9c3d",
1166
+ "signature": "9eaa5d7e95022f99f9c5d0a800e204645be8a771b772dc2a8969bd11fa6d9c3d",
1167
+ "affectsGlobalScope": false
1168
1168
  },
1169
1169
  "../../async/build/typescript/loader.d.ts": {
1170
1170
  "version": "39af1ddd7a9fe9bea1b50adfa155fba2f7306fbd7c68647094c8265c1ae5d934",
@@ -1481,6 +1481,11 @@
1481
1481
  "signature": "74db8898203d9d4aa49fd0eb4f2608aaf6d63d68c39c1df3b7a37129ca729532",
1482
1482
  "affectsGlobalScope": false
1483
1483
  },
1484
+ "../src/env.ts": {
1485
+ "version": "06689faf7538ac12ac05cf4af8bfe481795bedf6defda7ccb7932275b54d5d21",
1486
+ "signature": "2e1a31d471411b9be7152aa351dfd04772bd73b18c5a853a39f5c07b000f18ce",
1487
+ "affectsGlobalScope": false
1488
+ },
1484
1489
  "../src/global.ts": {
1485
1490
  "version": "4b6d57bd53bfd6ff76314c8fce64627953a03bfabccd96bf042f6de6ca797b67",
1486
1491
  "signature": "26208398168ed2930b36a962dba389b8c40960cddd1b6e1260be106f56bef77f",
@@ -1611,9 +1616,14 @@
1611
1616
  "signature": "2d0761aa399e092a54bd2de63ae9ceeaa9f34266e561b18790b3584be77cb47a",
1612
1617
  "affectsGlobalScope": false
1613
1618
  },
1619
+ "../../useful-react-types/build/typescript/index.d.ts": {
1620
+ "version": "4be1ee3027182d456e372b41f0314a4efc20950675b674360d1d1cae73cdab56",
1621
+ "signature": "4be1ee3027182d456e372b41f0314a4efc20950675b674360d1d1cae73cdab56",
1622
+ "affectsGlobalScope": false
1623
+ },
1614
1624
  "../src/index.ts": {
1615
- "version": "e9dc37e98f58201ea77e8fe0df3f6dd45f8d3c3fda1b29905b137a08fcda309b",
1616
- "signature": "4c1542c05a26cc09d331194e4dcb0661410bc51a82cec4c534a32f5ee2dabf70",
1625
+ "version": "1d738c12b76e866dc9a35dcd4cbf01da899cfcb5c596cdd8a9c1aabfd0e8bb46",
1626
+ "signature": "9335acdbb9bfc656016705c71e9dbc4b2cbb5e91da3374cdefe4d278821ece9f",
1617
1627
  "affectsGlobalScope": false
1618
1628
  },
1619
1629
  "../../react-testing/build/typescript/types.d.ts": {
@@ -2192,7 +2202,7 @@
2192
2202
  "affectsGlobalScope": false
2193
2203
  },
2194
2204
  "../src/static/index.tsx": {
2195
- "version": "d142882f48ec1123548b93d300f120faf8425661be2ce8b26a47a7826d17e7ed",
2205
+ "version": "484ef45460d69fee3a479cc925a55ee1c72b4b24baf4fb3789e1bac91e74f830",
2196
2206
  "signature": "654cc8b3ee68d511afe7b400f351452de1a25ecff75191355113a8c186ad76c2",
2197
2207
  "affectsGlobalScope": false
2198
2208
  },
@@ -2846,6 +2856,11 @@
2846
2856
  "signature": "4266ccd2cf1d6a281efd9c7ddf9efd7daecf76575364148bd233e18919cac3ed",
2847
2857
  "affectsGlobalScope": false
2848
2858
  },
2859
+ "../../../node_modules/.pnpm/@types+ws@8.5.2/node_modules/@types/ws/index.d.ts": {
2860
+ "version": "77a5c173bcffb453051d4b36454ff7928a091e4a0d1388346bd77c332b7cda09",
2861
+ "signature": "77a5c173bcffb453051d4b36454ff7928a091e4a0d1388346bd77c332b7cda09",
2862
+ "affectsGlobalScope": false
2863
+ },
2849
2864
  "../../../node_modules/.pnpm/@types+yargs-parser@20.2.0/node_modules/@types/yargs-parser/index.d.ts": {
2850
2865
  "version": "3bdd93ec24853e61bfa4c63ebaa425ff3e474156e87a47d90122e1d8cc717c1f",
2851
2866
  "signature": "3bdd93ec24853e61bfa4c63ebaa425ff3e474156e87a47d90122e1d8cc717c1f",
@@ -3594,6 +3609,16 @@
3594
3609
  "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/net.d.ts",
3595
3610
  "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/url.d.ts"
3596
3611
  ],
3612
+ "../../../node_modules/.pnpm/@types+ws@8.5.2/node_modules/@types/ws/index.d.ts": [
3613
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/events.d.ts",
3614
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/http.d.ts",
3615
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/https.d.ts",
3616
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/index.d.ts",
3617
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/stream.d.ts",
3618
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/tls.d.ts",
3619
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/url.d.ts",
3620
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/zlib.d.ts"
3621
+ ],
3597
3622
  "../../../node_modules/.pnpm/@types+yargs@16.0.3/node_modules/@types/yargs/index.d.ts": [
3598
3623
  "../../../node_modules/.pnpm/@types+yargs-parser@20.2.0/node_modules/@types/yargs-parser/index.d.ts"
3599
3624
  ],
@@ -4241,6 +4266,7 @@
4241
4266
  "../../react-router/build/typescript/index.d.ts",
4242
4267
  "../../react-server-render/build/typescript/index.d.ts",
4243
4268
  "../../react-workers/build/typescript/index.d.ts",
4269
+ "../../useful-react-types/build/typescript/index.d.ts",
4244
4270
  "../src/App.tsx"
4245
4271
  ],
4246
4272
  "../src/magic/app.ts": [
@@ -4428,9 +4454,6 @@
4428
4454
  "../../graphql/build/typescript/index.d.ts",
4429
4455
  "../../useful-types/build/typescript/index.d.ts"
4430
4456
  ],
4431
- "../../react-graphql/build/typescript/hooks/useGraphQL.d.ts": [
4432
- "../../graphql/build/typescript/index.d.ts"
4433
- ],
4434
4457
  "../../react-graphql/build/typescript/hooks/useMutation.d.ts": [
4435
4458
  "../../graphql/build/typescript/index.d.ts",
4436
4459
  "../../useful-types/build/typescript/index.d.ts"
@@ -4620,9 +4643,6 @@
4620
4643
  "../../react-http/build/typescript/hooks/content-security-policy.d.ts": [
4621
4644
  "../../http/build/typescript/index.d.ts"
4622
4645
  ],
4623
- "../../react-http/build/typescript/hooks/cookie.d.ts": [
4624
- "../../http/build/typescript/index.d.ts"
4625
- ],
4626
4646
  "../../react-http/build/typescript/hooks/http-action.d.ts": [
4627
4647
  "../../react-http/build/typescript/manager.d.ts"
4628
4648
  ],
@@ -4672,9 +4692,6 @@
4672
4692
  "../../../node_modules/.pnpm/@types+react@17.0.13/node_modules/@types/react/index.d.ts",
4673
4693
  "../../performance/build/typescript/index.d.ts"
4674
4694
  ],
4675
- "../../react-performance/build/typescript/hooks.d.ts": [
4676
- "../../performance/build/typescript/index.d.ts"
4677
- ],
4678
4695
  "../../react-performance/build/typescript/index.d.ts": [
4679
4696
  "../../performance/build/typescript/index.d.ts",
4680
4697
  "../../react-performance/build/typescript/PerformanceContext.d.ts",
@@ -4751,8 +4768,7 @@
4751
4768
  "../../routing/build/typescript/index.d.ts"
4752
4769
  ],
4753
4770
  "../../react-router/build/typescript/hooks/navigate.d.ts": [
4754
- "../../react-router/build/typescript/router.d.ts",
4755
- "../../routing/build/typescript/index.d.ts"
4771
+ "../../react-router/build/typescript/router.d.ts"
4756
4772
  ],
4757
4773
  "../../react-router/build/typescript/hooks/navigation-block.d.ts": [
4758
4774
  "../../react-router/build/typescript/types.d.ts"
@@ -4872,6 +4888,9 @@
4872
4888
  "../../routing/build/typescript/utilities.d.ts": [
4873
4889
  "../../routing/build/typescript/types.d.ts"
4874
4890
  ],
4891
+ "../../useful-react-types/build/typescript/index.d.ts": [
4892
+ "../../../node_modules/.pnpm/@types+react@17.0.13/node_modules/@types/react/index.d.ts"
4893
+ ],
4875
4894
  "../../workers/build/typescript/create/basic.d.ts": [
4876
4895
  "../../workers/build/typescript/create/utilities.d.ts"
4877
4896
  ],
@@ -5599,6 +5618,16 @@
5599
5618
  "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/net.d.ts",
5600
5619
  "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/url.d.ts"
5601
5620
  ],
5621
+ "../../../node_modules/.pnpm/@types+ws@8.5.2/node_modules/@types/ws/index.d.ts": [
5622
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/events.d.ts",
5623
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/http.d.ts",
5624
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/https.d.ts",
5625
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/index.d.ts",
5626
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/stream.d.ts",
5627
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/tls.d.ts",
5628
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/url.d.ts",
5629
+ "../../../node_modules/.pnpm/@types+node@15.12.5/node_modules/@types/node/zlib.d.ts"
5630
+ ],
5602
5631
  "../../../node_modules/.pnpm/@types+yargs@16.0.3/node_modules/@types/yargs/index.d.ts": [
5603
5632
  "../../../node_modules/.pnpm/@types+yargs-parser@20.2.0/node_modules/@types/yargs-parser/index.d.ts"
5604
5633
  ],
@@ -6245,6 +6274,7 @@
6245
6274
  "../../react-router/build/typescript/index.d.ts",
6246
6275
  "../../react-server-render/build/typescript/index.d.ts",
6247
6276
  "../../react-workers/build/typescript/index.d.ts",
6277
+ "../../useful-react-types/build/typescript/index.d.ts",
6248
6278
  "../src/App.tsx"
6249
6279
  ],
6250
6280
  "../src/magic/app.ts": [
@@ -6863,6 +6893,9 @@
6863
6893
  "../../routing/build/typescript/utilities.d.ts": [
6864
6894
  "../../routing/build/typescript/types.d.ts"
6865
6895
  ],
6896
+ "../../useful-react-types/build/typescript/index.d.ts": [
6897
+ "../../../node_modules/.pnpm/@types+react@17.0.13/node_modules/@types/react/index.d.ts"
6898
+ ],
6866
6899
  "../../workers/build/typescript/create/basic.d.ts": [
6867
6900
  "../../workers/build/typescript/create/utilities.d.ts"
6868
6901
  ],
@@ -7074,6 +7107,7 @@
7074
7107
  "../../../node_modules/.pnpm/@types+send@0.17.1/node_modules/@types/send/index.d.ts",
7075
7108
  "../../../node_modules/.pnpm/@types+stack-utils@2.0.0/node_modules/@types/stack-utils/index.d.ts",
7076
7109
  "../../../node_modules/.pnpm/@types+websocket@1.0.2/node_modules/@types/websocket/index.d.ts",
7110
+ "../../../node_modules/.pnpm/@types+ws@8.5.2/node_modules/@types/ws/index.d.ts",
7077
7111
  "../../../node_modules/.pnpm/@types+yargs-parser@20.2.0/node_modules/@types/yargs-parser/index.d.ts",
7078
7112
  "../../../node_modules/.pnpm/@types+yargs@16.0.3/node_modules/@types/yargs/index.d.ts",
7079
7113
  "../../../node_modules/.pnpm/@types+yauzl@2.9.2/node_modules/@types/yauzl/index.d.ts",
@@ -7271,6 +7305,7 @@
7271
7305
  "../../polyfills/build/typescript/noop.d.ts",
7272
7306
  "../src/App.tsx",
7273
7307
  "../src/email.ts",
7308
+ "../src/env.ts",
7274
7309
  "../src/global.ts",
7275
7310
  "../src/html.ts",
7276
7311
  "../src/http-handlers/index.ts",
@@ -7448,6 +7483,7 @@
7448
7483
  "../../routing/build/typescript/index.d.ts",
7449
7484
  "../../routing/build/typescript/types.d.ts",
7450
7485
  "../../routing/build/typescript/utilities.d.ts",
7486
+ "../../useful-react-types/build/typescript/index.d.ts",
7451
7487
  "../../useful-types/build/typescript/index.d.ts",
7452
7488
  "../../workers/build/typescript/create/basic.d.ts",
7453
7489
  "../../workers/build/typescript/create/callable.d.ts",
@@ -0,0 +1,5 @@
1
+ export interface EnvironmentVariables {
2
+ }
3
+ declare const Env: EnvironmentVariables;
4
+ export default Env;
5
+ //# sourceMappingURL=env.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"env.d.ts","sourceRoot":"","sources":["../../src/env.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,oBAAoB;CAAG;AAExC,OAAO,CAAC,MAAM,GAAG,EAAE,oBAAoB,CAAC;AAExC,eAAe,GAAG,CAAC"}
@@ -13,5 +13,6 @@ export type { NavigateTo, RouteDefinition } from '@quilted/react-router';
13
13
  export { useWorker, createWorker, createCallableWorker, } from '@quilted/react-workers';
14
14
  export type { BasicWorkerCreator, CallableWorkerCreator, } from '@quilted/react-workers';
15
15
  export { useCookie, useCookies } from '@quilted/react-http';
16
+ export type { PropsWithChildren } from '@quilted/useful-react-types';
16
17
  export { App } from './App';
17
18
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACjD,YAAY,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,SAAS,EACT,eAAe,EACf,eAAe,EACf,YAAY,EACZ,kBAAkB,EAClB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,QAAQ,EACR,UAAU,EACV,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,eAAe,EACf,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,YAAY,EAAE,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,WAAW,EACX,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,SAAS,EACT,eAAe,EACf,aAAa,EACb,aAAa,EACb,SAAS,EACT,SAAS,EACT,QAAQ,EACR,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAC,UAAU,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AACvE,OAAO,EACL,SAAS,EACT,YAAY,EACZ,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAE1D,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,iBAAiB,EAAC,MAAM,gBAAgB,CAAC;AACjD,YAAY,EAAC,WAAW,EAAC,MAAM,gBAAgB,CAAC;AAChD,OAAO,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,oBAAoB,GACrB,MAAM,sBAAsB,CAAC;AAC9B,YAAY,EACV,SAAS,EACT,eAAe,EACf,eAAe,EACf,YAAY,EACZ,kBAAkB,EAClB,WAAW,GACZ,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EACL,cAAc,EACd,aAAa,EACb,eAAe,EACf,QAAQ,EACR,UAAU,EACV,WAAW,GACZ,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,WAAW,EACX,gBAAgB,EAChB,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,oBAAoB,EACpB,sBAAsB,EACtB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,eAAe,EACf,sBAAsB,GACvB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,eAAe,EAAC,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAC,YAAY,EAAE,eAAe,EAAC,MAAM,8BAA8B,CAAC;AAC3E,OAAO,EACL,kBAAkB,EAClB,cAAc,EACd,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,YAAY,EACV,WAAW,EACX,qBAAqB,EACrB,6BAA6B,GAC9B,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,IAAI,EACJ,QAAQ,EACR,MAAM,EACN,SAAS,EACT,eAAe,EACf,aAAa,EACb,aAAa,EACb,SAAS,EACT,SAAS,EACT,QAAQ,EACR,WAAW,EACX,WAAW,EACX,kBAAkB,EAClB,oBAAoB,EACpB,sBAAsB,GACvB,MAAM,uBAAuB,CAAC;AAC/B,YAAY,EAAC,UAAU,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AACvE,OAAO,EACL,SAAS,EACT,YAAY,EACZ,oBAAoB,GACrB,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,kBAAkB,EAClB,qBAAqB,GACtB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EAAC,SAAS,EAAE,UAAU,EAAC,MAAM,qBAAqB,CAAC;AAC1D,YAAY,EAAC,iBAAiB,EAAC,MAAM,6BAA6B,CAAC;AAEnE,OAAO,EAAC,GAAG,EAAC,MAAM,OAAO,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/static/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAOvD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AAI1D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;CAC1B;AAOD,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,CAAC,CAAC;IACxC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD;AAID,wBAAsB,YAAY,CAChC,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,EACvB,EACE,MAAM,EACN,MAAM,EAAE,cAAc,EACtB,QAAQ,EACR,KAAY,EACZ,OAAkB,EAClB,QAAe,GAChB,EAAE,OAAO,iBAwOX"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/static/index.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,OAAO,CAAC;AAEzC,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,uBAAuB,CAAC;AAOvD,OAAO,KAAK,EAAC,SAAS,EAAC,MAAM,4BAA4B,CAAC;AAI1D,MAAM,WAAW,aAAa;IAC5B,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,WAAW,EAAE,OAAO,CAAC;IAC9B,QAAQ,CAAC,QAAQ,EAAE,OAAO,CAAC;IAC3B,QAAQ,CAAC,OAAO,EAAE,MAAM,CAAC;IACzB,QAAQ,CAAC,IAAI,EAAE,SAAS,CAAC;CAC1B;AAOD,MAAM,WAAW,OAAO;IACtB,MAAM,EAAE,MAAM,EAAE,CAAC;IACjB,MAAM,EAAE,WAAW,CAAC;QAAC,OAAO,EAAE,OAAO,CAAA;KAAC,CAAC,CAAC;IACxC,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,OAAO,EAAE,aAAa,GAAG,IAAI,GAAG,OAAO,CAAC,IAAI,CAAC,CAAC;CACxD;AAID,wBAAsB,YAAY,CAChC,GAAG,EAAE,aAAa,CAAC,GAAG,CAAC,EACvB,EACE,MAAM,EACN,MAAM,EAAE,cAAc,EACtB,QAAQ,EACR,KAAY,EACZ,OAAkB,EAClB,QAAe,GAChB,EAAE,OAAO,iBAsOX"}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@quilted/quilt",
3
3
  "type": "module",
4
- "version": "0.5.61",
4
+ "version": "0.5.64",
5
5
  "repository": {
6
6
  "type": "git",
7
7
  "url": "https://github.com/lemonmade/quilt.git",
@@ -14,110 +14,111 @@
14
14
  "license": "MIT",
15
15
  "exports": {
16
16
  ".": {
17
- "quilt:internal": "./src/index.ts",
18
- "sewing-kit:esnext": "./build/esnext/index.esnext",
17
+ "quilt:from-source": "./src/index.ts",
18
+ "quilt:esnext": "./build/esnext/index.esnext",
19
19
  "import": "./build/esm/index.mjs",
20
20
  "require": "./build/cjs/index.cjs"
21
21
  },
22
22
  "./server": {
23
- "quilt:internal": "./src/server/index.ts",
24
- "sewing-kit:esnext": "./build/esnext/server/index.esnext",
23
+ "quilt:from-source": "./src/server/index.ts",
24
+ "quilt:esnext": "./build/esnext/server/index.esnext",
25
25
  "import": "./build/esm/server/index.mjs",
26
26
  "require": "./build/cjs/server/index.cjs"
27
27
  },
28
28
  "./static": {
29
- "quilt:internal": "./src/static/index.tsx",
30
- "sewing-kit:esnext": "./build/esnext/static/index.esnext",
29
+ "quilt:from-source": "./src/static/index.tsx",
30
+ "quilt:esnext": "./build/esnext/static/index.esnext",
31
31
  "import": "./build/esm/static/index.mjs",
32
32
  "require": "./build/cjs/static/index.cjs"
33
33
  },
34
34
  "./html": {
35
- "quilt:internal": "./src/html.ts",
36
- "sewing-kit:esnext": "./build/esnext/html.esnext",
35
+ "quilt:from-source": "./src/html.ts",
36
+ "quilt:esnext": "./build/esnext/html.esnext",
37
37
  "import": "./build/esm/html.mjs",
38
38
  "require": "./build/cjs/html.cjs"
39
39
  },
40
40
  "./email": {
41
- "quilt:internal": "./src/email.ts",
42
- "sewing-kit:esnext": "./build/esnext/email.esnext",
41
+ "quilt:from-source": "./src/email.ts",
42
+ "quilt:esnext": "./build/esnext/email.esnext",
43
43
  "import": "./build/esm/email.mjs",
44
44
  "require": "./build/cjs/email.cjs"
45
45
  },
46
46
  "./global": {
47
- "quilt:internal": "./src/global.ts",
48
- "sewing-kit:esnext": "./build/esnext/global.esnext",
47
+ "quilt:from-source": "./src/global.ts",
48
+ "quilt:esnext": "./build/esnext/global.esnext",
49
49
  "import": "./build/esm/global.mjs",
50
50
  "require": "./build/cjs/global.cjs"
51
51
  },
52
52
  "./http": {
53
- "quilt:internal": "./src/http.ts",
54
- "sewing-kit:esnext": "./build/esnext/http.esnext",
53
+ "quilt:from-source": "./src/http.ts",
54
+ "quilt:esnext": "./build/esnext/http.esnext",
55
55
  "import": "./build/esm/http.mjs",
56
56
  "require": "./build/cjs/http.cjs"
57
57
  },
58
58
  "./testing": {
59
- "quilt:internal": "./src/testing.ts",
60
- "sewing-kit:esnext": "./build/esnext/testing.esnext",
59
+ "quilt:from-source": "./src/testing.ts",
60
+ "quilt:esnext": "./build/esnext/testing.esnext",
61
61
  "import": "./build/esm/testing.mjs",
62
62
  "require": "./build/cjs/testing.cjs"
63
63
  },
64
64
  "./matchers": {
65
- "quilt:internal": "./src/matchers.ts",
66
- "sewing-kit:esnext": "./build/esnext/matchers.esnext",
65
+ "quilt:from-source": "./src/matchers.ts",
66
+ "quilt:esnext": "./build/esnext/matchers.esnext",
67
67
  "import": "./build/esm/matchers.mjs",
68
68
  "require": "./build/cjs/matchers.cjs"
69
69
  },
70
70
  "./react/jsx-runtime": {
71
- "quilt:internal": "./src/react/jsx-runtime.ts",
72
- "sewing-kit:esnext": "./build/esnext/react/jsx-runtime.esnext",
71
+ "quilt:from-source": "./src/react/jsx-runtime.ts",
72
+ "quilt:esnext": "./build/esnext/react/jsx-runtime.esnext",
73
73
  "import": "./build/esm/react/jsx-runtime.mjs",
74
74
  "require": "./build/cjs/react/jsx-runtime.cjs"
75
75
  },
76
76
  "./react/server": {
77
- "quilt:internal": "./src/react/server.ts",
78
- "sewing-kit:esnext": "./build/esnext/react/server.esnext",
77
+ "quilt:from-source": "./src/react/server.ts",
78
+ "quilt:esnext": "./build/esnext/react/server.esnext",
79
79
  "import": "./build/esm/react/server.mjs",
80
80
  "require": "./build/cjs/react/server.cjs"
81
81
  },
82
82
  "./react": {
83
- "quilt:internal": "./src/react/index.ts",
84
- "sewing-kit:esnext": "./build/esnext/react/index.esnext",
83
+ "quilt:from-source": "./src/react/index.ts",
84
+ "quilt:esnext": "./build/esnext/react/index.esnext",
85
85
  "import": "./build/esm/react/index.mjs",
86
86
  "require": "./build/cjs/react/index.cjs"
87
87
  },
88
88
  "./http-handlers/node": {
89
- "quilt:internal": "./src/http-handlers/node.ts",
90
- "sewing-kit:esnext": "./build/esnext/http-handlers/node.esnext",
89
+ "quilt:from-source": "./src/http-handlers/node.ts",
90
+ "quilt:esnext": "./build/esnext/http-handlers/node.esnext",
91
91
  "import": "./build/esm/http-handlers/node.mjs",
92
92
  "require": "./build/cjs/http-handlers/node.cjs"
93
93
  },
94
94
  "./http-handlers": {
95
- "quilt:internal": "./src/http-handlers/index.ts",
96
- "sewing-kit:esnext": "./build/esnext/http-handlers/index.esnext",
95
+ "quilt:from-source": "./src/http-handlers/index.ts",
96
+ "quilt:esnext": "./build/esnext/http-handlers/index.esnext",
97
97
  "import": "./build/esm/http-handlers/index.mjs",
98
98
  "require": "./build/cjs/http-handlers/index.cjs"
99
99
  },
100
100
  "./polyfills/base": {
101
- "quilt:internal": "./src/polyfills/base.ts",
102
- "sewing-kit:esnext": "./build/esnext/polyfills/base.esnext",
101
+ "quilt:from-source": "./src/polyfills/base.ts",
102
+ "quilt:esnext": "./build/esnext/polyfills/base.esnext",
103
103
  "import": "./build/esm/polyfills/base.mjs",
104
104
  "require": "./build/cjs/polyfills/base.cjs"
105
105
  },
106
106
  "./polyfills/fetch": {
107
- "quilt:internal": "./src/polyfills/fetch.ts",
108
- "sewing-kit:esnext": "./build/esnext/polyfills/fetch.esnext",
107
+ "quilt:from-source": "./src/polyfills/fetch.ts",
108
+ "quilt:esnext": "./build/esnext/polyfills/fetch.esnext",
109
109
  "import": "./build/esm/polyfills/fetch.mjs",
110
110
  "require": "./build/cjs/polyfills/fetch.cjs"
111
111
  },
112
112
  "./polyfills/noop": {
113
- "quilt:internal": "./src/polyfills/noop.ts",
114
- "sewing-kit:esnext": "./build/esnext/polyfills/noop.esnext",
113
+ "quilt:from-source": "./src/polyfills/noop.ts",
114
+ "quilt:esnext": "./build/esnext/polyfills/noop.esnext",
115
115
  "import": "./build/esm/polyfills/noop.mjs",
116
116
  "require": "./build/cjs/polyfills/noop.cjs"
117
117
  }
118
118
  },
119
+ "types": "./build/typescript/index.d.ts",
119
120
  "typesVersions": {
120
- ">=1": {
121
+ "*": {
121
122
  "server": [
122
123
  "./build/typescript/server/index.d.ts"
123
124
  ],
@@ -133,6 +134,9 @@
133
134
  "global": [
134
135
  "./build/typescript/global.d.ts"
135
136
  ],
137
+ "env": [
138
+ "./build/typescript/env.d.ts"
139
+ ],
136
140
  "http": [
137
141
  "./build/typescript/http.d.ts"
138
142
  ],
@@ -174,9 +178,6 @@
174
178
  ],
175
179
  "magic/http-handler": [
176
180
  "./build/typescript/magic/http-handler.d.ts"
177
- ],
178
- "*": [
179
- "./build/typescript/index.d.ts"
180
181
  ]
181
182
  }
182
183
  },
@@ -201,6 +202,7 @@
201
202
  "@quilted/react-server-render": "^0.3.7",
202
203
  "@quilted/react-testing": "^0.5.1",
203
204
  "@quilted/react-workers": "^0.2.12",
205
+ "@quilted/useful-react-types": "^0.1.0",
204
206
  "@types/react": "^17.0.0",
205
207
  "@types/react-dom": "^17.0.0",
206
208
  "preact": "^10.5.0",
@@ -6,6 +6,7 @@ export default createPackage((pkg) => {
6
6
  pkg.entry({source: './src/html', name: 'html'});
7
7
  pkg.entry({source: './src/email', name: 'email'});
8
8
  pkg.entry({source: './src/global', name: 'global'});
9
+ pkg.entry({source: './src/env', name: 'env'});
9
10
  pkg.entry({source: './src/react', name: 'react'});
10
11
  pkg.entry({
11
12
  source: './src/react/server',
package/src/env.ts ADDED
@@ -0,0 +1,5 @@
1
+ export interface EnvironmentVariables {}
2
+
3
+ declare const Env: EnvironmentVariables;
4
+
5
+ export default Env;
package/src/index.ts CHANGED
@@ -78,5 +78,6 @@ export type {
78
78
  CallableWorkerCreator,
79
79
  } from '@quilted/react-workers';
80
80
  export {useCookie, useCookies} from '@quilted/react-http';
81
+ export type {PropsWithChildren} from '@quilted/useful-react-types';
81
82
 
82
83
  export {App} from './App';
@@ -169,8 +169,6 @@ export async function renderStatic(
169
169
  }
170
170
  }
171
171
 
172
- // console.log({routeId, match, addFallbacks, children, routes, ownRoute});
173
-
174
172
  if (hasChildren) {
175
173
  for (const {id, route} of matchedRoutes) {
176
174
  for (const child of children!) {
package/tsconfig.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "extends": "../typescript/pkg.json",
2
+ "extends": "@quilted/typescript/pkg.json",
3
3
  "compilerOptions": {
4
4
  "rootDir": "src",
5
5
  "outDir": "build/typescript"
@@ -22,6 +22,7 @@
22
22
  {"path": "../react-server-render"},
23
23
  {"path": "../react-testing"},
24
24
  {"path": "../react-workers"},
25
+ {"path": "../useful-react-types"},
25
26
  {"path": "../workers"}
26
27
  ]
27
28
  }