@moku-labs/common 0.1.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/LICENSE +21 -0
- package/README.md +122 -0
- package/dist/browser.d.mts +344 -0
- package/dist/browser.mjs +834 -0
- package/dist/index.cjs +1023 -0
- package/dist/index.d.cts +386 -0
- package/dist/index.d.mts +386 -0
- package/dist/index.mjs +994 -0
- package/dist/rolldown-runtime-D7D4PA-g.mjs +13 -0
- package/package.json +87 -0
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
//#region \0rolldown/runtime.js
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __exportAll = (all, no_symbols) => {
|
|
4
|
+
let target = {};
|
|
5
|
+
for (var name in all) __defProp(target, name, {
|
|
6
|
+
get: all[name],
|
|
7
|
+
enumerable: true
|
|
8
|
+
});
|
|
9
|
+
if (!no_symbols) __defProp(target, Symbol.toStringTag, { value: "Module" });
|
|
10
|
+
return target;
|
|
11
|
+
};
|
|
12
|
+
//#endregion
|
|
13
|
+
export { __exportAll as t };
|
package/package.json
ADDED
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@moku-labs/common",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Shared framework plugins for the Moku family, built on @moku-labs/core.",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"main": "./dist/index.cjs",
|
|
7
|
+
"module": "./dist/index.mjs",
|
|
8
|
+
"types": "./dist/index.d.mts",
|
|
9
|
+
"exports": {
|
|
10
|
+
".": {
|
|
11
|
+
"import": {
|
|
12
|
+
"types": "./dist/index.d.mts",
|
|
13
|
+
"default": "./dist/index.mjs"
|
|
14
|
+
},
|
|
15
|
+
"require": {
|
|
16
|
+
"types": "./dist/index.d.cts",
|
|
17
|
+
"default": "./dist/index.cjs"
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
"./browser": {
|
|
21
|
+
"import": {
|
|
22
|
+
"types": "./dist/browser.d.mts",
|
|
23
|
+
"default": "./dist/browser.mjs"
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
"sideEffects": false,
|
|
28
|
+
"files": ["dist", "LICENSE", "README.md"],
|
|
29
|
+
"engines": { "node": ">=24.0.0", "bun": ">=1.3.14" },
|
|
30
|
+
"author": "Oleksandr Kucherenko",
|
|
31
|
+
"license": "MIT",
|
|
32
|
+
"repository": {
|
|
33
|
+
"type": "git",
|
|
34
|
+
"url": "git+https://github.com/moku-labs/common.git"
|
|
35
|
+
},
|
|
36
|
+
"bugs": {
|
|
37
|
+
"url": "https://github.com/moku-labs/common/issues"
|
|
38
|
+
},
|
|
39
|
+
"homepage": "https://github.com/moku-labs/common#readme",
|
|
40
|
+
"keywords": [
|
|
41
|
+
"moku",
|
|
42
|
+
"plugins",
|
|
43
|
+
"framework",
|
|
44
|
+
"typescript",
|
|
45
|
+
"logging",
|
|
46
|
+
"env"
|
|
47
|
+
],
|
|
48
|
+
"publishConfig": {
|
|
49
|
+
"access": "public",
|
|
50
|
+
"registry": "https://registry.npmjs.org/"
|
|
51
|
+
},
|
|
52
|
+
"dependencies": {
|
|
53
|
+
"@moku-labs/core": "0.1.4"
|
|
54
|
+
},
|
|
55
|
+
"devDependencies": {
|
|
56
|
+
"@arethetypeswrong/cli": "0.18.3",
|
|
57
|
+
"@arethetypeswrong/core": "0.18.3",
|
|
58
|
+
"@biomejs/biome": "2.4.16",
|
|
59
|
+
"@types/bun": "1.3.14",
|
|
60
|
+
"@vitest/coverage-istanbul": "4.0.18",
|
|
61
|
+
"eslint": "9.39.3",
|
|
62
|
+
"eslint-config-biome": "2.1.3",
|
|
63
|
+
"eslint-plugin-jsdoc": "62.6.0",
|
|
64
|
+
"eslint-plugin-sonarjs": "4.0.0",
|
|
65
|
+
"eslint-plugin-unicorn": "63.0.0",
|
|
66
|
+
"globals": "17.4.0",
|
|
67
|
+
"jiti": "2.6.1",
|
|
68
|
+
"lefthook": "2.1.1",
|
|
69
|
+
"publint": "0.3.21",
|
|
70
|
+
"tsdown": "0.22.1",
|
|
71
|
+
"typescript": "6.0.3",
|
|
72
|
+
"typescript-eslint": "8.58.0",
|
|
73
|
+
"vitest": "4.0.18"
|
|
74
|
+
},
|
|
75
|
+
"scripts": {
|
|
76
|
+
"build": "tsdown",
|
|
77
|
+
"check:bundle": "bun scripts/verify-browser-bundle.ts",
|
|
78
|
+
"validate": "publint && attw --pack . --profile node16 --exclude-entrypoints browser",
|
|
79
|
+
"lint": "biome check . && eslint .",
|
|
80
|
+
"lint:fix": "biome check --write . && eslint --fix .",
|
|
81
|
+
"format": "biome format --write .",
|
|
82
|
+
"test": "vitest run",
|
|
83
|
+
"test:unit": "vitest run --project unit",
|
|
84
|
+
"test:integration": "vitest run --project integration",
|
|
85
|
+
"test:coverage": "vitest run --project unit --project integration --coverage"
|
|
86
|
+
}
|
|
87
|
+
}
|