Skip to content

Commit

Permalink
adds dashboards as suffix to plugin name (opensearch-project#27)
Browse files Browse the repository at this point in the history
Signed-off-by: Shivam Dhar <dhshivam@amazon.com>
  • Loading branch information
Shivamdhar authored Aug 4, 2022
1 parent b805924 commit e7cef5b
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 4 deletions.
2 changes: 1 addition & 1 deletion src/plugins/custom_import_map/opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"id": "customImportMap",
"id": "customImportMapDashboards",
"version": "2.2.0.0",
"opensearchDashboardsVersion": "2.2.0",
"server": true,
Expand Down
10 changes: 8 additions & 2 deletions src/plugins/custom_import_map/package.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,21 @@
{
"name": "customImportMap",
"version": "2.2.0.0",
"license": "Apache-2.0",
"config": {
"id": "customImportMapDashboards"
},
"scripts": {
"build": "yarn plugin-helpers build",
"plugin-helpers": "node ../../scripts/plugin_helpers",
"osd": "node ../../scripts/osd",
"lint": "yarn run lint:es && yarn run lint:style",
"lint:es": "node ../../scripts/eslint",
"lint:style": "node ../../scripts/stylelint",
"test:jest": "TZ=UTC ../../node_modules/.bin/jest --config ./test/jest.config.js"
},
"test:jest": "TZ=UTC ../../node_modules/.bin/jest --config ./test/jest.config.js",
"postbuild": "echo Renaming build artifact to [$npm_package_config_id-$npm_package_version.zip] && mv build/$npm_package_config_id*.zip build/$npm_package_config_id-$npm_package_version.zip",
"opensearch": "node ../../scripts/opensearch"
},
"husky": {
"hooks": {
"pre-commit": "lint-staged"
Expand Down
2 changes: 1 addition & 1 deletion src/plugins/custom_import_map/test/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ module.exports = {
coveragePathIgnorePatterns: ['<rootDir>/build/', '<rootDir>/node_modules/', '<rootDir>/test/'],
clearMocks: true,
testPathIgnorePatterns: ['<rootDir>/build/', '<rootDir>/node_modules/'],
modulePathIgnorePatterns: [],
modulePathIgnorePatterns: ['customImportMapDashboards'],
testEnvironment: 'jest-environment-jsdom',
};

0 comments on commit e7cef5b

Please sign in to comment.