@memberjunction/ng-artifacts 4.2.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.
- package/dist/__tests__/exports.test.d.ts +2 -0
- package/dist/__tests__/exports.test.d.ts.map +1 -0
- package/dist/__tests__/exports.test.js +17 -0
- package/dist/__tests__/exports.test.js.map +1 -0
- package/dist/__tests__/index.test.d.ts +2 -0
- package/dist/__tests__/index.test.d.ts.map +1 -0
- package/dist/__tests__/index.test.js +7 -0
- package/dist/__tests__/index.test.js.map +1 -0
- package/package.json +16 -14
|
@@ -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-artifacts', () => {
|
|
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-artifacts');
|
|
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,8BAA8B,EAAE,GAAG,EAAE;IAC5C,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,8BAA8B,CAAC,CAAC;IACxD,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/index.test.ts"],"names":[],"mappings":""}
|
|
@@ -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,8BAA8B,EAAE,GAAG,EAAE;IAC5C,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-artifacts",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.3.0",
|
|
4
4
|
"description": "MemberJunction: Artifact viewer plugin system for rendering different artifact types (JSON, Code, Markdown, HTML, SVG, Components)",
|
|
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 \"
|
|
12
|
-
"build": "ngc"
|
|
11
|
+
"test": "echo \"No tests configured yet\"",
|
|
12
|
+
"build": "ngc",
|
|
13
|
+
"test:watch": "vitest"
|
|
13
14
|
},
|
|
14
15
|
"keywords": [],
|
|
15
16
|
"author": "",
|
|
@@ -17,7 +18,8 @@
|
|
|
17
18
|
"devDependencies": {
|
|
18
19
|
"@angular/compiler": "21.1.3",
|
|
19
20
|
"@angular/compiler-cli": "21.1.3",
|
|
20
|
-
"sass": "^1.97.3"
|
|
21
|
+
"sass": "^1.97.3",
|
|
22
|
+
"vitest": "^4.0.18"
|
|
21
23
|
},
|
|
22
24
|
"peerDependencies": {
|
|
23
25
|
"@angular/common": "21.1.3",
|
|
@@ -27,16 +29,16 @@
|
|
|
27
29
|
"dependencies": {
|
|
28
30
|
"@angular/cdk": "21.1.3",
|
|
29
31
|
"@angular/forms": "21.1.3",
|
|
30
|
-
"@memberjunction/core": "4.
|
|
31
|
-
"@memberjunction/core-entities": "4.
|
|
32
|
-
"@memberjunction/global": "4.
|
|
33
|
-
"@memberjunction/interactive-component-types": "4.
|
|
34
|
-
"@memberjunction/ng-base-types": "4.
|
|
35
|
-
"@memberjunction/ng-code-editor": "4.
|
|
36
|
-
"@memberjunction/ng-notifications": "4.
|
|
37
|
-
"@memberjunction/ng-react": "4.
|
|
38
|
-
"@memberjunction/ng-shared-generic": "4.
|
|
39
|
-
"@memberjunction/ng-markdown": "4.
|
|
32
|
+
"@memberjunction/core": "4.3.0",
|
|
33
|
+
"@memberjunction/core-entities": "4.3.0",
|
|
34
|
+
"@memberjunction/global": "4.3.0",
|
|
35
|
+
"@memberjunction/interactive-component-types": "4.3.0",
|
|
36
|
+
"@memberjunction/ng-base-types": "4.3.0",
|
|
37
|
+
"@memberjunction/ng-code-editor": "4.3.0",
|
|
38
|
+
"@memberjunction/ng-notifications": "4.3.0",
|
|
39
|
+
"@memberjunction/ng-react": "4.3.0",
|
|
40
|
+
"@memberjunction/ng-shared-generic": "4.3.0",
|
|
41
|
+
"@memberjunction/ng-markdown": "4.3.0",
|
|
40
42
|
"marked": "^17.0.1",
|
|
41
43
|
"rxjs": "^7.8.2",
|
|
42
44
|
"tslib": "^2.8.1"
|