Skip to content

Commit 948caa8

Browse files
author
David Heinemeier Hansson
committed
package.json is now shared
1 parent f81ec0f commit 948caa8

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

lib/install/esbuild/install.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
say "Create default package.json and install esbuild"
2-
copy_file "#{__dir__}/package.json", "package.json"
1+
say "Install esbuild"
32
run "yarn add esbuild"
43

54
say "Add build script"

lib/install/rollup/install.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
say "Create default package.json and install rollup with config"
2-
copy_file "#{__dir__}/package.json", "package.json"
1+
say "Install rollup with config"
32
copy_file "#{__dir__}/rollup.config.js", "rollup.config.js"
43
run "yarn add rollup @rollup/plugin-node-resolve"
54

lib/install/webpack/install.rb

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
say "Create default package.json and install Webpack with config"
2-
copy_file "#{__dir__}/package.json", "package.json"
1+
say "Install Webpack with config"
32
copy_file "#{__dir__}/webpack.config.js", "webpack.config.js"
43
run "yarn add webpack webpack-cli"
54

0 commit comments

Comments
 (0)