rolldown 0.13.2-snapshot-c85538e-20240923110828 → 0.13.2-snapshot-5d4fe3e-20240925003232
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/dist/types/binding.d.ts +17 -6
- package/package.json +15 -15
package/dist/types/binding.d.ts
CHANGED
|
@@ -444,10 +444,19 @@ export interface Es2015BindingOptions {
|
|
|
444
444
|
}
|
|
445
445
|
|
|
446
446
|
/** TypeScript Isolated Declarations for Standalone DTS Emit */
|
|
447
|
-
export declare function isolatedDeclaration(filename: string, sourceText: string, options
|
|
447
|
+
export declare function isolatedDeclaration(filename: string, sourceText: string, options?: IsolatedDeclarationsOptions | undefined | null): IsolatedDeclarationsResult
|
|
448
448
|
|
|
449
449
|
export interface IsolatedDeclarationsOptions {
|
|
450
|
-
|
|
450
|
+
/**
|
|
451
|
+
* Do not emit declarations for code that has an @internal annotation in its JSDoc comment.
|
|
452
|
+
* This is an internal compiler option; use at your own risk, because the compiler does not check that the result is valid.
|
|
453
|
+
*
|
|
454
|
+
* Default: `false`
|
|
455
|
+
*
|
|
456
|
+
* See <https://www.typescriptlang.org/tsconfig/#stripInternal>
|
|
457
|
+
*/
|
|
458
|
+
stripInternal?: boolean
|
|
459
|
+
sourcemap?: boolean
|
|
451
460
|
}
|
|
452
461
|
|
|
453
462
|
export interface IsolatedDeclarationsResult {
|
|
@@ -468,7 +477,7 @@ export interface PreRenderedChunk {
|
|
|
468
477
|
/**
|
|
469
478
|
* Configure how TSX and JSX are transformed.
|
|
470
479
|
*
|
|
471
|
-
* @see
|
|
480
|
+
* @see {@link https://babeljs.io/docs/babel-plugin-transform-react-jsx#options}
|
|
472
481
|
*/
|
|
473
482
|
export interface ReactBindingOptions {
|
|
474
483
|
/**
|
|
@@ -485,7 +494,7 @@ export interface ReactBindingOptions {
|
|
|
485
494
|
*
|
|
486
495
|
* @default false
|
|
487
496
|
*
|
|
488
|
-
* @see
|
|
497
|
+
* @see {@link https://babeljs.io/docs/babel-plugin-transform-react-jsx-development}
|
|
489
498
|
*/
|
|
490
499
|
development?: boolean
|
|
491
500
|
/**
|
|
@@ -499,10 +508,12 @@ export interface ReactBindingOptions {
|
|
|
499
508
|
*/
|
|
500
509
|
throwIfNamespace?: boolean
|
|
501
510
|
/**
|
|
502
|
-
* Enables
|
|
511
|
+
* Enables `@babel/plugin-transform-react-pure-annotations`.
|
|
503
512
|
*
|
|
504
513
|
* It will mark top-level React method calls as pure for tree shaking.
|
|
505
514
|
*
|
|
515
|
+
* @see {@link https://babeljs.io/docs/en/babel-plugin-transform-react-pure-annotations}
|
|
516
|
+
*
|
|
506
517
|
* @default true
|
|
507
518
|
*/
|
|
508
519
|
pure?: boolean
|
|
@@ -699,7 +710,7 @@ export interface TypeScriptBindingOptions {
|
|
|
699
710
|
*
|
|
700
711
|
* @default false
|
|
701
712
|
*/
|
|
702
|
-
declaration?:
|
|
713
|
+
declaration?: IsolatedDeclarationsOptions
|
|
703
714
|
/**
|
|
704
715
|
* Rewrite or remove TypeScript import/export declaration extensions.
|
|
705
716
|
*
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "rolldown",
|
|
3
|
-
"version": "0.13.2-snapshot-
|
|
3
|
+
"version": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
4
4
|
"description": "Fast JavaScript/TypeScript bundler in Rust with Rollup-compatible API.",
|
|
5
5
|
"homepage": "https://rolldown.rs/",
|
|
6
6
|
"repository": {
|
|
@@ -102,22 +102,22 @@
|
|
|
102
102
|
"vitest": "^2.0.0",
|
|
103
103
|
"why-is-node-running": "^3.0.0",
|
|
104
104
|
"zod-to-json-schema": "^3.23.2",
|
|
105
|
-
"rolldown": "0.
|
|
106
|
-
"
|
|
105
|
+
"@rolldown/testing": "0.0.1",
|
|
106
|
+
"rolldown": "0.13.2-snapshot-5d4fe3e-20240925003232"
|
|
107
107
|
},
|
|
108
108
|
"optionalDependencies": {
|
|
109
|
-
"@rolldown/binding-darwin-arm64": "0.13.2-snapshot-
|
|
110
|
-
"@rolldown/binding-darwin-x64": "0.13.2-snapshot-
|
|
111
|
-
"@rolldown/binding-
|
|
112
|
-
"@rolldown/binding-
|
|
113
|
-
"@rolldown/binding-linux-arm64-
|
|
114
|
-
"@rolldown/binding-linux-x64-gnu": "0.13.2-snapshot-
|
|
115
|
-
"@rolldown/binding-linux-
|
|
116
|
-
"@rolldown/binding-wasm32-wasi": "0.13.2-snapshot-
|
|
117
|
-
"@rolldown/binding-
|
|
118
|
-
"@rolldown/binding-win32-
|
|
119
|
-
"@rolldown/binding-win32-ia32-msvc": "0.13.2-snapshot-
|
|
120
|
-
"@rolldown/binding-
|
|
109
|
+
"@rolldown/binding-darwin-arm64": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
110
|
+
"@rolldown/binding-darwin-x64": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
111
|
+
"@rolldown/binding-linux-arm-gnueabihf": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
112
|
+
"@rolldown/binding-freebsd-x64": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
113
|
+
"@rolldown/binding-linux-arm64-gnu": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
114
|
+
"@rolldown/binding-linux-x64-gnu": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
115
|
+
"@rolldown/binding-linux-arm64-musl": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
116
|
+
"@rolldown/binding-wasm32-wasi": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
117
|
+
"@rolldown/binding-win32-arm64-msvc": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
118
|
+
"@rolldown/binding-win32-x64-msvc": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
119
|
+
"@rolldown/binding-win32-ia32-msvc": "0.13.2-snapshot-5d4fe3e-20240925003232",
|
|
120
|
+
"@rolldown/binding-linux-x64-musl": "0.13.2-snapshot-5d4fe3e-20240925003232"
|
|
121
121
|
},
|
|
122
122
|
"scripts": {
|
|
123
123
|
"# Scrips for binding #": "_",
|