Skip to content

Commit 492f4f0

Browse files
committed
fix: resolve failing pipelines in native widgets repository
1 parent 59f671d commit 492f4f0

57 files changed

Lines changed: 6468 additions & 8550 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 }} --parallel run build
54+
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --all 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 }} --parallel run release
51+
run: yarn workspaces foreach ${{ steps.variablesLinux.outputs.arg }} ${{ steps.variablesWindows.outputs.arg }} --all 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 }} --parallel run lint
53+
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --all run lint
5454
- name: "Running unit tests"
55-
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --parallel run test
55+
run: yarn workspaces foreach ${{ steps.variables.outputs.arg }} --all run test

.nvmrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
18.15.0
1+
20.16.0

.yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs

Lines changed: 0 additions & 28 deletions
This file was deleted.

.yarn/releases/yarn-3.4.1.cjs

Lines changed: 0 additions & 873 deletions
This file was deleted.

.yarn/releases/yarn-4.4.0.cjs

Lines changed: 925 additions & 0 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ changesetBaseRefs:
55
- refs/remotes/origin/main
66
- +refs/heads/main
77

8-
nodeLinker: node-modules
8+
compressionLevel: mixed
9+
10+
enableGlobalCache: false
911

10-
plugins:
11-
- path: .yarn/plugins/@yarnpkg/plugin-workspace-tools.cjs
12-
spec: "@yarnpkg/plugin-workspace-tools"
12+
nodeLinker: node-modules
1313

14-
yarnPath: .yarn/releases/yarn-3.4.1.cjs
14+
yarnPath: .yarn/releases/yarn-4.4.0.cjs

package.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,22 +9,22 @@
99
"license": "Apache-2.0",
1010
"scripts": {
1111
"prepare": "npx husky install && yarn workspaces foreach run prepare",
12-
"postinstall": "patch-package --use-yarn && yarn workspaces foreach run postinstall",
12+
"postinstall": "patch-package --use-yarn && yarn workspaces foreach --all 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 --parallel run lint",
18+
"lint": "yarn lint:src && yarn workspaces foreach --all 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 --parallel run test",
23+
"test": "yarn workspaces foreach --all 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 --parallel run build",
27-
"release": "yarn workspaces foreach --parallel run release",
26+
"build": "yarn workspaces foreach --all run build",
27+
"release": "yarn workspaces foreach --all 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",
@@ -33,7 +33,7 @@
3333
"setup-mobile": "yarn setup-android && yarn setup-ios",
3434
"setup-android": "node ./detox/scripts/setup-android.js",
3535
"setup-ios": "node ./detox/scripts/setup-ios.js",
36-
"patch-package": "./scripts/patch/patch-package.sh",
36+
"patch-package": "sh ./scripts/patch/patch-package.sh",
3737
"build:widgets": "node ./scripts/widget/buildWidgets.js"
3838
},
3939
"workspaces": {
@@ -45,7 +45,7 @@
4545
"@commitlint/cli": "^15.0.0",
4646
"@commitlint/config-conventional": "^15.0.0",
4747
"@testing-library/jest-native": "^5.4.1",
48-
"@testing-library/react-native": "^11.5.1",
48+
"@testing-library/react-native": "^12.6.0",
4949
"@types/big.js": "^6.0.2",
5050
"@types/concurrently": "^6.3.0",
5151
"@types/enzyme": "^3.10.8",
@@ -73,7 +73,7 @@
7373
"jest-image-snapshot": "^6.1.0",
7474
"lint-staged": "^10.5.0",
7575
"mendix-client": "^7.15.8",
76-
"patch-package": "^6.4.7",
76+
"patch-package": "^8.0.0",
7777
"prettier": "^2.5.1",
7878
"pretty-quick": "^3.1.0",
7979
"recursive-copy": "^2.0.11",
@@ -88,7 +88,7 @@
8888
"node": ">=16"
8989
},
9090
"resolutions": {
91-
"@mendix/pluggable-widgets-tools": "9.24.0",
91+
"@mendix/pluggable-widgets-tools": "10.12.1",
9292
"@types/react": "^18",
9393
"@types/react-native": "0.72.7",
9494
"react": "18.2.0",
@@ -97,5 +97,5 @@
9797
"typescript": "^4.9.5",
9898
"ts-node": "^10.9.1"
9999
},
100-
"packageManager": "yarn@3.4.1"
100+
"packageManager": "yarn@4.4.0"
101101
}

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": "^9.0.0",
48+
"@mendix/pluggable-widgets-tools": "^10.0.0",
4949
"@types/querystringify": "^2.0.0",
5050
"@types/react-native-push-notification": "8.1.1",
5151
"@types/url-parse": "^1.4.3",

0 commit comments

Comments
 (0)