@ruan-cat/domains 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/CHANGELOG.md ADDED
@@ -0,0 +1,7 @@
1
+ # @ruan-cat/domains 阮喵喵的域名集合
2
+
3
+ ## 0.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 初始化项目。
package/dist/main.cjs ADDED
@@ -0,0 +1,37 @@
1
+ var __defProp = Object.defineProperty;
2
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
3
+ var __getOwnPropNames = Object.getOwnPropertyNames;
4
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
5
+ var __export = (target, all) => {
6
+ for (var name in all)
7
+ __defProp(target, name, { get: all[name], enumerable: true });
8
+ };
9
+ var __copyProps = (to, from, except, desc) => {
10
+ if (from && typeof from === "object" || typeof from === "function") {
11
+ for (let key of __getOwnPropNames(from))
12
+ if (!__hasOwnProp.call(to, key) && key !== except)
13
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
14
+ }
15
+ return to;
16
+ };
17
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
+
19
+ // main.ts
20
+ var main_exports = {};
21
+ __export(main_exports, {
22
+ domains: () => domains,
23
+ projectNames: () => projectNames
24
+ });
25
+ module.exports = __toCommonJS(main_exports);
26
+ var projectNames = ["09oa", "utils", "09oa-docs"];
27
+ var domains = {
28
+ "09oa": ["09oa.ruancat6312.top"],
29
+ "09oa-docs": [],
30
+ utils: []
31
+ };
32
+ // Annotate the CommonJS export names for ESM import in node:
33
+ 0 && (module.exports = {
34
+ domains,
35
+ projectNames
36
+ });
37
+ //# sourceMappingURL=main.cjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../main.ts"],"sourcesContent":["/**\n * 项目名称\n * @description\n * 各种项目的名称 作为标识符查询\n */\nexport const projectNames = <const>[\"09oa\", \"utils\", \"09oa-docs\"];\n\n/** 域名对象 */\nexport type Domains = Record<(typeof projectNames)[number], string[]>;\n\n/** 域名对象 */\nexport const domains: Domains = {\n\t\"09oa\": [\"09oa.ruancat6312.top\"],\n\t\"09oa-docs\": [],\n\tutils: [],\n};\n"],"mappings":";;;;;;;;;;;;;;;;;;;AAAA;AAAA;AAAA;AAAA;AAAA;AAAA;AAKO,IAAM,eAAsB,CAAC,QAAQ,SAAS,WAAW;AAMzD,IAAM,UAAmB;AAAA,EAC/B,QAAQ,CAAC,sBAAsB;AAAA,EAC/B,aAAa,CAAC;AAAA,EACd,OAAO,CAAC;AACT;","names":[]}
@@ -0,0 +1,12 @@
1
+ /**
2
+ * 项目名称
3
+ * @description
4
+ * 各种项目的名称 作为标识符查询
5
+ */
6
+ declare const projectNames: readonly ["09oa", "utils", "09oa-docs"];
7
+ /** 域名对象 */
8
+ type Domains = Record<(typeof projectNames)[number], string[]>;
9
+ /** 域名对象 */
10
+ declare const domains: Domains;
11
+
12
+ export { type Domains, domains, projectNames };
package/dist/main.d.ts ADDED
@@ -0,0 +1,12 @@
1
+ /**
2
+ * 项目名称
3
+ * @description
4
+ * 各种项目的名称 作为标识符查询
5
+ */
6
+ declare const projectNames: readonly ["09oa", "utils", "09oa-docs"];
7
+ /** 域名对象 */
8
+ type Domains = Record<(typeof projectNames)[number], string[]>;
9
+ /** 域名对象 */
10
+ declare const domains: Domains;
11
+
12
+ export { type Domains, domains, projectNames };
@@ -0,0 +1,10 @@
1
+ (() => {
2
+ // main.ts
3
+ var projectNames = ["09oa", "utils", "09oa-docs"];
4
+ var domains = {
5
+ "09oa": ["09oa.ruancat6312.top"],
6
+ "09oa-docs": [],
7
+ utils: []
8
+ };
9
+ })();
10
+ //# sourceMappingURL=main.global.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../main.ts"],"sourcesContent":["/**\n * 项目名称\n * @description\n * 各种项目的名称 作为标识符查询\n */\nexport const projectNames = <const>[\"09oa\", \"utils\", \"09oa-docs\"];\n\n/** 域名对象 */\nexport type Domains = Record<(typeof projectNames)[number], string[]>;\n\n/** 域名对象 */\nexport const domains: Domains = {\n\t\"09oa\": [\"09oa.ruancat6312.top\"],\n\t\"09oa-docs\": [],\n\tutils: [],\n};\n"],"mappings":";;AAKO,MAAM,eAAsB,CAAC,QAAQ,SAAS,WAAW;AAMzD,MAAM,UAAmB;AAAA,IAC/B,QAAQ,CAAC,sBAAsB;AAAA,IAC/B,aAAa,CAAC;AAAA,IACd,OAAO,CAAC;AAAA,EACT;","names":[]}
package/dist/main.js ADDED
@@ -0,0 +1,12 @@
1
+ // main.ts
2
+ var projectNames = ["09oa", "utils", "09oa-docs"];
3
+ var domains = {
4
+ "09oa": ["09oa.ruancat6312.top"],
5
+ "09oa-docs": [],
6
+ utils: []
7
+ };
8
+ export {
9
+ domains,
10
+ projectNames
11
+ };
12
+ //# sourceMappingURL=main.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["../main.ts"],"sourcesContent":["/**\n * 项目名称\n * @description\n * 各种项目的名称 作为标识符查询\n */\nexport const projectNames = <const>[\"09oa\", \"utils\", \"09oa-docs\"];\n\n/** 域名对象 */\nexport type Domains = Record<(typeof projectNames)[number], string[]>;\n\n/** 域名对象 */\nexport const domains: Domains = {\n\t\"09oa\": [\"09oa.ruancat6312.top\"],\n\t\"09oa-docs\": [],\n\tutils: [],\n};\n"],"mappings":";AAKO,IAAM,eAAsB,CAAC,QAAQ,SAAS,WAAW;AAMzD,IAAM,UAAmB;AAAA,EAC/B,QAAQ,CAAC,sBAAsB;AAAA,EAC/B,aAAa,CAAC;AAAA,EACd,OAAO,CAAC;AACT;","names":[]}
package/main.ts ADDED
@@ -0,0 +1,16 @@
1
+ /**
2
+ * 项目名称
3
+ * @description
4
+ * 各种项目的名称 作为标识符查询
5
+ */
6
+ export const projectNames = <const>["09oa", "utils", "09oa-docs"];
7
+
8
+ /** 域名对象 */
9
+ export type Domains = Record<(typeof projectNames)[number], string[]>;
10
+
11
+ /** 域名对象 */
12
+ export const domains: Domains = {
13
+ "09oa": ["09oa.ruancat6312.top"],
14
+ "09oa-docs": [],
15
+ utils: [],
16
+ };
package/package.json ADDED
@@ -0,0 +1,50 @@
1
+ {
2
+ "name": "@ruan-cat/domains",
3
+ "version": "0.1.0",
4
+ "description": "为 ruancat6312.top 和 ruan-cat.com 两个域名,提供预设好的常量。旨在于管理全部的域名,便于查询和使用。",
5
+ "type": "module",
6
+ "main": "main.ts",
7
+ "types": "main.ts",
8
+ "homepage": "https://github.com/ruan-cat/vercel-monorepo-test/tree/main/packages/domains",
9
+ "bugs": {
10
+ "url": "https://github.com/ruan-cat/vercel-monorepo-test/issues"
11
+ },
12
+ "repository": {
13
+ "type": "git",
14
+ "url": "git+https://github.com/ruan-cat/vercel-monorepo-test.git",
15
+ "directory": "packages/domains"
16
+ },
17
+ "exports": {
18
+ ".": {
19
+ "import": "./main.ts",
20
+ "types": "./main.ts"
21
+ },
22
+ "./dist/*": "./dist/*"
23
+ },
24
+ "keywords": [],
25
+ "author": {
26
+ "name": "ruan-cat",
27
+ "email": "1219043956@qq.com",
28
+ "url": "https://github.com/ruan-cat"
29
+ },
30
+ "license": "MIT",
31
+ "publishConfig": {
32
+ "access": "public",
33
+ "registry": "https://registry.npmjs.org/",
34
+ "tag": "beta"
35
+ },
36
+ "files": [
37
+ "dist",
38
+ "main.ts",
39
+ "CHANGELOG.md",
40
+ "tsconfig.json"
41
+ ],
42
+ "devDependencies": {
43
+ "tsup": "^8.3.5"
44
+ },
45
+ "scripts": {
46
+ "clear": "rimraf dist .turbo .vercel .cache .temp",
47
+ "build": "tsup",
48
+ "rm:node_modules": "rimraf node_modules"
49
+ }
50
+ }
package/tsconfig.json ADDED
@@ -0,0 +1,10 @@
1
+ {
2
+ "references": [
3
+ {
4
+ "path": "../../tsconfig.md.json"
5
+ }
6
+ ],
7
+ "include": [
8
+ "main.ts"
9
+ ]
10
+ }