@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.
Files changed (68) hide show
  1. package/CHANGELOG.md +18 -0
  2. package/dist/cli/run-cli.js +1 -1
  3. package/dist/cli/run-cli.js.map +1 -1
  4. package/dist/constants.d.ts +2 -2
  5. package/dist/constants.d.ts.map +1 -1
  6. package/dist/constants.js +2 -2
  7. package/dist/constants.js.map +1 -1
  8. package/dist/core/build.js +1 -1
  9. package/dist/core/build.js.map +1 -1
  10. package/dist/core/discovery/shared.d.ts +1 -1
  11. package/dist/core/discovery/shared.d.ts.map +1 -1
  12. package/dist/core/discovery/shared.js +1 -1
  13. package/dist/core/discovery/shared.js.map +1 -1
  14. package/dist/core/shared.js +1 -1
  15. package/dist/core/shared.js.map +1 -1
  16. package/dist/core/watch.js +1 -1
  17. package/dist/core/watch.js.map +1 -1
  18. package/dist/logging.js +1 -1
  19. package/dist/logging.js.map +1 -1
  20. package/dist/plugins/scss-imports.d.ts.map +1 -1
  21. package/dist/plugins/scss-imports.js +59 -5
  22. package/dist/plugins/scss-imports.js.map +1 -1
  23. package/dist/plugins/scss.js +1 -1
  24. package/dist/plugins/scss.js.map +1 -1
  25. package/dist/plugins/source-annotations.js +1 -1
  26. package/dist/plugins/source-annotations.js.map +1 -1
  27. package/dist/plugins/virtual-entries.d.ts +1 -1
  28. package/dist/plugins/virtual-entries.d.ts.map +1 -1
  29. package/dist/plugins/virtual-entries.js +3 -3
  30. package/dist/plugins/virtual-entries.js.map +1 -1
  31. package/dist/src/cli/run-cli.js +1 -1
  32. package/dist/src/cli/run-cli.js.map +1 -1
  33. package/dist/src/constants.d.ts +2 -2
  34. package/dist/src/constants.d.ts.map +1 -1
  35. package/dist/src/constants.js +2 -2
  36. package/dist/src/constants.js.map +1 -1
  37. package/dist/src/core/build.js +1 -1
  38. package/dist/src/core/build.js.map +1 -1
  39. package/dist/src/core/discovery/shared.d.ts +1 -1
  40. package/dist/src/core/discovery/shared.d.ts.map +1 -1
  41. package/dist/src/core/discovery/shared.js +1 -1
  42. package/dist/src/core/discovery/shared.js.map +1 -1
  43. package/dist/src/core/shared.js +1 -1
  44. package/dist/src/core/shared.js.map +1 -1
  45. package/dist/src/core/watch.js +1 -1
  46. package/dist/src/core/watch.js.map +1 -1
  47. package/dist/src/logging.js +1 -1
  48. package/dist/src/logging.js.map +1 -1
  49. package/dist/src/plugins/scss-imports.d.ts.map +1 -1
  50. package/dist/src/plugins/scss-imports.js +59 -5
  51. package/dist/src/plugins/scss-imports.js.map +1 -1
  52. package/dist/src/plugins/scss.js +1 -1
  53. package/dist/src/plugins/scss.js.map +1 -1
  54. package/dist/src/plugins/source-annotations.js +1 -1
  55. package/dist/src/plugins/source-annotations.js.map +1 -1
  56. package/dist/src/plugins/virtual-entries.d.ts +1 -1
  57. package/dist/src/plugins/virtual-entries.d.ts.map +1 -1
  58. package/dist/src/plugins/virtual-entries.js +3 -3
  59. package/dist/src/plugins/virtual-entries.js.map +1 -1
  60. package/dist/src/types/logging.d.ts +1 -1
  61. package/dist/src/types/logging.d.ts.map +1 -1
  62. package/dist/src/types/runtime.d.ts +1 -1
  63. package/dist/src/types/runtime.d.ts.map +1 -1
  64. package/dist/types/logging.d.ts +1 -1
  65. package/dist/types/logging.d.ts.map +1 -1
  66. package/dist/types/runtime.d.ts +1 -1
  67. package/dist/types/runtime.d.ts.map +1 -1
  68. package/package.json +34 -111
package/package.json CHANGED
@@ -1,27 +1,20 @@
1
1
  {
2
- "bin": {
3
- "trebired-bundler": "./dist/cli.js"
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
- "devDependencies": {
16
- "@trebired/code-discipline": "^3.1.1",
17
- "@types/bun": "^1.3.4",
18
- "@types/node": "^24.10.1",
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
- "homepage": "https://github.com/Trebired/bundler#readme",
38
- "imports": {
39
- "#06pzcq19xy5h": "./test/specs/discovery-watch.spec.ts",
40
- "#0c1loaldfmda": "./test/specs/helpers.ts",
41
- "#0e84q8f4ubat": "./src/constants.ts",
42
- "#17f3fba84f54": "./src/core/asset-manifest.ts",
43
- "#18o0cf9c108j": "./src/plugins/virtual-entries.ts",
44
- "#2fp58v7071qe": "./src/cli/run-cli.ts",
45
- "#2hmco05zhfpg": "./src/core/import_graph/parse.ts",
46
- "#2uykeoj5sj91": "./test/specs/asset-manifest.spec.ts",
47
- "#3c8d8166992a": "./src/types.ts",
48
- "#3vcuvpnm2226": "./test/specs/aggregate.spec.ts",
49
- "#47cd321d28f1": "./src/core/shared.ts",
50
- "#577a7bee60a4": "./src/core/esbuild-options.ts",
51
- "#5cf84759faf3": "./src/core/discovery-watch.ts",
52
- "#5kd9snhn6zft": "./src/core/discovery.ts",
53
- "#5zpn5tshpwdi": "./src/backend/utils/object.ts",
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
- "scripts": {
135
- "build": "rm -rf dist && tsc -p tsconfig.build.json && node ./scripts/prepare-dist.mjs",
136
- "demo": "bun run examples/dummy.ts",
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
- "type": "module",
142
- "types": "./dist/index.d.ts",
143
- "version": "3.4.0"
64
+ "publishConfig": {
65
+ "access": "public"
66
+ }
144
67
  }