chore: optimize workflows to avoid building components each time
This commit is contained in:
@@ -11,12 +11,11 @@
|
||||
"scripts": {
|
||||
"start": "bundle exec rails s -b 0.0.0.0",
|
||||
"start:no-binding": "bundle exec rails s",
|
||||
"build:components": "cp -r ../../node_modules/@standardnotes/components/dist/. public/components/",
|
||||
"build": "bundle install && yarn build:components && bundle exec rails assets:precompile",
|
||||
"build:server:all": "yarn workspaces foreach -ptR run build"
|
||||
"build:components": "cp -r ../../node_modules/@standardnotes/components-meta/dist/. public/components/",
|
||||
"build": "bundle install && yarn build:components && bundle exec rails assets:precompile"
|
||||
},
|
||||
"dependencies": {
|
||||
"@standardnotes/components": "workspace:*",
|
||||
"@standardnotes/components-meta": "workspace:*",
|
||||
"@standardnotes/web": "workspace:*"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user