@visulima/packem 2.0.0-alpha.22 → 2.0.0-alpha.24

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.
@@ -2989,6 +2989,10 @@ interface LicenseOptions {
2989
2989
  path?: string;
2990
2990
  }
2991
2991
 
2992
+ interface NativeModulesOptions {
2993
+ nativesDirectory?: string;
2994
+ }
2995
+
2992
2996
  interface RawLoaderOptions {
2993
2997
  exclude?: FilterPattern;
2994
2998
  include?: FilterPattern;
@@ -5222,6 +5226,7 @@ interface PackemRollupOptions {
5222
5226
  jsxRemoveAttributes?: JSXRemoveAttributesPlugin | false;
5223
5227
  license?: LicenseOptions | false;
5224
5228
  metafile?: boolean;
5229
+ nativeModules?: NativeModulesOptions | false;
5225
5230
  output?: OutputOptions;
5226
5231
  oxc?: Omit<OXCTransformPluginConfig, "cwd" | "sourcemap" | "target"> | false;
5227
5232
  patchTypes: PatchTypesOptions | false;
@@ -1,5 +1,5 @@
1
1
  import { CheckPackageOptions } from '@arethetypeswrong/core';
2
- import { B as BuildContext, E as Environment, R as Runtime, I as IsolatedDeclarationsTransformer, F as Format, P as PackemRollupOptions, T as TransformerFn, d as BuildHooks, g as InternalOXCTransformPluginConfig, a as TransformerName, M as Mode } from './index-CzQ8bh8T.js';
2
+ import { B as BuildContext, E as Environment, R as Runtime, I as IsolatedDeclarationsTransformer, F as Format, P as PackemRollupOptions, T as TransformerFn, d as BuildHooks, g as InternalOXCTransformPluginConfig, a as TransformerName, M as Mode } from './index-DrmPUIt8.js';
3
3
  import { StyleOptions } from '@visulima/rollup-plugin-css';
4
4
  import { JitiOptions } from 'jiti';
5
5
  import { TypeDocOptions } from 'typedoc';
@@ -122,7 +122,8 @@ interface BuildOptions {
122
122
  validation?: ValidationOptions | false;
123
123
  }
124
124
  interface InternalBuildOptions extends BuildOptions {
125
- rollup: Omit<BuildOptions["rollup"], "oxc"> & {
125
+ rollup: BuildOptions["rollup"] & {
126
+ nativeModules?: NativeModulesOptions | false;
126
127
  oxc?: InternalOXCTransformPluginConfig;
127
128
  };
128
129
  transformerName: TransformerName | undefined;
@@ -1,5 +1,5 @@
1
- import { T as TransformerFn } from '../../../packem_shared/index-CzQ8bh8T.js';
2
- export { e as EsbuildPluginConfig } from '../../../packem_shared/index-CzQ8bh8T.js';
1
+ import { T as TransformerFn } from '../../../packem_shared/index-DrmPUIt8.js';
2
+ export { e as EsbuildPluginConfig } from '../../../packem_shared/index-DrmPUIt8.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -1,5 +1,5 @@
1
1
  import { IsolatedDeclarationsOptions } from 'oxc-transform';
2
- import { f as IsolatedDeclarationsResult, T as TransformerFn } from '../../../packem_shared/index-CzQ8bh8T.js';
2
+ import { f as IsolatedDeclarationsResult, T as TransformerFn } from '../../../packem_shared/index-DrmPUIt8.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -1,6 +1,6 @@
1
1
  export { o as default, default as isolatedDeclarationsOxcTransformer } from './isolated-declarations-oxc-transformer.js';
2
2
  import 'oxc-transform';
3
- import '../../../packem_shared/index-CzQ8bh8T.js';
3
+ import '../../../packem_shared/index-DrmPUIt8.js';
4
4
  import '@rollup/plugin-alias';
5
5
  import '@rollup/plugin-commonjs';
6
6
  import '@rollup/plugin-json';
@@ -1,4 +1,4 @@
1
- export { h as SucrasePluginConfig, s as default } from '../../../packem_shared/index-CzQ8bh8T.js';
1
+ export { h as SucrasePluginConfig, s as default } from '../../../packem_shared/index-DrmPUIt8.js';
2
2
  import '@rollup/plugin-alias';
3
3
  import '@rollup/plugin-commonjs';
4
4
  import '@rollup/plugin-json';
@@ -1,5 +1,5 @@
1
1
  export { i as default } from './swc-plugin.js';
2
- import '../../../packem_shared/index-CzQ8bh8T.js';
2
+ import '../../../packem_shared/index-DrmPUIt8.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -1,5 +1,5 @@
1
- import { T as TransformerFn, f as IsolatedDeclarationsResult } from '../../../packem_shared/index-CzQ8bh8T.js';
2
- export { S as SwcPluginConfig } from '../../../packem_shared/index-CzQ8bh8T.js';
1
+ import { T as TransformerFn, f as IsolatedDeclarationsResult } from '../../../packem_shared/index-DrmPUIt8.js';
2
+ export { S as SwcPluginConfig } from '../../../packem_shared/index-DrmPUIt8.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
@@ -1,5 +1,5 @@
1
1
  import { TranspileOptions } from 'typescript';
2
- import { f as IsolatedDeclarationsResult } from '../../../packem_shared/index-CzQ8bh8T.js';
2
+ import { f as IsolatedDeclarationsResult } from '../../../packem_shared/index-DrmPUIt8.js';
3
3
  import '@rollup/plugin-alias';
4
4
  import '@rollup/plugin-commonjs';
5
5
  import '@rollup/plugin-json';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visulima/packem",
3
- "version": "2.0.0-alpha.22",
3
+ "version": "2.0.0-alpha.24",
4
4
  "description": "A fast and modern bundler for Node.js and TypeScript.",
5
5
  "keywords": [
6
6
  "anolilab",
@@ -170,8 +170,8 @@
170
170
  "@visulima/find-cache-dir": "1.0.34",
171
171
  "@visulima/fs": "3.1.8",
172
172
  "@visulima/humanizer": "1.2.2",
173
- "@visulima/package": "3.6.1",
174
- "@visulima/packem-rollup": "1.0.0-alpha.17",
173
+ "@visulima/package": "4.0.0",
174
+ "@visulima/packem-rollup": "1.0.0-alpha.19",
175
175
  "@visulima/packem-share": "1.0.0-alpha.12",
176
176
  "@visulima/pail": "2.1.28",
177
177
  "@visulima/path": "1.4.0",
@@ -196,14 +196,15 @@
196
196
  "peerDependencies": {
197
197
  "@arethetypeswrong/core": ">=0.18.2",
198
198
  "@swc/core": ">=1.11.29",
199
- "@tailwindcss/node": "^4.1.13",
200
- "@tailwindcss/oxide": "^4.1.13",
199
+ "@tailwindcss/node": "^4.1.14",
200
+ "@tailwindcss/oxide": "^4.1.14",
201
201
  "cssnano": ">=7.0.6",
202
202
  "esbuild": ">=0.20.2",
203
203
  "icss-utils": ">=5.1.0",
204
204
  "less": ">=4.2.0",
205
205
  "lightningcss": ">=1.27.0",
206
206
  "oxc-transform": ">=0.20.0",
207
+ "package-manager-detector": "^1.3.0",
207
208
  "postcss": ">=8.4.47",
208
209
  "postcss-load-config": ">=6.0.1",
209
210
  "postcss-modules-extract-imports": ">=3.1.0",
@@ -218,8 +219,7 @@
218
219
  "typedoc": ">=0.26.0",
219
220
  "typedoc-plugin-markdown": ">=4.2.0",
220
221
  "typedoc-plugin-rename-defaults": ">=0.7.0",
221
- "typescript": ">=4.5 || >=5.0",
222
- "package-manager-detector": "^1.3.0"
222
+ "typescript": ">=4.5 || >=5.0"
223
223
  },
224
224
  "peerDependenciesMeta": {
225
225
  "@arethetypeswrong/core": {