Skip to content

Commit 622591f

Browse files
committed
ci: fixed build workflow
Signed-off-by: prisis <[email protected]>
1 parent c1ec624 commit 622591f

File tree

11 files changed

+1590
-1036
lines changed

11 files changed

+1590
-1036
lines changed

.prettierrc.js

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,3 @@
1-
// @ts-check
1+
import config from "./packages/prettier-config";
22

3-
/**
4-
* @type {import('prettier').Options}
5-
*/
6-
7-
module.exports = require("./packages/prettier-config");
3+
export default config;

package.json

+3-3
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
],
5757
"scripts": {
5858
"audit": "audit-ci --config ./audit-ci.jsonc",
59-
"build:packages": "nx run-many --target=build --projects=browserslist-config-anolilab,prettier-config,textlint-config,stylelint-config,eslint-config,commitlint-config,lint-staged-config",
60-
"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",
59+
"build:packages": "nx run-many --target=build --parallel --projects=tag:type:package",
60+
"build:packages:prod": "nx run-many --target=build:prod --parallel --projects=tag:type:package",
6161
"clean": "nx run-many --target=clean && rimraf node_modules",
6262
"preinstall": "node verify-node-version.cjs",
6363
"postinstall": "is-ci || husky || exit 0",
@@ -102,7 +102,7 @@
102102
"conventional-changelog-conventionalcommits": "8.0.0",
103103
"cross-env": "^7.0.3",
104104
"cz-conventional-changelog": "^3.3.0",
105-
"eslint": "8.57.1",
105+
"eslint": "^9.17.0",
106106
"eslint-plugin-deprecation": "^3.0.0",
107107
"eslint-plugin-editorconfig": "^4.0.3",
108108
"eslint-plugin-mdx": "^3.1.5",

packages/browserslist-config-anolilab/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "../../node_modules/nx/schemas/project-schema.json",
33
"sourceRoot": "packages/browserslist-config-anolilab/src",
44
"projectType": "library",
5-
"tags": ["browserslist-config-anolilab"],
5+
"tags": ["browserslist-config-anolilab", "type:package"],
66
"implicitDependencies": []
77
}

packages/commitlint-config/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "../../node_modules/nx/schemas/project-schema.json",
33
"sourceRoot": "packages/commitlint-config/src",
44
"projectType": "library",
5-
"tags": ["commitlint-config"],
5+
"tags": ["commitlint-config", "type:package"],
66
"implicitDependencies": []
77
}

packages/eslint-config/project.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "../../node_modules/nx/schemas/project-schema.json",
33
"sourceRoot": "packages/eslint-config/src",
44
"projectType": "library",
5-
"tags": ["eslint-config"],
6-
"implicitDependencies": ["package-json-utils"]
5+
"tags": ["eslint-config", "type:package"],
6+
"implicitDependencies": []
77
}

packages/lint-staged-config/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "../../node_modules/nx/schemas/project-schema.json",
33
"sourceRoot": "packages/lint-staged-config/src",
44
"projectType": "library",
5-
"tags": ["lint-staged-config"],
5+
"tags": ["lint-staged-config", "type:package"],
66
"implicitDependencies": []
77
}

packages/lint-staged-config/tsconfig.dev.json

-3
This file was deleted.

packages/prettier-config/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "../../node_modules/nx/schemas/project-schema.json",
33
"sourceRoot": "packages/prettier-config/src",
44
"projectType": "library",
5-
"tags": ["prettier-config"],
5+
"tags": ["prettier-config", "type:package"],
66
"implicitDependencies": []
77
}

packages/stylelint-config/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@
128128
},
129129
"main": "index.cjs",
130130
"module": "index.mjs",
131-
"types": "index.d.ts",
131+
"types": "index.d.cts",
132132
"typesVersions": {
133133
">=5.0": {
134134
"a11y": [

packages/stylelint-config/project.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"$schema": "../../node_modules/nx/schemas/project-schema.json",
33
"sourceRoot": "packages/stylelint-config/src",
44
"projectType": "library",
5-
"tags": ["stylelint-config"],
5+
"tags": ["stylelint-config", "type:package"],
66
"implicitDependencies": []
77
}

0 commit comments

Comments
 (0)