Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions .github/workflows/build_all.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,10 @@ on:
paths-ignore:
- 'apps/**/*.md'
merge_group:
push:
branches: [main]
paths-ignore:
- 'apps/**/*.md'
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -59,7 +63,6 @@ jobs:
restore-keys: |
${{ runner.os }}-nx-v2-${{ github.workflow }}-${{ github.job }}-${{ github.sha }}-
${{ runner.os }}-nx-v2-${{ github.workflow }}-${{ github.job }}-
${{ runner.os }}-nx-v2-

lookup-only: true

Expand Down Expand Up @@ -93,12 +96,12 @@ jobs:
restore-keys: |
${{ runner.os }}-nx-v2-${{ github.workflow }}-${{ github.job }}-${{ github.sha }}-
${{ runner.os }}-nx-v2-${{ github.workflow }}-${{ github.job }}-
${{ runner.os }}-nx-v2-

- name: Build npm packages
run: pnpm run all:build

- name: Upload build artifacts
if: github.event_name != 'push'
uses: actions/upload-artifact@v7
with:
name: devextreme-npm-packages
Expand All @@ -118,6 +121,7 @@ jobs:
key: ${{ runner.os }}-nx-v2-${{ github.workflow }}-${{ github.job }}-${{ github.sha }}

custom_bundles:
if: github.event_name != 'push'
runs-on: devextreme-shr2
timeout-minutes: 7
needs: build
Expand Down
7 changes: 7 additions & 0 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,13 @@
"devextreme-build-config": [
"{projectRoot}/build/**/*",
"{projectRoot}/webpack.config.js"
],
"wrapper-pack-dependencies": [
"{workspaceRoot}/packages/devextreme/js/**/*.d.ts",
"{workspaceRoot}/packages/devextreme/ts/**/*",
"{workspaceRoot}/packages/devextreme/package.json",
"{workspaceRoot}/packages/nx-infra-plugin/src/**/*",
"{workspaceRoot}/pnpm-lock.yaml"
]
},
"targetDefaults": {
Expand Down
14 changes: 13 additions & 1 deletion packages/devextreme-angular/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -229,6 +229,7 @@
},
"pack": {
"executor": "nx:run-commands",
"cache": true,
"options": {
"commands": [
"pnpm --workspace-root nx run-many --targets=clean:dist,clean:npm --projects=devextreme-angular",
Expand Down Expand Up @@ -256,7 +257,18 @@
"pnpm --workspace-root nx update-node-modules-with-npm-dist devextreme-angular"
]
}
}
},
"outputs": [
"{projectRoot}/dist",
"{projectRoot}/npm",
"{projectRoot}/node_modules/devextreme-angular"
],
"inputs": [
"default",
"{projectRoot}/LICENSE",
"{projectRoot}/README.md",
"wrapper-pack-dependencies"
]
},
"generate-component-names-for-tests": {
"executor": "devextreme-nx-infra-plugin:generate-component-names",
Expand Down
9 changes: 8 additions & 1 deletion packages/devextreme-react/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -137,6 +137,7 @@
},
"pack": {
"executor": "nx:run-commands",
"cache": true,
"options": {
"commands": [
"pnpm --workspace-root nx clean:npm devextreme-react",
Expand All @@ -154,7 +155,13 @@
"{projectRoot}/npm",
"{projectRoot}/npm/*.tgz"
],
"inputs": ["default"]
"inputs": [
"default",
"{projectRoot}/package.json",
"{projectRoot}/LICENSE",
"{projectRoot}/README.md",
"wrapper-pack-dependencies"
]
},
"verify:dts": {
"executor": "devextreme-nx-infra-plugin:check-declarations",
Expand Down
9 changes: 8 additions & 1 deletion packages/devextreme-vue/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -159,6 +159,7 @@
},
"pack": {
"executor": "nx:run-commands",
"cache": true,
"options": {
"commands": [
"pnpm --workspace-root nx clean:npm devextreme-vue",
Expand All @@ -176,7 +177,13 @@
"{projectRoot}/npm",
"{projectRoot}/npm/*.tgz"
],
"inputs": ["default"]
"inputs": [
"default",
"{projectRoot}/package.json",
"{projectRoot}/LICENSE",
"{projectRoot}/README.md",
"wrapper-pack-dependencies"
]
},
"verify:dts": {
"executor": "devextreme-nx-infra-plugin:check-declarations",
Expand Down
Loading