@vitnode/core 1.2.0-canary.68 → 1.2.0-canary.70

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 +1 @@
1
- {"version":3,"file":"tsup.config.d.ts","sourceRoot":"","sources":["../tsup.config.ts"],"names":[],"mappings":";AAEA,wBAgBG"}
1
+ {"version":3,"file":"tsup.config.d.ts","sourceRoot":"","sources":["../tsup.config.ts"],"names":[],"mappings":";AAEA,wBAeG"}
@@ -8,10 +8,9 @@ export default defineConfig({
8
8
  format: "esm",
9
9
  target: "esnext",
10
10
  platform: "node",
11
- noExternal: ["fs"],
11
+ external: ["jiti"],
12
12
  banner: {
13
- js: `import 'tsx/esm';
14
- import { createRequire } from 'module';
13
+ js: `import { createRequire } from 'module';
15
14
  const require = createRequire(import.meta.url);
16
15
  `,
17
16
  },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vitnode/core",
3
- "version": "1.2.0-canary.68",
3
+ "version": "1.2.0-canary.70",
4
4
  "description": "Core package for VitNode, providing essential functionalities and configurations.",
5
5
  "author": "VitNode Team",
6
6
  "license": "MIT",
@@ -56,6 +56,7 @@
56
56
  "drizzle-orm": "^0.44.7",
57
57
  "eslint": "^9.39.1",
58
58
  "hono": "^4.10.5",
59
+ "jiti": "^2.6.1",
59
60
  "jsdom": "^27.1.0",
60
61
  "lucide-react": "^0.553.0",
61
62
  "next": "^16.0.1",
@@ -74,7 +75,7 @@
74
75
  "vite-tsconfig-paths": "^5.1.4",
75
76
  "vitest": "^4.0.8",
76
77
  "zod": "^4.1.12",
77
- "@vitnode/config": "1.2.0-canary.68"
78
+ "@vitnode/config": "1.2.0-canary.70"
78
79
  },
79
80
  "bin": {
80
81
  "vitnode": "./dist/scripts/scripts.js"
@@ -123,7 +124,7 @@
123
124
  },
124
125
  "scripts": {
125
126
  "build:scripts": "tsup",
126
- "start:scripts": "node dist/scripts/scripts.js plugin --w",
127
+ "start:scripts": "node dist/scripts/scripts.js init",
127
128
  "build:plugins": "tsc && swc src -d dist --config-file .swcrc && tsc-alias -p tsconfig.json",
128
129
  "dev": "concurrently \"tsc -w --preserveWatchOutput\" \"swc src -d dist --config-file .swcrc -w\" \"tsc-alias -w\" \"node dist/scripts/scripts.js plugin --w\"",
129
130
  "dev:email": "email dev --dir src/emails",