@builder.io/qwik
Advanced tools
Comparing version 0.0.15 to 0.0.16-0
@@ -0,1 +1,3 @@ | ||
import type { NormalizedOutputOptions } from 'rollup'; | ||
/** | ||
@@ -142,3 +144,3 @@ * @alpha | ||
minify?: MinifyMode; | ||
symbolsPath?: string; | ||
symbolsOutput?: string | ((data: OutputEntryMap, output: NormalizedOutputOptions) => Promise<void> | void); | ||
} | ||
@@ -233,5 +235,5 @@ | ||
export declare const versions: { | ||
qwik: any; | ||
qwik: string; | ||
}; | ||
export { } |
{ | ||
"name": "@builder.io/qwik", | ||
"version": "0.0.15", | ||
"version": "0.0.16-0", | ||
"description": "An Open-Source sub-framework designed with a focus on server-side-rendering, lazy-loading, and styling/animation.", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
@@ -7,10 +7,14 @@ <br /> | ||
# `Qwik` DOM-Centric, Resumable Web-App Framework | ||
# The HTML-first framework | ||
An Open-Source framework designed for best possible [time to interactive](https://web.dev/interactive/), by focusing on [resumability](https://github.com/BuilderIO/qwik/blob/main/docs/RESUMABLE.md) of server-side-rendering of HTML, and [fine-grained lazy-loading](https://github.com/BuilderIO/qwik/blob/main/docs/LAZY_LOADING.md) of code. | ||
Qwik is designed for the fastest possible page load time, by deliving pure HTML with near 0 javascript for your pages to become interactive, regardless of how complex your site or app is. It achieves this via [resumability](https://github.com/BuilderIO/qwik/blob/main/docs/RESUMABLE.md) of HTML and [ulra fine-grained lazy-loading](https://github.com/BuilderIO/qwik/blob/main/docs/LAZY_LOADING.md) of code. | ||
## Getting Started | ||
- Visit [StackBlitz](https://stackblitz.com/edit/qwik-todo-demo) for a simple demo you can play with. | ||
- Visit [integration](./integration) folder for guided tours of Qwik to learn how it works. | ||
Try out our starter: | ||
```bash | ||
npm init qwik | ||
``` | ||
- Understand the difference between [resumable and replayable](https://github.com/BuilderIO/qwik/blob/main/docs/RESUMABLE.md) applications. | ||
@@ -17,0 +21,0 @@ - Learn about Qwik's high level [mental model](https://github.com/BuilderIO/qwik/blob/main/docs/LAZY_LOADING.md). |
@@ -1,4 +0,3 @@ | ||
/// <reference types="node" /> | ||
import { FunctionComponent } from '../core'; | ||
import type { OutputEntryMap } from '../core/optimizer'; | ||
@@ -22,4 +21,2 @@ /** | ||
export declare interface CreateRenderToStringOptions { | ||
serverDir: string; | ||
serverMainPath: string; | ||
symbolsPath: string; | ||
@@ -29,11 +26,6 @@ } | ||
/** | ||
* Utility to load the app's server's main render function. | ||
* Utility timer function for performance profiling. | ||
* Returns a duration of 0 in environments that do not support performance. | ||
* @alpha | ||
*/ | ||
export declare function createServerRenderer(opts: CreateRenderToStringOptions): Promise<RenderToString>; | ||
/** | ||
* Utility timer function for Nodejs performance profiling. | ||
* @alpha | ||
*/ | ||
export declare function createTimer(): () => number; | ||
@@ -47,3 +39,2 @@ | ||
url?: string; | ||
serverDir?: string; | ||
debug?: boolean; | ||
@@ -152,3 +143,3 @@ } | ||
*/ | ||
export declare function renderToDocument(doc: Document, rootNode: any, opts?: RenderToDocumentOptions): Promise<void>; | ||
export declare function renderToDocument(doc: Document, rootNode: any, opts: RenderToDocumentOptions): Promise<void>; | ||
@@ -166,7 +157,2 @@ /** | ||
/** | ||
* @public | ||
*/ | ||
declare type RenderToString = (opts: RenderToStringOptions) => Promise<RenderToStringResult>; | ||
/** | ||
* Creates a server-side `document`, renders to root node to the document, | ||
@@ -176,3 +162,3 @@ * then serializes the document to a string. | ||
*/ | ||
export declare function renderToString(rootNode: any, opts?: RenderToStringOptions): Promise<RenderToStringResult>; | ||
export declare function renderToString(rootNode: any, opts: RenderToStringOptions): Promise<RenderToStringResult>; | ||
@@ -211,3 +197,3 @@ /** | ||
declare interface SerializeDocumentOptions extends DocumentOptions { | ||
qrlMapper?: QrlMapper; | ||
symbols: QrlMapper | OutputEntryMap | null; | ||
} | ||
@@ -219,3 +205,3 @@ | ||
*/ | ||
export declare function setServerPlatform(document: any, opts: DocumentOptions): void; | ||
export declare function setServerPlatform(document: any, opts: DocumentOptions): Promise<void>; | ||
@@ -226,6 +212,6 @@ /** | ||
export declare const versions: { | ||
qwik: any; | ||
domino: any; | ||
qwik: string; | ||
domino: string; | ||
}; | ||
export { } |
{ | ||
"name": "@builder.io/qwik/server", | ||
"version": "0.0.15.20211213200153", | ||
"version": "0.0.16-0-dev20211223112334", | ||
"main": "index.cjs", | ||
@@ -5,0 +5,0 @@ "module": "index.mjs", |
@@ -1,4 +0,3 @@ | ||
/// <reference types="node" /> | ||
import { FunctionComponent } from '../core'; | ||
import type { OutputEntryMap } from '../core/optimizer'; | ||
@@ -22,4 +21,2 @@ /** | ||
export declare interface CreateRenderToStringOptions { | ||
serverDir: string; | ||
serverMainPath: string; | ||
symbolsPath: string; | ||
@@ -29,11 +26,6 @@ } | ||
/** | ||
* Utility to load the app's server's main render function. | ||
* Utility timer function for performance profiling. | ||
* Returns a duration of 0 in environments that do not support performance. | ||
* @alpha | ||
*/ | ||
export declare function createServerRenderer(opts: CreateRenderToStringOptions): Promise<RenderToString>; | ||
/** | ||
* Utility timer function for Nodejs performance profiling. | ||
* @alpha | ||
*/ | ||
export declare function createTimer(): () => number; | ||
@@ -47,3 +39,2 @@ | ||
url?: string; | ||
serverDir?: string; | ||
debug?: boolean; | ||
@@ -152,3 +143,3 @@ } | ||
*/ | ||
export declare function renderToDocument(doc: Document, rootNode: any, opts?: RenderToDocumentOptions): Promise<void>; | ||
export declare function renderToDocument(doc: Document, rootNode: any, opts: RenderToDocumentOptions): Promise<void>; | ||
@@ -166,7 +157,2 @@ /** | ||
/** | ||
* @public | ||
*/ | ||
declare type RenderToString = (opts: RenderToStringOptions) => Promise<RenderToStringResult>; | ||
/** | ||
* Creates a server-side `document`, renders to root node to the document, | ||
@@ -176,3 +162,3 @@ * then serializes the document to a string. | ||
*/ | ||
export declare function renderToString(rootNode: any, opts?: RenderToStringOptions): Promise<RenderToStringResult>; | ||
export declare function renderToString(rootNode: any, opts: RenderToStringOptions): Promise<RenderToStringResult>; | ||
@@ -211,3 +197,3 @@ /** | ||
declare interface SerializeDocumentOptions extends DocumentOptions { | ||
qrlMapper?: QrlMapper; | ||
symbols: QrlMapper | OutputEntryMap | null; | ||
} | ||
@@ -219,3 +205,3 @@ | ||
*/ | ||
export declare function setServerPlatform(document: any, opts: DocumentOptions): void; | ||
export declare function setServerPlatform(document: any, opts: DocumentOptions): Promise<void>; | ||
@@ -226,6 +212,6 @@ /** | ||
export declare const versions: { | ||
qwik: any; | ||
domino: any; | ||
qwik: string; | ||
domino: string; | ||
}; | ||
export { } |
{ | ||
"name": "@builder.io/qwik/testing", | ||
"version": "0.0.15.20211213200153", | ||
"version": "0.0.16-0-dev20211223112334", | ||
"main": "index.cjs", | ||
@@ -5,0 +5,0 @@ "module": "index.mjs", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Dynamic require
Supply chain riskDynamic require can indicate the package is performing dangerous or unsafe dynamic code execution.
Found 1 instance in 1 package
Minified code
QualityThis package contains minified code. This may be harmless in some cases where minified code is included in packaged libraries, however packages on npm should not minify code.
Found 1 instance in 1 package
31043
1
44
15
43069159