Skip to content

Commit

Permalink
minor datacube url cleanup (#3799)
Browse files Browse the repository at this point in the history
  • Loading branch information
YannanGao-gs authored Jan 8, 2025
1 parent 6711f1e commit f681dff
Show file tree
Hide file tree
Showing 8 changed files with 13 additions and 8 deletions.
5 changes: 5 additions & 0 deletions .changeset/seven-flies-reply.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@finos/legend-application-data-cube-deployment': patch
---

minor datacube url cleanup
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"appName": "data-cube",
"appName": "datacube",
"env": "local",
"engine": {
"url": "${PROTOCOL}://${ENGINE_HOST}:${ENGINE_PORT}/api"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"localAssetPaths": {
"/datacube/config.json": "/config/config.json"
},
"uiPath": "/data-cube",
"uiPath": "/datacube",
"sessionCookie": "LEGEND_DATA_CUBE_JSESSIONID",
"server": {
"type": "simple",
Expand Down
6 changes: 3 additions & 3 deletions packages/legend-application-data-cube-deployment/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,9 @@
"build:tailwindcss": "tailwindcss -i ./style/tailwind.css -o ./lib/tailwind.css --minify",
"build:webpack": "cross-env NODE_ENV=production webpack --mode production",
"build-dry:docker": "../../scripts/docker/dry-build-docker-image.sh legend-data-cube ./dist/datacube",
"bundle": "yarn clean && yarn build:tailwindcss && yarn build:webpack && node ./scripts/setup.js ./dist/data-cube",
"bundle": "yarn clean && yarn build:tailwindcss && yarn build:webpack && node ./scripts/setup.js ./dist/datacube",
"bundle:analyze": "cross-env NODE_ENV=production webpack --mode production --analyze",
"bundle:fast": "cross-env NODE_ENV=production PRODUCTION_MODE=fast webpack --mode production && node ./scripts/setup.js ./dist/data-cube",
"bundle:fast": "cross-env NODE_ENV=production PRODUCTION_MODE=fast webpack --mode production && node ./scripts/setup.js ./dist/datacube",
"clean": "yarn clean:cache && rimraf \"dist\"",
"clean:cache": "rimraf \"build\"",
"dev": "npm-run-all --parallel dev:ts dev:tailwindcss dev:webpack",
Expand All @@ -32,7 +32,7 @@
"dev:webpack:debug": "cross-env NODE_ENV=development DEVELOPMENT_MODE=debug webpack serve --mode development",
"lint:js": "cross-env NODE_ENV=production eslint --cache --cache-location ./build/.eslintcache --report-unused-disable-directives --parser-options=project:\"./tsconfig.json\",requireConfigFile:false \"./scripts/**/*.{mjs,cjs,js}\" \"./src/**/*.{js,ts,tsx}\"",
"publish:docker": "echo 'Building webapp content...' && yarn bundle && ../../scripts/docker/publish-docker.sh finos/legend-data-cube",
"serve": "npx http-server ./dist -p 3000 -a localhost -g --cors -o /data-cube",
"serve": "npx http-server ./dist -p 3000 -a localhost -g --cors -o /datacube",
"setup": "rimraf \"dev\" && yarn node ./scripts/setup.js ./dev"
},
"dependencies": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
*/

import { LegendDataCubeWebApplication } from '@finos/legend-application-data-cube-bootstrap';
import config from '../data-cube.config.js';
import config from '../datacube.config.js';
import '../lib/tailwind.css'; // eslint-disable-line @finos/legend/no-cross-workspace-non-export-usage
import './index.css';

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"src/**/*.ts",
"src/**/*.tsx",
"src/**/*.json",
"data-cube.config.js"
"datacube.config.js"
],
"references": [{ "path": "../legend-application-data-cube-bootstrap" }]
}
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
import { resolve, dirname } from 'path';
import webpack from 'webpack';
import CopyWebpackPlugin from 'copy-webpack-plugin';
import appConfig from './data-cube.config.js';
import appConfig from './datacube.config.js';
import {
getEnvInfo,
getWebAppBaseWebpackConfig,
Expand Down

0 comments on commit f681dff

Please sign in to comment.