@empjs/share 4.0.0-alpha.3 → 4.0.0-beta.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/README.md +1 -1
  2. package/package.json +5 -5
package/README.md CHANGED
@@ -250,5 +250,5 @@ pnpm --filter mf-app dev
250
250
  完成后检查:
251
251
 
252
252
  ```bash
253
- rg 'declare module "@empjs/share/sdk"' projects/mf-app/@mf-types/index.d.ts
253
+ rg 'declare module "@empjs/share/sdk"' apps/mf-app/@mf-types/index.d.ts
254
254
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@empjs/share",
3
- "version": "4.0.0-alpha.3",
3
+ "version": "4.0.0-beta.0",
4
4
  "description": "emp share and runtime",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -124,15 +124,15 @@
124
124
  },
125
125
  "devDependencies": {
126
126
  "@swc/core": "^1.15.1",
127
- "@empjs/cli": "4.0.0-alpha.3"
127
+ "@empjs/cli": "4.0.0-beta.0"
128
128
  },
129
129
  "scripts": {
130
130
  "dev": "pnpm --filter @empjs/share run /^dev:.*/",
131
131
  "dev:lib-dev": "rslib build --watch --env-mode development",
132
- "dev:serve": "serve ./output --cors -p 2100",
132
+ "dev:serve": "node ../../scripts/static-services.mjs start --service emp-share",
133
133
  "build": "rslib build --env-mode production",
134
134
  "test": "pnpm run build && node test/module-federation-deps.test.mjs && node test/dts-runtime-pkgs.test.mjs && node test/version-isolation.test.mjs && node test/esm-only-publish.test.mjs",
135
- "start": "serve ./output --cors -p 2100",
136
- "https": "serve ./output --cors -p 2100 --ssl-cert ../cli/resource/emp.cert --ssl-key ../cli/resource/emp.key"
135
+ "start": "node ../../scripts/static-services.mjs start --service emp-share",
136
+ "https": "node ../../scripts/static-services.mjs start --service emp-share --https"
137
137
  }
138
138
  }