From ec2ebe1e6e6489d965b95d1be63c34853cfc11d7 Mon Sep 17 00:00:00 2001 From: Corbin Crutchley Date: Mon, 25 Apr 2022 15:15:04 -0700 Subject: [PATCH] chore(release): Release node-plop 0.30.1 and plop 3.0.6 --- packages/node-plop/CHANGELOG.md | 7 ++ packages/node-plop/package.json | 118 +++++++++---------- packages/plop/CHANGELOG.md | 10 ++ packages/plop/package.json | 4 +- packages/plop/tests/input-processing.spec.js | 4 +- 5 files changed, 80 insertions(+), 63 deletions(-) create mode 100644 packages/node-plop/CHANGELOG.md create mode 100644 packages/plop/CHANGELOG.md diff --git a/packages/node-plop/CHANGELOG.md b/packages/node-plop/CHANGELOG.md new file mode 100644 index 00000000..b3b2f668 --- /dev/null +++ b/packages/node-plop/CHANGELOG.md @@ -0,0 +1,7 @@ +# node-plop + +## 0.30.1 + +### Patch Changes + +- Moved to monorepo diff --git a/packages/node-plop/package.json b/packages/node-plop/package.json index bccbdbf3..28c3b5d5 100644 --- a/packages/node-plop/package.json +++ b/packages/node-plop/package.json @@ -1,59 +1,59 @@ -{ - "name": "node-plop", - "version": "0.30.0", - "description": "programmatic plopping for fun and profit", - "main": "src/index.js", - "type": "module", - "types": "types/index.d.ts", - "scripts": { - "test": "npm run test:js && npm run test:typings", - "test:typings": "dtslint types --localTs ../../node_modules/typescript/lib --expectOnly", - "test:js": "vitest run", - "test-watch": "vitest watch", - "develop": "npm run test-watch" - }, - "repository": { - "type": "git", - "url": "https://github.com/plopjs/plop.git", - "directory": "packages/node-plop" - }, - "keywords": [ - "plop", - "generator", - "scaffolding", - "node", - "programmatic", - "automation" - ], - "author": "Andrew Worcester (http://amwmedia.com)", - "license": "MIT", - "bugs": { - "url": "https://github.com/plopjs/plop/issues" - }, - "engines": { - "node": "^12.20.0 || ^14.13.1 || >=16.0.0" - }, - "devDependencies": { - "@types/inquirer-autocomplete-prompt": "^1.3.3", - "@types/node": "^16.11.10", - "dtslint": "^4.2.1", - "plop-pack-fancy-comments": "^0.2.1", - "typescript": "^4.5.2", - "vitest": "^0.5.5" - }, - "dependencies": { - "@types/inquirer": "^8.1.3", - "change-case": "^4.1.2", - "del": "^6.0.0", - "globby": "^12.0.2", - "handlebars": "^4.4.3", - "inquirer": "^8.2.0", - "isbinaryfile": "^4.0.8", - "lodash.get": "^4.4.2", - "lower-case": "^2.0.2", - "mkdirp": "^1.0.4", - "resolve": "^1.20.0", - "title-case": "^3.0.3", - "upper-case": "^2.0.2" - } -} +{ + "name": "node-plop", + "version": "0.30.1", + "description": "programmatic plopping for fun and profit", + "main": "src/index.js", + "type": "module", + "types": "types/index.d.ts", + "scripts": { + "test": "npm run test:js && npm run test:typings", + "test:typings": "dtslint types --localTs ../../node_modules/typescript/lib --expectOnly", + "test:js": "vitest run", + "test-watch": "vitest watch", + "develop": "npm run test-watch" + }, + "repository": { + "type": "git", + "url": "https://github.com/plopjs/plop.git", + "directory": "packages/node-plop" + }, + "keywords": [ + "plop", + "generator", + "scaffolding", + "node", + "programmatic", + "automation" + ], + "author": "Andrew Worcester (http://amwmedia.com)", + "license": "MIT", + "bugs": { + "url": "https://github.com/plopjs/plop/issues" + }, + "engines": { + "node": "^12.20.0 || ^14.13.1 || >=16.0.0" + }, + "devDependencies": { + "@types/inquirer-autocomplete-prompt": "^1.3.3", + "@types/node": "^16.11.10", + "dtslint": "^4.2.1", + "plop-pack-fancy-comments": "^0.2.1", + "typescript": "^4.5.2", + "vitest": "^0.5.5" + }, + "dependencies": { + "@types/inquirer": "^8.1.3", + "change-case": "^4.1.2", + "del": "^6.0.0", + "globby": "^12.0.2", + "handlebars": "^4.4.3", + "inquirer": "^8.2.0", + "isbinaryfile": "^4.0.8", + "lodash.get": "^4.4.2", + "lower-case": "^2.0.2", + "mkdirp": "^1.0.4", + "resolve": "^1.20.0", + "title-case": "^3.0.3", + "upper-case": "^2.0.2" + } +} diff --git a/packages/plop/CHANGELOG.md b/packages/plop/CHANGELOG.md new file mode 100644 index 00000000..7387a01c --- /dev/null +++ b/packages/plop/CHANGELOG.md @@ -0,0 +1,10 @@ +# plop + +## 3.0.6 + +### Patch Changes + +- Moved to monorepo + +- Updated dependencies []: + - node-plop@0.30.1 diff --git a/packages/plop/package.json b/packages/plop/package.json index 64a74b7a..a52f8107 100644 --- a/packages/plop/package.json +++ b/packages/plop/package.json @@ -1,6 +1,6 @@ { "name": "plop", - "version": "3.0.5", + "version": "3.0.6", "description": "Micro-generator framework that makes it easy for an entire team to create files with a level of uniformity", "main": "./src/plop.js", "type": "module", @@ -46,7 +46,7 @@ "interpret": "^2.2.0", "liftoff": "^4.0.0", "minimist": "^1.2.5", - "node-plop": "^0.30.0", + "node-plop": "^0.30.1", "ora": "^6.0.1", "v8flags": "^4.0.0" }, diff --git a/packages/plop/tests/input-processing.spec.js b/packages/plop/tests/input-processing.spec.js index 9a7ee453..eaaceea9 100644 --- a/packages/plop/tests/input-processing.spec.js +++ b/packages/plop/tests/input-processing.spec.js @@ -6,8 +6,8 @@ const __dirname = dirname(fileURLToPath(import.meta.url)); test("should report a missing plopfile when not copied", async () => { // The directory above this repo. We look up towards `plopfile.js` and found one at root otherwise. - const cwd = resolve(__dirname, '../../../..'); - const { findByError } = await renderPlop([], {cwd}); + const cwd = resolve(__dirname, "../../../.."); + const { findByError } = await renderPlop([], { cwd }); expect(await findByError(/\[PLOP\] No plopfile found/)).toBeInTheConsole(); });