Skip to content

Commit

Permalink
feat: update many major versions
Browse files Browse the repository at this point in the history
BREAKING CHANGE: many major version updates
  • Loading branch information
doomsower committed Sep 15, 2023
1 parent 0b8bbea commit 9328fa0
Show file tree
Hide file tree
Showing 14 changed files with 2,963 additions and 2,544 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ on:
push:
branches:
- main
- next

env:
HUSKY: 0
Expand All @@ -20,8 +21,8 @@ jobs:
- name: Setup node
uses: actions/setup-node@v3
with:
node-version: "16"
cache: "yarn"
node-version-file: ".nvmrc"
# This doesn't just set the registry url, but also sets
# the right configuration in .npmrc that reads NPM token
# from NPM_AUTH_TOKEN environment variable.
Expand All @@ -30,7 +31,7 @@ jobs:
registry-url: https://registry.npmjs.org

- name: Derive appropriate SHAs for base and head for `nx affected` commands
uses: nrwl/nx-set-shas@v2
uses: nrwl/nx-set-shas@v3

- name: Install dependencies
run: yarn install --frozen-lockfile
Expand Down
1 change: 1 addition & 0 deletions .nvmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
18
22 changes: 11 additions & 11 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,17 +10,17 @@
"packages/*"
],
"devDependencies": {
"@commitlint/cli": "^17.0.3",
"@commitlint/config-angular": "^17.0.0",
"@commitlint/config-conventional": "^17.0.3",
"@jscutlery/semver": "^2.26.0",
"@nrwl/cli": "14.5.6",
"@nrwl/js": "14.5.6",
"@nrwl/workspace": "14.5.6",
"husky": "^8.0.0",
"ngx-deploy-npm": "^4.2.0",
"nx": "^14.5.6",
"prettier": "^2.7.1"
"@commitlint/cli": "^17.7.1",
"@commitlint/config-angular": "^17.7.0",
"@commitlint/config-conventional": "^17.7.0",
"@jscutlery/semver": "^3.1.0",
"@nrwl/cli": "15.9.3",
"@nrwl/js": "16.8.1",
"@nrwl/workspace": "16.8.1",
"husky": "^8.0.3",
"ngx-deploy-npm": "^7.0.1",
"nx": "^16.8.1",
"prettier": "^3.0.3"
},
"dependencies": {}
}
18 changes: 9 additions & 9 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,17 +17,17 @@
"access": "public"
},
"dependencies": {
"@typescript-eslint/eslint-plugin": "^5.33.0",
"@typescript-eslint/parser": "^5.33.0",
"eslint-config-alloy": "^4.6.2",
"eslint-import-resolver-typescript": "^3.4.1",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-react": "^7.30.1",
"@typescript-eslint/eslint-plugin": "^6.7.0",
"@typescript-eslint/parser": "^6.7.0",
"eslint-config-alloy": "^5.1.2",
"eslint-import-resolver-typescript": "^3.6.0",
"eslint-plugin-import": "^2.28.1",
"eslint-plugin-react": "^7.33.2",
"eslint-plugin-react-hooks": "^4.6.0",
"eslint-plugin-simple-import-sort": "^7.0.0",
"eslint-plugin-unused-imports": "^2.0.0"
"eslint-plugin-simple-import-sort": "^10.0.0",
"eslint-plugin-unused-imports": "^3.0.0"
},
"peerDependencies": {
"eslint": "^8.0.0"
"eslint": "^8.49.0"
}
}
10 changes: 5 additions & 5 deletions packages/eslint-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
"preset": "angular",
"tagPrefix": "${projectName}-v",
"commitMessageFormat": "chore(release): bump ${projectName} to ${version} [skip ci]",
"postTargets": [
"eslint-config:publish"
],
"postTargets": ["eslint-config:publish"],
"push": true,
"skipRootChangelog": true,
"skipProjectChangelog": true
"skipProjectChangelog": true,
"dryRun": true
}
},
"publish": {
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public",
"noBuild": true
"noBuild": true,
"dryRun": true
}
}
}
Expand Down
23 changes: 16 additions & 7 deletions packages/eslint-config/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ const name = "eslint-config";
const srcRoot = `packages/${name}`;

module.exports = {
branches: ["main"],
branches: [
{
name: "main",
},
{
name: "next",
channel: "next",
prerelease: "next",
},
],
commitPaths: [`${srcRoot}/*`],
tagFormat: name + "-v${version}",
plugins: [
Expand All @@ -11,14 +20,14 @@ module.exports = {
[
"@semantic-release/npm",
{
pkgRoot: srcRoot
}
pkgRoot: srcRoot,
},
],
[
"@semantic-release/git",
{
assets: [`${srcRoot}/package.json`]
}
]
]
assets: [`${srcRoot}/package.json`],
},
],
],
};
11 changes: 1 addition & 10 deletions packages/prettier-config/index.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,5 @@
"singleQuote": false,
"tabWidth": 2,
"trailingComma": "all",
"useTabs": false,
"overrides": [
{
"files": "*.sol",
"options": {
"tabWidth": 4,
"explicitTypes": "always"
}
}
]
"useTabs": false
}
3 changes: 1 addition & 2 deletions packages/prettier-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@
"access": "public"
},
"peerDependencies": {
"prettier": "*",
"prettier-plugin-solidity": "*"
"prettier": "^3.0.3"
}
}
10 changes: 5 additions & 5 deletions packages/prettier-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
"preset": "angular",
"tagPrefix": "${projectName}-v",
"commitMessageFormat": "chore(release): bump ${projectName} to ${version} [skip ci]",
"postTargets": [
"prettier-config:publish"
],
"postTargets": ["prettier-config:publish"],
"push": true,
"skipRootChangelog": true,
"skipProjectChangelog": true
"skipProjectChangelog": true,
"dryRun": true
}
},
"publish": {
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public",
"noBuild": true
"noBuild": true,
"dryRun": true
}
}
}
Expand Down
23 changes: 16 additions & 7 deletions packages/prettier-config/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ const name = "prettier-config";
const srcRoot = `packages/${name}`;

module.exports = {
branches: ["main"],
branches: [
{
name: "main",
},
{
name: "next",
channel: "next",
prerelease: "next",
},
],
commitPaths: [`${srcRoot}/*`],
tagFormat: name + "-v${version}",
plugins: [
Expand All @@ -11,14 +20,14 @@ module.exports = {
[
"@semantic-release/npm",
{
pkgRoot: srcRoot
}
pkgRoot: srcRoot,
},
],
[
"@semantic-release/git",
{
assets: [`${srcRoot}/package.json`]
}
]
]
assets: [`${srcRoot}/package.json`],
},
],
],
};
12 changes: 6 additions & 6 deletions packages/stylelint-config/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@
"access": "public"
},
"dependencies": {
"stylelint": "^14.11.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^28.0.0",
"stylelint": "^15.10.3",
"stylelint-config-prettier": "^9.0.5",
"stylelint-config-standard": "^34.0.0",
"stylelint-config-styled-components": "^0.1.1",
"stylelint-order": "^5.0.0",
"stylelint-prettier": "^2.0.0",
"stylelint-order": "^6.0.3",
"stylelint-prettier": "^4.0.2",
"stylelint-processor-styled-components": "^1.10.0"
},
"peerDependencies": {
"stylelint": "*"
"stylelint": "^15.10.3"
}
}
10 changes: 5 additions & 5 deletions packages/stylelint-config/project.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,19 +16,19 @@
"preset": "angular",
"tagPrefix": "${projectName}-v",
"commitMessageFormat": "chore(release): bump ${projectName} to ${version} [skip ci]",
"postTargets": [
"stylelint-config:publish"
],
"postTargets": ["stylelint-config:publish"],
"push": true,
"skipRootChangelog": true,
"skipProjectChangelog": true
"skipProjectChangelog": true,
"dryRun": true
}
},
"publish": {
"executor": "ngx-deploy-npm:deploy",
"options": {
"access": "public",
"noBuild": true
"noBuild": true,
"dryRun": true
}
}
}
Expand Down
11 changes: 10 additions & 1 deletion packages/stylelint-config/release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,16 @@ const name = "stylelint-config";
const srcRoot = `packages/${name}`;

module.exports = {
branches: ["main"],
branches: [
{
name: "main",
},
{
name: "next",
channel: "next",
prerelease: "next",
},
],
commitPaths: [`${srcRoot}/*`],
tagFormat: name + "-v${version}",
plugins: [
Expand Down
Loading

0 comments on commit 9328fa0

Please sign in to comment.