Skip to content

Commit f26d128

Browse files
committed
chore(nx-infra): build plugin on postinstall
1 parent 22a0137 commit f26d128

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

63 files changed

+12
-1520
lines changed

nx.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"extends": "nx/presets/npm.json",
33
"$schema": "./node_modules/nx/schemas/nx-schema.json",
44
"nxCloudAccessToken": "ZDFmMzkyZTYtZmU5MC00MDMyLWI3NDktYjhhYWUxZWM4YTg3fHJlYWQ=",
5-
"plugins": ["./packages/nx-infra-plugin/prod"],
5+
"plugins": ["./packages/nx-infra-plugin/dist"],
66
"namedInputs": {
77
"metadataToolsCommonInputs": [
88
"{projectRoot}/**/*.ts",

packages/devextreme-react/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@
7070
"@types/react": "~18.0.0",
7171
"@types/react-dom": "~18.0.0",
7272
"devextreme-metadata": "workspace:*",
73+
"devextreme-nx-infra-plugin": "workspace:*",
7374
"jest-environment-jsdom": "29.7.0",
7475
"react": "18.0.0",
7576
"react-dom": "18.0.0",
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
/prod/
1+
/dist/
22
/pnpm-lock.yaml
33
*.json

packages/nx-infra-plugin/package.json

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,11 @@
33
"version": "0.0.1",
44
"type": "commonjs",
55
"private": true,
6-
"executors": "./prod/executors.json",
6+
"executors": "./dist/executors.json",
77
"exports": {
88
".": {
9-
"require": "./prod/src/index.js",
10-
"types": "./prod/src/index.d.ts"
9+
"require": "./dist/src/index.js",
10+
"types": "./dist/src/index.d.ts"
1111
},
1212
"./package.json": "./package.json"
1313
},
@@ -23,6 +23,7 @@
2323
"ts-jest": "29.1.3"
2424
},
2525
"scripts": {
26+
"postinstall": "pnpm run build",
2627
"format:check": "prettier --check .",
2728
"format": "prettier --write .",
2829
"build": "pnpm --workspace-root nx build devextreme-nx-infra-plugin",

packages/nx-infra-plugin/prod/executors.json

Lines changed: 0 additions & 44 deletions
This file was deleted.

packages/nx-infra-plugin/prod/package.json

Lines changed: 0 additions & 33 deletions
This file was deleted.

packages/nx-infra-plugin/prod/src/executors/add-license-headers/executor.d.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/nx-infra-plugin/prod/src/executors/add-license-headers/executor.js

Lines changed: 0 additions & 119 deletions
This file was deleted.

packages/nx-infra-plugin/prod/src/executors/add-license-headers/schema.d.ts

Lines changed: 0 additions & 4 deletions
This file was deleted.

packages/nx-infra-plugin/prod/src/executors/add-license-headers/schema.js

Lines changed: 0 additions & 2 deletions
This file was deleted.

0 commit comments

Comments
 (0)