Skip to content

Commit bd261ee

Browse files
authored
release: 2.0.0 (#88)
Signed-off-by: Lexus Drumgold <[email protected]>
1 parent b9daf02 commit bd261ee

File tree

5 files changed

+64
-82
lines changed

5 files changed

+64
-82
lines changed

.commitlintrc.json

Lines changed: 1 addition & 57 deletions
Original file line numberDiff line numberDiff line change
@@ -1,59 +1,3 @@
11
{
2-
"defaultIgnores": true,
3-
"extends": ["@commitlint/config-conventional"],
4-
"formatter": "@commitlint/format",
5-
"ignores": [],
6-
"rules": {
7-
"scope-case": [2, "always", ["kebab-case", "lower-case"]],
8-
"scope-enum": [
9-
2,
10-
"always",
11-
[
12-
"build",
13-
"cli",
14-
"deps",
15-
"deps-bundle",
16-
"deps-dev",
17-
"deps-opt",
18-
"deps-peer",
19-
"esm",
20-
"exports",
21-
"github",
22-
"install",
23-
"loader",
24-
"node",
25-
"nvm",
26-
"patches",
27-
"pkg",
28-
"release",
29-
"scripts",
30-
"spelling",
31-
"tests",
32-
"ts",
33-
"types",
34-
"vscode",
35-
"workflows",
36-
"yarn"
37-
]
38-
],
39-
"subject-case": [1, "always", "lower-case"],
40-
"type-enum": [
41-
2,
42-
"always",
43-
[
44-
"build",
45-
"chore",
46-
"ci",
47-
"docs",
48-
"feat",
49-
"fix",
50-
"perf",
51-
"refactor",
52-
"revert",
53-
"style",
54-
"test",
55-
"wip"
56-
]
57-
]
58-
}
2+
"extends": "@flex-development"
593
}

.github/workflows/cache-cleanup.yml

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,12 +26,11 @@ on:
2626
inputs:
2727
all:
2828
default: false
29-
description: delete caches without filtering by github.ref
29+
description: delete caches without filtering by branch
3030
type: boolean
3131
permissions:
3232
actions: write
3333
env:
34-
BRANCH: ${{ github.head_ref || github.ref_name }}
3534
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
3635
concurrency:
3736
cancel-in-progress: true
@@ -44,23 +43,23 @@ jobs:
4443
name: Print environment variables and event payload
4544
uses: hmarr/[email protected]
4645
- id: checkout
47-
name: Checkout ${{ github.ref_name }}
46+
name: Checkout main
4847
uses: actions/[email protected]
4948
with:
5049
persist-credentials: false
51-
ref: ${{ github.ref }}
50+
ref: main
5251
- id: gh-actions-cache
5352
name: Install actions/gh-actions-cache
5453
run: gh extension install actions/gh-actions-cache
5554
- id: cleanup
56-
name: Delete caches${{ !inputs.all && format(' created by {0}', env.BRANCH) || '' }}
55+
name: Delete caches${{ !inputs.all && format(' created by {0}', github.ref_name) || '' }}
5756
env:
58-
BRANCH_FILTER: ${{ !inputs.all && format('--branch {0}', env.BRANCH) || '' }}
57+
BRANCH_FILTER: ${{ !inputs.all && format('--branch {0}', github.ref) || '' }}
5958
run: |
6059
# prevent workflow failure while deleting cache keys
6160
set +e
6261
63-
# delete all caches or caches created by ${{ env.BRANCH }}
62+
# delete all caches or caches created by ${{ github.ref_name }}
6463
for key in $(gh actions-cache list $BRANCH_FILTER --limit 100 | cut -f 1); do
6564
gh actions-cache delete $key $BRANCH_FILTER --confirm
6665
done

CHANGELOG.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,57 @@
1+
## [2.0.0](https://github.com/flex-development/toggle-pkg-type/compare/1.1.1...2.0.0) (2023-04-09)
2+
3+
4+
### ⚠ BREAKING CHANGES
5+
6+
* **nvm:** require `>=16.20.0`
7+
8+
### :package: Build
9+
10+
* **deps-dev:** Bump @commitlint/cli from 17.4.4 to 17.5.1 ([#76](https://github.com/flex-development/toggle-pkg-type/issues/76)) ([b8172e6](https://github.com/flex-development/toggle-pkg-type/commit/b8172e65fa0f3a628c6e9527d55cd3f25cc27501))
11+
* **deps-dev:** Bump @flex-development/mkbuild from 1.0.0-alpha.13 to 1.0.0-alpha.14 ([#34](https://github.com/flex-development/toggle-pkg-type/issues/34)) ([1b6684b](https://github.com/flex-development/toggle-pkg-type/commit/1b6684bc7a140384b7ca80e96f902ecea3afe3d8))
12+
* **deps-dev:** Bump @flex-development/mkbuild from 1.0.0-alpha.14 to 1.0.0-alpha.16 ([#49](https://github.com/flex-development/toggle-pkg-type/issues/49)) ([8eac365](https://github.com/flex-development/toggle-pkg-type/commit/8eac36524102d5bdfef3c9f45edcf5450569b0a4))
13+
* **deps-dev:** Bump @graphql-eslint/eslint-plugin from 3.16.0 to 3.16.1 ([#40](https://github.com/flex-development/toggle-pkg-type/issues/40)) ([2153b2c](https://github.com/flex-development/toggle-pkg-type/commit/2153b2c2386a8049381d4ef83424d05f0b2d1fad))
14+
* **deps-dev:** Bump @typescript-eslint/eslint-plugin from 5.53.0 to 5.54.1 ([#43](https://github.com/flex-development/toggle-pkg-type/issues/43)) ([c263a1c](https://github.com/flex-development/toggle-pkg-type/commit/c263a1cffcd686d68d2b16fe7528ab06f1703614))
15+
* **deps-dev:** bump @typescript-eslint/eslint-plugin from 5.54.1 to 5.57.1 ([cea0629](https://github.com/flex-development/toggle-pkg-type/commit/cea0629245822823f1dc21a1c81c23da26e185ea))
16+
* **deps-dev:** Bump @typescript-eslint/parser from 5.53.0 to 5.54.1 ([#44](https://github.com/flex-development/toggle-pkg-type/issues/44)) ([17b3b7e](https://github.com/flex-development/toggle-pkg-type/commit/17b3b7e54de6234d4d0326920f7d1c1adbc8345b))
17+
* **deps-dev:** Bump @typescript-eslint/parser from 5.54.1 to 5.56.0 ([#67](https://github.com/flex-development/toggle-pkg-type/issues/67)) ([4d83217](https://github.com/flex-development/toggle-pkg-type/commit/4d8321787f4613476c914ce9e4355bff26e790b8))
18+
* **deps-dev:** bump @typescript-eslint/parser from 5.56.0 to 5.57.1 ([3240c06](https://github.com/flex-development/toggle-pkg-type/commit/3240c06ba6d903ab7dc1cd3a3bb4a9d93c3d94b3))
19+
* **deps-dev:** Bump @vitest/ui from 0.28.5 to 0.29.2 ([#46](https://github.com/flex-development/toggle-pkg-type/issues/46)) ([01291a4](https://github.com/flex-development/toggle-pkg-type/commit/01291a4b9eba04bd354b96d6647ee55dc3520685))
20+
* **deps-dev:** Bump cspell from 6.26.3 to 6.28.0 ([#42](https://github.com/flex-development/toggle-pkg-type/issues/42)) ([b4f20b5](https://github.com/flex-development/toggle-pkg-type/commit/b4f20b5f5dc4e4cc57b47f4e0432fca97a6111ee))
21+
* **deps-dev:** Bump cspell from 6.28.0 to 6.30.2 ([#70](https://github.com/flex-development/toggle-pkg-type/issues/70)) ([efc8c6c](https://github.com/flex-development/toggle-pkg-type/commit/efc8c6cfd3a6b0a9d7de9643cd30a76d81d84755))
22+
* **deps-dev:** Bump esbuild from 0.17.10 to 0.17.11 ([#54](https://github.com/flex-development/toggle-pkg-type/issues/54)) ([5d5442a](https://github.com/flex-development/toggle-pkg-type/commit/5d5442adcb80ef826ceab6e8689b464f2c89409f))
23+
* **deps-dev:** Bump esbuild from 0.17.11 to 0.17.12 ([#73](https://github.com/flex-development/toggle-pkg-type/issues/73)) ([77fc972](https://github.com/flex-development/toggle-pkg-type/commit/77fc97293a21a191d5bfc718a28cb4d94e02f70f))
24+
* **deps-dev:** Bump eslint from 8.34.0 to 8.35.0 ([#51](https://github.com/flex-development/toggle-pkg-type/issues/51)) ([a24b21d](https://github.com/flex-development/toggle-pkg-type/commit/a24b21da6815c7f673085614dc9fb3eec4bd21de))
25+
* **deps-dev:** Bump eslint-config-prettier from 8.6.0 to 8.7.0 ([#48](https://github.com/flex-development/toggle-pkg-type/issues/48)) ([ebb5665](https://github.com/flex-development/toggle-pkg-type/commit/ebb56651f995d12249f3b7e4893348a3ef6aeb75))
26+
* **deps-dev:** Bump eslint-plugin-jsdoc from 40.0.0 to 40.0.1 ([#47](https://github.com/flex-development/toggle-pkg-type/issues/47)) ([301ac90](https://github.com/flex-development/toggle-pkg-type/commit/301ac90f323053f4469c26284fe12dc7f949504b))
27+
* **deps-dev:** Bump eslint-plugin-jsonc from 2.6.0 to 2.7.0 ([#79](https://github.com/flex-development/toggle-pkg-type/issues/79)) ([9253989](https://github.com/flex-development/toggle-pkg-type/commit/9253989f3b7c59cd127b808b6ebcfacfe861bdb1))
28+
* **deps-dev:** Bump eslint-plugin-markdownlint from 0.4.0 to 0.4.1 ([#50](https://github.com/flex-development/toggle-pkg-type/issues/50)) ([09e9f9a](https://github.com/flex-development/toggle-pkg-type/commit/09e9f9ab079a5a01f84527f0790d626a210df717))
29+
* **deps-dev:** Bump graphql-config from 4.4.1 to 4.5.0 ([#53](https://github.com/flex-development/toggle-pkg-type/issues/53)) ([25e0ae5](https://github.com/flex-development/toggle-pkg-type/commit/25e0ae55d34db3ccc3fa9527cd434b2f49cff468))
30+
* **deps-dev:** Bump jsonc-eslint-parser from 2.1.0 to 2.2.0 ([#56](https://github.com/flex-development/toggle-pkg-type/issues/56)) ([f0d4807](https://github.com/flex-development/toggle-pkg-type/commit/f0d48077fd6bc0789eccbfb50daa755ffca518a5))
31+
* **deps-dev:** Bump lint-staged from 13.1.2 to 13.2.0 ([#60](https://github.com/flex-development/toggle-pkg-type/issues/60)) ([ff48c04](https://github.com/flex-development/toggle-pkg-type/commit/ff48c04864eb064e6addeeebd4344b6a885ed7f8))
32+
* **deps-dev:** Bump memfs from 3.4.13 to 3.5.0 ([#86](https://github.com/flex-development/toggle-pkg-type/issues/86)) ([b9daf02](https://github.com/flex-development/toggle-pkg-type/commit/b9daf02f381acc98b7fd252025ad975dcc3c6a1a))
33+
* **deps-dev:** Bump vite from 4.1.3 to 4.1.4 ([#35](https://github.com/flex-development/toggle-pkg-type/issues/35)) ([55a50b3](https://github.com/flex-development/toggle-pkg-type/commit/55a50b3055080e9d739edbbbf481508d82771df1))
34+
* **deps:** Bump @flex-development/mlly from 1.0.0-alpha.13 to 1.0.0-alpha.15 ([#45](https://github.com/flex-development/toggle-pkg-type/issues/45)) ([12f1ea7](https://github.com/flex-development/toggle-pkg-type/commit/12f1ea78b366902bb1141c537d0af7753af95265))
35+
* **nvm:** require `>=16.20.0` ([7664534](https://github.com/flex-development/toggle-pkg-type/commit/7664534eca78a9ee918d200603ea117e7c60c59c))
36+
37+
38+
### :robot: Continuous Integration
39+
40+
* **deps:** Bump actions/add-to-project from 0.4.0 to 0.4.1 ([#36](https://github.com/flex-development/toggle-pkg-type/issues/36)) ([572d779](https://github.com/flex-development/toggle-pkg-type/commit/572d779e9302e9c23a2f3f622c57564c4e474d25))
41+
* **deps:** Bump actions/add-to-project from 0.4.1 to 0.5.0 ([#82](https://github.com/flex-development/toggle-pkg-type/issues/82)) ([f0f8df2](https://github.com/flex-development/toggle-pkg-type/commit/f0f8df2bfba4490b631e72484e1fdb777e9906af))
42+
* **deps:** Bump actions/cache from 3.2.6 to 3.3.1 ([#61](https://github.com/flex-development/toggle-pkg-type/issues/61)) ([18bfe04](https://github.com/flex-development/toggle-pkg-type/commit/18bfe040d91c2ca6caab0a383b779e83e180dec4))
43+
* **deps:** Bump actions/checkout from 3.3.0 to 3.4.0 ([#63](https://github.com/flex-development/toggle-pkg-type/issues/63)) ([c1486b2](https://github.com/flex-development/toggle-pkg-type/commit/c1486b288d5982fcb7e9b0e6221c043acaed1439))
44+
* **deps:** Bump actions/checkout from 3.4.0 to 3.5.0 ([#75](https://github.com/flex-development/toggle-pkg-type/issues/75)) ([880fac6](https://github.com/flex-development/toggle-pkg-type/commit/880fac62d16ac7ab3424bd5dfdc961caa472f3a0))
45+
* **deps:** Bump actions/github-script from 6.4.0 to 6.4.1 ([#83](https://github.com/flex-development/toggle-pkg-type/issues/83)) ([d174c50](https://github.com/flex-development/toggle-pkg-type/commit/d174c50a7704b4d4271b46c050c148ddda2cc549))
46+
* **workflows:** add `auto-merge` ([edc7891](https://github.com/flex-development/toggle-pkg-type/commit/edc78911d11b4242880faf58fbf8152432eee784))
47+
* **workflows:** add `cache-cleanup` ([12662c0](https://github.com/flex-development/toggle-pkg-type/commit/12662c08a05cd85bb82a722813060f889918d0c8))
48+
* **workflows:** add `infrastructure` ([9f35191](https://github.com/flex-development/toggle-pkg-type/commit/9f35191cd1a91f4494212e25e46ea6164e914f64))
49+
50+
51+
### :house_with_garden: Housekeeping
52+
53+
* sync config files ([a6ea994](https://github.com/flex-development/toggle-pkg-type/commit/a6ea994949a1cf952ca6c2305bbcc68a7cbf003c))
54+
155
## [1.1.1](https://github.com/flex-development/toggle-pkg-type/compare/1.1.0...1.1.1) (2023-02-22)
256

357

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@flex-development/toggle-pkg-type",
33
"description": "Toggle type fields in package.json files",
4-
"version": "1.1.1",
4+
"version": "2.0.0",
55
"keywords": [
66
"cjs",
77
"commonjs",
@@ -85,7 +85,6 @@
8585
},
8686
"devDependencies": {
8787
"@commitlint/cli": "17.5.1",
88-
"@commitlint/config-conventional": "17.4.4",
8988
"@flex-development/commitlint-config": "1.0.1",
9089
"@flex-development/decorator-regex": "1.0.0",
9190
"@flex-development/esm-types": "1.0.0",
@@ -97,7 +96,6 @@
9796
"@types/conventional-changelog": "3.1.1",
9897
"@types/conventional-changelog-core": "4.2.1",
9998
"@types/conventional-changelog-writer": "4.0.2",
100-
"@types/conventional-commits-parser": "3.0.3",
10199
"@types/conventional-recommended-bump": "6.1.0",
102100
"@types/dateformat": "5.0.0",
103101
"@types/eslint": "8.37.0",
@@ -118,7 +116,6 @@
118116
"conventional-changelog-conventionalcommits": "5.0.0",
119117
"conventional-changelog-core": "4.2.4",
120118
"conventional-changelog-writer": "5.0.1",
121-
"conventional-commits-parser": "3.2.4",
122119
"conventional-recommended-bump": "6.1.0",
123120
"cross-env": "7.0.3",
124121
"cspell": "6.31.1",

yarn.lock

Lines changed: 2 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -208,15 +208,6 @@ __metadata:
208208
languageName: node
209209
linkType: hard
210210

211-
"@commitlint/config-conventional@npm:17.4.4":
212-
version: 17.4.4
213-
resolution: "@commitlint/config-conventional@npm:17.4.4"
214-
dependencies:
215-
conventional-changelog-conventionalcommits: "npm:^5.0.0"
216-
checksum: 1dce765072a61354a1e17078441c2422b0166bc0c974d082835e76b0117e787b426063e5c978c68a59c8ebf46de9f499157902de18122538432a12efcc7dcce2
217-
languageName: node
218-
linkType: hard
219-
220211
"@commitlint/config-validator@npm:^17.4.4":
221212
version: 17.4.4
222213
resolution: "@commitlint/config-validator@npm:17.4.4"
@@ -1230,7 +1221,6 @@ __metadata:
12301221
resolution: "@flex-development/toggle-pkg-type@workspace:."
12311222
dependencies:
12321223
"@commitlint/cli": "npm:17.5.1"
1233-
"@commitlint/config-conventional": "npm:17.4.4"
12341224
"@flex-development/commitlint-config": "npm:1.0.1"
12351225
"@flex-development/decorator-regex": "npm:1.0.0"
12361226
"@flex-development/esm-types": "npm:1.0.0"
@@ -1245,7 +1235,6 @@ __metadata:
12451235
"@types/conventional-changelog": "npm:3.1.1"
12461236
"@types/conventional-changelog-core": "npm:4.2.1"
12471237
"@types/conventional-changelog-writer": "npm:4.0.2"
1248-
"@types/conventional-commits-parser": "npm:3.0.3"
12491238
"@types/conventional-recommended-bump": "npm:6.1.0"
12501239
"@types/dateformat": "npm:5.0.0"
12511240
"@types/eslint": "npm:8.37.0"
@@ -1266,7 +1255,6 @@ __metadata:
12661255
conventional-changelog-conventionalcommits: "npm:5.0.0"
12671256
conventional-changelog-core: "npm:4.2.4"
12681257
conventional-changelog-writer: "npm:5.0.1"
1269-
conventional-commits-parser: "npm:3.2.4"
12701258
conventional-recommended-bump: "npm:6.1.0"
12711259
cross-env: "npm:7.0.3"
12721260
cspell: "npm:6.31.1"
@@ -3381,7 +3369,7 @@ __metadata:
33813369
languageName: node
33823370
linkType: hard
33833371

3384-
"conventional-changelog-conventionalcommits@npm:5.0.0, conventional-changelog-conventionalcommits@npm:^5.0.0":
3372+
"conventional-changelog-conventionalcommits@npm:5.0.0":
33853373
version: 5.0.0
33863374
resolution: "conventional-changelog-conventionalcommits@npm:5.0.0"
33873375
dependencies:
@@ -3526,7 +3514,7 @@ __metadata:
35263514
languageName: node
35273515
linkType: hard
35283516

3529-
"conventional-commits-parser@npm:3.2.4, conventional-commits-parser@npm:^3.2.0, conventional-commits-parser@npm:^3.2.2":
3517+
"conventional-commits-parser@npm:^3.2.0, conventional-commits-parser@npm:^3.2.2":
35303518
version: 3.2.4
35313519
resolution: "conventional-commits-parser@npm:3.2.4"
35323520
dependencies:

0 commit comments

Comments
 (0)