Comments (2)
After reading the builder source code, I realized that I could run it with LOCAL_DEV='true'
and it works. LOCAL_DEV
forces it it to look in process.cwd() + '/node_modules'
.
But why does this option exist. Why not always look in process.cwd()
by default?
from builder.
Alright, I'm back in action. All my scripts are belong to LOCAL_DEV now, like this:
{
"scripts": {
"clean": "LOCAL_DEV=true builder run clean",
"build": "LOCAL_DEV=true builder run build:prod",
"dev": "LOCAL_DEV=true builder run build:dev",
"test": "LOCAL_DEV=true builder run npm:test",
"test-debug": "LOCAL_DEV=true builder run npm:test-debug",
"release:patch": "LOCAL_DEV=true builder run release:patch",
"release:minor": "LOCAL_DEV=true builder run release:minor",
"release:major": "LOCAL_DEV=true builder run release:major",
"version": "LOCAL_DEV=true builder run npm:version",
"postversion": "LOCAL_DEV=true builder run npm:postversion",
// ... etc ...
}
}
from builder.
Related Issues (20)
- Implementing the module pattern with typescript? HOT 5
- [Feature,Discussion]: Use in monorepos HOT 3
- The hardest part about Builder is making an Archetype. HOT 4
- How to extend an archetype. HOT 2
- Alternatives to "the module pattern". HOT 2
- To shrinkwrap or not to shrinkwrap? HOT 3
- Not using a dev archetype, but builder throws errors about not finding one. HOT 1
- How to configure default log-level?
- Chore: Bump to node4+ and modernize code.
- CI: Empty environment parameters are super-flaky on Appveyor.
- Log: Add `debug` log level.
- Eslint: Update to modern configs
- builder and mono repos HOT 4
- Nested builder command doesn't work in Windows. HOT 4
- Why does Bolt have many more stars than Builder?
- CI/Appveyor: Appveyor breaks on old npm
- Node8: Update code to modern ES
- when builder is symlinked, environment causes TypeScript compiler to fork bomb HOT 3
- Running coverage with typescript support (bug?) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from builder.