@visulima/packem 1.0.0-alpha.40 → 1.0.0-alpha.42

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 (30) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/cli.cjs +1 -1
  3. package/dist/cli.mjs +3 -3
  4. package/dist/config.d.cts +3 -3
  5. package/dist/config.d.mts +3 -3
  6. package/dist/config.d.ts +3 -3
  7. package/dist/create-bundler.cjs +36 -37
  8. package/dist/create-bundler.d.cts +2 -2
  9. package/dist/create-bundler.d.mts +2 -2
  10. package/dist/create-bundler.d.ts +2 -2
  11. package/dist/create-bundler.mjs +26 -27
  12. package/dist/rollup/plugins/esbuild/index.cjs +1 -1
  13. package/dist/rollup/plugins/esbuild/index.mjs +2 -2
  14. package/dist/rollup/plugins/sucrase/index.cjs +1 -1
  15. package/dist/rollup/plugins/sucrase/index.mjs +2 -2
  16. package/dist/rollup/plugins/swc/index.cjs +1 -1
  17. package/dist/rollup/plugins/swc/index.d.cts +1 -1
  18. package/dist/rollup/plugins/swc/index.d.mts +1 -1
  19. package/dist/rollup/plugins/swc/index.d.ts +1 -1
  20. package/dist/rollup/plugins/swc/index.mjs +2 -2
  21. package/dist/shared/{packem.BAcY88If.mjs → packem.0q8RrsjT.mjs} +2 -2
  22. package/dist/shared/{packem.ClcPYkxx.d.cts → packem.B7AccwPt.d.cts} +1 -1
  23. package/dist/shared/{packem.BBXO6_87.d.mts → packem.CYNT7oiH.d.mts} +1 -1
  24. package/dist/shared/packem.DUZi_m4G.cjs +1 -0
  25. package/dist/shared/{packem.DtAA_1Hu.d.ts → packem.DVd8fi9i.d.ts} +1 -1
  26. package/dist/shared/{packem.aYVbzCkK.d.cts → packem.sjPZM5Ke.d.cts} +1 -1
  27. package/dist/shared/{packem.aYVbzCkK.d.mts → packem.sjPZM5Ke.d.mts} +1 -1
  28. package/dist/shared/{packem.aYVbzCkK.d.ts → packem.sjPZM5Ke.d.ts} +1 -1
  29. package/package.json +24 -23
  30. package/dist/shared/packem.CEXB7aOL.cjs +0 -1
@@ -15,7 +15,7 @@ import { NodePolyfillsOptions } from 'rollup-plugin-polyfill-node';
15
15
  import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
16
16
  import { E as EsbuildPluginConfig, O as Options$1 } from './packem.D09xRBAa.cjs';
17
17
  import { S as SucrasePluginConfig } from './packem.DvWhOdt5.cjs';
18
- import { S as SwcPluginConfig } from './packem.aYVbzCkK.cjs';
18
+ import { S as SwcPluginConfig } from './packem.sjPZM5Ke.cjs';
19
19
 
20
20
  interface CJSInteropOptions {
21
21
  addDefaultProperty?: boolean;
@@ -15,7 +15,7 @@ import { NodePolyfillsOptions } from 'rollup-plugin-polyfill-node';
15
15
  import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
16
16
  import { E as EsbuildPluginConfig, O as Options$1 } from './packem.D09xRBAa.mjs';
17
17
  import { S as SucrasePluginConfig } from './packem.DvWhOdt5.mjs';
18
- import { S as SwcPluginConfig } from './packem.aYVbzCkK.mjs';
18
+ import { S as SwcPluginConfig } from './packem.sjPZM5Ke.mjs';
19
19
 
20
20
  interface CJSInteropOptions {
21
21
  addDefaultProperty?: boolean;
@@ -0,0 +1 @@
1
+ "use strict";var i=Object.defineProperty;var s=(r,e)=>i(r,"name",{value:e,configurable:!0});const u=require("node:fs"),l=require("@visulima/path");var a=Object.defineProperty,f=s((r,e)=>a(r,"name",{value:e,configurable:!0}),"o");const v=f((r,e,t=!1)=>{const c=e.replace(/\.[jt]sx?$/,"");for(const n of r){const o=t?l.join(e,`index${n}`):`${c}${n}`;if(u.existsSync(o))return o}return null},"resolveFile");exports.u=v;
@@ -15,7 +15,7 @@ import { NodePolyfillsOptions } from 'rollup-plugin-polyfill-node';
15
15
  import { PluginVisualizerOptions } from 'rollup-plugin-visualizer';
16
16
  import { E as EsbuildPluginConfig, O as Options$1 } from './packem.D09xRBAa.js';
17
17
  import { S as SucrasePluginConfig } from './packem.DvWhOdt5.js';
18
- import { S as SwcPluginConfig } from './packem.aYVbzCkK.js';
18
+ import { S as SwcPluginConfig } from './packem.sjPZM5Ke.js';
19
19
 
20
20
  interface CJSInteropOptions {
21
21
  addDefaultProperty?: boolean;
@@ -11,7 +11,7 @@ interface JsMinifyOptions {
11
11
  ecma?: TerserEcmaVersion;
12
12
  keep_classnames?: boolean;
13
13
  keep_fnames?: boolean;
14
- module?: boolean;
14
+ module?: boolean | "unknown";
15
15
  safari10?: boolean;
16
16
  toplevel?: boolean;
17
17
  sourceMap?: boolean;
@@ -11,7 +11,7 @@ interface JsMinifyOptions {
11
11
  ecma?: TerserEcmaVersion;
12
12
  keep_classnames?: boolean;
13
13
  keep_fnames?: boolean;
14
- module?: boolean;
14
+ module?: boolean | "unknown";
15
15
  safari10?: boolean;
16
16
  toplevel?: boolean;
17
17
  sourceMap?: boolean;
@@ -11,7 +11,7 @@ interface JsMinifyOptions {
11
11
  ecma?: TerserEcmaVersion;
12
12
  keep_classnames?: boolean;
13
13
  keep_fnames?: boolean;
14
- module?: boolean;
14
+ module?: boolean | "unknown";
15
15
  safari10?: boolean;
16
16
  toplevel?: boolean;
17
17
  sourceMap?: boolean;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/packem",
3
- "version": "1.0.0-alpha.40",
3
+ "version": "1.0.0-alpha.42",
4
4
  "description": "A fast and modern bundler for Node.js and TypeScript.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -112,24 +112,24 @@
112
112
  ],
113
113
  "dependencies": {
114
114
  "@antfu/install-pkg": "^0.3.3",
115
- "@babel/parser": "^7.24.6",
115
+ "@babel/parser": "^7.24.7",
116
116
  "@clack/prompts": "^0.7.0",
117
117
  "@rollup/plugin-alias": "^5.1.0",
118
- "@rollup/plugin-commonjs": "^25.0.8",
118
+ "@rollup/plugin-commonjs": "^26.0.1",
119
119
  "@rollup/plugin-dynamic-import-vars": "^2.1.2",
120
120
  "@rollup/plugin-inject": "^5.0.5",
121
121
  "@rollup/plugin-json": "^6.1.0",
122
122
  "@rollup/plugin-node-resolve": "^15.2.3",
123
- "@rollup/plugin-replace": "^5.0.5",
123
+ "@rollup/plugin-replace": "^5.0.7",
124
124
  "@rollup/plugin-wasm": "^6.2.2",
125
125
  "@rollup/pluginutils": "^5.1.0",
126
- "@visulima/cerebro": "^1.0.31",
127
- "@visulima/colorize": "^1.4.1",
128
- "@visulima/fs": "^2.1.2",
129
- "@visulima/humanizer": "^1.0.3",
130
- "@visulima/package": "^1.9.0",
131
- "@visulima/pail": "^1.1.11",
132
- "@visulima/path": "^1.0.1",
126
+ "@visulima/cerebro": "^1.0.39",
127
+ "@visulima/colorize": "^1.4.3",
128
+ "@visulima/fs": "^2.1.5",
129
+ "@visulima/humanizer": "^1.0.5",
130
+ "@visulima/package": "^1.10.1",
131
+ "@visulima/pail": "^1.2.2",
132
+ "@visulima/path": "^1.0.2",
133
133
  "defu": "6.1.4",
134
134
  "es-module-lexer": "^1.5.3",
135
135
  "fastest-levenshtein": "^1.0.16",
@@ -137,7 +137,7 @@
137
137
  "glob-parent": "^6.0.2",
138
138
  "hookable": "^5.5.3",
139
139
  "magic-string": "^0.30.10",
140
- "mlly": "^1.7.0",
140
+ "mlly": "^1.7.1",
141
141
  "rollup": "^4.18.0",
142
142
  "rollup-plugin-dts": "^6.1.1",
143
143
  "rollup-plugin-license": "^3.4.0",
@@ -148,13 +148,13 @@
148
148
  "devDependencies": {
149
149
  "@anolilab/eslint-config": "^15.0.3",
150
150
  "@anolilab/prettier-config": "^5.0.14",
151
- "@anolilab/semantic-release-pnpm": "^1.1.0",
152
- "@anolilab/semantic-release-preset": "^8.1.0",
153
- "@babel/core": "^7.24.6",
151
+ "@anolilab/semantic-release-pnpm": "^1.1.3",
152
+ "@anolilab/semantic-release-preset": "^9.0.0",
153
+ "@babel/core": "^7.24.7",
154
154
  "@rushstack/eslint-plugin-security": "^0.8.1",
155
155
  "@secretlint/secretlint-rule-preset-recommend": "^8.2.4",
156
- "@swc/core": "^1.5.24",
157
- "@swc/types": "0.1.7",
156
+ "@swc/core": "^1.5.29",
157
+ "@swc/types": "0.1.8",
158
158
  "@total-typescript/ts-reset": "^0.5.1",
159
159
  "@types/estree": "^1.0.5",
160
160
  "@types/glob": "^8.1.0",
@@ -166,19 +166,20 @@
166
166
  "@types/semver": "^7.5.8",
167
167
  "@vitest/coverage-v8": "^1.6.0",
168
168
  "@vitest/ui": "^1.6.0",
169
+ "conventional-changelog-conventionalcommits": "8.0.0",
169
170
  "cross-env": "^7.0.3",
170
- "esbuild": "^0.21.4",
171
- "eslint": "^9.4.0",
171
+ "esbuild": "^0.21.5",
172
+ "eslint": "^8.6.0",
172
173
  "eslint-plugin-deprecation": "^3.0.0",
173
174
  "eslint-plugin-etc": "^2.0.3",
174
175
  "eslint-plugin-import": "npm:eslint-plugin-i@^2.29.1",
175
176
  "eslint-plugin-mdx": "^3.1.5",
176
- "eslint-plugin-vitest": "^0.5.4",
177
+ "eslint-plugin-vitest": "^0.4.1",
177
178
  "eslint-plugin-vitest-globals": "^1.5.0",
178
179
  "estree-walker": "^3.0.3",
179
- "execa": "^9.1.0",
180
- "jiti": "^1.21.0",
181
- "prettier": "^3.3.0",
180
+ "execa": "^9.2.0",
181
+ "jiti": "^1.21.6",
182
+ "prettier": "^3.3.2",
182
183
  "react": "^18.3.1",
183
184
  "react-dom": "^18.3.1",
184
185
  "rimraf": "^5.0.7",
@@ -1 +0,0 @@
1
- "use strict";var i=Object.defineProperty;var s=(r,e)=>i(r,"name",{value:e,configurable:!0});const u=require("node:fs"),a=require("@visulima/path");var f=Object.defineProperty,l=s((r,e)=>f(r,"name",{value:e,configurable:!0}),"o");const x=l((r,e,t=!1)=>{const c=e.replace(/\.[jt]sx?$/,"");for(const n of r){const o=t?a.join(e,`index${n}`):`${c}${n}`;if(u.existsSync(o))return o}return null},"resolveFile");exports.x=x;