Skip to content
Closed
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
1 change: 0 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
"files": ["*.ts", "*.tsx"],
"rules": {
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-extra-semi": "off",
"@nx/enforce-module-boundaries": "off"
}
},
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -188,3 +188,5 @@ vitest.config.*.timestamp*
*-darwin.png
test-results
playwright.visual.config.ts
.cursor/rules/nx-rules.mdc
.github/instructions/nx.instructions.md
7 changes: 1 addition & 6 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,3 @@
{
"recommendations": [
"nrwl.angular-console",
"esbenp.prettier-vscode",
"firsttris.vscode-jest-runner",
"ms-playwright.playwright"
]
"recommendations": ["nrwl.angular-console", "esbenp.prettier-vscode", "ms-playwright.playwright"]
}
5 changes: 1 addition & 4 deletions docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,14 +15,11 @@
"@storybook/html-vite": "~7.6.10",
"@storybook/manager-api": "~7.6.10",
"codesandbox": "~2.2.3",
"lodash.kebabcase": "~4.1.1",
"js-beautify": "~1.14.11",
"lodash": "~4.17.19",
"react": "~18.3.1",
"react-dom": "~18.3.1",
"react-syntax-highlighter": "~15.5.0",
"storybook": "~7.6.10"
},
"devDependencies": {
"@types/lodash.kebabcase": "~4.1.8"
}
}
5 changes: 3 additions & 2 deletions docs/stories/components/bal-popover/bal-popover.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -12,8 +12,9 @@ import * as PopoverStories from './bal-popover.stories'

<WarningQuote>
**Deprecation Warning!** <br />
Please use the new components [Popup](?path=/docs/components-data-display-popup--documentation) and [Tooltip](?path=/docs/components-data-display-tooltip--documentation),
because this component is marked as deprecated and will be removed with the next major releases.
Please use the new components [Popup](?path=/docs/components-data-display-popup--documentation) and
[Tooltip](?path=/docs/components-data-display-tooltip--documentation), because this component is marked as deprecated
and will be removed with the next major releases.
</WarningQuote>

## Component API
Expand Down
2 changes: 1 addition & 1 deletion docs/stories/utils/attributes.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import kebabCase from 'lodash.kebabcase'
import kebabCase from 'lodash/kebabCase'

export const props = (args: any): string => {
return Object.keys(args)
Expand Down
3 changes: 1 addition & 2 deletions e2e/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../.eslintrc.base.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "**/vite.config.*.timestamp*", "**/vitest.config.*.timestamp*"],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
Expand All @@ -9,7 +9,6 @@
"@typescript-eslint/no-namespace": "off",
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "off",
"@typescript-eslint/no-extra-semi": "off",
"no-extra-boolean-cast": "off"
}
},
Expand Down
4 changes: 2 additions & 2 deletions e2e/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@
"cypress-file-upload": "~5.0.8",
"cypress-split": "~1.18.5",
"cypress-terminal-report": "^7.2.1",
"express": "~4.18.2",
"express": "~4.21.0",
"pixelmatch": "~5.3.0",
"pngjs": "~6.0.0",
"sanitize-filename": "~1.6.3",
"serve-index": "~1.9.1",
"vitest": "~1.3.1",
"vitest": "^3.0.0",
"winston": "~3.11.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion libs/nx/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../.eslintrc.base.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "**/vite.config.*.timestamp*", "**/vitest.config.*.timestamp*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
6 changes: 2 additions & 4 deletions libs/nx/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,11 @@
"dependencies": {
"@nx/devkit": "18.0.4",
"tslib": "~2.3.0",
"lodash.get": "~4.4.2",
"lodash.camelcase": "~4.3.0",
"lodash.upperfirst": "~4.3.1",
"svgo": "~3.2.0",
"autoprefixer": "~10.4.17",
"lodash": "~4.17.19",
"glob": "~10.3.10",
"postcss": "~8.4.31",
"postcss": "~8.5.6",
"prompts": "~2.4.2",
"fs-extra": "11.2.0",
"sass": "~1.70.0",
Expand Down
1 change: 1 addition & 0 deletions libs/nx/src/executors/build-core/executor.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,7 @@ async function createContributorList(options: BuildCoreExecutorSchema) {
name: u.login,
avatar: u.avatar_url,
}))
// eslint-disable-next-line @typescript-eslint/no-unused-vars
} catch (_) {
//
}
Expand Down
4 changes: 2 additions & 2 deletions libs/nx/src/executors/build-styles/generators/utils.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { mkdir, readFile, writeFile } from 'fs/promises'
import { join, dirname } from 'path'
import get from 'lodash.get'
import get from 'lodash/get'
import { dirname, join } from 'path'

export const NEWLINE = '\n'
export const DASH_SEPARATOR = '-'
Expand Down
4 changes: 2 additions & 2 deletions libs/nx/src/executors/build-svg/executor.ts
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import { mkdir, readFile, writeFile } from 'fs/promises'
import camelCase from 'lodash.camelcase'
import upperFirst from 'lodash.upperfirst'
import camelCase from 'lodash/camelCase'
import upperFirst from 'lodash/upperFirst'
import { dirname, join, parse } from 'path'
import svgo from 'svgo'
import { NEWLINE, scan } from '../utils'
Expand Down
2 changes: 1 addition & 1 deletion libs/output-target-angular/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"extends": ["../../.eslintrc.json", "../../.eslintrc.base.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "**/vite.config.*.timestamp*", "**/vitest.config.*.timestamp*"],
"overrides": [
{
"files": ["*.ts", "*.tsx", "*.js", "*.jsx"],
Expand Down
6 changes: 4 additions & 2 deletions libs/output-target-web/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,12 @@
{
"extends": ["../../.eslintrc.json", "../../.eslintrc.base.json"],
"ignorePatterns": ["!**/*"],
"ignorePatterns": ["!**/*", "**/vite.config.*.timestamp*", "**/vitest.config.*.timestamp*"],
"overrides": [
{
"files": ["*.ts", "*.tsx"],
"rules": { "@typescript-eslint/no-explicit-any": "off" }
"rules": {
"@typescript-eslint/no-explicit-any": "off"
}
},
{
"files": ["*.js", "*.jsx"],
Expand Down
141 changes: 141 additions & 0 deletions migrations.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,141 @@
{
"migrations": [
{
"version": "21.0.0-beta.8",
"description": "Removes the legacy cache configuration from nx.json",
"implementation": "./src/migrations/update-21-0-0/remove-legacy-cache",
"package": "nx",
"name": "remove-legacy-cache"
},
{
"version": "21.0.0-beta.8",
"description": "Removes the legacy cache configuration from nx.json",
"implementation": "./src/migrations/update-21-0-0/remove-custom-tasks-runner",
"package": "nx",
"name": "remove-custom-tasks-runner"
},
{
"version": "21.0.0-beta.11",
"description": "Updates release version config based on the breaking changes in Nx v21",
"implementation": "./src/migrations/update-21-0-0/release-version-config-changes",
"package": "nx",
"name": "release-version-config-changes"
},
{
"version": "21.0.0-beta.11",
"description": "Updates release changelog config based on the breaking changes in Nx v21",
"implementation": "./src/migrations/update-21-0-0/release-changelog-config-changes",
"package": "nx",
"name": "release-changelog-config-changes"
},
{
"version": "21.1.0-beta.2",
"description": "Adds **/nx-rules.mdc and **/nx.instructions.md to .gitignore if not present",
"implementation": "./src/migrations/update-21-1-0/add-gitignore-entry",
"package": "nx",
"name": "21-1-0-add-ignore-entries-for-nx-rule-files"
},
{
"version": "22.0.0-beta.1",
"description": "Updates release version config based on the breaking changes in Nx v22",
"implementation": "./src/migrations/update-22-0-0/release-version-config-changes",
"package": "nx",
"name": "22-0-0-release-version-config-changes"
},
{
"version": "22.0.0-beta.2",
"description": "Consolidates releaseTag* options into nested releaseTag object structure",
"implementation": "./src/migrations/update-22-0-0/consolidate-release-tag-config",
"package": "nx",
"name": "22-0-0-consolidate-release-tag-config"
},
{
"version": "20.5.0-beta.2",
"description": "Install jiti as a devDependency to allow vite to parse TS postcss files.",
"implementation": "./src/migrations/update-20-5-0/install-jiti",
"package": "@nx/vite",
"name": "update-20-5-0-install-jiti"
},
{
"version": "20.5.0-beta.3",
"description": "Update resolve.conditions to include defaults that are no longer provided by Vite.",
"implementation": "./src/migrations/update-20-5-0/update-resolve-conditions",
"package": "@nx/vite",
"name": "update-20-5-0-update-resolve-conditions"
},
{
"version": "20.5.0-beta.3",
"description": "Add vite config temporary files to the ESLint configuration ignore patterns if ESLint is used.",
"implementation": "./src/migrations/update-20-5-0/eslint-ignore-vite-temp-files",
"package": "@nx/vite",
"name": "eslint-ignore-vite-temp-files"
},
{
"cli": "nx",
"version": "21.0.0-beta.9",
"description": "Replace usage of `getJestProjects` with `getJestProjectsAsync`.",
"implementation": "./src/migrations/update-21-0-0/replace-getJestProjects-with-getJestProjectsAsync",
"package": "@nx/jest",
"name": "replace-getJestProjects-with-getJestProjectsAsync-v21"
},
{
"version": "21.0.0-beta.10",
"description": "Remove the previously deprecated and unused `tsConfig` option from the `@nx/jest:jest` executor.",
"implementation": "./src/migrations/update-21-0-0/remove-tsconfig-option-from-jest-executor",
"package": "@nx/jest",
"name": "remove-tsconfig-option-from-jest-executor"
},
{
"version": "21.3.0-beta.3",
"description": "Rename the CLI option `testPathPattern` to `testPathPatterns`.",
"implementation": "./src/migrations/update-21-3-0/rename-test-path-pattern",
"package": "@nx/jest",
"name": "rename-test-path-pattern"
},
{
"cli": "nx",
"version": "21.0.0-beta.11",
"description": "Replaces `classProperties.loose` option with `loose`.",
"factory": "./src/migrations/update-21-0-0/update-babel-loose",
"package": "@nx/react",
"name": "update-21-0-0-update-babel-loose"
},
{
"cli": "nx",
"version": "22.0.0-beta.0",
"description": "Updates webpack configs using React to use the new withSvgr composable function instead of the svgr option in withReact or NxReactWebpackPlugin.",
"factory": "./src/migrations/update-22-0-0/add-svgr-to-webpack-config",
"package": "@nx/react",
"name": "update-22-0-0-add-svgr-to-webpack-config"
},
{
"version": "21.5.0-beta.2",
"description": "Migrate the legacy 'development' custom condition to a workspace-unique custom condition name.",
"factory": "./src/migrations/update-21-5-0/migrate-development-custom-condition",
"package": "@nx/js",
"name": "migrate-development-custom-condition"
},
{
"version": "22.0.0-beta.0",
"description": "Remove the deprecated `external` and `externalBuildTargets` options from the `@nx/js:swc` and `@nx/js:tsc` executors.",
"factory": "./src/migrations/update-22-0-0/remove-external-options-from-js-executors",
"package": "@nx/js",
"name": "remove-external-options-from-js-executors"
},
{
"cli": "nx",
"version": "21.0.0-beta.3",
"description": "Set the `continuous` option to `true` for continuous tasks.",
"factory": "./src/migrations/update-21-0-0/set-continuous-option",
"package": "@nx/angular",
"name": "set-continuous-option"
},
{
"version": "21.5.0-beta.0",
"description": "Set the 'tsConfig' option to build and test targets to help with Angular migration issues.",
"factory": "./src/migrations/update-21-5-0/set-tsconfig-option",
"package": "@nx/angular",
"name": "set-tsconfig-option"
}
]
}
19 changes: 0 additions & 19 deletions nx.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,19 +28,6 @@
"dependsOn": ["^build"],
"inputs": ["default", "^default"]
},
"@nx/jest:jest": {
"cache": true,
"inputs": ["default", "^default", "{workspaceRoot}/jest.preset.js"],
"options": {
"passWithNoTests": true
},
"configurations": {
"ci": {
"ci": true,
"codeCoverage": true
}
}
},
"@nx/angular:package": {
"cache": true,
"dependsOn": ["^build"],
Expand All @@ -59,12 +46,6 @@
"targetName": "lint"
}
},
{
"plugin": "@nx/jest/plugin",
"options": {
"targetName": "test"
}
},
{
"plugin": "@nx/vite/plugin",
"options": {
Expand Down
Loading
Loading