Skip to content
Merged
Show file tree
Hide file tree
Changes from 10 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 20 additions & 6 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions src/shell/js/composeui-fdc3/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
dist/
node_modules/
coverage/
.vscode/
21 changes: 21 additions & 0 deletions src/shell/js/composeui-fdc3/jest.config.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
/*
* For a detailed explanation regarding each configuration property and type check, visit:
* https://jestjs.io/docs/configuration
*/

export default {
// Automatically clear mock calls, instances, contexts and results before every test
clearMocks: true,

// Indicates whether the coverage information should be collected while executing the test
collectCoverage: true,

// The directory where Jest should output its coverage files
coverageDirectory: "coverage",

// Indicates which provider should be used to instrument code for coverage
coverageProvider: "v8",

// A preset that is used as a base for Jest's configuration
preset: "ts-jest",
};
20 changes: 13 additions & 7 deletions src/shell/js/composeui-fdc3/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,23 +3,29 @@
"version": "0.1.0",
"description": "FDC3 DesktopAgent implementation for Compose UI",
"type": "module",
"main": "output/index.js",
"module": "output/index.js",
"main": "dist/index.js",
"module": "dist/index.js",
"scripts": {
"clean": "rimraf output",
"clean": "rimraf dist",
"build": "npm run clean && tsc",
"test": "node -e \"console.log('no tests exists yet')\""
"test": "jest"
},
"author": "Morgan Stanley",
"license": "Apache-2.0",
"dependencies": {
"@finos/fdc3": "^2.0.0",
"@morgan-stanley/composeui-messaging-client": "^0.1.0-alpha.1",
"@types/node": "^18.11.18",
"@finos/fdc3": "^2.0.1"
"rxjs": "^7.8.1"
},
"devDependencies":{
"devDependencies": {
"@types/jest": "^29.4.0",
"@types/node": "^18.11.18",
"jest": "^29.4.3",
"rimraf": "4.1.2",
"ts-jest": "29.1.0",
"ts-node": "10.9.1",
"tslib": "^2.4.0",
"typescript": "^4.7.4"
}
}
}
93 changes: 0 additions & 93 deletions src/shell/js/composeui-fdc3/src/ComposeDesktopAgent.ts

This file was deleted.

Loading