gyosjs 0.3.2 → 0.4.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/package.json CHANGED
@@ -1,22 +1,22 @@
1
- {
2
- "name": "gyosjs",
3
- "version": "0.3.2",
4
- "type": "module",
5
- "description": "Reactive HTML for server-rendered websites, with signals, template directives, and MPA boost navigation",
6
- "engines": {
7
- "node": ">=18.19.0"
8
- },
9
- "main": "./dist/gyos.esm.js",
10
- "module": "./dist/gyos.esm.js",
11
- "unpkg": "./dist/gyos.auto.min.js",
12
- "jsdelivr": "./dist/gyos.auto.min.js",
13
- "types": "./dist/index.d.ts",
14
- "exports": {
15
- ".": {
16
- "types": "./dist/index.d.ts",
17
- "import": "./dist/gyos.esm.js",
18
- "default": "./dist/gyos.esm.js"
19
- },
1
+ {
2
+ "name": "gyosjs",
3
+ "version": "0.4.0",
4
+ "type": "module",
5
+ "description": "Reactive HTML for server-rendered websites, with signals, template directives, and MPA boost navigation",
6
+ "engines": {
7
+ "node": ">=18.19.0"
8
+ },
9
+ "main": "./dist/gyos.esm.js",
10
+ "module": "./dist/gyos.esm.js",
11
+ "unpkg": "./dist/gyos.auto.min.js",
12
+ "jsdelivr": "./dist/gyos.auto.min.js",
13
+ "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "types": "./dist/index.d.ts",
17
+ "import": "./dist/gyos.esm.js",
18
+ "default": "./dist/gyos.esm.js"
19
+ },
20
20
  "./auto": {
21
21
  "types": "./dist/index.d.ts",
22
22
  "import": "./dist/gyos.auto.esm.js",
@@ -34,11 +34,11 @@
34
34
  },
35
35
  "./styles.css": "./dist/gyos.css",
36
36
  "./package.json": "./package.json"
37
- },
38
- "files": [
39
- "dist"
40
- ],
41
- "sideEffects": [
37
+ },
38
+ "files": [
39
+ "dist"
40
+ ],
41
+ "sideEffects": [
42
42
  "./dist/gyos.auto.js",
43
43
  "./dist/gyos.auto.min.js",
44
44
  "./dist/gyos.auto.esm.js",
@@ -46,71 +46,71 @@
46
46
  "./dist/gyos.csp.auto.min.js",
47
47
  "./dist/gyos.csp.auto.esm.js",
48
48
  "./dist/gyos.css"
49
- ],
50
- "overrides": {
51
- "form-data": "4.0.6",
52
- "postcss": "8.5.25",
53
- "ws": "8.21.2"
54
- },
55
- "scripts": {
56
- "dev": "vite",
57
- "dev:e2e": "vite --host 127.0.0.1 --port 4173",
58
- "build": "rollup -c",
59
- "build:watch": "rollup -c -w",
60
- "test": "vitest run",
61
- "test:unit": "vitest run",
62
- "test:watch": "vitest",
63
- "test:e2e": "playwright test --project=chromium",
64
- "test:e2e:all": "playwright test",
65
- "test:e2e:headed": "playwright test --headed",
66
- "test:ui": "vitest --ui",
67
- "docs:check": "node scripts/check-doc-markdown.mjs",
68
- "docs:mirror:check": "node scripts/check-doc-mirror.mjs",
69
- "live:check": "node scripts/check-live.mjs",
70
- "version:check": "node scripts/verify-release-version.mjs",
71
- "preview": "vite preview",
72
- "typecheck": "tsc --noEmit",
49
+ ],
50
+ "overrides": {
51
+ "form-data": "4.0.6",
52
+ "postcss": "8.5.25",
53
+ "ws": "8.21.2"
54
+ },
55
+ "scripts": {
56
+ "dev": "vite",
57
+ "dev:e2e": "vite --host 127.0.0.1 --port 4173",
58
+ "build": "rollup -c",
59
+ "build:watch": "rollup -c -w",
60
+ "test": "vitest run",
61
+ "test:unit": "vitest run",
62
+ "test:watch": "vitest",
63
+ "test:e2e": "playwright test --project=chromium",
64
+ "test:e2e:all": "playwright test",
65
+ "test:e2e:headed": "playwright test --headed",
66
+ "test:ui": "vitest --ui",
67
+ "docs:check": "node scripts/check-doc-markdown.mjs",
68
+ "docs:mirror:check": "node scripts/check-doc-mirror.mjs",
69
+ "live:check": "node scripts/check-live.mjs",
70
+ "version:check": "node scripts/verify-release-version.mjs",
71
+ "preview": "vite preview",
72
+ "typecheck": "tsc --noEmit",
73
73
  "pack:check": "node scripts/verify-package.mjs",
74
74
  "csp:check": "node scripts/verify-csp-build.mjs",
75
75
  "check": "npm run docs:check && npm run typecheck && npm run test:unit && npm run pack:check && npm run csp:check",
76
- "release:check": "npm run check && npm run version:check && npm run test:e2e:all",
77
- "export:public": "node scripts/export-public-source.mjs",
78
- "sync:public": "node scripts/export-public-source.mjs --sync",
79
- "sync:public:check": "node scripts/export-public-source.mjs --sync --dry-run",
80
- "prepack": "npm run build"
81
- },
82
- "keywords": [
83
- "reactive-html",
84
- "signals",
85
- "mpa",
86
- "progressive-enhancement",
87
- "server-rendered",
88
- "alpinejs",
89
- "html-first",
90
- "router",
91
- "hydration"
92
- ],
93
- "author": "Ho Hoang Phu",
94
- "repository": {
95
- "type": "git",
96
- "url": "git+https://github.com/gyosjs/gyosjs.git"
97
- },
98
- "homepage": "https://github.com/gyosjs/gyosjs#readme",
99
- "bugs": {
100
- "url": "https://github.com/gyosjs/gyosjs/issues"
101
- },
102
- "license": "MIT",
103
- "devDependencies": {
104
- "@playwright/test": "1.55.1",
105
- "@rollup/plugin-node-resolve": "^15.2.3",
106
- "@rollup/plugin-typescript": "^11.1.6",
107
- "acorn": "^8.18.0",
108
- "jsdom": "^24.0.0",
109
- "rollup": "^4.62.4",
110
- "terser": "^5.49.0",
111
- "tslib": "^2.8.1",
112
- "typescript": "^5.3.3",
113
- "vite": "^6.4.3",
114
- "vitest": "^3.2.4"
115
- }
116
- }
76
+ "release:check": "npm run check && npm run version:check && npm run test:e2e:all",
77
+ "export:public": "node scripts/export-public-source.mjs",
78
+ "sync:public": "node scripts/export-public-source.mjs --sync",
79
+ "sync:public:check": "node scripts/export-public-source.mjs --sync --dry-run",
80
+ "prepack": "npm run build"
81
+ },
82
+ "keywords": [
83
+ "reactive-html",
84
+ "signals",
85
+ "mpa",
86
+ "progressive-enhancement",
87
+ "server-rendered",
88
+ "alpinejs",
89
+ "html-first",
90
+ "router",
91
+ "hydration"
92
+ ],
93
+ "author": "Ho Hoang Phu",
94
+ "repository": {
95
+ "type": "git",
96
+ "url": "git+https://github.com/gyosjs/gyosjs.git"
97
+ },
98
+ "homepage": "https://github.com/gyosjs/gyosjs#readme",
99
+ "bugs": {
100
+ "url": "https://github.com/gyosjs/gyosjs/issues"
101
+ },
102
+ "license": "MIT",
103
+ "devDependencies": {
104
+ "@playwright/test": "1.55.1",
105
+ "@rollup/plugin-node-resolve": "^15.2.3",
106
+ "@rollup/plugin-typescript": "^11.1.6",
107
+ "acorn": "^8.18.0",
108
+ "jsdom": "^24.0.0",
109
+ "rollup": "^4.62.4",
110
+ "terser": "^5.49.0",
111
+ "tslib": "^2.8.1",
112
+ "typescript": "^5.3.3",
113
+ "vite": "^6.4.3",
114
+ "vitest": "^3.2.4"
115
+ }
116
+ }