@getcronit/pylon 3.0.0-canary-20250303143548.bb9615641321063a172cd6af0a5cd52e2a2bc0a1 → 3.0.0-canary-20250312165655.826d17474bf64dfdbd9e31dd76e4f3898d48a6d1
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/dist/index.d.ts +1 -1
- package/dist/index.js +3 -780
- package/dist/index.js.map +4 -4
- package/dist/pages/index.d.ts +1 -3
- package/dist/pages/index.js +1 -62
- package/dist/pages/index.js.map +3 -3
- package/package.json +7 -32
- package/dist/pages/image.d.ts +0 -10
- package/dist/plugins/use-pages/build/app-utils.d.ts +0 -7
- package/dist/plugins/use-pages/build/index.d.ts +0 -2
- package/dist/plugins/use-pages/build/plugins/image-plugin.d.ts +0 -2
- package/dist/plugins/use-pages/build/plugins/inject-app-hydration.d.ts +0 -2
- package/dist/plugins/use-pages/build/plugins/postcss-plugin.d.ts +0 -2
- package/dist/plugins/use-pages/index.d.ts +0 -4
- package/dist/plugins/use-pages/setup/app-loader.d.ts +0 -14
- package/dist/plugins/use-pages/setup/index.d.ts +0 -10
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@getcronit/pylon",
|
|
3
|
-
"version": "3.0.0-canary-
|
|
3
|
+
"version": "3.0.0-canary-20250312165655.826d17474bf64dfdbd9e31dd76e4f3898d48a6d1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -13,6 +13,9 @@
|
|
|
13
13
|
"import": "./dist/pages/index.js",
|
|
14
14
|
"types": "./dist/pages/index.d.ts"
|
|
15
15
|
},
|
|
16
|
+
"./pages/index.css": {
|
|
17
|
+
"import": "./dist/pages/index.css"
|
|
18
|
+
},
|
|
16
19
|
"./tsconfig.pylon.json": "./tsconfig.pylon.json"
|
|
17
20
|
},
|
|
18
21
|
"files": [
|
|
@@ -34,7 +37,6 @@
|
|
|
34
37
|
"@hono/sentry": "^1.2.0",
|
|
35
38
|
"@sentry/bun": "^8.17.0",
|
|
36
39
|
"@sentry/node": "^8.54.0",
|
|
37
|
-
"chokidar": "^4.0.3",
|
|
38
40
|
"consola": "^3.2.3",
|
|
39
41
|
"gqty": "3.4.0-canary-20250207102900.644ad9fdeafa6318516627577b1d4d754d5c5a98",
|
|
40
42
|
"graphql": "^16.9.0",
|
|
@@ -43,46 +45,19 @@
|
|
|
43
45
|
"hono": "^4.0.8",
|
|
44
46
|
"jsonwebtoken": "^9.0.2",
|
|
45
47
|
"openid-client": "^6.1.7",
|
|
46
|
-
"postcss-load-config": "^6.0.1",
|
|
47
|
-
"react-router": "^7.1.5",
|
|
48
48
|
"sharp": "^0.33.5",
|
|
49
|
-
"tiny-glob": "^0.2.9",
|
|
50
49
|
"toucan-js": "^4.1.0",
|
|
50
|
+
"@getcronit/pylon-pages": "1.0.1-canary-20250312165655.826d17474bf64dfdbd9e31dd76e4f3898d48a6d1",
|
|
51
51
|
"@getcronit/pylon-telemetry": "^1.0.3"
|
|
52
52
|
},
|
|
53
53
|
"engines": {
|
|
54
54
|
"node": ">=18.0.0"
|
|
55
55
|
},
|
|
56
56
|
"devDependencies": {
|
|
57
|
-
"@sentry/types": "^8.54.0"
|
|
58
|
-
"@types/react": "^19.0.8",
|
|
59
|
-
"@types/react-dom": "^19.0.4"
|
|
60
|
-
},
|
|
61
|
-
"peerDependencies": {
|
|
62
|
-
"@tailwindcss/postcss": "^4.0.4",
|
|
63
|
-
"autoprefixer": "^10.4.20",
|
|
64
|
-
"postcss": "^8.5.1",
|
|
65
|
-
"react": "^19.0.0",
|
|
66
|
-
"react-dom": "^19.0.0"
|
|
67
|
-
},
|
|
68
|
-
"peerDependenciesMeta": {
|
|
69
|
-
"react": {
|
|
70
|
-
"optional": true
|
|
71
|
-
},
|
|
72
|
-
"react-dom": {
|
|
73
|
-
"optional": true
|
|
74
|
-
},
|
|
75
|
-
"@tailwindcss/postcss": {
|
|
76
|
-
"optional": true
|
|
77
|
-
},
|
|
78
|
-
"autoprefixer": {
|
|
79
|
-
"optional": true
|
|
80
|
-
}
|
|
57
|
+
"@sentry/types": "^8.54.0"
|
|
81
58
|
},
|
|
82
59
|
"scripts": {
|
|
83
|
-
"build": "rimraf ./dist &&
|
|
84
|
-
"build:server": "esbuild ./src/index.ts --bundle --platform=node --target=node18 --format=esm --outdir=./dist --sourcemap=linked --packages=external && pnpm run build:declarations",
|
|
85
|
-
"build:pages": "esbuild ./src/pages/index.ts --bundle --packages=external --platform=browser --target=esnext --format=esm --outdir=./dist/pages --sourcemap=linked",
|
|
60
|
+
"build": "rimraf ./dist && node build.js && pnpm run build:declarations",
|
|
86
61
|
"build:declarations": "tsc --declaration --emitDeclarationOnly --outDir ./dist"
|
|
87
62
|
}
|
|
88
63
|
}
|
package/dist/pages/image.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PageProps } from '..';
|
|
3
|
-
export declare const AppLoader: (props: {
|
|
4
|
-
client: any;
|
|
5
|
-
pylonData: {
|
|
6
|
-
pageProps: Omit<PageProps, "data">;
|
|
7
|
-
cacheSnapshot?: any;
|
|
8
|
-
};
|
|
9
|
-
App: React.FC<{
|
|
10
|
-
pageProps: PageProps;
|
|
11
|
-
}>;
|
|
12
|
-
Router: React.FC<any>;
|
|
13
|
-
routerProps: any;
|
|
14
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { type Plugin } from '../../../index';
|
|
2
|
-
export interface PageData {
|
|
3
|
-
}
|
|
4
|
-
export type PageProps = {
|
|
5
|
-
data: PageData;
|
|
6
|
-
params: Record<string, string>;
|
|
7
|
-
searchParams: Record<string, string>;
|
|
8
|
-
path: string;
|
|
9
|
-
};
|
|
10
|
-
export declare const setup: Plugin['setup'];
|