-
Notifications
You must be signed in to change notification settings - Fork 188
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore(compass-generative-ai): add generative ai package COMPASS-7244 (#…
- Loading branch information
Showing
28 changed files
with
320 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 2 additions & 1 deletion
3
packages/compass-aggregations/src/components/pipeline-toolbar/pipeline-ai.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
...compass-aggregations/src/components/pipeline-toolbar/pipeline-header/pipeline-actions.tsx
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
ignores: | ||
- '@mongodb-js/prettier-config-compass' | ||
- '@mongodb-js/tsconfig-compass' | ||
- '@types/chai' | ||
- '@types/sinon-chai' | ||
- 'sinon' | ||
- '@types/chai-dom' | ||
- '@types/react' | ||
- '@types/react-dom' | ||
ignore-patterns: | ||
- 'dist' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
.nyc-output | ||
dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
module.exports = { | ||
root: true, | ||
extends: ['@mongodb-js/eslint-config-compass'], | ||
parserOptions: { | ||
tsconfigRootDir: __dirname, | ||
project: ['./tsconfig-lint.json'], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('@mongodb-js/mocha-config-compass/compass-plugin'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
.nyc_output | ||
dist | ||
coverage |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
"@mongodb-js/prettier-config-compass" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,91 @@ | ||
{ | ||
"name": "@mongodb-js/compass-generative-ai", | ||
"productName": "compass-generative-ai", | ||
"description": "Generative AI aspects for Compass", | ||
"author": { | ||
"name": "MongoDB Inc", | ||
"email": "[email protected]" | ||
}, | ||
"publishConfig": { | ||
"access": "public" | ||
}, | ||
"bugs": { | ||
"url": "https://jira.mongodb.org/projects/COMPASS/issues", | ||
"email": "[email protected]" | ||
}, | ||
"homepage": "https://github.com/mongodb-js/compass", | ||
"version": "0.1.0", | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/mongodb-js/compass.git" | ||
}, | ||
"files": [ | ||
"dist" | ||
], | ||
"license": "SSPL", | ||
"main": "dist/index.js", | ||
"compass:main": "src/index.ts", | ||
"exports": { | ||
"browser": "./dist/browser.js", | ||
"require": "./dist/index.js" | ||
}, | ||
"compass:exports": { | ||
".": "./src/index.ts" | ||
}, | ||
"types": "./dist/src/index.d.ts", | ||
"scripts": { | ||
"bootstrap": "npm run postcompile", | ||
"prepublishOnly": "npm run compile", | ||
"compile": "npm run webpack -- --mode production", | ||
"webpack": "webpack-compass", | ||
"postcompile": "tsc --emitDeclarationOnly", | ||
"start": "npm run webpack serve -- --mode development", | ||
"analyze": "npm run webpack -- --mode production --analyze", | ||
"typecheck": "tsc -p tsconfig-lint.json --noEmit", | ||
"eslint": "eslint", | ||
"prettier": "prettier", | ||
"lint": "npm run eslint . && npm run prettier -- --check .", | ||
"depcheck": "compass-scripts check-peer-deps && depcheck", | ||
"check": "npm run typecheck && npm run lint && npm run depcheck", | ||
"check-ci": "npm run check", | ||
"test": "mocha", | ||
"test-electron": "xvfb-maybe electron-mocha --no-sandbox", | ||
"test-cov": "nyc --compact=false --produce-source-map=false -x \"**/*.spec.*\" --reporter=lcov --reporter=text --reporter=html npm run test", | ||
"test-watch": "npm run test -- --watch", | ||
"test-ci": "npm run test-cov", | ||
"test-ci-electron": "npm run test-electron", | ||
"reformat": "npm run prettier -- --write . && npm run eslint . --fix" | ||
}, | ||
"peerDependencies": { | ||
"@mongodb-js/compass-components": "^1.15.0", | ||
"react": "*" | ||
}, | ||
"dependencies": { | ||
"@mongodb-js/compass-components": "^1.15.0" | ||
}, | ||
"devDependencies": { | ||
"@mongodb-js/eslint-config-compass": "^1.0.9", | ||
"@mongodb-js/mocha-config-compass": "^1.3.1", | ||
"@mongodb-js/prettier-config-compass": "^1.0.1", | ||
"@mongodb-js/tsconfig-compass": "^1.0.3", | ||
"@mongodb-js/webpack-config-compass": "^1.2.1", | ||
"@testing-library/react": "^12.1.4", | ||
"@testing-library/user-event": "^13.5.0", | ||
"@types/chai": "^4.2.21", | ||
"@types/chai-dom": "^0.0.10", | ||
"@types/mocha": "^9.0.0", | ||
"@types/react": "^17.0.5", | ||
"@types/react-dom": "^17.0.10", | ||
"@types/sinon-chai": "^3.2.5", | ||
"chai": "^4.3.6", | ||
"depcheck": "^1.4.1", | ||
"eslint": "^7.25.0", | ||
"mocha": "^10.2.0", | ||
"nyc": "^15.1.0", | ||
"prettier": "^2.7.1", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2", | ||
"sinon": "^9.2.3", | ||
"xvfb-maybe": "^0.2.1" | ||
} | ||
} |
Oops, something went wrong.