Skip to content

Commit

Permalink
ci: fixed build workflow
Browse files Browse the repository at this point in the history
Signed-off-by: prisis <[email protected]>
  • Loading branch information
prisis committed Dec 19, 2024
1 parent c1ec624 commit 622591f
Show file tree
Hide file tree
Showing 11 changed files with 1,590 additions and 1,036 deletions.
8 changes: 2 additions & 6 deletions .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,3 @@
// @ts-check
import config from "./packages/prettier-config";

/**
* @type {import('prettier').Options}
*/

module.exports = require("./packages/prettier-config");
export default config;
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,8 +56,8 @@
],
"scripts": {
"audit": "audit-ci --config ./audit-ci.jsonc",
"build:packages": "nx run-many --target=build --projects=browserslist-config-anolilab,prettier-config,textlint-config,stylelint-config,eslint-config,commitlint-config,lint-staged-config",
"build:packages:prod": "nx run-many --target=build:prod --projects=browserslist-config-anolilab,prettier-config,textlint-config,stylelint-config,eslint-config,commitlint-config,lint-staged-config",
"build:packages": "nx run-many --target=build --parallel --projects=tag:type:package",
"build:packages:prod": "nx run-many --target=build:prod --parallel --projects=tag:type:package",
"clean": "nx run-many --target=clean && rimraf node_modules",
"preinstall": "node verify-node-version.cjs",
"postinstall": "is-ci || husky || exit 0",
Expand Down Expand Up @@ -102,7 +102,7 @@
"conventional-changelog-conventionalcommits": "8.0.0",
"cross-env": "^7.0.3",
"cz-conventional-changelog": "^3.3.0",
"eslint": "8.57.1",
"eslint": "^9.17.0",
"eslint-plugin-deprecation": "^3.0.0",
"eslint-plugin-editorconfig": "^4.0.3",
"eslint-plugin-mdx": "^3.1.5",
Expand Down
2 changes: 1 addition & 1 deletion packages/browserslist-config-anolilab/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/browserslist-config-anolilab/src",
"projectType": "library",
"tags": ["browserslist-config-anolilab"],
"tags": ["browserslist-config-anolilab", "type:package"],
"implicitDependencies": []
}
2 changes: 1 addition & 1 deletion packages/commitlint-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/commitlint-config/src",
"projectType": "library",
"tags": ["commitlint-config"],
"tags": ["commitlint-config", "type:package"],
"implicitDependencies": []
}
4 changes: 2 additions & 2 deletions packages/eslint-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/eslint-config/src",
"projectType": "library",
"tags": ["eslint-config"],
"implicitDependencies": ["package-json-utils"]
"tags": ["eslint-config", "type:package"],
"implicitDependencies": []
}
2 changes: 1 addition & 1 deletion packages/lint-staged-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/lint-staged-config/src",
"projectType": "library",
"tags": ["lint-staged-config"],
"tags": ["lint-staged-config", "type:package"],
"implicitDependencies": []
}
3 changes: 0 additions & 3 deletions packages/lint-staged-config/tsconfig.dev.json

This file was deleted.

2 changes: 1 addition & 1 deletion packages/prettier-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/prettier-config/src",
"projectType": "library",
"tags": ["prettier-config"],
"tags": ["prettier-config", "type:package"],
"implicitDependencies": []
}
2 changes: 1 addition & 1 deletion packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@
},
"main": "index.cjs",
"module": "index.mjs",
"types": "index.d.ts",
"types": "index.d.cts",
"typesVersions": {
">=5.0": {
"a11y": [
Expand Down
2 changes: 1 addition & 1 deletion packages/stylelint-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@
"$schema": "../../node_modules/nx/schemas/project-schema.json",
"sourceRoot": "packages/stylelint-config/src",
"projectType": "library",
"tags": ["stylelint-config"],
"tags": ["stylelint-config", "type:package"],
"implicitDependencies": []
}
Loading

0 comments on commit 622591f

Please sign in to comment.