@utoo/pack 1.4.1-alpha.1 → 1.4.2-alpha.0

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 +90 -1
  2. package/package.json +9 -9
@@ -72,6 +72,17 @@
72
72
  }
73
73
  ]
74
74
  },
75
+ "mdx": {
76
+ "description": "Enable Rust MDX transform support",
77
+ "anyOf": [
78
+ {
79
+ "$ref": "#/definitions/SchemaMdxConfigOrBoolean"
80
+ },
81
+ {
82
+ "type": "null"
83
+ }
84
+ ]
85
+ },
75
86
  "mode": {
76
87
  "description": "Build mode",
77
88
  "type": [
@@ -791,7 +802,8 @@
791
802
  "script",
792
803
  "commonjs",
793
804
  "esm",
794
- "global"
805
+ "global",
806
+ "promise"
795
807
  ]
796
808
  },
797
809
  "SchemaExternalUmd": {
@@ -916,6 +928,83 @@
916
928
  }
917
929
  ]
918
930
  },
931
+ "SchemaMdxConfig": {
932
+ "description": "Rust MDX transform options",
933
+ "type": "object",
934
+ "properties": {
935
+ "development": {
936
+ "description": "Whether to compile in development mode",
937
+ "type": [
938
+ "boolean",
939
+ "null"
940
+ ]
941
+ },
942
+ "jsx": {
943
+ "description": "Whether to preserve JSX in the MDX compiler output",
944
+ "type": [
945
+ "boolean",
946
+ "null"
947
+ ]
948
+ },
949
+ "jsxImportSource": {
950
+ "description": "JSX import source to use",
951
+ "type": [
952
+ "string",
953
+ "null"
954
+ ]
955
+ },
956
+ "jsxRuntime": {
957
+ "description": "JSX runtime to use",
958
+ "type": [
959
+ "string",
960
+ "null"
961
+ ]
962
+ },
963
+ "mdxType": {
964
+ "description": "MDX parser mode",
965
+ "anyOf": [
966
+ {
967
+ "$ref": "#/definitions/SchemaMdxParseConstructs"
968
+ },
969
+ {
970
+ "type": "null"
971
+ }
972
+ ]
973
+ },
974
+ "providerImportSource": {
975
+ "description": "Module providing useMDXComponents",
976
+ "type": [
977
+ "string",
978
+ "null"
979
+ ]
980
+ }
981
+ }
982
+ },
983
+ "SchemaMdxConfigOrBoolean": {
984
+ "description": "MDX configuration",
985
+ "anyOf": [
986
+ {
987
+ "description": "Simple boolean to enable/disable the Rust MDX transform",
988
+ "type": "boolean"
989
+ },
990
+ {
991
+ "description": "Advanced MDX transform options",
992
+ "allOf": [
993
+ {
994
+ "$ref": "#/definitions/SchemaMdxConfig"
995
+ }
996
+ ]
997
+ }
998
+ ]
999
+ },
1000
+ "SchemaMdxParseConstructs": {
1001
+ "description": "MDX parser mode",
1002
+ "type": "string",
1003
+ "enum": [
1004
+ "commonmark",
1005
+ "gfm"
1006
+ ]
1007
+ },
919
1008
  "SchemaModularizeImportPackageConfig": {
920
1009
  "description": "Modularize import package configuration",
921
1010
  "type": "object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@utoo/pack",
3
- "version": "1.4.1-alpha.1",
3
+ "version": "1.4.2-alpha.0",
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.1-alpha.1",
44
+ "@utoo/pack-shared": "1.4.2-alpha.0",
45
45
  "domparser-rs": "^0.0.7",
46
46
  "find-up": "4.1.0",
47
47
  "get-port": "5.1.1",
@@ -92,12 +92,12 @@
92
92
  },
93
93
  "repository": "git@github.com:utooland/utoo.git",
94
94
  "optionalDependencies": {
95
- "@utoo/pack-darwin-arm64": "1.4.1-alpha.1",
96
- "@utoo/pack-darwin-x64": "1.4.1-alpha.1",
97
- "@utoo/pack-linux-arm64-gnu": "1.4.1-alpha.1",
98
- "@utoo/pack-linux-arm64-musl": "1.4.1-alpha.1",
99
- "@utoo/pack-linux-x64-gnu": "1.4.1-alpha.1",
100
- "@utoo/pack-linux-x64-musl": "1.4.1-alpha.1",
101
- "@utoo/pack-win32-x64-msvc": "1.4.1-alpha.1"
95
+ "@utoo/pack-darwin-arm64": "1.4.2-alpha.0",
96
+ "@utoo/pack-darwin-x64": "1.4.2-alpha.0",
97
+ "@utoo/pack-linux-arm64-gnu": "1.4.2-alpha.0",
98
+ "@utoo/pack-linux-arm64-musl": "1.4.2-alpha.0",
99
+ "@utoo/pack-linux-x64-gnu": "1.4.2-alpha.0",
100
+ "@utoo/pack-linux-x64-musl": "1.4.2-alpha.0",
101
+ "@utoo/pack-win32-x64-msvc": "1.4.2-alpha.0"
102
102
  }
103
103
  }