Skip to content

Commit 59a9632

Browse files
committed
chore: update namedInputs in nx.json
1 parent 3af334c commit 59a9632

File tree

3 files changed

+11
-6
lines changed

3 files changed

+11
-6
lines changed

lint-staged.config.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
module.exports = {
22
'packages/**/*.{ts,tsx}': (files) => {
3-
return `nx affected -t typecheck --base HEAD~1 --files=${files.join(',')}`;
3+
return `nx affected -t typecheck --files=${files.join(',')}`;
44
},
55
'packages/**/*.{js,ts,jsx,tsx,json}': (files) => {
6-
return `npx nx affected -t lint --base HEAD~1 --files=${files.join(',')}`;
6+
return `npx nx affected -t lint --files=${files.join(',')}`;
77
},
88
'**/*.{js,ts,jsx,tsx,json}': [
99
(files) => `npx nx format:write --files=${files.join(',')}`,

nx.json

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,17 @@
88
"$schema": "./node_modules/nx/schemas/nx-schema.json",
99
"namedInputs": {
1010
"production": [
11+
"default",
12+
"!{workspaceRoot}/**/*.md",
13+
"!{workspaceRoot}/sonar-project.properties",
14+
"!{workspaceRoot}/lint-staged.config.js",
1115
"!{workspaceRoot}/eslint.config.js",
1216
"!{workspaceRoot}/jest.config.ts",
1317
"!{workspaceRoot}/jest.preset.js",
18+
"!{workspaceRoot}/.gitignore",
19+
"!{workspaceRoot}/.prettierignore",
20+
"!{workspaceRoot}/.prettierrc",
21+
"!{projectRoot}/*.md",
1422
"!{projectRoot}/test/**",
1523
"!{projectRoot}/**/*.{spec,test}.ts",
1624
"!{projectRoot}/node_modules/**",

packages/hydra-client-wrapper/test/hydra-client-wrapper.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,7 @@ describe('Hydra client wrapper E2E', () => {
3535
};
3636
};
3737

38-
const exchangeToken = async (
39-
clientId: string,
40-
clientSecret: string,
41-
) => {
38+
const exchangeToken = async (clientId: string, clientSecret: string) => {
4239
const config = await oauth2Client.discovery(
4340
new URL('http://localhost:44440'),
4441
clientId,

0 commit comments

Comments
 (0)