Skip to content
This repository has been archived by the owner on Jun 16, 2024. It is now read-only.

Commit

Permalink
fix: restore file configuration generator
Browse files Browse the repository at this point in the history
  • Loading branch information
juanpicado committed Jun 7, 2022
1 parent 96c0eef commit 2cd418d
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 10 deletions.
6 changes: 6 additions & 0 deletions .changeset/fuzzy-eels-approve.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
---
"generator-verdaccio-plugin": major
---

fix: restore file configuration generator

2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@

- 9e00210: feat: refactor templates, remove js and update dependencies

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

### [3.0.1](https://github.com/verdaccio/generator-verdaccio-plugin/compare/v3.0.0...v3.0.1) (2020-12-23)


Expand Down
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,8 @@
# Verdaccio plugin generator

[![NPM version][npm-image]][npm-url]
[![Dependency Status][daviddm-image]][daviddm-url]
[![Dependabot Status](https://api.dependabot.com/badges/status?host=github&repo=verdaccio/generator-verdaccio-plugin)](https://dependabot.com)
[![DevDependencies](https://david-dm.org/verdaccio/generator-verdaccio-plugin/master/dev-status.svg)](https://david-dm.org/verdaccio/generator-verdaccio-plugin/master?type=dev)
generator-verdaccio-plugin/master?type=dev)
[![License](https://img.shields.io/github/license/verdaccio/generator-verdaccio-plugin)](./LICENSE)

[![Backers](https://opencollective.com/verdaccio/tiers/backer/badge.svg?label=Backer&color=brightgreen)](https://opencollective.com/verdaccio)
[![Stackshare](https://img.shields.io/badge/Follow%20on-StackShare-blue.svg?logo=stackshare&style=flat)](https://stackshare.io/verdaccio)
[![Discord](https://img.shields.io/discord/388674437219745793?logo=discord)](http://chat.verdaccio.org/)
Expand Down
4 changes: 3 additions & 1 deletion generators/app/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ type propsTypes = {

const yosay = require('yosay');

export default class VerdaccioPluginGenerator extends Generator {
class VerdaccioPluginGenerator extends Generator {
private props: propsTypes;
private projectName = 'verdaccio-';
private destinationPathName = 'verdaccio-';
Expand Down Expand Up @@ -191,3 +191,5 @@ export default class VerdaccioPluginGenerator extends Generator {
// this.installDependencies({ npm: true, bower: false });
}
}

module.exports = VerdaccioPluginGenerator;
5 changes: 2 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,8 @@
"url": "https://github.com/verdaccio/generator-verdaccio-plugin"
},
"files": [
"build"
"generators"
],
"main": "build/app/index.js",
"keywords": [
"verdaccio-plugin",
"yeoman-generator"
Expand Down Expand Up @@ -92,7 +91,7 @@
"release": "standard-version -a -s",
"type-check": "tsc --noEmit -p tsconfig.build.json",
"build:types": "tsc --emitDeclarationOnly -p tsconfig.build.json",
"build": "babel generators/ --out-dir build/ --copy-files --extensions \".ts,.tsx\" --source-maps",
"build": "babel generators/ --out-dir generators/ --copy-files --extensions \".ts,.tsx\" --source-maps",
"test": "jest",
"lint": "eslint --max-warnings 0 \"**/*.{js,ts}\"",
"changeset": "changeset",
Expand Down

0 comments on commit 2cd418d

Please sign in to comment.