Skip to content

Commit

Permalink
refactor(cr): updated default version and removed engines key
Browse files Browse the repository at this point in the history
Just simplifying by removing unnecessary stuff. :3
  • Loading branch information
Pkmmte committed May 2, 2023
1 parent ad184b2 commit 8d219c6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/sharp-snakes-study.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'create-robo': patch
---

refactor(cr): updated default version and removed engines key
7 changes: 2 additions & 5 deletions packages/create-robo/src/robo.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ interface PackageJson {
name: string
description: string
version: string
engines: {
engines?: {
node: string
}
type: 'module' | 'commonjs'
Expand Down Expand Up @@ -98,11 +98,8 @@ export default class Robo {
// Create a package.json file based on the selected features
const packageJson: PackageJson = {
name: this._name,
version: '0.1.0',
description: '',
engines: {
node: '>=18.0.0'
},
version: '1.0.0',
type: 'module',
scripts: {
build: 'robo build',
Expand Down

0 comments on commit 8d219c6

Please sign in to comment.