Skip to content

Commit

Permalink
ci: migrate on yarn v4
Browse files Browse the repository at this point in the history
  • Loading branch information
Romakita committed Mar 22, 2024
1 parent 96f97fc commit 0c0ed88
Show file tree
Hide file tree
Showing 13 changed files with 28,693 additions and 21,068 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000
run: yarn install --immutable --network-timeout 500000
- name: Run lint
run: yarn lint

Expand All @@ -42,7 +42,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000
run: yarn install --immutable --network-timeout 500000
- name: Run test
run: yarn test

Expand All @@ -62,7 +62,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile --network-timeout 500000
run: yarn install --immutable --network-timeout 500000
- name: Release packages
env:
CI: true
Expand Down Expand Up @@ -93,7 +93,7 @@ jobs:
with:
node-version: ${{ matrix.node-version }}
- name: Install dependencies
run: yarn install --frozen-lockfile
run: yarn install --immutable
- name: Release packages
env:
CI: true
Expand Down
10 changes: 10 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -55,3 +55,13 @@ build
.nyc_output
/docs/.vuepress/dist/
/packages/tailwind/COLORS.JSON

# Yarn
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

893 changes: 893 additions & 0 deletions .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

3 changes: 3 additions & 0 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
nodeLinker: node-modules
enableGlobalCache: true
yarnPath: .yarn/releases/yarn-4.1.1.cjs
14 changes: 2 additions & 12 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,5 @@
{
"npmClient": "yarn",
"useWorkspaces": true,
"packages": [
"packages/*"
],
"version": "2.2.3",
"command": {
"bootstrap": {
"npmClientArgs": [
"--no-package-lock"
]
}
}
"packages": ["packages/*"],
"version": "2.2.3"
}
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
"lint": "lerna run lint --stream",
"lint:fix": "lerna run lint:fix --stream",
"prettier": "prettier '**/*.{ts,js,json,md,yml,yaml}' --write",
"build": "monorepo build",
"build": "monorepo build --verbose",
"publish": "monorepo publish --dry-run",
"start": "lerna run start --stream --parallel",
"start:storybook": "lerna run start:storybook --stream",
Expand All @@ -35,18 +35,18 @@
"@formio/choices.js": "^9.0.1",
"@types/classnames": "^2.2.11",
"@types/react": "^18.2.8",
"@types/react-dnd": "3.0.2",
"@types/react-dnd-html5-backend": "3.0.2",
"@types/react-dom": "^18.2.4",
"@types/react-redux": "^7.1.25",
"@types/react-router": "^5.1.20",
"@types/react-router-dom": "^5.3.3",
"@types/react-table": "^7.7.14",
"@types/react-dnd": "3.0.2",
"@types/react-dnd-html5-backend": "3.0.2",
"connected-react-router": "6.9.1",
"formiojs": "^4.14.13",
"history": "5.3.0",
"lerna": "5.1.8",
"lodash": "4.17.20",
"lerna": "8.1.2",
"lodash": "4.17.21",
"react": "^18.2.0",
"react-dom": "^18.2.0",
"react-redux": "7.2.6",
Expand All @@ -65,7 +65,7 @@
"@testing-library/jest-dom": "^5.16.4",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.2.1",
"@tsed/monorepo-utils": "^1.22.6",
"@tsed/monorepo-utils": "2.1.2",
"@types/ejs": "^3.0.5",
"@types/jest": "27.0.2",
"@types/lodash": "4.14.168",
Expand Down Expand Up @@ -126,5 +126,6 @@
"cname": "formio.tsed.io"
}
]
}
},
"packageManager": "yarn@4.1.1"
}
12 changes: 6 additions & 6 deletions packages/react-formio-container/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,12 @@
"tooltip.js": "^1.3.3"
},
"devDependencies": {
"@tsed/react-formio": "2.2.3",
"@tsed/react-formio-stores": "2.2.3",
"@tsed/react-formio": "workspace:*",
"@tsed/react-formio-stores": "workspace:*",
"@types/file-saver": "^2.0.1",
"file-saver": "^2.0.5"
},
"peerDependenciesMeta": {
"formiojs": {
"optional": false
},
"choices.js": {
"optional": false
},
Expand All @@ -56,6 +53,9 @@
"file-saver": {
"optional": false
},
"formiojs": {
"optional": false
},
"lodash": {
"optional": false
},
Expand Down Expand Up @@ -91,4 +91,4 @@
}
},
"dependencies": {}
}
}
10 changes: 5 additions & 5 deletions packages/react-formio-stores/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,8 +15,8 @@
"watch": "microbundle watch --no-compress --format modern,cjs --jsx React.createElement --jsxFragment React.Fragment --globals react/jsx-runtime=jsx"
},
"dependencies": {
"@tsed/react-formio": "2.2.3",
"@tsed/redux-utils": "2.2.3",
"@tsed/react-formio": "workspace:*",
"@tsed/redux-utils": "workspace:*",
"eventemitter2": "^6.4.3",
"prop-types": "^15.7.2"
},
Expand All @@ -31,7 +31,7 @@
"tooltip.js": ">=1.3.3"
},
"devDependencies": {
"@tsed/tailwind": "2.2.3",
"@tsed/tailwind-formio": "2.2.3"
"@tsed/tailwind": "workspace:*",
"@tsed/tailwind-formio": "workspace:*"
}
}
}
6 changes: 3 additions & 3 deletions packages/react-formio/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"tooltip.js": ">=1.3.3"
},
"devDependencies": {
"@tsed/tailwind": "2.2.3",
"@tsed/tailwind-formio": "2.2.3"
"@tsed/tailwind": "workspace:*",
"@tsed/tailwind-formio": "workspace:*"
}
}
}
4 changes: 2 additions & 2 deletions packages/redux-utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,11 +16,11 @@
"watch": "microbundle watch --no-compress --format modern,cjs --jsx React.createElement"
},
"devDependencies": {
"@tsed/config": "2.2.3"
"@tsed/config": "workspace:*"
},
"peerDependencies": {
"react": "^18.2.0",
"redux": "^4.0.5"
},
"dependencies": {}
}
}
8 changes: 4 additions & 4 deletions packages/storybook/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
"deploy": "npx gh-pages -d ./.out -t true --history false"
},
"dependencies": {
"@tsed/config": "2.2.3",
"@tsed/react-formio": "2.2.3",
"@tsed/tailwind-formio": "2.2.3"
"@tsed/config": "workspace:*",
"@tsed/react-formio": "workspace:*",
"@tsed/tailwind-formio": "workspace:*"
},
"devDependencies": {
"@storybook/addon-essentials": "^7.0.18",
Expand Down Expand Up @@ -49,4 +49,4 @@
]
},
"peerDependencies": {}
}
}
3 changes: 1 addition & 2 deletions packages/tailwind/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
},
"devDependencies": {
"rimraf": "3.0.2",
"tailwind": "4.0.0",
"tailwind-config-viewer": "^1.3.1",
"tailwindcss": "2.2.19",
"tailwindcss-cli": "0.1.2",
Expand All @@ -37,4 +36,4 @@
},
"dependencies": {},
"peerDependencies": {}
}
}
Loading

0 comments on commit 0c0ed88

Please sign in to comment.