@mj-biz-apps/tasks-actions 1.0.0 → 1.0.1
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/package.json
CHANGED
|
@@ -1,14 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mj-biz-apps/tasks-actions",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.1",
|
|
5
5
|
"description": "BizApps Tasks Action Subclasses",
|
|
6
6
|
"main": "dist/index.js",
|
|
7
7
|
"types": "dist/index.d.ts",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
-
"files": [
|
|
11
|
+
"files": [
|
|
12
|
+
"/dist"
|
|
13
|
+
],
|
|
12
14
|
"scripts": {
|
|
13
15
|
"build": "tsc && tsc-alias -f",
|
|
14
16
|
"test": "vitest run"
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { describe, it, expect, vi } from 'vitest';
|
|
2
|
-
// The package currently re-exports CodeGen output that has no action classes yet.
|
|
3
|
-
// These mocks let the module import cleanly without the heavy MJ runtime deps.
|
|
4
|
-
// When real actions are added, add focused tests alongside this smoke test.
|
|
5
|
-
vi.mock('@memberjunction/actions-base', () => ({}));
|
|
6
|
-
vi.mock('@memberjunction/actions', () => ({ BaseAction: class {
|
|
7
|
-
}, ActionEngineServer: class {
|
|
8
|
-
} }));
|
|
9
|
-
vi.mock('@memberjunction/global', () => ({ RegisterClass: () => () => { }, MJGlobal: {} }));
|
|
10
|
-
vi.mock('@memberjunction/core', () => ({ Metadata: class {
|
|
11
|
-
}, RunView: class {
|
|
12
|
-
}, RunQuery: class {
|
|
13
|
-
} }));
|
|
14
|
-
describe('@mj-biz-apps/tasks-actions', () => {
|
|
15
|
-
it('imports the package entry point without error', async () => {
|
|
16
|
-
const mod = await import('../index.js');
|
|
17
|
-
expect(mod).toBeDefined();
|
|
18
|
-
});
|
|
19
|
-
});
|
|
20
|
-
//# sourceMappingURL=index.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.test.js","sourceRoot":"","sources":["../../src/__tests__/index.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,QAAQ,CAAC;AAElD,kFAAkF;AAClF,+EAA+E;AAC/E,4EAA4E;AAC5E,EAAE,CAAC,IAAI,CAAC,8BAA8B,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC;AACpD,EAAE,CAAC,IAAI,CAAC,yBAAyB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,UAAU,EAAE;KAAQ,EAAE,kBAAkB,EAAE;KAAQ,EAAE,CAAC,CAAC,CAAC;AACnG,EAAE,CAAC,IAAI,CAAC,wBAAwB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,aAAa,EAAE,GAAG,EAAE,CAAC,GAAG,EAAE,GAAE,CAAC,EAAE,QAAQ,EAAE,EAAE,EAAE,CAAC,CAAC,CAAC;AAC3F,EAAE,CAAC,IAAI,CAAC,sBAAsB,EAAE,GAAG,EAAE,CAAC,CAAC,EAAE,QAAQ,EAAE;KAAQ,EAAE,OAAO,EAAE;KAAQ,EAAE,QAAQ,EAAE;KAAQ,EAAE,CAAC,CAAC,CAAC;AAEvG,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,+CAA+C,EAAE,KAAK,IAAI,EAAE;QAC7D,MAAM,GAAG,GAAG,MAAM,MAAM,CAAC,aAAa,CAAC,CAAC;QACxC,MAAM,CAAC,GAAG,CAAC,CAAC,WAAW,EAAE,CAAC;IAC5B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|