silgi 0.7.11 → 0.7.12

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.
@@ -1,4 +1,4 @@
1
- const version = "0.7.11";
1
+ const version = "0.7.12";
2
2
  const packageJson = {
3
3
  version: version};
4
4
 
@@ -314,12 +314,6 @@ async function resolvePathOptions(options) {
314
314
  "silgi/runtime/*": join(runtimeDir, "*"),
315
315
  "#internal/silgi/*": join(runtimeDir, "*")
316
316
  };
317
- options.typescript.customConditions = [
318
- ...options.typescript.customConditions,
319
- "silgiTypes"
320
- ];
321
- options.conditions ||= [];
322
- options.conditions.push("silgi");
323
317
  }
324
318
  options.alias = {
325
319
  ...options.alias,
@@ -625,7 +619,7 @@ async function silgiGenerateType(silgi) {
625
619
  jsxFactory: "h",
626
620
  jsxFragmentFactory: "Fragment",
627
621
  allowImportingTsExtensions: true,
628
- ...silgi.options.typescript.customConditions ? { customConditions: ["silgiTypes"] } : {},
622
+ customConditions: silgi.options.typescript.customConditions,
629
623
  paths: {
630
624
  "#silgiImports": [
631
625
  relativeWithDot(tsconfigDir, join(silgi.options.build.typesDir, "silgi-imports"))
@@ -1,3 +1,3 @@
1
- const version = "0.7.11";
1
+ const version = "0.7.12";
2
2
 
3
3
  export { version };
@@ -1,3 +1,3 @@
1
- const version = "0.7.11";
1
+ const version = "0.7.12";
2
2
 
3
3
  export { version };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.7.11",
4
+ "version": "0.7.12",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {