Skip to content

Commit 9240760

Browse files
authored
Merge pull request #411 from plopjs/update-deps-dec-2023
Update All Deps Dec 2023
2 parents 72517c8 + 21041f7 commit 9240760

File tree

10 files changed

+3813
-4266
lines changed

10 files changed

+3813
-4266
lines changed

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

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

.yarn/releases/yarn-3.6.3.cjs

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

.yarn/releases/yarn-4.0.2.cjs

Lines changed: 893 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
@@ -1,9 +1,9 @@
1+
compressionLevel: mixed
2+
3+
enableGlobalCache: false
4+
15
nmHoistingLimits: workspaces
26

37
nodeLinker: node-modules
48

5-
plugins:
6-
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
7-
spec: "@yarnpkg/plugin-interactive-tools"
8-
9-
yarnPath: .yarn/releases/yarn-3.6.3.cjs
9+
yarnPath: .yarn/releases/yarn-4.0.2.cjs

package.json

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,6 @@
55
"workspaces": {
66
"packages": [
77
"packages/*"
8-
],
9-
"nohoist": [
10-
"**/plop-pack-fancy-comments"
118
]
129
},
1310
"type": "module",
@@ -30,21 +27,21 @@
3027
"node": ">=18"
3128
},
3229
"devDependencies": {
33-
"@changesets/changelog-github": "^0.4.8",
34-
"@changesets/cli": "^2.26.2",
35-
"@typescript-eslint/eslint-plugin": "^6.6.0",
36-
"@typescript-eslint/parser": "^6.6.0",
37-
"eslint": "^8.48.0",
38-
"eslint-config-prettier": "^9.0.0",
39-
"eslint-plugin-prettier": "^5.0.0",
30+
"@changesets/changelog-github": "^0.5.0",
31+
"@changesets/cli": "^2.27.1",
32+
"@typescript-eslint/eslint-plugin": "^6.15.0",
33+
"@typescript-eslint/parser": "^6.15.0",
34+
"eslint": "^8.56.0",
35+
"eslint-config-prettier": "^9.1.0",
36+
"eslint-plugin-prettier": "^5.1.1",
4037
"husky": "^8.0.3",
41-
"lint-staged": "^14.0.1",
42-
"prettier": "^3.0.3",
43-
"turbo": "^1.10.13",
44-
"typescript": "^5.2.2"
38+
"lint-staged": "^15.2.0",
39+
"prettier": "^3.1.1",
40+
"turbo": "^1.11.2",
41+
"typescript": "^5.3.3"
4542
},
4643
"lint-staged": {
4744
"*.js": "eslint --cache --fix"
4845
},
49-
"packageManager": "yarn@3.6.3"
46+
"packageManager": "yarn@4.0.2"
5047
}

packages/node-plop/package.json

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -34,26 +34,24 @@
3434
"node": ">=18"
3535
},
3636
"devDependencies": {
37-
"@types/inquirer-autocomplete-prompt": "^3.0.0",
38-
"@types/node": "^20.5.9",
37+
"@types/inquirer-autocomplete-prompt": "^3.0.3",
38+
"@types/node": "^20.10.5",
3939
"dtslint": "^4.2.1",
4040
"plop-pack-fancy-comments": "^0.2.1",
41-
"typescript": "^5.2.2",
42-
"vitest": "^0.34.3"
41+
"typescript": "^5.3.3",
42+
"vitest": "^1.1.0"
4343
},
4444
"dependencies": {
45-
"@types/inquirer": "^9.0.3",
46-
"change-case": "^4.1.2",
45+
"@types/inquirer": "^9.0.7",
46+
"change-case": "^5.3.0",
4747
"del": "^7.1.0",
48-
"globby": "^13.2.2",
48+
"globby": "^14.0.0",
4949
"handlebars": "^4.7.8",
50-
"inquirer": "^9.2.10",
50+
"inquirer": "^9.2.12",
5151
"isbinaryfile": "^5.0.0",
5252
"lodash.get": "^4.4.2",
53-
"lower-case": "^2.0.2",
5453
"mkdirp": "^3.0.1",
55-
"resolve": "^1.22.4",
56-
"title-case": "^3.0.3",
57-
"upper-case": "^2.0.2"
54+
"resolve": "^1.22.8",
55+
"title-case": "^4.2.0"
5856
}
5957
}
Lines changed: 23 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,30 @@
1-
import * as changeCase from "change-case";
1+
import {
2+
camelCase,
3+
snakeCase,
4+
dotCase,
5+
pathCase,
6+
sentenceCase,
7+
constantCase,
8+
kebabCase,
9+
pascalCase,
10+
} from "change-case";
211
import { titleCase } from "title-case";
3-
import { upperCase } from "upper-case";
4-
import { lowerCase } from "lower-case";
512

613
export default {
7-
camelCase: changeCase.camelCase,
8-
snakeCase: changeCase.snakeCase,
9-
dotCase: changeCase.dotCase,
10-
pathCase: changeCase.pathCase,
11-
lowerCase: lowerCase,
12-
upperCase: upperCase,
13-
sentenceCase: changeCase.sentenceCase,
14-
constantCase: changeCase.constantCase,
14+
camelCase: camelCase,
15+
snakeCase: snakeCase,
16+
dotCase: dotCase,
17+
pathCase: pathCase,
18+
lowerCase: (str) => str.toUpperCase(),
19+
upperCase: (str) => str.toLowerCase(),
20+
sentenceCase: sentenceCase,
21+
constantCase: constantCase,
1522
titleCase: titleCase,
1623

17-
dashCase: changeCase.paramCase,
18-
kabobCase: changeCase.paramCase,
19-
kebabCase: changeCase.paramCase,
24+
dashCase: kebabCase,
25+
kabobCase: kebabCase,
26+
kebabCase: kebabCase,
2027

21-
properCase: changeCase.pascalCase,
22-
pascalCase: changeCase.pascalCase,
28+
properCase: pascalCase,
29+
pascalCase: pascalCase,
2330
};

packages/plop/package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -37,17 +37,17 @@
3737
"nyc": "^15.1.0",
3838
"plop-pack-fancy-comments": "^0.2.1",
3939
"queue-microtask": "^1.2.3",
40-
"vitest": "^0.34.3"
40+
"vitest": "^1.1.0"
4141
},
4242
"homepage": "https://plopjs.com",
4343
"dependencies": {
44-
"@types/liftoff": "^4.0.1",
44+
"@types/liftoff": "^4.0.3",
4545
"chalk": "^5.3.0",
4646
"interpret": "^3.1.1",
4747
"liftoff": "^4.0.0",
4848
"minimist": "^1.2.8",
4949
"node-plop": "^0.32.0",
50-
"ora": "^7.0.1",
50+
"ora": "^8.0.0",
5151
"v8flags": "^4.0.1"
5252
},
5353
"engines": {

packages/plop/tests/__snapshots__/input-processing.spec.js.snap

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ Options:
2525
Examples:
2626
$ plop
2727
$ plop component
28-
$ plop component \\"name of component\\"
28+
$ plop component "name of component"
2929
"
3030
`;

0 commit comments

Comments
 (0)