1
0
mirror of https://github.com/lensapp/lens.git synced 2025-05-20 05:10:56 +00:00

fix core package name and version (#7007)

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>

Signed-off-by: Jari Kolehmainen <jari.kolehmainen@gmail.com>
This commit is contained in:
Jari Kolehmainen 2023-01-25 15:22:35 +02:00 committed by GitHub
parent 7440444ba3
commit ba95cc301e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
11 changed files with 24 additions and 24 deletions

View File

@ -4,6 +4,6 @@
"packages": [
"packages/*"
],
"version": "6.4.0-alpha.2",
"version": "6.4.0-alpha.4",
"npmClient": "yarn"
}

View File

@ -1,7 +1,7 @@
{
"name": "@k8slens/open-lens",
"productName": "OpenLens",
"description": "OpenLens - Open Source IDE for Kubernetes",
"name": "@k8slens/core",
"productName": "",
"description": "Lens Desktop Core",
"homepage": "https://github.com/lensapp/lens",
"version": "6.4.0-alpha.4",
"repository": {
@ -42,7 +42,7 @@
"types/*",
"tsconfig.json"
],
"copyright": "© 2022 OpenLens Authors",
"copyright": "© 2023 OpenLens Authors",
"license": "MIT",
"author": "OpenLens Authors <info@k8slens.dev>",
"scripts": {

View File

@ -2,7 +2,7 @@
"name": "@k8slens/extensions",
"productName": "OpenLens extensions",
"description": "OpenLens - Open Source Kubernetes IDE: extensions",
"version": "6.4.0-alpha.2",
"version": "6.4.0-alpha.4",
"copyright": "© 2022 OpenLens Authors",
"license": "MIT",
"main": "dist/src/extension-api.js",
@ -22,7 +22,7 @@
"prepare:dev": "yarn run build"
},
"dependencies": {
"@k8slens/open-lens": "^6.4.0-alpha.2"
"@k8slens/core": "^6.4.0-alpha.4"
},
"devDependencies": {
"@types/node": "^16.18.6",

View File

@ -3,9 +3,9 @@
* Licensed under MIT License. See LICENSE in root directory for more information.
*/
import { extensionApi as main } from "@k8slens/open-lens/main";
import { extensionApi as renderer } from "@k8slens/open-lens/renderer";
import { extensionApi as common } from "@k8slens/open-lens/common";
import { extensionApi as main } from "@k8slens/core/main";
import { extensionApi as renderer } from "@k8slens/core/renderer";
import { extensionApi as common } from "@k8slens/core/common";
const Main = { ... main } as typeof main;
const Renderer = { ...renderer } as typeof renderer;

View File

@ -35,9 +35,9 @@ export default function generateExtensionTypes(): webpack.Configuration {
],
stats: "errors-warnings",
externals: [
"@k8slens/open-lens/common",
"@k8slens/open-lens/main",
"@k8slens/open-lens/renderer",
"@k8slens/core/common",
"@k8slens/core/main",
"@k8slens/core/renderer",
],
module: {
rules: [

View File

@ -4,7 +4,7 @@
"productName": "OpenLens",
"description": "OpenLens - Open Source IDE for Kubernetes",
"homepage": "https://github.com/lensapp/lens",
"version": "6.4.0-alpha.2",
"version": "6.4.0-alpha.4",
"repository": {
"type": "git",
"url": "git+https://github.com/lensapp/lens.git"
@ -97,8 +97,8 @@
"generateUpdatesFilesForAllChannels": true,
"files": [
"static/**/*",
"!node_modules/@k8slens/open-lens/node_modules/**/*",
"!node_modules/@k8slens/open-lens/src"
"!node_modules/@k8slens/core/node_modules/**/*",
"!node_modules/@k8slens/core/src"
],
"afterSign": "build/notarize.js",
"extraResources": [
@ -192,7 +192,7 @@
}
},
"dependencies": {
"@k8slens/open-lens": "^6.4.0-alpha.2",
"@k8slens/core": "^6.4.0-alpha.4",
"@ogre-tools/fp": "^12.0.1",
"@ogre-tools/injectable": "^12.0.1",
"@ogre-tools/injectable-extension-for-auto-registration": "^12.0.1",

View File

@ -1,6 +1,6 @@
import { getInjectable } from "@ogre-tools/injectable";
import { applicationInformationToken, ApplicationInformation } from "@k8slens/open-lens/common";
import { applicationInformationToken, ApplicationInformation } from "@k8slens/core/common";
import packageJson from "../../package.json";
const applicationInformationInjectable = getInjectable({

View File

@ -1,7 +1,7 @@
import { createContainer } from "@ogre-tools/injectable";
import { autoRegister } from "@ogre-tools/injectable-extension-for-auto-registration";
import { runInAction } from "mobx";
import { createApp, extensionApi } from "@k8slens/open-lens/main";
import { createApp, extensionApi } from "@k8slens/core/main";
const di = createContainer("main");
const app = createApp({

View File

@ -1,7 +1,7 @@
import "@k8slens/open-lens/styles";
import "@k8slens/core/styles";
import { createContainer } from "@ogre-tools/injectable";
import { runInAction } from "mobx";
import { createApp, extensionApi } from "@k8slens/open-lens/renderer";
import { createApp, extensionApi } from "@k8slens/core/renderer";
import { autoRegister } from "@ogre-tools/injectable-extension-for-auto-registration";
const di = createContainer("renderer");

View File

@ -11,9 +11,9 @@ export const mainDir = path.join(process.cwd(), "src", "main");
export const buildDir = path.join(process.cwd(), "static", "build");
export const assetsFolderName = "assets";
export const rendererDir = path.join(process.cwd(), "src", "renderer");
export const htmlTemplate = path.resolve(__dirname, "..", "node_modules", "@k8slens", "open-lens", "src/renderer", "template.html");
export const htmlTemplate = path.resolve(__dirname, "..", "node_modules", "@k8slens", "core", "src/renderer", "template.html");
export const publicPath = "/build/";
export const sassCommonVars = path.resolve(__dirname, "..", "node_modules", "@k8slens", "open-lens", "src", "renderer", "components/vars.scss");
export const sassCommonVars = path.resolve(__dirname, "..", "node_modules", "@k8slens", "core", "src", "renderer", "components/vars.scss");
export const webpackDevServerPort = Number(process.env.WEBPACK_DEV_SERVER_PORT) || 9191;
assert(Number.isInteger(webpackDevServerPort), "WEBPACK_DEV_SERVER_PORT environment variable must only be an integer");

View File

@ -1,6 +1,6 @@
{
"name": "@k8slens/release-tool",
"version": "6.4.0-alpha.2",
"version": "6.4.0-alpha.4",
"description": "Release tool for lens monorepo",
"main": "dist/index.mjs",
"license": "MIT",