Skip to content

Commit

Permalink
Fix dependencies problem when changed @mikroways/reveal-md-common
Browse files Browse the repository at this point in the history
  • Loading branch information
chrodriguez committed Jan 2, 2024
1 parent 54707f5 commit 026aff3
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@mikroways/create-reveal-presentation",
"description": "Create Mikroways reveal-md presentation",
"version": "0.1.3",
"version": "0.1.4",
"author": "Christian Rodriguez <[email protected]>",
"bin": "src/cli.js",
"files": [
Expand Down
4 changes: 1 addition & 3 deletions src/cli.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,7 @@ create('create-mw-reveal-presentation', {
defaultLicense: 'MIT',
after: async ({ installNpmPackage }) => {
console.log('Installing required packages');
await installNpmPackage([
'reveal-md',
'@mikroways/reveal-md-common']);
await installNpmPackage('reveal-md');
},
caveat: ({ packageDir }) => {
console.log('\nNext steps:');
Expand Down
4 changes: 3 additions & 1 deletion templates/default/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
"description": "{{description}}",
"version": "0.0.0",
"author": "{{contact}}",
"dependencies": {},
"dependencies": {
"@mikroways/reveal-md-common": "^1.0.0"
},
"scripts": {
"prepare": "postinstall",
"prestart": "postinstall",
Expand Down

0 comments on commit 026aff3

Please sign in to comment.