Skip to content

Commit

Permalink
chore: remove atom option
Browse files Browse the repository at this point in the history
  • Loading branch information
DouglasdeMoura authored Jul 24, 2024
1 parent c67a1b0 commit ab86518
Showing 1 changed file with 0 additions and 33 deletions.
33 changes: 0 additions & 33 deletions generators/plopfile.js
Original file line number Diff line number Diff line change
@@ -1,37 +1,4 @@
module.exports = function (plop) {
plop.setGenerator('atom', {
description: 'Create an atom',
prompts: [
{
type: 'input',
name: 'name',
message: 'What is the name of your atom?',
},
],
actions: [
{
type: 'add',
path: '../src/atoms/{{kebabCase name}}/index.tsx',
templateFile: 'templates/index.tsx.hbs',
},
{
type: 'add',
path: '../src/atoms/{{kebabCase name}}/{{kebabCase name}}.tsx',
templateFile: 'templates/component.tsx.hbs',
},
{
type: 'add',
path: '../src/atoms/{{kebabCase name}}/{{kebabCase name}}.stories.tsx',
templateFile: 'templates/stories.tsx.hbs',
},
{
type: 'add',
path: '../src/atoms/{{kebabCase name}}/{{kebabCase name}}.spec.tsx',
templateFile: 'templates/spec.tsx.hbs',
},
],
})

plop.setGenerator('component', {
description: 'Create an component',
prompts: [
Expand Down

0 comments on commit ab86518

Please sign in to comment.