silgi 0.8.34 → 0.8.36

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.8.34";
1
+ const version = "0.8.36";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.2.0",
4
4
  "@fastify/deepmerge": "^2.0.2",
package/dist/cli/run.mjs CHANGED
@@ -164,16 +164,14 @@ const run = defineCommand({
164
164
  }
165
165
  if (script.type === "function") {
166
166
  const jiti = createJiti(import.meta.url, {
167
- moduleCache: false,
168
- fsCache: false,
169
167
  alias: silgiConfig.alias
170
168
  });
171
169
  const cleanHandler = script.handler.replace(/\n/g, "");
172
170
  await jiti.evalModule(cleanHandler, {
173
- filename: "file.ts",
171
+ filename: import.meta.url,
174
172
  async: true,
175
- forceTranspile: true,
176
- conditions: silgiConfig.conditions
173
+ conditions: silgiConfig.conditions,
174
+ forceTranspile: true
177
175
  });
178
176
  }
179
177
  }
@@ -1,4 +1,4 @@
1
- const version = "0.8.34";
1
+ const version = "0.8.36";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.2.0",
4
4
  "@fastify/deepmerge": "^2.0.2",
@@ -1,4 +1,4 @@
1
- const version = "0.8.34";
1
+ const version = "0.8.36";
2
2
  const devDependencies = {
3
3
  "@antfu/eslint-config": "^4.2.0",
4
4
  "@fastify/deepmerge": "^2.0.2",
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "silgi",
3
3
  "type": "module",
4
- "version": "0.8.34",
4
+ "version": "0.8.36",
5
5
  "private": false,
6
6
  "sideEffects": false,
7
7
  "exports": {