Skip to content

Commit 8327e37

Browse files
committed
fix: resolve failing pipelines
1 parent 492f4f0 commit 8327e37

54 files changed

Lines changed: 2973 additions & 355 deletions

File tree

Some content is hidden

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

.github/workflows/Build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,6 @@ jobs:
5151
- name: "Installing dependencies"
5252
run: yarn install
5353
- name: "Running build for development"
54-
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --all run build
54+
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --all --parallel run build
5555
env:
5656
NODE_OPTIONS: --max_old_space_size=8192

.github/workflows/Release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,6 @@ jobs:
4848
- name: "Installing dependencies"
4949
run: yarn install
5050
- name: "Running release for production"
51-
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --all run release
51+
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --all --parallel run release
5252
env:
5353
NODE_OPTIONS: --max_old_space_size=8192

.github/workflows/UnitTests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,6 @@ jobs:
5050
- name: "Installing dependencies"
5151
run: yarn install
5252
- name: "Linting code"
53-
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --all run lint
53+
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --all --parallel run lint
5454
- name: "Running unit tests"
55-
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --all run test
55+
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --all --parallel run test

.husky/pre-commit

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
#!/bin/sh
2-
. "$(dirname "$0")/_/husky.sh"
1+
#!/usr/bin/env sh
2+
. "$(dirname -- "$0")/_/husky.sh"
33

44
yarn format && yarn validate-staged-widget-versions

package.json

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
},
99
"license": "Apache-2.0",
1010
"scripts": {
11-
"prepare": "npx husky install && yarn workspaces foreach run prepare",
12-
"postinstall": "patch-package --use-yarn && yarn workspaces foreach --all run postinstall",
11+
"prepare": "npx husky install && yarn workspaces foreach --all --parallel run prepare",
12+
"postinstall": "patch-package --use-yarn && yarn workspaces foreach --all --parallel run postinstall",
1313
"reinstall": "yarn cache clean && git clean -dfx && find . -type dir -name node_modules | xargs rm -rf && yarn && yarn run postinstall",
1414
"prettier": "prettier --config \"./prettier.config.js\" --write \"**/*.{js,jsx,ts,tsx,scss,html,xml,yml,yaml}\"",
1515
"format": "pretty-quick --staged --config \"./prettier.config.js\" --pattern \"**/{src,script,typings,test,**}/**/*.{js,jsx,ts,tsx,scss,html,xml,md,json}\"",
1616
"clean-all-screenshots-mac": "find . -name 'screenshot-baseline' -type d -prune -exec rm -rf '{}' +",
1717
"information:githubrelease": "yarn workspaces foreach run information:githubrelease",
18-
"lint": "yarn lint:src && yarn workspaces foreach --all run lint",
18+
"lint": "yarn lint:src && yarn workspaces foreach --all --parallel run lint",
1919
"lint:src": "eslint --config .eslintrc.js --ext .jsx,.js,.ts,.tsx packages/*/*/src --no-error-on-unmatched-pattern",
2020
"lint:scripts": "eslint --fix --config .eslintrc.js --ext .jsx,.js,.ts,.tsx scripts",
2121
"lint:detox": "eslint --fix --config .eslintrc.js --ext .jsx,.js,.ts,.tsx detox",
2222
"lint:configs": "eslint --fix --config .eslintrc.js --ext .jsx,.js,.ts,.tsx configs",
23-
"test": "yarn workspaces foreach --all run test",
23+
"test": "yarn workspaces foreach --all --parallel run test",
2424
"test:e2e:android": "yarn workspaces foreach run test:e2e:android",
2525
"test:e2e:ios": "yarn workspaces foreach run test:e2e:ios",
26-
"build": "yarn workspaces foreach --all run build",
27-
"release": "yarn workspaces foreach --all run release",
26+
"build": "yarn workspaces foreach --all --parallel run build",
27+
"release": "yarn workspaces foreach --all --parallel run release",
2828
"release:marketplace": "yarn workspaces foreach run release:marketplace",
2929
"release-github:widget": "node ./scripts/release/createWidgetRelease.js",
3030
"create-modules": "node ./scripts/release/createNativeModules.js",
@@ -44,8 +44,9 @@
4444
"devDependencies": {
4545
"@commitlint/cli": "^15.0.0",
4646
"@commitlint/config-conventional": "^15.0.0",
47+
"@rollup/plugin-node-resolve": "^13.0.6",
4748
"@testing-library/jest-native": "^5.4.1",
48-
"@testing-library/react-native": "^12.6.0",
49+
"@testing-library/react-native": "^11.5.1",
4950
"@types/big.js": "^6.0.2",
5051
"@types/concurrently": "^6.3.0",
5152
"@types/enzyme": "^3.10.8",
@@ -65,7 +66,7 @@
6566
"deepmerge": "^4.2.2",
6667
"detox": "^19.13.0",
6768
"eslint": "^7.20.0",
68-
"husky": "^7.0.0",
69+
"husky": "^8.0.0",
6970
"identity-obj-proxy": "^3.0.0",
7071
"image-js": "^0.33.0",
7172
"jest-canvas-mock": "^2.3.0",
@@ -77,6 +78,7 @@
7778
"prettier": "^2.5.1",
7879
"pretty-quick": "^3.1.0",
7980
"recursive-copy": "^2.0.11",
81+
"rollup": "^2.68.0",
8082
"ts-node": "^10.9.1"
8183
},
8284
"commitlint": {
@@ -85,10 +87,10 @@
8587
]
8688
},
8789
"engines": {
88-
"node": ">=16"
90+
"node": ">=20"
8991
},
9092
"resolutions": {
91-
"@mendix/pluggable-widgets-tools": "10.12.1",
93+
"@mendix/pluggable-widgets-tools": "9.24.0",
9294
"@types/react": "^18",
9395
"@types/react-native": "0.72.7",
9496
"react": "18.2.0",

packages/jsActions/mobile-resources-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@
4545
"url-parse": "^1.4.7"
4646
},
4747
"devDependencies": {
48-
"@mendix/pluggable-widgets-tools": "^10.0.0",
48+
"@mendix/pluggable-widgets-tools": "9.24.0",
4949
"@types/querystringify": "^2.0.0",
5050
"@types/react-native-push-notification": "8.1.1",
5151
"@types/url-parse": "^1.4.3",

packages/jsActions/nanoflow-actions-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
"react-native-geolocation-service": "5.2.0"
3333
},
3434
"devDependencies": {
35-
"@mendix/pluggable-widgets-tools": "^10.0.0",
35+
"@mendix/pluggable-widgets-tools": "9.24.0",
3636
"eslint": "^7.20.0",
3737
"rollup": "^2.68.0"
3838
}

packages/modules/atlas-content-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
"release:marketplace": "node ../../../scripts/release/marketplaceRelease.js"
2222
},
2323
"devDependencies": {
24-
"@mendix/pluggable-widgets-tools": "^10.0.0",
24+
"@mendix/pluggable-widgets-tools": "9.24.0",
2525
"concurrently": "^6.0.0",
2626
"copy-and-watch": "^0.1.5",
2727
"ts-node": "^10.9.1"

packages/pluggableWidgets/accordion-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
"@mendix/piw-utils-internal": "*"
3030
},
3131
"devDependencies": {
32-
"@mendix/pluggable-widgets-tools": "^10.0.0",
32+
"@mendix/pluggable-widgets-tools": "9.24.0",
3333
"detox": "^19.13.0"
3434
}
3535
}

packages/pluggableWidgets/activity-indicator-native/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@mendix/piw-utils-internal": "*"
2828
},
2929
"devDependencies": {
30-
"@mendix/pluggable-widgets-tools": "^10.0.0",
30+
"@mendix/pluggable-widgets-tools": "9.24.0",
3131
"detox": "^19.13.0",
3232
"eslint": "^7.20.0"
3333
}

0 commit comments

Comments
 (0)