flet-box 1.0.1 → 1.0.2

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.
@@ -1422,7 +1422,7 @@ enable: get an approved domain at https://www.google.com/adsense, put your
1422
1422
  publisher ID in the script, and delete the surrounding \`<!--\` / \`-->\` so the
1423
1423
  tag goes live. Ads only render on an approved domain, not on localhost. You can
1424
1424
  also drop the \`AdSense\` widget into any screen (see
1425
- \`node_modules/flet-box/docs/widget/AdSense.md\`).
1425
+ https://github.com/kuko53348/flet-box/blob/refactory/docs/widget/AdSense.md).
1426
1426
 
1427
1427
  ### AdMob (Android / iOS)
1428
1428
 
@@ -1457,7 +1457,8 @@ also drop the \`AdSense\` widget into any screen (see
1457
1457
 
1458
1458
  4. Uncomment the \`AdMob\` import and the \`AdMob({...})\` widget in
1459
1459
  \`src/screens/HomeScreen.js\` (they are marked with ADMOB comments). Full
1460
- props in \`node_modules/flet-box/docs/widget/AdMob.md\`.
1460
+ props in
1461
+ https://github.com/kuko53348/flet-box/blob/refactory/docs/widget/AdMob.md.
1461
1462
 
1462
1463
  ## Over-the-air updates (OTA)
1463
1464
 
package/package.json CHANGED
@@ -1,18 +1,25 @@
1
1
  {
2
2
  "name": "flet-box",
3
- "version": "1.0.1",
4
- "description": "Ultra-lightweight UI framework for vanilla JS web apps",
3
+ "version": "1.0.2",
4
+ "description": "Declarative, zero-dependency UI framework in vanilla JS — ship web, PWA, Android and iOS from one codebase",
5
5
  "type": "module",
6
6
  "main": "src/index.js",
7
7
  "types": "src/index.d.ts",
8
+ "exports": {
9
+ ".": {
10
+ "types": "./src/index.d.ts",
11
+ "default": "./src/index.js"
12
+ },
13
+ "./package.json": "./package.json"
14
+ },
8
15
  "bin": {
9
16
  "flet-box": "bin/cli.js"
10
17
  },
11
18
  "scripts": {
12
19
  "dev": "node bin/cli.js run --hot",
13
20
  "build": "node bin/cli.js createBundle",
14
- "test": "node scripts/check-widgets.mjs",
15
- "prepublishOnly": "npm run build"
21
+ "release": "node bin/cli.js release",
22
+ "test": "node scripts/check-widgets.mjs"
16
23
  },
17
24
  "keywords": [
18
25
  "fletbox",
@@ -48,9 +55,6 @@
48
55
  "LICENSE"
49
56
  ],
50
57
  "engines": {
51
- "node": ">=18.0.0"
52
- },
53
- "allowScripts": {
54
- "esbuild@0.28.2": true
58
+ "node": ">=20.9.0"
55
59
  }
56
60
  }
package/bin/package.json DELETED
@@ -1,45 +0,0 @@
1
- {
2
- "name": "flet-box",
3
- "version": "1.0.0",
4
- "description": "Ultra-lightweight UI framework for vanilla JS web apps",
5
- "type": "module",
6
- "main": "src/index.js",
7
- "types": "src/index.d.ts",
8
- "bin": {
9
- "flet-box": "./bin/cli.js"
10
- },
11
- "scripts": {
12
- "dev": "node bin/cli.js run --hot",
13
- "build": "node bin/cli.js createBundle",
14
- "test": "echo \"No tests yet\"",
15
- "prepublishOnly": "npm run build"
16
- },
17
- "keywords": [
18
- "fletbox",
19
- "flet-box",
20
- "framework",
21
- "ui",
22
- "flutter-like",
23
- "vanilla-js",
24
- "lightweight",
25
- "pwa",
26
- "no-dependencies",
27
- "zero-deps"
28
- ],
29
- "author": "Flet-Box Team",
30
- "license": "MIT",
31
- "devDependencies": {
32
- "chokidar": "^4.0.3",
33
- "esbuild": "^0.28.0",
34
- "ws": "^8.21.0"
35
- },
36
- "files": [
37
- "bin/",
38
- "src/",
39
- "README.md",
40
- "LICENSE"
41
- ],
42
- "engines": {
43
- "node": ">=18.0.0"
44
- }
45
- }