@utoo/pack 1.4.17-alpha.1 → 1.4.17-alpha.2

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 (2) hide show
  1. package/config_schema.json +70 -1
  2. package/package.json +9 -9
@@ -158,6 +158,17 @@
158
158
  }
159
159
  ]
160
160
  },
161
+ "reactCompiler": {
162
+ "description": "React compiler",
163
+ "anyOf": [
164
+ {
165
+ "$ref": "#/definitions/SchemaReactCompilerConfig"
166
+ },
167
+ {
168
+ "type": "null"
169
+ }
170
+ ]
171
+ },
161
172
  "resolve": {
162
173
  "description": "Resolve configuration",
163
174
  "anyOf": [
@@ -665,7 +676,15 @@
665
676
  "type": "object",
666
677
  "properties": {
667
678
  "reactCompiler": {
668
- "description": "React compiler"
679
+ "description": "React compiler",
680
+ "anyOf": [
681
+ {
682
+ "$ref": "#/definitions/SchemaReactCompilerConfig"
683
+ },
684
+ {
685
+ "type": "null"
686
+ }
687
+ ]
669
688
  },
670
689
  "swcPlugins": {
671
690
  "description": "SWC plugins as [path, options] tuples",
@@ -1405,6 +1424,56 @@
1405
1424
  }
1406
1425
  ]
1407
1426
  },
1427
+ "SchemaReactCompilerCompilationMode": {
1428
+ "type": "string",
1429
+ "enum": [
1430
+ "infer",
1431
+ "annotation",
1432
+ "all"
1433
+ ]
1434
+ },
1435
+ "SchemaReactCompilerConfig": {
1436
+ "anyOf": [
1437
+ {
1438
+ "type": "boolean"
1439
+ },
1440
+ {
1441
+ "$ref": "#/definitions/SchemaReactCompilerOptions"
1442
+ }
1443
+ ]
1444
+ },
1445
+ "SchemaReactCompilerOptions": {
1446
+ "type": "object",
1447
+ "properties": {
1448
+ "compilationMode": {
1449
+ "anyOf": [
1450
+ {
1451
+ "$ref": "#/definitions/SchemaReactCompilerCompilationMode"
1452
+ },
1453
+ {
1454
+ "type": "null"
1455
+ }
1456
+ ]
1457
+ },
1458
+ "target": {
1459
+ "anyOf": [
1460
+ {
1461
+ "$ref": "#/definitions/SchemaReactCompilerTarget"
1462
+ },
1463
+ {
1464
+ "type": "null"
1465
+ }
1466
+ ]
1467
+ }
1468
+ }
1469
+ },
1470
+ "SchemaReactCompilerTarget": {
1471
+ "type": "string",
1472
+ "enum": [
1473
+ "18",
1474
+ "19"
1475
+ ]
1476
+ },
1408
1477
  "SchemaReactConfig": {
1409
1478
  "description": "React configuration",
1410
1479
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack",
3
- "version": "1.4.17-alpha.1",
3
+ "version": "1.4.17-alpha.2",
4
4
  "main": "cjs/index.js",
5
5
  "module": "esm/index.js",
6
6
  "types": "esm/index.d.ts",
@@ -41,7 +41,7 @@
41
41
  "@hono/node-server": "^1.19.11",
42
42
  "@hono/node-ws": "^1.3.0",
43
43
  "@swc/helpers": "0.5.15",
44
- "@utoo/pack-shared": "1.4.17-alpha.1",
44
+ "@utoo/pack-shared": "1.4.17-alpha.2",
45
45
  "domparser-rs": "^0.0.7",
46
46
  "find-up": "4.1.0",
47
47
  "get-port": "5.1.1",
@@ -96,12 +96,12 @@
96
96
  "directory": "packages/pack"
97
97
  },
98
98
  "optionalDependencies": {
99
- "@utoo/pack-darwin-arm64": "1.4.17-alpha.1",
100
- "@utoo/pack-darwin-x64": "1.4.17-alpha.1",
101
- "@utoo/pack-linux-arm64-gnu": "1.4.17-alpha.1",
102
- "@utoo/pack-linux-arm64-musl": "1.4.17-alpha.1",
103
- "@utoo/pack-linux-x64-gnu": "1.4.17-alpha.1",
104
- "@utoo/pack-linux-x64-musl": "1.4.17-alpha.1",
105
- "@utoo/pack-win32-x64-msvc": "1.4.17-alpha.1"
99
+ "@utoo/pack-darwin-arm64": "1.4.17-alpha.2",
100
+ "@utoo/pack-darwin-x64": "1.4.17-alpha.2",
101
+ "@utoo/pack-linux-arm64-gnu": "1.4.17-alpha.2",
102
+ "@utoo/pack-linux-arm64-musl": "1.4.17-alpha.2",
103
+ "@utoo/pack-linux-x64-gnu": "1.4.17-alpha.2",
104
+ "@utoo/pack-linux-x64-musl": "1.4.17-alpha.2",
105
+ "@utoo/pack-win32-x64-msvc": "1.4.17-alpha.2"
106
106
  }
107
107
  }