@atlassian-dc-mcp/confluence 0.17.0 → 0.18.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 +22 -0
- package/build/config.d.ts.map +1 -1
- package/build/config.js +2 -1
- package/build/config.js.map +1 -1
- package/build/confluence-client/core/request.d.ts.map +1 -1
- package/build/confluence-client/core/request.js +21 -2
- package/build/confluence-client/core/request.js.map +1 -1
- package/build/confluence-service.d.ts +2 -7
- package/build/confluence-service.d.ts.map +1 -1
- package/build/confluence-service.js +13 -19
- package/build/confluence-service.js.map +1 -1
- package/build/setup.js +14 -2
- package/build/setup.js.map +1 -1
- package/jest.config.js +1 -0
- package/package.json +3 -3
- package/src/config.ts +2 -1
- package/src/confluence-client/core/request.ts +22 -3
- package/src/confluence-service.ts +14 -17
- package/src/setup.ts +13 -2
- package/tsconfig.tsbuildinfo +1 -1
- package/build/__tests__/setup.test.d.ts +0 -2
- package/build/__tests__/setup.test.d.ts.map +0 -1
- package/build/__tests__/setup.test.js +0 -11
- package/build/__tests__/setup.test.js.map +0 -1
- package/src/__tests__/setup.test.ts +0 -11
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup.test.d.ts","sourceRoot":"","sources":["../../src/__tests__/setup.test.ts"],"names":[],"mappings":""}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import fs from 'node:fs';
|
|
2
|
-
import path from 'node:path';
|
|
3
|
-
describe('confluence setup shim', () => {
|
|
4
|
-
it('calls runSetup with CONFLUENCE_PRODUCT', () => {
|
|
5
|
-
const setupSource = fs.readFileSync(path.join(process.cwd(), 'src', 'setup.ts'), 'utf8');
|
|
6
|
-
expect(setupSource).toMatch(/runSetup\(\s*CONFLUENCE_PRODUCT\s*\)/);
|
|
7
|
-
expect(setupSource).toMatch(/from\s+['"]@atlassian-dc-mcp\/common['"]/);
|
|
8
|
-
expect(setupSource).toMatch(/import\s+\{\s*CONFLUENCE_PRODUCT\s*\}\s+from\s+['"]\.\/config\.js['"]/);
|
|
9
|
-
});
|
|
10
|
-
});
|
|
11
|
-
//# sourceMappingURL=setup.test.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"setup.test.js","sourceRoot":"","sources":["../../src/__tests__/setup.test.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,SAAS,CAAC;AACzB,OAAO,IAAI,MAAM,WAAW,CAAC;AAE7B,QAAQ,CAAC,uBAAuB,EAAE,GAAG,EAAE;IACrC,EAAE,CAAC,wCAAwC,EAAE,GAAG,EAAE;QAChD,MAAM,WAAW,GAAG,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,OAAO,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,UAAU,CAAC,EAAE,MAAM,CAAC,CAAC;QACzF,MAAM,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,sCAAsC,CAAC,CAAC;QACpE,MAAM,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,0CAA0C,CAAC,CAAC;QACxE,MAAM,CAAC,WAAW,CAAC,CAAC,OAAO,CAAC,uEAAuE,CAAC,CAAC;IACvG,CAAC,CAAC,CAAC;AACL,CAAC,CAAC,CAAC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import fs from 'node:fs';
|
|
2
|
-
import path from 'node:path';
|
|
3
|
-
|
|
4
|
-
describe('confluence setup shim', () => {
|
|
5
|
-
it('calls runSetup with CONFLUENCE_PRODUCT', () => {
|
|
6
|
-
const setupSource = fs.readFileSync(path.join(process.cwd(), 'src', 'setup.ts'), 'utf8');
|
|
7
|
-
expect(setupSource).toMatch(/runSetup\(\s*CONFLUENCE_PRODUCT\s*\)/);
|
|
8
|
-
expect(setupSource).toMatch(/from\s+['"]@atlassian-dc-mcp\/common['"]/);
|
|
9
|
-
expect(setupSource).toMatch(/import\s+\{\s*CONFLUENCE_PRODUCT\s*\}\s+from\s+['"]\.\/config\.js['"]/);
|
|
10
|
-
});
|
|
11
|
-
});
|