Skip to content

Commit 7d02d5e

Browse files
committed
chore(repo): test nx release
1 parent ff7b085 commit 7d02d5e

File tree

1 file changed

+29
-2
lines changed

1 file changed

+29
-2
lines changed

nx.json

Lines changed: 29 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,12 @@
4545
"cache": true,
4646
"dependsOn": ["^build"],
4747
"inputs": ["production", "^production"]
48-
}
48+
},
49+
"nx-release-publish": {
50+
"options": {
51+
"packageRoot": "dist/libs/{projectName}"
52+
}
53+
}
4954
},
5055
"namedInputs": {
5156
"default": ["{projectRoot}/**/*", "sharedGlobals"],
@@ -86,5 +91,27 @@
8691
"cacheableOperations": ["build-storybook"]
8792
}
8893
}
89-
}
94+
},
95+
"release": {
96+
"projects": ["core", "cannon", "postprocessing", "soba", "rapier"],
97+
"version": {
98+
"preVersionCommand": "nx package core",
99+
"generatorOptions": {
100+
"packageRoot": "dist/libs/{projectName}",
101+
"currentVersionResolver": "git-tag"
102+
}
103+
},
104+
"conventionalCommits": {
105+
"types": {
106+
"refactor": {
107+
"changelog": true,
108+
"semverBump": "patch"
109+
},
110+
"perf": {
111+
"changelog": true,
112+
"semverBump": "patch"
113+
}
114+
}
115+
}
116+
}
90117
}

0 commit comments

Comments
 (0)