Skip to content

Commit

Permalink
Merge branch 'develop' into HCK-7747
Browse files Browse the repository at this point in the history
  • Loading branch information
AlikRakhmonov authored Aug 28, 2024
2 parents b15e0e2 + a08f0a9 commit 0845222
Show file tree
Hide file tree
Showing 3 changed files with 152 additions and 5 deletions.
8 changes: 8 additions & 0 deletions esbuild.package.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ const fs = require('fs');
const path = require('path');
const esbuild = require('esbuild');
const { clean } = require('esbuild-plugin-clean');
const { copy } = require('esbuild-plugin-copy');
const { copyFolderFiles, addReleaseFlag } = require('@hackolade/hck-esbuild-plugins-pack');
const { EXCLUDED_EXTENSIONS, EXCLUDED_FILES, DEFAULT_RELEASE_FOLDER_PATH } = require('./buildConstants');

Expand Down Expand Up @@ -40,10 +41,17 @@ esbuild
outdir: RELEASE_FOLDER_PATH,
minify: true,
logLevel: 'info',
external: ['lodash'],
plugins: [
clean({
patterns: [DEFAULT_RELEASE_FOLDER_PATH],
}),
copy({
assets: {
from: [path.join('node_modules', 'lodash', '**', '*')],
to: [path.join('node_modules', 'lodash')],
},
}),
copyFolderFiles({
fromPath: __dirname,
targetFolderPath: RELEASE_FOLDER_PATH,
Expand Down
142 changes: 140 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "Db2",
"version": "0.2.6",
"version": "0.2.7",
"author": "hackolade",
"engines": {
"hackolade": "7.4.0",
Expand Down Expand Up @@ -65,15 +65,16 @@
},
"devDependencies": {
"@hackolade/hck-esbuild-plugins-pack": "0.0.1",
"@typescript-eslint/parser": "7.11.0",
"@typescript-eslint/eslint-plugin": "7.11.0",
"@typescript-eslint/parser": "7.11.0",
"esbuild": "0.20.2",
"esbuild-plugin-clean": "1.0.1",
"esbuild-plugin-copy": "^2.1.1",
"eslint": "8.57.0",
"eslint-config-prettier": "9.1.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-formatter-teamcity": "^1.0.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-prettier": "5.1.3",
"eslint-plugin-unused-imports": "3.2.0",
"lint-staged": "14.0.1",
"prettier": "3.2.5",
Expand Down

0 comments on commit 0845222

Please sign in to comment.