@base-web-kits/base-tools-web 0.8.10 → 0.8.11

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/index.cjs ADDED
@@ -0,0 +1,2 @@
1
+ // CJS entry point for TypeScript 4.x compatibility
2
+ module.exports = require('./dist/index.cjs');
package/index.d.ts ADDED
@@ -0,0 +1,2 @@
1
+ // Types re-export for editor support
2
+ export * from './dist/index.js';
package/index.js ADDED
@@ -0,0 +1,2 @@
1
+ // Thin wrapper: re-export web subpath to improve auto-imports in legacy JS projects
2
+ export * from './dist/index.js';
package/package.json CHANGED
@@ -1,61 +1,55 @@
1
- {
2
- "name": "@base-web-kits/base-tools-web",
3
- "version": "0.8.10",
4
- "sideEffects": false,
5
- "description": "Independent Web utilities package built from src/web.",
6
- "keywords": [
7
- "base-tools",
8
- "web",
9
- "utilities",
10
- "thin-wrapper"
11
- ],
12
- "license": "MIT",
13
- "main": "./dist/index.cjs",
14
- "module": "./dist/index.js",
15
- "types": "./dist/index.d.ts",
16
- "exports": {
17
- ".": {
18
- "types": "./dist/index.d.ts",
19
- "import": "./dist/index.js",
20
- "require": "./dist/index.cjs",
21
- "default": "./dist/index.js"
22
- },
23
- "./index": {
24
- "types": "./dist/index.d.ts",
25
- "import": "./dist/index.js",
26
- "require": "./dist/index.cjs",
27
- "default": "./dist/index.js"
28
- },
29
- "./index.js": {
30
- "types": "./dist/index.d.ts",
31
- "import": "./dist/index.js",
32
- "require": "./dist/index.cjs",
33
- "default": "./dist/index.js"
34
- },
35
- "./dist/*": {
36
- "types": "./dist/*.d.ts",
37
- "import": "./dist/*.js",
38
- "require": "./dist/*.cjs",
39
- "default": "./dist/*.js"
40
- },
41
- "./package.json": "./package.json"
42
- },
43
- "typesVersions": {
44
- "*": {
45
- "*": [
46
- "./dist/*"
47
- ],
48
- "index": [
49
- "./dist/index.d.ts"
50
- ]
51
- }
52
- },
53
- "files": [
54
- "dist",
55
- "README.md"
56
- ],
57
- "dependencies": {},
58
- "publishConfig": {
59
- "registry": "https://registry.npmjs.org"
60
- }
61
- }
1
+ {
2
+ "name": "@base-web-kits/base-tools-web",
3
+ "version": "0.8.11",
4
+ "sideEffects": false,
5
+ "description": "Independent Web utilities package built from src/web.",
6
+ "keywords": [
7
+ "base-tools",
8
+ "web",
9
+ "utilities",
10
+ "thin-wrapper"
11
+ ],
12
+ "license": "MIT",
13
+ "main": "./index.cjs",
14
+ "module": "./index.js",
15
+ "types": "./index.d.ts",
16
+ "exports": {
17
+ ".": {
18
+ "types": "./index.d.ts",
19
+ "import": "./index.js",
20
+ "require": "./index.cjs",
21
+ "default": "./index.js"
22
+ },
23
+ "./index": {
24
+ "types": "./index.d.ts",
25
+ "import": "./index.js",
26
+ "require": "./index.cjs",
27
+ "default": "./index.js"
28
+ },
29
+ "./index.js": {
30
+ "types": "./index.d.ts",
31
+ "import": "./index.js",
32
+ "require": "./index.cjs",
33
+ "default": "./index.js"
34
+ },
35
+ "./package.json": "./package.json"
36
+ },
37
+ "typesVersions": {
38
+ "*": {
39
+ "index": [
40
+ "./index.d.ts"
41
+ ]
42
+ }
43
+ },
44
+ "files": [
45
+ "dist",
46
+ "README.md",
47
+ "index.d.ts",
48
+ "index.js",
49
+ "index.cjs"
50
+ ],
51
+ "dependencies": {},
52
+ "publishConfig": {
53
+ "registry": "https://registry.npmjs.org"
54
+ }
55
+ }