@trebired/bundler 3.4.0 → 3.4.3
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/CHANGELOG.md +18 -0
- package/dist/cli/run-cli.js +1 -1
- package/dist/cli/run-cli.js.map +1 -1
- package/dist/constants.d.ts +2 -2
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +2 -2
- package/dist/constants.js.map +1 -1
- package/dist/core/build.js +1 -1
- package/dist/core/build.js.map +1 -1
- package/dist/core/discovery/shared.d.ts +1 -1
- package/dist/core/discovery/shared.d.ts.map +1 -1
- package/dist/core/discovery/shared.js +1 -1
- package/dist/core/discovery/shared.js.map +1 -1
- package/dist/core/shared.js +1 -1
- package/dist/core/shared.js.map +1 -1
- package/dist/core/watch.js +1 -1
- package/dist/core/watch.js.map +1 -1
- package/dist/logging.js +1 -1
- package/dist/logging.js.map +1 -1
- package/dist/plugins/scss-imports.d.ts.map +1 -1
- package/dist/plugins/scss-imports.js +59 -5
- package/dist/plugins/scss-imports.js.map +1 -1
- package/dist/plugins/scss.js +1 -1
- package/dist/plugins/scss.js.map +1 -1
- package/dist/plugins/source-annotations.js +1 -1
- package/dist/plugins/source-annotations.js.map +1 -1
- package/dist/plugins/virtual-entries.d.ts +1 -1
- package/dist/plugins/virtual-entries.d.ts.map +1 -1
- package/dist/plugins/virtual-entries.js +3 -3
- package/dist/plugins/virtual-entries.js.map +1 -1
- package/dist/src/cli/run-cli.js +1 -1
- package/dist/src/cli/run-cli.js.map +1 -1
- package/dist/src/constants.d.ts +2 -2
- package/dist/src/constants.d.ts.map +1 -1
- package/dist/src/constants.js +2 -2
- package/dist/src/constants.js.map +1 -1
- package/dist/src/core/build.js +1 -1
- package/dist/src/core/build.js.map +1 -1
- package/dist/src/core/discovery/shared.d.ts +1 -1
- package/dist/src/core/discovery/shared.d.ts.map +1 -1
- package/dist/src/core/discovery/shared.js +1 -1
- package/dist/src/core/discovery/shared.js.map +1 -1
- package/dist/src/core/shared.js +1 -1
- package/dist/src/core/shared.js.map +1 -1
- package/dist/src/core/watch.js +1 -1
- package/dist/src/core/watch.js.map +1 -1
- package/dist/src/logging.js +1 -1
- package/dist/src/logging.js.map +1 -1
- package/dist/src/plugins/scss-imports.d.ts.map +1 -1
- package/dist/src/plugins/scss-imports.js +59 -5
- package/dist/src/plugins/scss-imports.js.map +1 -1
- package/dist/src/plugins/scss.js +1 -1
- package/dist/src/plugins/scss.js.map +1 -1
- package/dist/src/plugins/source-annotations.js +1 -1
- package/dist/src/plugins/source-annotations.js.map +1 -1
- package/dist/src/plugins/virtual-entries.d.ts +1 -1
- package/dist/src/plugins/virtual-entries.d.ts.map +1 -1
- package/dist/src/plugins/virtual-entries.js +3 -3
- package/dist/src/plugins/virtual-entries.js.map +1 -1
- package/dist/src/types/logging.d.ts +1 -1
- package/dist/src/types/logging.d.ts.map +1 -1
- package/dist/src/types/runtime.d.ts +1 -1
- package/dist/src/types/runtime.d.ts.map +1 -1
- package/dist/types/logging.d.ts +1 -1
- package/dist/types/logging.d.ts.map +1 -1
- package/dist/types/runtime.d.ts +1 -1
- package/dist/types/runtime.d.ts.map +1 -1
- package/package.json +34 -111
package/package.json
CHANGED
|
@@ -1,27 +1,20 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
|
|
4
|
-
},
|
|
5
|
-
"bugs": {
|
|
6
|
-
"url": "https://github.com/Trebired/bundler/issues"
|
|
7
|
-
},
|
|
8
|
-
"dependencies": {
|
|
9
|
-
"@trebired/logger-adapter": "^0.2.2",
|
|
10
|
-
"@trebired/result": "^0.2.0",
|
|
11
|
-
"esbuild": "^0.28.0",
|
|
12
|
-
"sass-embedded": "^1.100.0"
|
|
13
|
-
},
|
|
2
|
+
"name": "@trebired/bundler",
|
|
3
|
+
"version": "3.4.3",
|
|
14
4
|
"description": "Discover-only esbuild bundler wrapper with SCSS support, watch mode, and runtime asset manifests.",
|
|
15
|
-
"
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
"typescript": "^6.0.2"
|
|
20
|
-
},
|
|
5
|
+
"type": "module",
|
|
6
|
+
"private": false,
|
|
7
|
+
"license": "AGPL-3.0-only",
|
|
8
|
+
"packageManager": "bun@1.3.12",
|
|
21
9
|
"engines": {
|
|
22
10
|
"bun": ">=1.0.0",
|
|
23
11
|
"node": ">=18"
|
|
24
12
|
},
|
|
13
|
+
"main": "./dist/index.js",
|
|
14
|
+
"types": "./dist/index.d.ts",
|
|
15
|
+
"bin": {
|
|
16
|
+
"trebired-bundler": "./dist/cli.js"
|
|
17
|
+
},
|
|
25
18
|
"exports": {
|
|
26
19
|
".": {
|
|
27
20
|
"import": "./dist/index.js",
|
|
@@ -34,82 +27,23 @@
|
|
|
34
27
|
"LICENSE",
|
|
35
28
|
"README.md"
|
|
36
29
|
],
|
|
37
|
-
"
|
|
38
|
-
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"#644f3e1f42a8": "./src/core/watch.ts",
|
|
55
|
-
"#68011e944d8d": "./src/core/import-graph.ts",
|
|
56
|
-
"#6wgcj9fvnm87": "./src/types/runtime.ts",
|
|
57
|
-
"#7411257gf9xf": "./src/backend/utils/time.ts",
|
|
58
|
-
"#751yrciipoz0": "./src/plugins/scss.ts",
|
|
59
|
-
"#7h0tnral48hu": "./src/core/shared.ts",
|
|
60
|
-
"#96uow2p60uw3": "./test/specs/aggregate.spec.ts",
|
|
61
|
-
"#9b50ca986572": "./src/core/build.ts",
|
|
62
|
-
"#9vdbrjjdq8x7": "./test/specs/discovery-watch.spec.ts",
|
|
63
|
-
"#a222003f1819": "./src/core/manifest.ts",
|
|
64
|
-
"#ac4df8b0b80a": "./src/cli/run-cli.ts",
|
|
65
|
-
"#aojehsmd54nq": "./src/core/manifest.ts",
|
|
66
|
-
"#arl4fcea8kjn": "./test/specs/watch.spec.ts",
|
|
67
|
-
"#axis79i54k87": "./src/core/discovery/normalize.ts",
|
|
68
|
-
"#b78ku6qgmf3o": "./src/backend/utils/normalize.ts",
|
|
69
|
-
"#bekyanw1fl4u": "./test/specs/discover.spec.ts",
|
|
70
|
-
"#bsf2dvgwb1qx": "./examples/dummy.ts",
|
|
71
|
-
"#c16c81be3058": "./src/core/discovery.ts",
|
|
72
|
-
"#c460d1e7c1c3": "./src/core/derive-manifest.ts",
|
|
73
|
-
"#cjs3kmwh1gzy": "./src/frontend/js/utils/text.ts",
|
|
74
|
-
"#dcx0jw9bw3ka": "./src/logging.ts",
|
|
75
|
-
"#df3icj7pr6k8": "./src/core/discovery_watch/runtime.ts",
|
|
76
|
-
"#dg8wh29x5weu": "./src/types/import_graph.ts",
|
|
77
|
-
"#eb7rqmr004o0": "./test/specs/import-graph.spec.ts",
|
|
78
|
-
"#f9bmvntxjm9y": "./src/core/esbuild-options.ts",
|
|
79
|
-
"#fh85ej1nxzyx": "./src/core/derive-manifest.ts",
|
|
80
|
-
"#fhq2k4sah2li": "./test/specs/bundler.spec.ts",
|
|
81
|
-
"#g4ahcnf1grw5": "./src/core/import_graph/shared.ts",
|
|
82
|
-
"#gfzv65eazagz": "./test/specs/helpers.ts",
|
|
83
|
-
"#gpv7u9smtpqh": "./src/types/logging.ts",
|
|
84
|
-
"#jb343639kom2": "./src/types.ts",
|
|
85
|
-
"#kvj92sieo97a": "./src/core/build.ts",
|
|
86
|
-
"#l7l0wczeqcwq": "./src/core/discovery/resolve.ts",
|
|
87
|
-
"#lc29x958kzin": "./src/core/discovery/emit.ts",
|
|
88
|
-
"#lxr3ttzj8fq9": "./src/cli.ts",
|
|
89
|
-
"#m35wkcxfbmmu": "./src/core/derive_manifest/runtime.ts",
|
|
90
|
-
"#n02ctrtxmyrd": "./src/core/import_graph/tsconfig.ts",
|
|
91
|
-
"#ohy99nrb7lqv": "./src/core/import_graph/resolve.ts",
|
|
92
|
-
"#pc2n5fbvybrx": "./test/specs/bundler.spec.ts",
|
|
93
|
-
"#qtumhoozbdq4": "./src/core/discovery/aggregate.ts",
|
|
94
|
-
"#sc6jk1vpnpzo": "./test/specs/cli.spec.ts",
|
|
95
|
-
"#sof0gxa0cxhk": "./src/index.ts",
|
|
96
|
-
"#sv3iqugy67ty": "./src/core/discovery-watch.ts",
|
|
97
|
-
"#t2refevky8d1": "./src/core/asset_manifest/runtime.ts",
|
|
98
|
-
"#t611lc2isw2l": "./test/specs/asset-manifest.spec.ts",
|
|
99
|
-
"#trglgs9kwl1b": "./src/core/import-graph.ts",
|
|
100
|
-
"#tsnh4vdfql8p": "./src/core/discovery/shared.ts",
|
|
101
|
-
"#uay0nmzt2ox2": "./test/specs/import-graph.spec.ts",
|
|
102
|
-
"#ulrbecj1la7z": "./src/plugins/source-annotations.ts",
|
|
103
|
-
"#uo5sa4lisay5": "./src/types/manifest.ts",
|
|
104
|
-
"#uutmr3kbt43m": "./src/types/discovery.ts",
|
|
105
|
-
"#vdgeebq510yo": "./test/specs/cli.spec.ts",
|
|
106
|
-
"#vhzzq1blfah0": "./examples/dummy.ts",
|
|
107
|
-
"#wh8pyoy2mjjn": "./src/core/asset-manifest.ts",
|
|
108
|
-
"#wvd9yyh9fpc9": "./tb.code-discipline.ts",
|
|
109
|
-
"#wxjjkq160kiw": "./src/core/watch.ts",
|
|
110
|
-
"#ymbmz1vdz4oa": "./src/core/discovery/public.ts",
|
|
111
|
-
"#z1hxysbp7ydt": "./src/config/index.ts",
|
|
112
|
-
"#ze7c8hijtyk0": "./src/core/discovery/scan.ts"
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json && node ./scripts/prepare-dist.mjs",
|
|
32
|
+
"demo": "bun run examples/dummy.ts",
|
|
33
|
+
"prepublishOnly": "bun run typecheck && bun run build",
|
|
34
|
+
"typecheck": "tsc --noEmit"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@package/logger-adapter": "npm:@trebired/logger-adapter@^0.2.3",
|
|
38
|
+
"@package/result": "npm:@trebired/result@^1.0.1",
|
|
39
|
+
"esbuild": "^0.28.0",
|
|
40
|
+
"sass-embedded": "^1.100.0"
|
|
41
|
+
},
|
|
42
|
+
"devDependencies": {
|
|
43
|
+
"@trebired/code-discipline": "^4.7.1",
|
|
44
|
+
"@types/bun": "^1.3.4",
|
|
45
|
+
"@types/node": "^24.10.1",
|
|
46
|
+
"typescript": "^6.0.2"
|
|
113
47
|
},
|
|
114
48
|
"keywords": [
|
|
115
49
|
"bundler",
|
|
@@ -119,26 +53,15 @@
|
|
|
119
53
|
"bun",
|
|
120
54
|
"node"
|
|
121
55
|
],
|
|
122
|
-
"license": "AGPL-3.0-only",
|
|
123
|
-
"main": "./dist/index.js",
|
|
124
|
-
"name": "@trebired/bundler",
|
|
125
|
-
"packageManager": "bun@1.3.12",
|
|
126
|
-
"private": false,
|
|
127
|
-
"publishConfig": {
|
|
128
|
-
"access": "public"
|
|
129
|
-
},
|
|
130
56
|
"repository": {
|
|
131
57
|
"type": "git",
|
|
132
58
|
"url": "https://github.com/Trebired/bundler"
|
|
133
59
|
},
|
|
134
|
-
"
|
|
135
|
-
|
|
136
|
-
"
|
|
137
|
-
"prepublishOnly": "bun run typecheck && bun test && bun run build",
|
|
138
|
-
"test": "bun test",
|
|
139
|
-
"typecheck": "tsc --noEmit"
|
|
60
|
+
"homepage": "https://github.com/Trebired/bundler#readme",
|
|
61
|
+
"bugs": {
|
|
62
|
+
"url": "https://github.com/Trebired/bundler/issues"
|
|
140
63
|
},
|
|
141
|
-
"
|
|
142
|
-
|
|
143
|
-
|
|
64
|
+
"publishConfig": {
|
|
65
|
+
"access": "public"
|
|
66
|
+
}
|
|
144
67
|
}
|