Skip to content

Commit

Permalink
Merge pull request #411 from plopjs/update-deps-dec-2023
Browse files Browse the repository at this point in the history
Update All Deps Dec 2023
  • Loading branch information
crutchcorn authored Dec 22, 2023
2 parents 72517c8 + 21041f7 commit 9240760
Show file tree
Hide file tree
Showing 10 changed files with 3,813 additions and 4,266 deletions.
541 changes: 0 additions & 541 deletions .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs

This file was deleted.

874 changes: 0 additions & 874 deletions .yarn/releases/yarn-3.6.3.cjs

This file was deleted.

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

Large diffs are not rendered by default.

10 changes: 5 additions & 5 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
compressionLevel: mixed

enableGlobalCache: false

nmHoistingLimits: workspaces

nodeLinker: node-modules

plugins:
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs
spec: "@yarnpkg/plugin-interactive-tools"

yarnPath: .yarn/releases/yarn-3.6.3.cjs
yarnPath: .yarn/releases/yarn-4.0.2.cjs
27 changes: 12 additions & 15 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
"workspaces": {
"packages": [
"packages/*"
],
"nohoist": [
"**/plop-pack-fancy-comments"
]
},
"type": "module",
Expand All @@ -30,21 +27,21 @@
"node": ">=18"
},
"devDependencies": {
"@changesets/changelog-github": "^0.4.8",
"@changesets/cli": "^2.26.2",
"@typescript-eslint/eslint-plugin": "^6.6.0",
"@typescript-eslint/parser": "^6.6.0",
"eslint": "^8.48.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-prettier": "^5.0.0",
"@changesets/changelog-github": "^0.5.0",
"@changesets/cli": "^2.27.1",
"@typescript-eslint/eslint-plugin": "^6.15.0",
"@typescript-eslint/parser": "^6.15.0",
"eslint": "^8.56.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-prettier": "^5.1.1",
"husky": "^8.0.3",
"lint-staged": "^14.0.1",
"prettier": "^3.0.3",
"turbo": "^1.10.13",
"typescript": "^5.2.2"
"lint-staged": "^15.2.0",
"prettier": "^3.1.1",
"turbo": "^1.11.2",
"typescript": "^5.3.3"
},
"lint-staged": {
"*.js": "eslint --cache --fix"
},
"packageManager": "yarn@3.6.3"
"packageManager": "yarn@4.0.2"
}
22 changes: 10 additions & 12 deletions packages/node-plop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,26 +34,24 @@
"node": ">=18"
},
"devDependencies": {
"@types/inquirer-autocomplete-prompt": "^3.0.0",
"@types/node": "^20.5.9",
"@types/inquirer-autocomplete-prompt": "^3.0.3",
"@types/node": "^20.10.5",
"dtslint": "^4.2.1",
"plop-pack-fancy-comments": "^0.2.1",
"typescript": "^5.2.2",
"vitest": "^0.34.3"
"typescript": "^5.3.3",
"vitest": "^1.1.0"
},
"dependencies": {
"@types/inquirer": "^9.0.3",
"change-case": "^4.1.2",
"@types/inquirer": "^9.0.7",
"change-case": "^5.3.0",
"del": "^7.1.0",
"globby": "^13.2.2",
"globby": "^14.0.0",
"handlebars": "^4.7.8",
"inquirer": "^9.2.10",
"inquirer": "^9.2.12",
"isbinaryfile": "^5.0.0",
"lodash.get": "^4.4.2",
"lower-case": "^2.0.2",
"mkdirp": "^3.0.1",
"resolve": "^1.22.4",
"title-case": "^3.0.3",
"upper-case": "^2.0.2"
"resolve": "^1.22.8",
"title-case": "^4.2.0"
}
}
39 changes: 23 additions & 16 deletions packages/node-plop/src/baked-in-helpers.js
Original file line number Diff line number Diff line change
@@ -1,23 +1,30 @@
import * as changeCase from "change-case";
import {
camelCase,
snakeCase,
dotCase,
pathCase,
sentenceCase,
constantCase,
kebabCase,
pascalCase,
} from "change-case";
import { titleCase } from "title-case";
import { upperCase } from "upper-case";
import { lowerCase } from "lower-case";

export default {
camelCase: changeCase.camelCase,
snakeCase: changeCase.snakeCase,
dotCase: changeCase.dotCase,
pathCase: changeCase.pathCase,
lowerCase: lowerCase,
upperCase: upperCase,
sentenceCase: changeCase.sentenceCase,
constantCase: changeCase.constantCase,
camelCase: camelCase,
snakeCase: snakeCase,
dotCase: dotCase,
pathCase: pathCase,
lowerCase: (str) => str.toUpperCase(),
upperCase: (str) => str.toLowerCase(),
sentenceCase: sentenceCase,
constantCase: constantCase,
titleCase: titleCase,

dashCase: changeCase.paramCase,
kabobCase: changeCase.paramCase,
kebabCase: changeCase.paramCase,
dashCase: kebabCase,
kabobCase: kebabCase,
kebabCase: kebabCase,

properCase: changeCase.pascalCase,
pascalCase: changeCase.pascalCase,
properCase: pascalCase,
pascalCase: pascalCase,
};
6 changes: 3 additions & 3 deletions packages/plop/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,17 +37,17 @@
"nyc": "^15.1.0",
"plop-pack-fancy-comments": "^0.2.1",
"queue-microtask": "^1.2.3",
"vitest": "^0.34.3"
"vitest": "^1.1.0"
},
"homepage": "https://plopjs.com",
"dependencies": {
"@types/liftoff": "^4.0.1",
"@types/liftoff": "^4.0.3",
"chalk": "^5.3.0",
"interpret": "^3.1.1",
"liftoff": "^4.0.0",
"minimist": "^1.2.8",
"node-plop": "^0.32.0",
"ora": "^7.0.1",
"ora": "^8.0.0",
"v8flags": "^4.0.1"
},
"engines": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ Options:
Examples:
$ plop
$ plop component
$ plop component \\"name of component\\"
$ plop component "name of component"
"
`;
Loading

0 comments on commit 9240760

Please sign in to comment.