@antelopejs/dms-automation 0.0.2 → 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/README.md +3 -3
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/types/constants.d.ts +1 -1
- package/dist/types/constants.js +2 -2
- package/dist/types/constants.js.map +1 -1
- package/package.json +18 -20
package/README.md
CHANGED
|
@@ -40,9 +40,9 @@ project's `antelope.config.ts`.
|
|
|
40
40
|
The interface package is released before dms-automation because the latter depends on
|
|
41
41
|
it. Both are published to npmjs from their own manually dispatched GitHub workflow:
|
|
42
42
|
run `Release DMS automation interface` first, then `Release DMS automation module`,
|
|
43
|
-
which refuses to run until the interface version
|
|
44
|
-
on npmjs.
|
|
45
|
-
|
|
43
|
+
which refuses to run until the interface version its dependency range is floored at is
|
|
44
|
+
resolvable on npmjs. Inside the workspace that same range resolves to the sibling
|
|
45
|
+
package, through `link-workspace-packages`. Existing consumers of the old standalone interface must
|
|
46
46
|
move to `@antelopejs/interface-dms-automation` and update their `implements` or
|
|
47
47
|
optional-dependency wiring; no compatibility alias is provided.
|
|
48
48
|
|
package/dist/index.js
CHANGED
|
@@ -65,7 +65,7 @@ async function construct(config) {
|
|
|
65
65
|
globalConfig = (0, defu_1.defu)(config, globalConfig);
|
|
66
66
|
(0, interface_core_1.ImplementInterface)(await Promise.resolve().then(() => __importStar(require("@antelopejs/interface-dms-automation"))), await Promise.resolve().then(() => __importStar(require("./implementations/dms-automation"))));
|
|
67
67
|
await (0, page_1.AddFrontendModule)({
|
|
68
|
-
name: constants_1.
|
|
68
|
+
name: constants_1.FRONTEND_MODULE_NAME,
|
|
69
69
|
sourcePath: node_path_1.default.join(__dirname, "../frontend-vue"),
|
|
70
70
|
renderer: { name: "vue", version: "3" },
|
|
71
71
|
configKey: "dmsAutomation",
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,8BAgBC;AAED,8BAEC;AA6CD,sBAmBC;AAED,0BAKC;AAED,oBAA+B;AAjI/B,gBAAc;AACd,mBAAiB;AACjB,oBAAkB;AAClB,0DAA6B;AAC7B,+DAAgE;AAChE,gEAA6D;AAC7D,6FAA2E;AAC3E,yDAAmE;AACnE,mFAI8C;AAC9C,+BAA4B;AAC5B,mDAAqC;AACrC,iDAAgD;AAChD,yDAA2C;AAE3C,yCAAoD;AACpD,iDAI4B;AAC5B,iDAA8C;AAC9C,2DAAwD;AACxD,qDAAkE;AAClE,
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAoCA,8BAgBC;AAED,8BAEC;AA6CD,sBAmBC;AAED,0BAKC;AAED,oBAA+B;AAjI/B,gBAAc;AACd,mBAAiB;AACjB,oBAAkB;AAClB,0DAA6B;AAC7B,+DAAgE;AAChE,gEAA6D;AAC7D,6FAA2E;AAC3E,yDAAmE;AACnE,mFAI8C;AAC9C,+BAA4B;AAC5B,mDAAqC;AACrC,iDAAgD;AAChD,yDAA2C;AAE3C,yCAAoD;AACpD,iDAI4B;AAC5B,iDAA8C;AAC9C,2DAAwD;AACxD,qDAAkE;AAClE,iDAAsE;AAOtE,IAAI,YAAY,GAAW,EAAE,CAAC;AAEvB,KAAK,UAAU,SAAS,CAAC,MAAc;IAC5C,YAAY,GAAG,IAAA,WAAI,EAAC,MAAM,EAAE,YAAY,CAAC,CAAC;IAE1C,IAAA,mCAAkB,EAChB,wDAAa,sCAAsC,GAAC,EACpD,wDAAa,kCAAkC,GAAC,CACjD,CAAC;IAEF,MAAM,IAAA,wBAAiB,EAAC;QACtB,IAAI,EAAE,gCAAoB;QAC1B,UAAU,EAAE,mBAAI,CAAC,IAAI,CAAC,SAAS,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ATABASE_NAME = "dms-automation";
|
|
3
3
|
export declare const SCHEMA_NAME = "dms_automation";
|
|
4
4
|
export declare const FETCH_ALL_LIMIT = 100000;
|
package/dist/types/constants.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.MS_PER_DAY = exports.MS_PER_HOUR = exports.FETCH_ALL_LIMIT = exports.SCHEMA_NAME = exports.DATABASE_NAME = exports.
|
|
4
|
-
exports.
|
|
3
|
+
exports.MS_PER_DAY = exports.MS_PER_HOUR = exports.FETCH_ALL_LIMIT = exports.SCHEMA_NAME = exports.DATABASE_NAME = exports.FRONTEND_MODULE_NAME = void 0;
|
|
4
|
+
exports.FRONTEND_MODULE_NAME = "@antelopejs/dms-automation-frontend-vue";
|
|
5
5
|
exports.DATABASE_NAME = "dms-automation";
|
|
6
6
|
exports.SCHEMA_NAME = "dms_automation";
|
|
7
7
|
exports.FETCH_ALL_LIMIT = 100000;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/types/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,
|
|
1
|
+
{"version":3,"file":"constants.js","sourceRoot":"","sources":["../../src/types/constants.ts"],"names":[],"mappings":";;;AAAa,QAAA,oBAAoB,GAAG,yCAAyC,CAAC;AACjE,QAAA,aAAa,GAAG,gBAAgB,CAAC;AACjC,QAAA,WAAW,GAAG,gBAAgB,CAAC;AAQ/B,QAAA,eAAe,GAAG,MAAM,CAAC;AAGzB,QAAA,WAAW,GAAG,EAAE,GAAG,EAAE,GAAG,IAAI,CAAC;AAC7B,QAAA,UAAU,GAAG,EAAE,GAAG,mBAAW,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@antelopejs/dms-automation",
|
|
3
|
-
"version": "0.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"license": "Apache-2.0",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -27,22 +27,6 @@
|
|
|
27
27
|
"provenance": true,
|
|
28
28
|
"registry": "https://registry.npmjs.org/"
|
|
29
29
|
},
|
|
30
|
-
"scripts": {
|
|
31
|
-
"build": "pnpm --filter @antelopejs/interface-dms-automation build && rimraf dist && tsc -p tsconfig.build.json",
|
|
32
|
-
"test:frontend-registration": "pnpm run build && node --test tests/frontend-registration.test.cjs",
|
|
33
|
-
"test:release-script": "node --test tests/release-script.test.cjs",
|
|
34
|
-
"dev": "ajs project run -w -p playground",
|
|
35
|
-
"lint": "oxlint && oxfmt --check . && cd frontend-vue && pnpm lint",
|
|
36
|
-
"typecheck": "pnpm --filter @antelopejs/interface-dms-automation typecheck && tsc -p tsconfig.json",
|
|
37
|
-
"lint:fix": "oxlint --fix --max-warnings=1000000 && oxfmt . && cd frontend-vue && pnpm lint:fix",
|
|
38
|
-
"format": "oxfmt .",
|
|
39
|
-
"frontend:dev": "cd playground && pnpm frontend:dev",
|
|
40
|
-
"release": "pnpm --filter @antelopejs/interface-dms-automation build && pnpm --dir frontend-vue install --frozen-lockfile && pnpm lint && pnpm typecheck && pnpm test:frontend-registration && pnpm run verify:interface && release-it",
|
|
41
|
-
"verify:interface": "node scripts/verify-interface-package.cjs",
|
|
42
|
-
"prepack": "pnpm run build",
|
|
43
|
-
"knip": "knip --dependencies",
|
|
44
|
-
"knip:all": "knip"
|
|
45
|
-
},
|
|
46
30
|
"dependencies": {
|
|
47
31
|
"@antelopejs/interface-api": "^0.0.13",
|
|
48
32
|
"@antelopejs/interface-api-util": "^0.1.2",
|
|
@@ -51,7 +35,7 @@
|
|
|
51
35
|
"@antelopejs/interface-database": "0.1.7",
|
|
52
36
|
"@antelopejs/interface-database-decorators": ">=0.1.6 <1.0.0",
|
|
53
37
|
"@antelopejs/interface-dms": ">=0.0.1 <1.0.0",
|
|
54
|
-
"@antelopejs/interface-dms-automation": "
|
|
38
|
+
"@antelopejs/interface-dms-automation": ">=0.0.2 <1.0.0",
|
|
55
39
|
"defu": "^6.1.4",
|
|
56
40
|
"node-cron": "^4.2.1",
|
|
57
41
|
"zod": "^3.25.76"
|
|
@@ -73,11 +57,25 @@
|
|
|
73
57
|
"optionalDependencies": {
|
|
74
58
|
"@antelopejs/interface-redis": "^0.0.8"
|
|
75
59
|
},
|
|
76
|
-
"packageManager": "pnpm@10.2.0",
|
|
77
60
|
"antelopeJs": {
|
|
78
61
|
"baseUrl": "dist",
|
|
79
62
|
"implements": [
|
|
80
63
|
"@antelopejs/interface-dms-automation"
|
|
81
64
|
]
|
|
65
|
+
},
|
|
66
|
+
"scripts": {
|
|
67
|
+
"build": "pnpm --filter @antelopejs/interface-dms-automation build && rimraf dist && tsc -p tsconfig.build.json",
|
|
68
|
+
"test:frontend-registration": "pnpm run build && node --test tests/frontend-registration.test.cjs",
|
|
69
|
+
"test:release-script": "node --test tests/release-script.test.cjs",
|
|
70
|
+
"dev": "ajs project run -w -p playground",
|
|
71
|
+
"lint": "oxlint && oxfmt --check . && cd frontend-vue && pnpm lint",
|
|
72
|
+
"typecheck": "pnpm --filter @antelopejs/interface-dms-automation typecheck && tsc -p tsconfig.json",
|
|
73
|
+
"lint:fix": "oxlint --fix --max-warnings=1000000 && oxfmt . && cd frontend-vue && pnpm lint:fix",
|
|
74
|
+
"format": "oxfmt .",
|
|
75
|
+
"frontend:dev": "cd playground && pnpm frontend:dev",
|
|
76
|
+
"release": "pnpm --filter @antelopejs/interface-dms-automation build && pnpm --dir frontend-vue install --frozen-lockfile && pnpm lint && pnpm typecheck && pnpm test:frontend-registration && pnpm run verify:interface && release-it",
|
|
77
|
+
"verify:interface": "node scripts/verify-interface-package.cjs",
|
|
78
|
+
"knip": "knip --dependencies",
|
|
79
|
+
"knip:all": "knip"
|
|
82
80
|
}
|
|
83
|
-
}
|
|
81
|
+
}
|