@memberjunction/ng-actions 4.1.0 → 4.3.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.
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=exports.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exports.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/exports.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,17 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ import { existsSync } from 'fs';
3
+ import { resolve } from 'path';
4
+ describe('@memberjunction/ng-actions', () => {
5
+ it('should have a public API entry point', () => {
6
+ const pkgRoot = resolve(__dirname, '../..');
7
+ const hasPublicApi = existsSync(resolve(pkgRoot, 'src/public-api.ts'));
8
+ const hasIndex = existsSync(resolve(pkgRoot, 'src/index.ts'));
9
+ expect(hasPublicApi || hasIndex).toBe(true);
10
+ });
11
+ it('should have a package.json with correct name', () => {
12
+ const pkgRoot = resolve(__dirname, '../..');
13
+ const pkg = require(resolve(pkgRoot, 'package.json'));
14
+ expect(pkg.name).toBe('@memberjunction/ng-actions');
15
+ });
16
+ });
17
+ //# sourceMappingURL=exports.test.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"exports.test.js","sourceRoot":"","sources":["../../src/__tests__/exports.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,MAAM,EAAE,MAAM,QAAQ,CAAC;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,IAAI,CAAC;AAChC,OAAO,EAAE,OAAO,EAAE,MAAM,MAAM,CAAC;AAE/B,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,sCAAsC,EAAE,GAAG,EAAE;QAC9C,MAAM,OAAO,GAAG,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAC5C,MAAM,YAAY,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,mBAAmB,CAAC,CAAC,CAAC;QACvE,MAAM,QAAQ,GAAG,UAAU,CAAC,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;QAC9D,MAAM,CAAC,YAAY,IAAI,QAAQ,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC9C,CAAC,CAAC,CAAC;IAEH,EAAE,CAAC,8CAA8C,EAAE,GAAG,EAAE;QACtD,MAAM,OAAO,GAAG,OAAO,CAAC,SAAS,EAAE,OAAO,CAAC,CAAC;QAC5C,MAAM,GAAG,GAAG,OAAO,CAAC,OAAO,CAAC,OAAO,EAAE,cAAc,CAAC,CAAC,CAAC;QACtD,MAAM,CAAC,GAAG,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,4BAA4B,CAAC,CAAC;IACtD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
@@ -0,0 +1,2 @@
1
+ export {};
2
+ //# sourceMappingURL=index.test.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/index.test.ts"],"names":[],"mappings":""}
@@ -0,0 +1,7 @@
1
+ import { describe, it, expect } from 'vitest';
2
+ describe('@memberjunction/ng-actions', () => {
3
+ it('should have a passing test', () => {
4
+ expect(true).toBe(true);
5
+ });
6
+ });
7
+ //# sourceMappingURL=index.test.js.map
@@ -0,0 +1 @@
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,MAAM,QAAQ,CAAC;AAE9C,QAAQ,CAAC,4BAA4B,EAAE,GAAG,EAAE;IAC1C,EAAE,CAAC,4BAA4B,EAAE,GAAG,EAAE;QACpC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAC1B,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@memberjunction/ng-actions",
3
- "version": "4.1.0",
3
+ "version": "4.3.0",
4
4
  "description": "MemberJunction Action Runner - Reusable components for testing and running actions with no Kendo dependencies",
5
5
  "main": "./dist/public-api.js",
6
6
  "typings": "./dist/public-api.d.ts",
@@ -8,8 +8,9 @@
8
8
  "/dist"
9
9
  ],
10
10
  "scripts": {
11
- "test": "echo \"Error: no test specified\" && exit 1",
12
- "build": "ngc"
11
+ "test": "echo \"No tests configured yet\"",
12
+ "build": "ngc",
13
+ "test:watch": "vitest"
13
14
  },
14
15
  "keywords": [
15
16
  "actions",
@@ -21,7 +22,8 @@
21
22
  "license": "ISC",
22
23
  "devDependencies": {
23
24
  "@angular/compiler": "21.1.3",
24
- "@angular/compiler-cli": "21.1.3"
25
+ "@angular/compiler-cli": "21.1.3",
26
+ "vitest": "^4.0.18"
25
27
  },
26
28
  "peerDependencies": {
27
29
  "@angular/common": "21.1.3",
@@ -30,10 +32,10 @@
30
32
  },
31
33
  "dependencies": {
32
34
  "@angular/platform-browser": "21.1.3",
33
- "@memberjunction/core": "4.1.0",
34
- "@memberjunction/core-entities": "4.1.0",
35
- "@memberjunction/global": "4.1.0",
36
- "@memberjunction/graphql-dataprovider": "4.1.0",
35
+ "@memberjunction/core": "4.3.0",
36
+ "@memberjunction/core-entities": "4.3.0",
37
+ "@memberjunction/global": "4.3.0",
38
+ "@memberjunction/graphql-dataprovider": "4.3.0",
37
39
  "rxjs": "^7.8.2",
38
40
  "tslib": "^2.8.1"
39
41
  },