@mpcore/core 0.0.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.
package/README.md ADDED
@@ -0,0 +1,5 @@
1
+ # mpcore
2
+
3
+ `mpcore` 是 `mpcore` 生态的核心入口包。
4
+
5
+ 当前阶段它提供稳定的生态标识与元信息导出,后续共享能力会逐步沉淀到这里。
@@ -0,0 +1,7 @@
1
+ //#region src/index.d.ts
2
+ declare const MPCORE_PACKAGE_NAME = "mpcore";
3
+ declare const MPCORE_ECOSYSTEM: {
4
+ readonly packageName: "mpcore";
5
+ };
6
+ //#endregion
7
+ export { MPCORE_ECOSYSTEM, MPCORE_PACKAGE_NAME };
package/dist/index.mjs ADDED
@@ -0,0 +1,5 @@
1
+ //#region src/index.ts
2
+ const MPCORE_PACKAGE_NAME = "mpcore";
3
+ const MPCORE_ECOSYSTEM = { packageName: MPCORE_PACKAGE_NAME };
4
+ //#endregion
5
+ export { MPCORE_ECOSYSTEM, MPCORE_PACKAGE_NAME };
package/package.json ADDED
@@ -0,0 +1,51 @@
1
+ {
2
+ "name": "@mpcore/core",
3
+ "type": "module",
4
+ "version": "0.0.0",
5
+ "description": "Core entry package for the mpcore mini-program tooling ecosystem",
6
+ "author": "ice breaker <1324318532@qq.com>",
7
+ "license": "MIT",
8
+ "repository": {
9
+ "type": "git",
10
+ "url": "git+https://github.com/weapp-vite/weapp-vite.git",
11
+ "directory": "mpcore/packages/core"
12
+ },
13
+ "bugs": {
14
+ "url": "https://github.com/weapp-vite/weapp-vite/issues"
15
+ },
16
+ "keywords": [
17
+ "mpcore",
18
+ "weapp",
19
+ "mini-program",
20
+ "runtime",
21
+ "tooling"
22
+ ],
23
+ "sideEffects": false,
24
+ "exports": {
25
+ ".": {
26
+ "types": "./dist/index.d.ts",
27
+ "import": "./dist/index.mjs"
28
+ }
29
+ },
30
+ "main": "./dist/index.mjs",
31
+ "module": "./dist/index.mjs",
32
+ "types": "./dist/index.d.ts",
33
+ "files": [
34
+ "README.md",
35
+ "dist"
36
+ ],
37
+ "engines": {
38
+ "node": "^20.19.0 || >=22.12.0"
39
+ },
40
+ "scripts": {
41
+ "dev": "tsdown -w",
42
+ "build": "tsdown",
43
+ "test": "vitest run --config ./vitest.config.ts",
44
+ "test:dev": "vitest --config ./vitest.config.ts",
45
+ "typecheck": "tsc --noEmit -p ./tsconfig.json"
46
+ },
47
+ "publishConfig": {
48
+ "access": "public",
49
+ "registry": "https://registry.npmjs.org"
50
+ }
51
+ }