vasille-web 4.0.0 → 4.1.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.
package/README.md CHANGED
@@ -97,10 +97,20 @@ All of these are supported:
97
97
  * [x] `100%` Test Coverage fot babel plugin.
98
98
  * [x] Add CSS support (define styles in components).
99
99
  * [x] Add router.
100
- * [ ] Add SSG (static site generation).
100
+ * [x] Add SSG (static site generation).
101
101
  * [ ] Add SSR (server side rendering).
102
102
  * [ ] Develop tools extension for debugging.
103
103
 
104
+ ## Change log
105
+
106
+ ### 4.0.0
107
+
108
+ Initial version of the framework with file based routing and building scripts (`vasille-web dev` and `vasille-web build spa`).
109
+
110
+ ## 4.1.0
111
+
112
+ Added SSG (static site generation) as build option `vasille-web build static`.
113
+
104
114
  ## Questions
105
115
 
106
116
  If you have questions, feel free to contact the maintainer of the project:
package/lib/index.js CHANGED
@@ -3,9 +3,10 @@ import { Runner } from "vasille/web-runner";
3
3
  import { mount as coreMount } from "vasille-jsx";
4
4
  import { styleSheet as coreStyleSheet } from "vasille-css";
5
5
  import { routeApp as coreRouteApp } from "vasille-router/web-router";
6
- export { view, view as component, view as compose, forward, backward, ensure, ref, expr, expr as bind, expr as calculate, expr as watch, set, Debug, Delay, For, Slot, Watch, awaited, store, model, setModel, mapModel, arrayModel, Switch, setErrorHandler, } from "vasille-jsx";
6
+ export { view, view as component, view as compose, forward, backward, ensure, ref, expr, expr as bind, expr as calculate, expr as watch, set, Debug, Delay, For, Slot, Watch, awaited, store, model, setModel, mapModel, arrayModel, Switch, setErrorHandler, match, } from "vasille-jsx";
7
7
  export { screen, screen as page, } from "vasille-router";
8
8
  export { Router, routeApp } from "vasille-router/web-router";
9
+ export { setMobileMaxWidth, setTabletMaxWidth, setLaptopMaxWidth } from "vasille-css";
9
10
  export const styleSheet = coreStyleSheet;
10
11
  function createPortal(node) {
11
12
  const portal = new Portal({ node: document.body }, node.runner);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vasille-web",
3
- "version": "4.0.0",
4
- "description": "The framework designed to build bulletproof frontends.",
3
+ "version": "4.1.0",
4
+ "description": "The same framework which is designed to build bulletproof frontends.",
5
5
  "main": "index.js",
6
6
  "types": "./index.d.ts",
7
7
  "bin": {
@@ -47,9 +47,9 @@
47
47
  "homepage": "https://github.com/vasille-js/vasille-js#readme",
48
48
  "dependencies": {
49
49
  "csstype": "^3.1.3",
50
- "vasille": "^4.0.0",
51
- "vasille-css": "^4.0.0",
52
- "vasille-jsx": "^4.0.1",
50
+ "vasille": "^4.1.0",
51
+ "vasille-css": "^4.1.0",
52
+ "vasille-jsx": "^4.1.0",
53
53
  "vasille-router": "^4.0.0"
54
54
  },
55
55
  "devDependencies": {
package/types/index.d.ts CHANGED
@@ -2,10 +2,10 @@ import { Fragment } from "vasille";
2
2
  import { StyleProps } from "../spec/css.js";
3
3
  import { TagOptions } from "vasille/web-runner";
4
4
  import { WebRouterInitialization } from "vasille-router/web-router";
5
- export { view, view as component, view as compose, forward, backward, ensure, ref, expr, expr as bind, expr as calculate, expr as watch, set, Debug, Delay, For, Slot, Watch, awaited, store, model, setModel, mapModel, arrayModel, Switch, setErrorHandler, } from "vasille-jsx";
5
+ export { view, view as component, view as compose, forward, backward, ensure, ref, expr, expr as bind, expr as calculate, expr as watch, set, Debug, Delay, For, Slot, Watch, awaited, store, model, setModel, mapModel, arrayModel, Switch, setErrorHandler, match, } from "vasille-jsx";
6
6
  export { type QueryParams, type ScreenProps, type RouteParameters, screen, screen as page, type FallbackScreenProps, type ErrorScreenProps, } from "vasille-router";
7
7
  export { Router, type WebRouterInitialization, type NavigationMode, routeApp } from "vasille-router/web-router";
8
- export type { setMobileMaxWidth, setTabletMaxWidth, setLaptopMaxWidth } from "vasille-css";
8
+ export { setMobileMaxWidth, setTabletMaxWidth, setLaptopMaxWidth } from "vasille-css";
9
9
  export declare const styleSheet: <T extends {
10
10
  [className: string]: {
11
11
  [media: `@${string}`]: {