Skip to content

Commit f74727d

Browse files
LPD-XXXX - Run format
1 parent 1009f2a commit f74727d

File tree

823 files changed

+1557601
-29414
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

823 files changed

+1557601
-29414
lines changed

modules/.eslintignore

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
##
1515

1616
#
17-
# Clay CSS and Clay docs site ignores
17+
# Clay CSS and Clay Docs Site Ignores
1818
#
1919
/apps/frontend-js/frontend-js-clay-web/clay/packages/clayui.com/.cache
2020
/apps/frontend-js/frontend-js-clay-web/clay/packages/clayui.com/public

modules/.prettierignore

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
##
2121

2222
#
23-
# Clay CSS and Clay docs site ignores
23+
# Clay CSS and Clay Docs Site Ignores
2424
#
2525
/apps/frontend-js/frontend-js-clay-web/clay/packages/clayui.com/.cache
2626
/apps/frontend-js/frontend-js-clay-web/clay/packages/clayui.com/public
@@ -30,7 +30,6 @@
3030
/apps/frontend-js/frontend-js-clay-web/clay/packages/clay-css/src/js/**/*.js
3131
/apps/frontend-js/frontend-js-clay-web/clay/packages/clay-css/src/scss/bootstrap/**/*.scss
3232

33-
3433
##
3534
## Playwright Tests
3635
##
Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,14 @@
11
import com.liferay.gradle.plugins.node.task.YarnInstallTask
22

3+
task clayYarnBuild(type: Exec)
34
task clayYarnInstall(type: YarnInstallTask)
45
task clayYarnTest(type: Exec)
5-
task clayYarnBuild(type: Exec)
66

7-
dependencies {
8-
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "default"
9-
compileOnly group: "jakarta.servlet", name: "jakarta.servlet-api", version: "6.0.0"
10-
compileOnly group: "org.osgi", name: "org.osgi.service.cm", version: "1.6.0"
11-
compileOnly group: "org.osgi", name: "org.osgi.service.component.annotations", version: "1.4.0"
12-
compileOnly project(":apps:frontend-js:frontend-js-importmaps-extender-api")
13-
compileOnly project(":apps:frontend-js:frontend-js-loader-modules-extender-api")
14-
compileOnly project(":apps:portal-url-builder:portal-url-builder-api")
15-
compileOnly project(":core:petra:petra-function")
16-
compileOnly project(":core:petra:petra-string")
7+
clayYarnBuild {
8+
args = [clayYarnInstall.scriptFile, "build"]
9+
dependsOn clayYarnInstall
10+
executable = new File(clayYarnInstall.nodeDir, "bin/node")
11+
workingDir = "clay"
1712
}
1813

1914
clayYarnInstall {
@@ -31,17 +26,22 @@ clayYarnTest {
3126
workingDir = "clay"
3227
}
3328

34-
clayYarnBuild {
35-
args = [clayYarnInstall.scriptFile, "build"]
36-
dependsOn clayYarnInstall
37-
executable = new File(clayYarnInstall.nodeDir, "bin/node")
38-
workingDir = "clay"
39-
}
40-
41-
packageRunTest {
42-
dependsOn clayYarnTest
29+
dependencies {
30+
compileOnly group: "com.liferay.portal", name: "com.liferay.portal.kernel", version: "default"
31+
compileOnly group: "jakarta.servlet", name: "jakarta.servlet-api", version: "6.0.0"
32+
compileOnly group: "org.osgi", name: "org.osgi.service.cm", version: "1.6.0"
33+
compileOnly group: "org.osgi", name: "org.osgi.service.component.annotations", version: "1.4.0"
34+
compileOnly project(":apps:frontend-js:frontend-js-importmaps-extender-api")
35+
compileOnly project(":apps:frontend-js:frontend-js-loader-modules-extender-api")
36+
compileOnly project(":apps:portal-url-builder:portal-url-builder-api")
37+
compileOnly project(":core:petra:petra-function")
38+
compileOnly project(":core:petra:petra-string")
4339
}
4440

4541
packageRunBuild {
4642
dependsOn clayYarnBuild
43+
}
44+
45+
packageRunTest {
46+
dependsOn clayYarnTest
4747
}

modules/apps/frontend-js/frontend-js-clay-web/clay/lerna.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,4 @@
11
{
2-
"version": "3.149.2",
3-
"npmClient": "yarn",
42
"command": {
53
"publish": {
64
"ignoreChanges": [
@@ -15,5 +13,7 @@
1513
],
1614
"message": "chore(release): publish %s packages"
1715
}
18-
}
19-
}
16+
},
17+
"npmClient": "yarn",
18+
"version": "3.149.2"
19+
}

modules/apps/frontend-js/frontend-js-clay-web/clay/package.json

Lines changed: 54 additions & 54 deletions
Original file line numberDiff line numberDiff line change
@@ -1,44 +1,6 @@
11
{
2-
"private": true,
3-
"repository": "https://github.com/liferay/clay",
4-
"size-limit": [
5-
{
6-
"path": "all.js",
7-
"limit": "165 kb",
8-
"ignore": [
9-
"react",
10-
"react-dom"
11-
]
12-
}
13-
],
14-
"scripts": {
15-
"build:csb": "yarn build && yarn buildTypes",
16-
"build": "turbo run build --filter=@clayui/*",
17-
"buildTypes": "turbo run buildTypes --filter=@clayui/*",
18-
"checkDeps": "turbo run build --filter=@clayui/* && node scripts/check-deps/check-dependencies.js",
19-
"ci": "yarn lint && yarn format:check && yarn test && yarn checkDeps",
20-
"coverage": "jest --coverage",
21-
"format": "prettier --write \"**/*.{js,ts,mjs,tsx,md,mdx,json,scss}\"",
22-
"format:all": "yarn lint:fix && yarn format",
23-
"format:changed": "git ls-files -mz \"*.js\" \"**/*.js\" \"**/*.ts\" \"**/*.tsx\" \"*.md\" \"**/*.md\" \"**/*.mdx\" \"*.json\" \"**/*.json\" \"**/*.scss\" | xargs -0 prettier --write --",
24-
"format:check": "prettier --list-different -- \"**/*.{js,ts,tsx,md,mdx,json,scss}\"",
25-
"genBuildSize:compare": "NODE_ENV=production node scripts/check-size/index.mjs --compare",
26-
"genBuildSize": "NODE_ENV=production node scripts/check-size/index.mjs",
27-
"genGlobalChangeLog": "node scripts/generate-global-changelog.js && prettier --write -- \"CHANGELOG.md\"",
28-
"lerna:version": "lerna version --conventional-commits",
29-
"lerna:publish": "lerna publish from-package --no-verify-access --yes",
30-
"lint:changed": "git ls-files -mz \"*.js\" \"**/*.js\" \"**/*.ts\" \"**/*.tsx\" | xargs -0 eslint",
31-
"lint:fix": "eslint --fix \".*.js\" \"**/*.{js,ts,tsx}\"",
32-
"lint:quiet": "eslint --quiet \".*.js\" \"**/*.{js,ts,tsx}\"",
33-
"lint:typescript": "tsc --project ./tsconfig.global.json",
34-
"lint": "eslint \".*.js\" \"!(www)/**/*.{js,ts,tsx}\"",
35-
"site": "cd www && yarn && yarn build",
36-
"sizeLimit": "size-limit",
37-
"storybook:build": "NODE_OPTIONS=--max_old_space_size=8192 build-storybook -c .storybook -o .storybook-static",
38-
"storybook": "start-storybook -p 8888",
39-
"test": "jest",
40-
"version": "prettier --write -- \"**/CHANGELOG.md\" \"lerna.json\" && git add -- \"packages/clay-css/src/scss/_license-text.scss\"",
41-
"chromatic": "chromatic --exit-zero-on-changes --build-script-name=storybook:build"
2+
"dependencies": {
3+
"next": "^14.2.5"
424
},
435
"devDependencies": {
446
"@babel/cli": "^7.15.7",
@@ -108,25 +70,63 @@
10870
"typescript": "4.7.4",
10971
"webpack": "^5.72.0"
11072
},
111-
"workspaces": {
112-
"packages": [
113-
"packages/*"
114-
],
115-
"nohoist": [
116-
"gatsby",
117-
"**/@storybook/**/webpack",
118-
"**/@storybook/**/webpack/**"
119-
]
120-
},
73+
"private": true,
74+
"repository": "https://github.com/liferay/clay",
12175
"resolutions": {
12276
"@pmmmwh/react-refresh-webpack-plugin": "0.5.1",
12377
"@types/react": "16.9.9",
12478
"@types/react-dom": "16.9.9",
125-
"js-beautify": "1.7.5",
12679
"event-stream": "3.3.4",
127-
"graceful-fs": "^4.2.4"
80+
"graceful-fs": "^4.2.4",
81+
"js-beautify": "1.7.5"
12882
},
129-
"dependencies": {
130-
"next": "^14.2.5"
83+
"scripts": {
84+
"build": "turbo run build --filter=@clayui/*",
85+
"build:csb": "yarn build && yarn buildTypes",
86+
"buildTypes": "turbo run buildTypes --filter=@clayui/*",
87+
"checkDeps": "turbo run build --filter=@clayui/* && node scripts/check-deps/check-dependencies.js",
88+
"chromatic": "chromatic --exit-zero-on-changes --build-script-name=storybook:build",
89+
"ci": "yarn lint && yarn format:check && yarn test && yarn checkDeps",
90+
"coverage": "jest --coverage",
91+
"format": "prettier --write \"**/*.{js,ts,mjs,tsx,md,mdx,json,scss}\"",
92+
"format:all": "yarn lint:fix && yarn format",
93+
"format:changed": "git ls-files -mz \"*.js\" \"**/*.js\" \"**/*.ts\" \"**/*.tsx\" \"*.md\" \"**/*.md\" \"**/*.mdx\" \"*.json\" \"**/*.json\" \"**/*.scss\" | xargs -0 prettier --write --",
94+
"format:check": "prettier --list-different -- \"**/*.{js,ts,tsx,md,mdx,json,scss}\"",
95+
"genBuildSize": "NODE_ENV=production node scripts/check-size/index.mjs",
96+
"genBuildSize:compare": "NODE_ENV=production node scripts/check-size/index.mjs --compare",
97+
"genGlobalChangeLog": "node scripts/generate-global-changelog.js && prettier --write -- \"CHANGELOG.md\"",
98+
"lerna:publish": "lerna publish from-package --no-verify-access --yes",
99+
"lerna:version": "lerna version --conventional-commits",
100+
"lint": "eslint \".*.js\" \"!(www)/**/*.{js,ts,tsx}\"",
101+
"lint:changed": "git ls-files -mz \"*.js\" \"**/*.js\" \"**/*.ts\" \"**/*.tsx\" | xargs -0 eslint",
102+
"lint:fix": "eslint --fix \".*.js\" \"**/*.{js,ts,tsx}\"",
103+
"lint:quiet": "eslint --quiet \".*.js\" \"**/*.{js,ts,tsx}\"",
104+
"lint:typescript": "tsc --project ./tsconfig.global.json",
105+
"site": "cd www && yarn && yarn build",
106+
"sizeLimit": "size-limit",
107+
"storybook": "start-storybook -p 8888",
108+
"storybook:build": "NODE_OPTIONS=--max_old_space_size=8192 build-storybook -c .storybook -o .storybook-static",
109+
"test": "jest",
110+
"version": "prettier --write -- \"**/CHANGELOG.md\" \"lerna.json\" && git add -- \"packages/clay-css/src/scss/_license-text.scss\""
111+
},
112+
"size-limit": [
113+
{
114+
"ignore": [
115+
"react",
116+
"react-dom"
117+
],
118+
"limit": "165 kb",
119+
"path": "all.js"
120+
}
121+
],
122+
"workspaces": {
123+
"nohoist": [
124+
"gatsby",
125+
"**/@storybook/**/webpack",
126+
"**/@storybook/**/webpack/**"
127+
],
128+
"packages": [
129+
"packages/*"
130+
]
131131
}
132132
}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
# List of Breaking Changes for 4.x
1+
# List of Breaking Changes for 4.x

0 commit comments

Comments
 (0)