diff --git a/package.json b/package.json index 0bcddc981a..1bd4b558ff 100644 --- a/package.json +++ b/package.json @@ -18,20 +18,20 @@ "i18n:lint": "matrix-i18n-lint && prettier --log-level=silent --write src/i18n/strings/ --ignore-path /dev/null && pnpm --dir packages/shared-components i18n:lint", "i18n:diff": "cp src/i18n/strings/en_EN.json src/i18n/strings/en_EN_orig.json && pnpm i18n && matrix-compare-i18n-files src/i18n/strings/en_EN_orig.json src/i18n/strings/en_EN.json", "rethemendex": "sh ./res/css/rethemendex.sh", - "build": "nx build element-web", - "build-stats": "nx build-stats element-web --args=\"--json=webpack-stats.json\"", + "build": "nx build", + "build-stats": "nx build --json=webpack-stats.json", "vendor:modernizr": "modernizr -c .modernizr.json -d src/vector/modernizr.js && mv src/vector/modernizr.js src/vector/modernizr.cjs", "vendor:jitsi": "curl -s https://meet.element.io/libs/external_api.min.js > ./res/jitsi_external_api.min.js", "dist": "./scripts/package.sh", - "start": "nx start element-web", + "start": "nx start", "lint": "pnpm lint:types && pnpm lint:js && pnpm lint:style && pnpm lint:workflows", "lint:js": "eslint --max-warnings 0 src test playwright module_system && prettier --check .", "lint:js-fix": "prettier --log-level=warn --write . && eslint --fix src test playwright module_system", - "lint:types": "nx lint:types element-web", + "lint:types": "nx lint:types", "lint:style": "stylelint \"res/css/**/*.pcss\"", "lint:workflows": "find .github/workflows -type f \\( -iname '*.yaml' -o -iname '*.yml' \\) | xargs -I {} sh -c 'echo \"Linting {}\"; action-validator \"{}\"'", "lint:knip": "knip", - "test": "nx test:unit element-web", + "test": "nx test:unit", "test:playwright": "playwright test", "test:playwright:open": "pnpm test:playwright --ui", "test:playwright:screenshots": "playwright-screenshots-experimental pnpm playwright test --update-snapshots --project=Chrome --grep @screenshot", diff --git a/packages/shared-components/package.json b/packages/shared-components/package.json index bf81a5fb7c..3d009a5fcd 100644 --- a/packages/shared-components/package.json +++ b/packages/shared-components/package.json @@ -41,7 +41,7 @@ "test:unit": "vitest --project=unit", "test:storybook": "pnpm build:doc && vitest --project=storybook", "test:storybook:update": "CI=1 playwright-screenshots-experimental pnpm vitest --run --update --project=storybook", - "build": "vite build", + "build": "nx build", "prepack": "pnpm run build", "storybook": "storybook dev -p 6007", "build:storybook": "pnpm build:doc && storybook build && node scripts/storybook-build-i18n.ts", diff --git a/project.json b/project.json index 2bc36cc1dc..3f20758f0a 100644 --- a/project.json +++ b/project.json @@ -30,7 +30,7 @@ "outputs": ["{projectRoot}/res/css/_components.pcss"] }, "build": { - "command": "webpack-cli --progress --mode production {args}", + "command": "webpack-cli --progress --mode production", "outputs": ["{projectRoot}/webapp"] }, "start:i18n": {