@pithy-sh/vite 0.12.0 → 0.14.0
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"clientEnvDeclaration.d.ts","sourceRoot":"","sources":["../src/clientEnvDeclaration.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,mFAAmF;AACnF,MAAM,WAAW,cAAc;IAC7B,gEAAgE;IAChE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,iGAAiG;IACjG,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,EAAE,SAAS,cAAc,
|
|
1
|
+
{"version":3,"file":"clientEnvDeclaration.d.ts","sourceRoot":"","sources":["../src/clientEnvDeclaration.ts"],"names":[],"mappings":"AAMA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AAEH,mFAAmF;AACnF,MAAM,WAAW,cAAc;IAC7B,gEAAgE;IAChE,QAAQ,CAAC,MAAM,EAAE,MAAM,CAAC;IACxB,iGAAiG;IACjG,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,qEAAqE;IACrE,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;;;;;GAOG;AACH,eAAO,MAAM,gBAAgB,EAAE,SAAS,cAAc,EAOrD,CAAC;AAuGF;;;;;;GAMG;AACH,wBAAgB,gBAAgB,CAAC,MAAM,EAAE,MAAM,GAAG,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAyBpE;AAQD;;;;;;;;GAQG;AACH,wBAAgB,aAAa,CAC3B,IAAI,EAAE,MAAM,EACZ,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EACpC,IAAI,GAAE,SAAS,MAAM,EAAO,GAC3B,MAAM,CAiBR;AA2CD,mGAAmG;AACnG,wBAAgB,YAAY,CAAC,MAAM,EAAE,MAAM,EAAE,YAAY,EAAE,MAAM,GAAG,MAAM,CAUzE;AAED;;;;;;GAMG;AACH,wBAAgB,eAAe,CAC7B,OAAO,EAAE,WAAW,CAAC,MAAM,EAAE,MAAM,CAAC,EACpC,OAAO,GAAE,SAAS,cAAc,EAAqB,GACpD,MAAM,CAYR;AAED;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,wBAAsB,qBAAqB,IAAI,OAAO,CAAC,GAAG,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC,CAS1E;AAED,qGAAqG;AACrG,wBAAsB,iBAAiB,IAAI,OAAO,CAAC,MAAM,CAAC,CAEzD"}
|
|
@@ -17,6 +17,11 @@ const DECLARED_MODULES = [
|
|
|
17
17
|
specifier: "@pithy-sh/auth/src/client/projection",
|
|
18
18
|
type: "AuthClientProjection"
|
|
19
19
|
},
|
|
20
|
+
{
|
|
21
|
+
module: "consent",
|
|
22
|
+
specifier: "@pithy-sh/consent/src/client/projection",
|
|
23
|
+
type: "ConsentClientProjection"
|
|
24
|
+
},
|
|
20
25
|
{
|
|
21
26
|
module: "i18n",
|
|
22
27
|
specifier: "@pithy-sh/i18n/src/client/projection",
|
|
@@ -61,11 +66,11 @@ const PREAMBLE = `/// <reference types="vite/client" />
|
|
|
61
66
|
// Vite plugin serves, built from the Worker's own pithy.config.ts.
|
|
62
67
|
//
|
|
63
68
|
// **Generated, and copied here as it was emitted (#398).** Each declaration below is a capability's
|
|
64
|
-
// declared client projection — \`src/client/projection.ts\` in @pithy-sh/auth, @pithy-sh/
|
|
65
|
-
// @pithy-sh/support and @pithy-sh/turnstile — written out by
|
|
66
|
-
// \`src/clientEnvDeclaration.ts\` at kit build time. In the kit that is one
|
|
67
|
-
// nothing to keep in step: a field a projection stops emitting is a
|
|
68
|
-
// projected, and this file moves in the same commit.
|
|
69
|
+
// declared client projection — \`src/client/projection.ts\` in @pithy-sh/auth, @pithy-sh/consent,
|
|
70
|
+
// @pithy-sh/i18n, @pithy-sh/payments, @pithy-sh/support and @pithy-sh/turnstile — written out by
|
|
71
|
+
// @pithy-sh/vite's \`src/clientEnvDeclaration.ts\` at kit build time. In the kit that is one
|
|
72
|
+
// statement of each shape and nothing to keep in step: a field a projection stops emitting is a
|
|
73
|
+
// compile error where it is projected, and this file moves in the same commit.
|
|
69
74
|
//
|
|
70
75
|
// In your repository it is yours, like every other seeded file. Editing it changes what your compiler
|
|
71
76
|
// believes and nothing about what the plugin serves.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@pithy-sh/vite",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.14.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -33,11 +33,12 @@
|
|
|
33
33
|
"reset": "bun run clean && rm -rf node_modules"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
|
36
|
-
"@pithy-sh/core": "^0.
|
|
36
|
+
"@pithy-sh/core": "^0.14.0",
|
|
37
37
|
"vite": "^6.1.0 || ^7.0.0 || ^8.0.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"@pithy-sh/auth": "workspace:*",
|
|
41
|
+
"@pithy-sh/consent": "workspace:*",
|
|
41
42
|
"@pithy-sh/core": "workspace:*",
|
|
42
43
|
"@pithy-sh/i18n": "workspace:*",
|
|
43
44
|
"@pithy-sh/payments": "workspace:*",
|
|
@@ -56,6 +56,7 @@ export interface DeclaredModule {
|
|
|
56
56
|
*/
|
|
57
57
|
export const DECLARED_MODULES: readonly DeclaredModule[] = [
|
|
58
58
|
{ module: "auth", specifier: "@pithy-sh/auth/src/client/projection", type: "AuthClientProjection" },
|
|
59
|
+
{ module: "consent", specifier: "@pithy-sh/consent/src/client/projection", type: "ConsentClientProjection" },
|
|
59
60
|
{ module: "i18n", specifier: "@pithy-sh/i18n/src/client/projection", type: "I18nClientProjection" },
|
|
60
61
|
{ module: "payments", specifier: "@pithy-sh/payments/src/client/projection", type: "PaymentsClientProjection" },
|
|
61
62
|
{ module: "support", specifier: "@pithy-sh/support/src/client/projection", type: "SupportClientProjection" },
|
|
@@ -85,11 +86,11 @@ const PREAMBLE = `/// <reference types="vite/client" />
|
|
|
85
86
|
// Vite plugin serves, built from the Worker's own pithy.config.ts.
|
|
86
87
|
//
|
|
87
88
|
// **Generated, and copied here as it was emitted (#398).** Each declaration below is a capability's
|
|
88
|
-
// declared client projection — \`src/client/projection.ts\` in @pithy-sh/auth, @pithy-sh/
|
|
89
|
-
// @pithy-sh/support and @pithy-sh/turnstile — written out by
|
|
90
|
-
// \`src/clientEnvDeclaration.ts\` at kit build time. In the kit that is one
|
|
91
|
-
// nothing to keep in step: a field a projection stops emitting is a
|
|
92
|
-
// projected, and this file moves in the same commit.
|
|
89
|
+
// declared client projection — \`src/client/projection.ts\` in @pithy-sh/auth, @pithy-sh/consent,
|
|
90
|
+
// @pithy-sh/i18n, @pithy-sh/payments, @pithy-sh/support and @pithy-sh/turnstile — written out by
|
|
91
|
+
// @pithy-sh/vite's \`src/clientEnvDeclaration.ts\` at kit build time. In the kit that is one
|
|
92
|
+
// statement of each shape and nothing to keep in step: a field a projection stops emitting is a
|
|
93
|
+
// compile error where it is projected, and this file moves in the same commit.
|
|
93
94
|
//
|
|
94
95
|
// In your repository it is yours, like every other seeded file. Editing it changes what your compiler
|
|
95
96
|
// believes and nothing about what the plugin serves.
|