strapi/nx.json
Alexandre Bodin 92055a7fb1 chore: use rollup
chore: fetch template only if name matches name convention

chore: linting

chore: fix tests

chore: fix npm scripts

test: try to fix test
2025-01-23 16:28:23 +01:00

117 lines
2.8 KiB
JSON

{
"namedInputs": {
"default": ["{projectRoot}/**/*"],
"production": [
"!{projectRoot}/**/*.test.ts",
"!{projectRoot}/**/*.test.js",
"!{projectRoot}/**/*.test.api.js",
"!{projectRoot}/**/__mocks__/**",
"!{projectRoot}/**/__tests__/**",
"!{projectRoot}/**/*.md",
"!{projectRoot}/jest.config.js",
"!{projectRoot}/jest.config.front.js",
"!{projectRoot}/tsconfig.eslint.json",
"!{projectRoot}/.eslintignore",
"!{projectRoot}/.eslintrc.js"
]
},
"cli": {
"packageManager": "yarn"
},
"targetDefaults": {
"build": {
"inputs": ["default", "^production"],
"outputs": ["{projectRoot}/dist"],
"dependsOn": ["^build"],
"cache": true
},
"build:code": {
"inputs": ["default", "^production"],
"outputs": ["{projectRoot}/dist"],
"cache": true
},
"build:types": {
"inputs": ["default", "^production"],
"outputs": ["{projectRoot}/dist"],
"dependsOn": ["^build:types"],
"cache": true
},
"test:unit": {
"inputs": ["default", "{workspaceRoot}/jest-preset.unit.js"],
"cache": true
},
"test:front": {
"inputs": ["default", "{workspaceRoot}/jest-preset.front.js"],
"cache": true
},
"lint": {
"inputs": [
"{projectRoot}/**/*.js",
"{projectRoot}/**/*.ts",
"{projectRoot}/.eslintrc.js",
"{projectRoot}/.eslintignore",
"{projectRoot}/tsconfig.eslint.json",
"{workspaceRoot}/packages/utils/eslint-config-custom/**/*"
],
"cache": true
}
},
"useInferencePlugins": false,
"parallel": 8,
"pluginsConfig": {
"@nx/js": {
"analyzeSourceFiles": false
}
},
"release": {
"projects": ["packages/**/*", ".github/actions/check-pr-status", "scripts/front"],
"changelog": {
"workspaceChangelog": {
"file": false,
"createRelease": "github"
}
},
"version": {
"conventionalCommits": false,
"git": {
"commitMessage": "release: {version}"
}
},
"conventionalCommits": {
"types": {
"docs": {
"changelog": {
"title": "📚 Documentation Changes"
}
},
"enhancement": {
"changelog": {
"title": "💅 Enhancement"
}
},
"feat": {
"changelog": {
"title": "🚀 New feature"
}
},
"fix": {
"changelog": {
"title": "🔥 Bug fix"
}
},
"security": {
"semverBump": "patch",
"changelog": {
"title": "🚨 Security"
}
},
"chore": {
"changelog": {
"title": "⚙️ Chore"
}
}
}
}
}
}