Skip to content

Commit

Permalink
Bump version to 2.0.0 (opensearch-project#311)
Browse files Browse the repository at this point in the history
* Bump version to 2.0

Signed-off-by: Eugene Lee <eugenesk@amazon.com>

Co-authored-by: David Cui <davidcui@amazon.com>
  • Loading branch information
eugenesk24 and davidcui1225 authored Mar 24, 2022
1 parent f54480f commit df60a31
Show file tree
Hide file tree
Showing 6 changed files with 14 additions and 13 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@ on: [pull_request, push]
env:
PLUGIN_NAME: reportsDashboards
ARTIFACT_NAME: reports-dashboards
OPENSEARCH_VERSION: '1.x'
OPENSEARCH_PLUGIN_VERSION: 1.3.0.0
OPENSEARCH_VERSION: 'main'
OPENSEARCH_PLUGIN_VERSION: 2.0.0.0

jobs:
build:
Expand All @@ -25,7 +25,7 @@ jobs:
- name: Setup Node
uses: actions/setup-node@v1
with:
node-version: "10.24.1"
node-version: "14.18.2"

- name: Move Dashboards Reports to Plugins Dir
run: mv dashboards-reports OpenSearch-Dashboards/plugins/${{ env.PLUGIN_NAME }}
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/draft-release-notes-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,6 @@ jobs:
with:
config-name: draft-release-notes-config.yml
tag: (None)
version: 1.3.0.0
version: 2.0.0.0
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
4 changes: 2 additions & 2 deletions opensearch_dashboards.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"id": "reportsDashboards",
"version": "1.3.0.0",
"opensearchDashboardsVersion": "1.3.0",
"version": "2.0.0.0",
"opensearchDashboardsVersion": "2.0.0",
"requiredPlugins": ["navigation", "data", "opensearchDashboardsUtils"],
"optionalPlugins": ["share"],
"server": true,
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "reports-dashboards",
"version": "1.3.0.0",
"version": "2.0.0.0",
"description": "OpenSearch Dashboards Reports Plugin",
"license": "Apache-2.0",
"main": "index.ts",
Expand Down Expand Up @@ -38,7 +38,7 @@
"react-native-base64": "^0.0.2",
"react-native-i18n": "^2.0.15",
"react-navigation": "^4.3.9",
"react-router-dom": "^5.2.0",
"react-router-dom": "^5.3.0",
"react-toast-notifications": "^2.4.0",
"set-interval-async": "1.0.33",
"showdown": "^1.9.1"
Expand All @@ -49,16 +49,16 @@
"@types/enzyme-adapter-react-16": "^1.0.6",
"@types/jsdom": "^16.2.3",
"@types/puppeteer-core": "^2.0.0",
"@types/react": "^16.9.36",
"@types/react": "^16.14.23",
"@types/react-addons-test-utils": "^0.14.25",
"@types/react-dom": "^16.9.8",
"@types/react-test-renderer": "^16.9.1",
"@types/set-interval-async": "^1.0.0",
"@types/showdown": "^1.9.3",
"babel-jest": "^26.3.0",
"babel-jest": "^27.5.1",
"cypress": "^5.0.0",
"elastic-builder": "^2.7.1",
"eslint-plugin-babel": "^5.3.0",
"eslint-plugin-babel": "^5.3.1",
"eslint-plugin-no-unsanitized": "^3.0.2",
"eslint-plugin-prefer-object-spread": "^1.2.1",
"identity-obj-proxy": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions public/components/main/__tests__/main.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function setBreadcrumbs(array: []) {

describe('<Main /> panel', () => {
configure({ adapter: new Adapter() });
test('render component', async (done) => {
test('render component', (done) => {
window = Object.create(window);
Object.defineProperty(window, 'location', {
configurable: true,
Expand All @@ -27,7 +27,7 @@ describe('<Main /> panel', () => {
},
});

const { container } = await render(
const { container } = render(
<Main httpClient={httpClientMock} setBreadcrumbs={setBreadcrumbs} />
);

Expand Down
1 change: 1 addition & 0 deletions test/jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,5 @@ module.exports = {
'\\.(css|less|sass|scss)$': '<rootDir>/test/__mocks__/styleMock.js',
'\\.(gif|ttf|eot|svg)$': '<rootDir>/test/__mocks__/fileMock.js',
},
testEnvironment: 'jsdom',
};

0 comments on commit df60a31

Please sign in to comment.