@getcronit/pylon 3.0.0-canary-20250303143548.bb9615641321063a172cd6af0a5cd52e2a2bc0a1 → 3.0.0-canary-20250312165208.46197dc9c25d1dd116094865809ccb1f6dbab78e

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@getcronit/pylon",
3
- "version": "3.0.0-canary-20250303143548.bb9615641321063a172cd6af0a5cd52e2a2bc0a1",
3
+ "version": "3.0.0-canary-20250312165208.46197dc9c25d1dd116094865809ccb1f6dbab78e",
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,10 +45,7 @@
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",
51
50
  "@getcronit/pylon-telemetry": "^1.0.3"
52
51
  },
@@ -54,35 +53,18 @@
54
53
  "node": ">=18.0.0"
55
54
  },
56
55
  "devDependencies": {
57
- "@sentry/types": "^8.54.0",
58
- "@types/react": "^19.0.8",
59
- "@types/react-dom": "^19.0.4"
56
+ "@sentry/types": "^8.54.0"
60
57
  },
61
58
  "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"
59
+ "@getcronit/pylon-pages": "1.0.1-canary-20250312165208.46197dc9c25d1dd116094865809ccb1f6dbab78e"
67
60
  },
68
61
  "peerDependenciesMeta": {
69
- "react": {
70
- "optional": true
71
- },
72
- "react-dom": {
73
- "optional": true
74
- },
75
- "@tailwindcss/postcss": {
76
- "optional": true
77
- },
78
- "autoprefixer": {
62
+ "@getcronit/pylon-pages": {
79
63
  "optional": true
80
64
  }
81
65
  },
82
66
  "scripts": {
83
- "build": "rimraf ./dist && pnpm run build:server && pnpm run build:pages",
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",
67
+ "build": "rimraf ./dist && node build.js && pnpm run build:declarations",
86
68
  "build:declarations": "tsc --declaration --emitDeclarationOnly --outDir ./dist"
87
69
  }
88
70
  }
@@ -1,10 +0,0 @@
1
- import React from 'react';
2
- export interface ImageProps {
3
- src: string;
4
- alt?: string;
5
- className?: string;
6
- width?: number;
7
- height?: number;
8
- blurDataURL?: string;
9
- }
10
- export declare const PylonImage: React.FC<ImageProps>;
@@ -1,7 +0,0 @@
1
- export type PageRoute = {
2
- pagePath: string;
3
- slug: string;
4
- layouts: string[];
5
- };
6
- export declare function getPageRoutes(dir?: string): Promise<PageRoute[]>;
7
- export declare const generateAppFile: (pageRoutes: PageRoute[]) => string;
@@ -1,2 +0,0 @@
1
- import { Plugin } from '../../..';
2
- export declare const build: Plugin['build'];
@@ -1,2 +0,0 @@
1
- import { Plugin } from 'esbuild';
2
- export declare const imagePlugin: Plugin;
@@ -1,2 +0,0 @@
1
- import { Plugin } from 'esbuild';
2
- export declare const injectAppHydrationPlugin: Plugin;
@@ -1,2 +0,0 @@
1
- import { Plugin } from 'esbuild';
2
- export declare const postcssPlugin: Plugin;
@@ -1,4 +0,0 @@
1
- import { Plugin } from '../..';
2
- import { PageData, PageProps } from './setup';
3
- export { PageData, PageProps };
4
- export declare function usePages(): Plugin;
@@ -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'];