@jay-framework/plugin-validator 0.16.2 → 0.16.3

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/dist/index.js +8 -0
  2. package/package.json +6 -6
package/dist/index.js CHANGED
@@ -871,6 +871,14 @@ async function validatePackageJson(context, result) {
871
871
  suggestion: 'Add "." export for the main module entry'
872
872
  });
873
873
  }
874
+ if (!packageJson.exports["./client"]) {
875
+ result.warnings.push({
876
+ type: "export-mismatch",
877
+ message: 'package.json exports missing "./client" entry point',
878
+ location: packageJsonPath,
879
+ suggestion: 'Add "./client": "./dist/index.client.js" to exports. The client bundle provides components for hydration and client-side contexts. Build with: vite build (client) + vite build --ssr (server)'
880
+ });
881
+ }
874
882
  if (context.manifest.contracts) {
875
883
  for (const contract of context.manifest.contracts) {
876
884
  const contractExport = "./" + contract.contract;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jay-framework/plugin-validator",
3
- "version": "0.16.2",
3
+ "version": "0.16.3",
4
4
  "type": "module",
5
5
  "license": "Apache-2.0",
6
6
  "description": "Validation tool for Jay Stack plugins",
@@ -25,15 +25,15 @@
25
25
  "test:watch": ":"
26
26
  },
27
27
  "dependencies": {
28
- "@jay-framework/compiler-jay-html": "^0.16.2",
29
- "@jay-framework/compiler-shared": "^0.16.2",
30
- "@jay-framework/editor-protocol": "^0.16.2",
31
- "@jay-framework/typescript-bridge": "^0.16.2",
28
+ "@jay-framework/compiler-jay-html": "^0.16.3",
29
+ "@jay-framework/compiler-shared": "^0.16.3",
30
+ "@jay-framework/editor-protocol": "^0.16.3",
31
+ "@jay-framework/typescript-bridge": "^0.16.3",
32
32
  "chalk": "^4.1.2",
33
33
  "yaml": "^2.3.4"
34
34
  },
35
35
  "devDependencies": {
36
- "@jay-framework/dev-environment": "^0.16.2",
36
+ "@jay-framework/dev-environment": "^0.16.3",
37
37
  "@types/node": "^22.15.21",
38
38
  "rimraf": "^5.0.5",
39
39
  "tsup": "^8.0.1",