From 4d52e9894af5a99db3dcbeb71d082d65c7a4ee82 Mon Sep 17 00:00:00 2001 From: Evgeny Alaev Date: Fri, 18 Oct 2024 19:50:10 +0300 Subject: [PATCH] CI fix 28 --- package.json | 10 +++------- webpack.config.js | 1 - 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/package.json b/package.json index 95092ee..d69763c 100644 --- a/package.json +++ b/package.json @@ -4,7 +4,9 @@ "description": "UI-sandbox modules", "repository": "https://github.com/datalens-tech/ui-sandbox-modules.git", "author": "DataLens Team ", - "main": "./dist/index.js", + "files": [ + "dist/" + ], "scripts": { "build": "rm -rf dist && NODE_OPTIONS=--max_old_space_size=4096 webpack -c webpack.config.js", "prepublishOnly": "npm run build && npm pkg delete engines" @@ -13,11 +15,5 @@ "@gravity-ui/date-utils.2.3.0": "npm:@gravity-ui/date-utils@^2.3.0", "@gravity-ui/date-utils.2.5.3": "npm:@gravity-ui/date-utils@^2.5.3", "webpack-cli": "^5.1.4" - }, - "engines": { - "node": ">= 18", - "npm": ">= 9", - "yarn": "Please use npm instead of yarn to install dependencies", - "pnpm": "Please use npm instead of pnpm to install dependencies" } } diff --git a/webpack.config.js b/webpack.config.js index fb5030d..2c4cb2e 100644 --- a/webpack.config.js +++ b/webpack.config.js @@ -2,7 +2,6 @@ const path = require('path'); module.exports = { entry: { - 'index': path.resolve(__dirname, 'src/index.js'), '@gravity-ui/date-utils/v2.3.0': { import: '@gravity-ui/date-utils.2.3.0', },