Skip to content

Commit d5e615f

Browse files
authored
Use pnpm 8 (#1093)
* use pnpm 8 * fix-pnpm-lock-6 * Revert "6.6.3" This reverts commit 18a00c5.
1 parent 701f72a commit d5e615f

26 files changed

+8262
-9842
lines changed

.circleci/config.yml

-65
This file was deleted.

.codesandbox/tasks.json

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,10 @@
11
{
22
// These tasks will run in order when initializing your CodeSandbox project.
33
"setupTasks": [
4-
{
5-
"name": "Install pnpm 9",
6-
"command": "npm i -g pnpm@9"
7-
},
4+
// {
5+
// "name": "Install pnpm 9",
6+
// "command": "npm i -g pnpm@9"
7+
// },
88
{
99
"name": "Install dependencies",
1010
"command": "pnpm install --frozen-lockfile"

.github/workflows/codecov-report.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@ jobs:
1616
- uses: actions/checkout@v4
1717
- uses: pnpm/action-setup@v4
1818
with:
19-
version: 9
19+
version: 8
2020
- uses: actions/setup-node@v4
2121
with:
2222
node-version: 18
2323
#cache: 'pnpm'
24-
- run: pnpm i
24+
- run: pnpm i --frozen-lockfile
2525
- run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2626
- run: pnpm test
2727
- uses: codecov/codecov-action@v4

.github/workflows/gh-pages.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: pnpm/action-setup@v4
1414
with:
15-
version: 9
15+
version: 8
1616
- uses: actions/setup-node@v4
1717
with:
1818
node-version: 18
1919
#cache: 'pnpm'
2020
- name: Install packages
21-
run: pnpm i
21+
run: pnpm i --frozen-lockfile
2222
- name: Setup
2323
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2424
- name: Build

.github/workflows/long-smoke.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: pnpm/action-setup@v4
1414
with:
15-
version: 9
15+
version: 8
1616
- uses: actions/setup-node@v4
1717
with:
1818
node-version: 18

.github/workflows/npm-publish.yml

+4-4
Original file line numberDiff line numberDiff line change
@@ -12,12 +12,12 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: pnpm/action-setup@v4
1414
with:
15-
version: 9
15+
version: 8
1616
- uses: actions/setup-node@v4
1717
with:
1818
node-version: 18
1919
#cache: 'pnpm'
20-
- run: pnpm i
20+
- run: pnpm i --frozen-lockfile
2121
- run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2222
- run: pnpm lint
2323
- run: pnpm test
@@ -31,13 +31,13 @@ jobs:
3131
ref: master
3232
- uses: pnpm/action-setup@v4
3333
with:
34-
version: 9
34+
version: 8
3535
- uses: actions/setup-node@v4
3636
with:
3737
node-version: 18
3838
#cache: 'pnpm'
3939
registry-url: https://registry.npmjs.org/
40-
- run: pnpm i
40+
- run: pnpm i --frozen-lockfile
4141
- run: pnpm -r publish --access public
4242
env:
4343
NODE_AUTH_TOKEN: ${{secrets.npm_token}}

.github/workflows/smoke.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -12,13 +12,13 @@ jobs:
1212
- uses: actions/checkout@v4
1313
- uses: pnpm/action-setup@v4
1414
with:
15-
version: 9
15+
version: 8
1616
- uses: actions/setup-node@v4
1717
with:
1818
node-version: 18
1919
cache: 'pnpm'
2020
- name: Install packages
21-
run: pnpm i
21+
run: pnpm i --frozen-lockfile
2222
- name: Setup
2323
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
2424
- name: Lint
@@ -29,13 +29,13 @@ jobs:
2929
- uses: actions/checkout@v4
3030
- uses: pnpm/action-setup@v4
3131
with:
32-
version: 9
32+
version: 8
3333
- uses: actions/setup-node@v4
3434
with:
3535
node-version: 18
3636
cache: 'pnpm'
3737
- name: Install packages
38-
run: pnpm i
38+
run: pnpm i --frozen-lockfile
3939
- name: Setup
4040
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
4141
- name: Build
@@ -61,13 +61,13 @@ jobs:
6161
- uses: actions/checkout@v4
6262
- uses: pnpm/action-setup@v4
6363
with:
64-
version: 9
64+
version: 8
6565
- uses: actions/setup-node@v4
6666
with:
6767
node-version: 18
6868
cache: 'pnpm'
6969
- name: Install packages
70-
run: pnpm i
70+
run: pnpm i --frozen-lockfile
7171
- name: Setup
7272
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
7373
- name: Hot
@@ -78,13 +78,13 @@ jobs:
7878
- uses: actions/checkout@v4
7979
- uses: pnpm/action-setup@v4
8080
with:
81-
version: 9
81+
version: 8
8282
- uses: actions/setup-node@v4
8383
with:
8484
node-version: 18
8585
cache: 'pnpm'
8686
- name: Install packages
87-
run: pnpm i
87+
run: pnpm i --frozen-lockfile
8888
- name: Setup
8989
run: echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf && sudo sysctl -p
9090
- name: Test

.npmrc

+2
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,5 @@ engine-strict=true
22
include-workspace-root=false
33
prefer-workspace-packages=true
44
auto-install-peers=false
5+
registry=https://registry.npmjs.org/
6+
lockfile-include-tarball-url=false

.travis.yml

-22
This file was deleted.

CHANGELOG.md

+1
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
- 6.6.3
33
- Fixed `Utils.isValidTree` for prod build.
44
Removed `checkTree`, `isValidTree` from `Utils.Import` and `getTreeBadFields` from `Utils.TreeUtils`. (PR #1091) (issue #1075)
5+
- Use pnpm 8
56
- 6.6.2
67
- Fixed issue with rendering func select inside func (PR #1086) (issue #1085)
78
- Added `DefaultUtils` typings to `index.d.ts` (PR #1078) (issue #1079)

lerna.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,5 +4,5 @@
44
"./packages/*"
55
],
66
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
7-
"version": "6.6.3"
7+
"version": "6.6.2"
88
}

package.json

+3-2
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,8 @@
8484
"start": "pnpm run examples",
8585
"test": "pnpm --filter @react-awesome-query-builder/tests run test",
8686
"test-debug": "pnpm --filter @react-awesome-query-builder/tests run test-debug",
87-
"test-dev": "pnpm --filter @react-awesome-query-builder/tests run test-dev"
87+
"test-dev": "pnpm --filter @react-awesome-query-builder/tests run test-dev",
88+
"fix-pnpm-lock-6": "sed -r -i '' 's@, tarball: https://.+}@}@g' ./pnpm-lock.yaml"
8889
},
8990
"devDependencies": {
9091
"@babel/cli": "^7.24.7",
@@ -111,7 +112,7 @@
111112
},
112113
"engines": {
113114
"node": ">=18",
114-
"pnpm": ">=9"
115+
"pnpm": ">=8"
115116
},
116117
"pnpm": {
117118
"allowedDeprecatedVersions": {

packages/antd/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/antd",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "User-friendly query builder for React. AntDesign widgets",
55
"keywords": [
66
"query-builder",

packages/bootstrap/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/bootstrap",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "User-friendly query builder for React. Bootstrap widgets",
55
"keywords": [
66
"query-builder",

packages/core/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/core",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "User-friendly query builder for React. Core",
55
"keywords": [
66
"query-builder",

packages/examples/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/examples",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "Local hot-reloadable demo for @react-awesome-query-builder",
55
"repository": {
66
"type": "git",

packages/fluent/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/fluent",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "User-friendly query builder for React. Fluent 8 widgets",
55
"keywords": [
66
"query-builder",

packages/material/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/material",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "User-friendly query builder for React. Material-UI 4 widgets",
55
"keywords": [
66
"query-builder",

packages/mui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/mui",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "User-friendly query builder for React. MUI 5 widgets",
55
"keywords": [
66
"query-builder",

packages/sandbox/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/sandbox",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "Demo for @react-awesome-query-builder",
55
"repository": {
66
"type": "git",

packages/sandbox_next/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/sandbox-next",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "Demo for @react-awesome-query-builder",
55
"repository": {
66
"type": "git",

packages/sandbox_simple/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/sandbox-simple",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "Simple demo for @react-awesome-query-builder",
55
"repository": {
66
"type": "git",

packages/tests/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/tests",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"private": true,
55
"description": "Tests for @react-awesome-query-builder",
66
"repository": {

packages/ui/package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@react-awesome-query-builder/ui",
3-
"version": "6.6.3",
3+
"version": "6.6.2",
44
"description": "User-friendly query builder for React. Core React UI",
55
"keywords": [
66
"query-builder",

packages/ui/styles/styles.scss

+2-1
Original file line numberDiff line numberDiff line change
@@ -469,13 +469,14 @@ $rule-group-actions-offset-left: 10px !default;
469469

470470
margin-top: $rulegroup-offset;
471471
margin-bottom: $rulegroup-offset;
472+
padding-left: $rulegroup-offset-left;
473+
472474
.group-or-rule-container {
473475
margin-bottom: $rulegroup-offset;
474476
margin-top: $rulegroup-offset;
475477
padding-right: $rulegroup-offset;
476478
}
477479

478-
padding-left: $rulegroup-offset-left;
479480
&.one--child {
480481
padding-left: calc($rulegroup-offset-left / 2);
481482
}

0 commit comments

Comments
 (0)