@visulima/packem 2.0.0-alpha.19 → 2.0.0-alpha.20
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 +13 -0
- package/dist/builder/typedoc/index.d.ts +2 -2
- package/dist/cli/index.js +2 -2
- package/dist/config/index.d.ts +2 -2
- package/dist/index.d.ts +4 -4
- package/dist/index.js +1 -1
- package/dist/packem_shared/{index-CFFENGTN.js → index-BBl83uWg.js} +30 -30
- package/dist/packem_shared/{index-zrs6Po_w.d.ts → index-C-0CcPCJ.d.ts} +14 -5
- package/dist/packem_shared/{types-5psa8MJc.d.ts → types-SxWl_yJ4.d.ts} +1 -1
- package/dist/rollup/plugins/esbuild/index.d.ts +2 -2
- package/dist/rollup/plugins/oxc/isolated-declarations-oxc-transformer.d.ts +1 -1
- package/dist/rollup/plugins/oxc/oxc-transformer.d.ts +1 -1
- package/dist/rollup/plugins/sucrase/index.d.ts +1 -1
- package/dist/rollup/plugins/swc/isolated-declarations-swc-transformer.d.ts +1 -1
- package/dist/rollup/plugins/swc/swc-plugin.d.ts +2 -2
- package/dist/rollup/plugins/typescript/isolated-declarations-typescript-transformer.d.ts +1 -1
- package/package.json +14 -14
|
@@ -3892,11 +3892,20 @@ interface ReactConfig {
|
|
|
3892
3892
|
emitFullSignatures?: boolean;
|
|
3893
3893
|
};
|
|
3894
3894
|
/**
|
|
3895
|
-
*
|
|
3896
|
-
|
|
3897
|
-
|
|
3898
|
-
|
|
3899
|
-
*
|
|
3895
|
+
* Decides which runtime to use when transforming JSX.
|
|
3896
|
+
* - `"automatic"` - Automatically imports the functions that JSX transpiles to.
|
|
3897
|
+
* This is the modern approach introduced in React 17+ that eliminates the need to
|
|
3898
|
+
* manually import React in every file that uses JSX.
|
|
3899
|
+
* - `"classic"` - Uses the traditional JSX transform that relies on `React.createElement`
|
|
3900
|
+
* calls. Requires React to be in scope, which was the standard behavior before React 17.
|
|
3901
|
+
* - `"preserve"` - Leaves JSX syntax unchanged without transforming it.
|
|
3902
|
+
* @default "classic"
|
|
3903
|
+
*/
|
|
3904
|
+
runtime?: "automatic" | "classic" | "preserve";
|
|
3905
|
+
/**
|
|
3906
|
+
* Declares the module specifier to be used for importing the `jsx` and `jsxs` factory
|
|
3907
|
+
* functions when using `runtime` 'automatic'
|
|
3908
|
+
* @default "react"
|
|
3900
3909
|
*/
|
|
3901
3910
|
importSource?: string;
|
|
3902
3911
|
}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
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-
|
|
1
|
+
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-C-0CcPCJ.js';
|
|
2
2
|
import { StyleOptions } from '@visulima/rollup-plugin-css';
|
|
3
3
|
import { JitiOptions } from 'jiti';
|
|
4
4
|
import { TypeDocOptions } from 'typedoc';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TransformerFn } from '../../../packem_shared/index-
|
|
2
|
-
export { e as EsbuildPluginConfig } from '../../../packem_shared/index-
|
|
1
|
+
import { T as TransformerFn } from '../../../packem_shared/index-C-0CcPCJ.js';
|
|
2
|
+
export { e as EsbuildPluginConfig } from '../../../packem_shared/index-C-0CcPCJ.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-
|
|
2
|
+
import { f as IsolatedDeclarationsResult, T as TransformerFn } from '../../../packem_shared/index-C-0CcPCJ.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-
|
|
3
|
+
import '../../../packem_shared/index-C-0CcPCJ.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-
|
|
1
|
+
export { h as SucrasePluginConfig, s as default } from '../../../packem_shared/index-C-0CcPCJ.js';
|
|
2
2
|
import '@rollup/plugin-alias';
|
|
3
3
|
import '@rollup/plugin-commonjs';
|
|
4
4
|
import '@rollup/plugin-json';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { T as TransformerFn, f as IsolatedDeclarationsResult } from '../../../packem_shared/index-
|
|
2
|
-
export { S as SwcPluginConfig } from '../../../packem_shared/index-
|
|
1
|
+
import { T as TransformerFn, f as IsolatedDeclarationsResult } from '../../../packem_shared/index-C-0CcPCJ.js';
|
|
2
|
+
export { S as SwcPluginConfig } from '../../../packem_shared/index-C-0CcPCJ.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-
|
|
2
|
+
import { f as IsolatedDeclarationsResult } from '../../../packem_shared/index-C-0CcPCJ.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.
|
|
3
|
+
"version": "2.0.0-alpha.20",
|
|
4
4
|
"description": "A fast and modern bundler for Node.js and TypeScript.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"anolilab",
|
|
@@ -165,31 +165,31 @@
|
|
|
165
165
|
"@antfu/install-pkg": "1.1.0",
|
|
166
166
|
"@clack/prompts": "0.11.0",
|
|
167
167
|
"@rollup/pluginutils": "5.3.0",
|
|
168
|
-
"@visulima/cerebro": "1.1.
|
|
168
|
+
"@visulima/cerebro": "1.1.49",
|
|
169
169
|
"@visulima/colorize": "1.4.23",
|
|
170
|
-
"@visulima/find-cache-dir": "1.0.
|
|
171
|
-
"@visulima/fs": "3.1.
|
|
170
|
+
"@visulima/find-cache-dir": "1.0.33",
|
|
171
|
+
"@visulima/fs": "3.1.7",
|
|
172
172
|
"@visulima/humanizer": "1.2.2",
|
|
173
|
-
"@visulima/package": "3.5.
|
|
174
|
-
"@visulima/packem-rollup": "1.0.0-alpha.
|
|
175
|
-
"@visulima/packem-share": "1.0.0-alpha.
|
|
176
|
-
"@visulima/pail": "2.1.
|
|
173
|
+
"@visulima/package": "3.5.10",
|
|
174
|
+
"@visulima/packem-rollup": "1.0.0-alpha.15",
|
|
175
|
+
"@visulima/packem-share": "1.0.0-alpha.11",
|
|
176
|
+
"@visulima/pail": "2.1.27",
|
|
177
177
|
"@visulima/path": "1.4.0",
|
|
178
|
-
"@visulima/rollup-plugin-css": "1.0.0-alpha.
|
|
178
|
+
"@visulima/rollup-plugin-css": "1.0.0-alpha.5",
|
|
179
179
|
"@visulima/source-map": "1.0.20",
|
|
180
|
-
"@visulima/tsconfig": "1.1.
|
|
181
|
-
"browserslist": "4.
|
|
180
|
+
"@visulima/tsconfig": "1.1.21",
|
|
181
|
+
"browserslist": "4.26.2",
|
|
182
182
|
"defu": "6.1.4",
|
|
183
183
|
"fastest-levenshtein": "1.0.16",
|
|
184
184
|
"hookable": "5.5.3",
|
|
185
185
|
"jiti": "2.5.1",
|
|
186
|
-
"magic-string": "0.30.
|
|
186
|
+
"magic-string": "0.30.19",
|
|
187
187
|
"mlly": "1.8.0",
|
|
188
188
|
"picomatch": "4.0.3",
|
|
189
|
-
"rollup": "4.50.
|
|
189
|
+
"rollup": "4.50.2",
|
|
190
190
|
"semver": "7.7.2",
|
|
191
191
|
"tinyexec": "1.0.1",
|
|
192
|
-
"tinyglobby": "0.2.
|
|
192
|
+
"tinyglobby": "0.2.15"
|
|
193
193
|
},
|
|
194
194
|
"peerDependencies": {
|
|
195
195
|
"@swc/core": ">=1.11.29",
|