diff --git a/.adr.json b/.adr.json new file mode 100644 index 0000000000..39e4f9f139 --- /dev/null +++ b/.adr.json @@ -0,0 +1,6 @@ +{ + "language": "en", + "path": "docs/architecture/decisions/", + "prefix": "", + "digits": 4 +} diff --git a/build/notarize.js b/build/notarize.js index 3fb8cdee42..ded81f6dd1 100644 --- a/build/notarize.js +++ b/build/notarize.js @@ -18,7 +18,7 @@ exports.default = async function notarizing(context) { const appName = context.packager.appInfo.productFilename; return await notarize({ - appBundleId: "io.kontena.lens-app", + appBundleId: process.env.APPBUNDLEID || "io.kontena.lens-app", appPath: `${appOutDir}/${appName}.app`, appleId: process.env.APPLEID, appleIdPassword: process.env.APPLEIDPASS, diff --git a/docs/architecture/decisions/README.md b/docs/architecture/decisions/README.md new file mode 100644 index 0000000000..ff03a7ca8a --- /dev/null +++ b/docs/architecture/decisions/README.md @@ -0,0 +1,2 @@ +# Architecture Decision Records + diff --git a/package.json b/package.json index 0caa48feed..3f0e438dea 100644 --- a/package.json +++ b/package.json @@ -12,6 +12,10 @@ "email": "info@k8slens.dev" }, "scripts": { + "adr:create": "echo \"What is the title?\"; read title; adr new \"$title\"", + "adr:change-status": "echo \"Decision number?:\"; read decision; adr status $decision", + "adr:update-readme": "adr update", + "adr:list": "adr list", "dev": "concurrently -i -k \"yarn run dev-run -C\" yarn:dev:*", "dev-build": "concurrently yarn:compile:*", "debug-build": "concurrently yarn:compile:main yarn:compile:extension-types", @@ -210,10 +214,10 @@ "@kubernetes/client-node": "^0.17.0", "@material-ui/styles": "^4.11.5", "@ogre-tools/fp": "9.0.1", - "@ogre-tools/injectable": "9.0.1", - "@ogre-tools/injectable-extension-for-auto-registration": "9.0.1", - "@ogre-tools/injectable-extension-for-mobx": "9.0.1", - "@ogre-tools/injectable-react": "9.0.1", + "@ogre-tools/injectable": "9.0.2", + "@ogre-tools/injectable-extension-for-auto-registration": "9.0.2", + "@ogre-tools/injectable-extension-for-mobx": "9.0.2", + "@ogre-tools/injectable-react": "9.0.2", "@sentry/electron": "^3.0.7", "@sentry/integrations": "^6.19.3", "@side/jest-runtime": "^1.0.1", @@ -248,7 +252,7 @@ "mobx-observable-history": "^2.0.3", "mobx-react": "^7.5.2", "mobx-utils": "^6.0.4", - "mock-fs": "^5.1.2", + "mock-fs": "^5.1.4", "moment": "^2.29.4", "moment-timezone": "^0.5.34", "monaco-editor": "^0.29.1", @@ -282,7 +286,8 @@ "winston": "^3.8.1", "winston-console-format": "^1.0.8", "winston-transport-browserconsole": "^1.0.5", - "ws": "^8.8.0" + "ws": "^8.8.1", + "xterm-link-provider": "^1.3.1" }, "devDependencies": { "@async-fn/jest": "1.6.4", @@ -291,7 +296,7 @@ "@material-ui/lab": "^4.0.0-alpha.60", "@pmmmwh/react-refresh-webpack-plugin": "^0.5.7", "@sentry/types": "^6.19.7", - "@swc/core": "^1.2.218", + "@swc/core": "^1.2.223", "@swc/jest": "^0.2.22", "@testing-library/dom": "^7.31.2", "@testing-library/jest-dom": "^5.16.4", @@ -313,7 +318,7 @@ "@types/hapi__subtext": "^7.0.0", "@types/html-webpack-plugin": "^3.2.6", "@types/http-proxy": "^1.17.9", - "@types/jest": "^28.1.3", + "@types/jest": "^28.1.6", "@types/js-yaml": "^4.0.5", "@types/jsdom": "^16.2.14", "@types/lodash": "^4.14.181", @@ -321,7 +326,7 @@ "@types/md5-file": "^4.0.2", "@types/mini-css-extract-plugin": "^2.4.0", "@types/mock-fs": "^4.13.1", - "@types/node": "^16.11.45", + "@types/node": "^16.11.47", "@types/node-fetch": "^2.6.2", "@types/npm": "^2.0.32", "@types/proper-lockfile": "^4.1.2", @@ -351,8 +356,9 @@ "@types/webpack-dev-server": "^4.7.2", "@types/webpack-env": "^1.17.0", "@types/webpack-node-externals": "^2.5.3", - "@typescript-eslint/eslint-plugin": "^5.30.7", - "@typescript-eslint/parser": "^5.30.5", + "@typescript-eslint/eslint-plugin": "^5.32.0", + "@typescript-eslint/parser": "^5.31.0", + "adr": "^1.4.1", "ansi_up": "^5.1.0", "chart.js": "^2.9.4", "circular-dependency-plugin": "^5.2.2", @@ -364,11 +370,11 @@ "deepdash": "^5.3.9", "dompurify": "^2.3.10", "electron": "^15.5.7", - "electron-builder": "^23.1.0", + "electron-builder": "^23.3.3", "electron-notarize": "^0.3.0", - "esbuild": "^0.14.49", + "esbuild": "^0.14.53", "esbuild-loader": "^2.19.0", - "eslint": "^8.20.0", + "eslint": "^8.21.0", "eslint-plugin-header": "^3.1.1", "eslint-plugin-import": "^2.26.0", "eslint-plugin-react": "^7.30.1", @@ -381,7 +387,7 @@ "identity-obj-proxy": "^3.0.0", "ignore-loader": "^0.1.2", "include-media": "^1.4.9", - "jest": "^28.1.2", + "jest": "^28.1.3", "jest-canvas-mock": "^2.3.1", "jest-environment-jsdom": "^28.1.3", "jest-fetch-mock": "^3.0.3", @@ -392,7 +398,7 @@ "node-gyp": "^8.3.0", "node-loader": "^2.0.0", "nodemon": "^2.0.19", - "playwright": "^1.24.1", + "playwright": "^1.24.2", "postcss": "^8.4.14", "postcss-loader": "^6.2.1", "randomcolor": "^0.6.2", @@ -401,10 +407,10 @@ "react-refresh-typescript": "^2.0.7", "react-router-dom": "^5.3.3", "react-select": "^5.4.0", - "react-select-event": "^5.5.0", + "react-select-event": "^5.5.1", "react-table": "^7.8.0", "react-window": "^1.8.7", - "sass": "^1.53.0", + "sass": "^1.54.2", "sass-loader": "^12.6.0", "sharp": "^0.30.7", "style-loader": "^3.3.1", @@ -418,7 +424,7 @@ "typedoc-plugin-markdown": "^3.13.1", "typescript": "^4.7.4", "typescript-plugin-css-modules": "^3.4.0", - "webpack": "^5.73.0", + "webpack": "^5.74.0", "webpack-cli": "^4.9.2", "webpack-dev-server": "^4.9.3", "webpack-node-externals": "^3.0.0", diff --git a/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap b/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap index 46cb3aeaa1..991a77480a 100644 --- a/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap +++ b/src/behaviours/add-cluster/__snapshots__/navigation-using-application-menu.test.tsx.snap @@ -288,7 +288,11 @@ exports[`add-cluster - navigation using application menu when navigating to add

+ > +