mirror of
https://github.com/lensapp/lens.git
synced 2025-05-20 05:10:56 +00:00
chore: fix some packages required prepare scripts
Signed-off-by: Sebastian Malton <sebastian@malton.name>
This commit is contained in:
1 parent
0bd7b1fe92
commit
f8ac072df9
12 files changed
+461
-239
No files matched your search
File renamed without changes.
@@ -10,23 +10,18 @@
|
||||
},
|
||||
"main": "./dist/index.js",
|
||||
"types": "./dist/index.d.ts",
|
||||
"type": "module",
|
||||
"files": [
|
||||
"dist"
|
||||
],
|
||||
"scripts": {
|
||||
"clean": "rimraf dist/",
|
||||
"build": "webpack --config webpack.ts"
|
||||
"build": "webpack"
|
||||
},
|
||||
"dependencies": {
|
||||
"node-fetch": "^3.3.0",
|
||||
"rimraf": "^4.4.1"
|
||||
"node-fetch": "^3.3.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"rimraf": "^4.4.1",
|
||||
"ts-loader": "^9.4.2",
|
||||
"ts-node": "^10.9.1",
|
||||
"typescript": "^4.9.5",
|
||||
"webpack": "^5.77.0",
|
||||
"webpack-cli": "^5.0.1"
|
||||
"rimraf": "^4.4.1"
|
||||
}
|
||||
}
|
||||
@@ -1,18 +1,4 @@
|
||||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"outDir": "dist/",
|
||||
"paths": {
|
||||
"*": [
|
||||
"node_modules/*",
|
||||
"types/*"
|
||||
]
|
||||
},
|
||||
},
|
||||
"include": [
|
||||
"src/**/*",
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
]
|
||||
"extends": "@k8slens/typescript/config/base.json",
|
||||
"include": ["**/*.ts"]
|
||||
}
|
||||
@@ -1,13 +1,9 @@
|
||||
/**
|
||||
* Copyright (c) OpenLens Authors. All rights reserved.
|
||||
* Licensed under MIT License. See LICENSE in root directory for more information.
|
||||
*/
|
||||
import path from "path";
|
||||
|
||||
export default {
|
||||
entry: "./src/index.ts",
|
||||
entry: "./index.ts",
|
||||
output: {
|
||||
path: path.resolve(__dirname, "dist"),
|
||||
path: path.resolve("dist"),
|
||||
filename: "index.js",
|
||||
library: {
|
||||
type: "commonjs",
|
||||
@@ -26,8 +22,8 @@ export default {
|
||||
},
|
||||
module: {
|
||||
rules: [
|
||||
{
|
||||
test: /\.(ts|tsx)$/,
|
||||
{
|
||||
test: /\.(ts|tsx)$/,
|
||||
loader: "ts-loader",
|
||||
options: {
|
||||
compilerOptions: {
|
||||
@@ -41,5 +37,5 @@ export default {
|
||||
},
|
||||
resolve: {
|
||||
extensions: [".ts"],
|
||||
},
|
||||
}
|
||||
};
|
||||
Reference in new issue
Block a user