arthurgubaidullin / embed-dependencies Goto Github PK
View Code? Open in Web Editor NEWThis plugin for Nx helps injecting local dependencies into a package.
This plugin for Nx helps injecting local dependencies into a package.
Hi! First off thank you for publishing this, super helpful & works like a charm. Made deploying my Firebase Functions a breeze.
Writing because I noticed that for a barebones Firebase project, the executor takes ~6min to run.
Nx caching helps a little-- but anytime I change something trivial in my functions (like a docstring), the embed-dependencies
target needs to run again, and I'm in for another ~6min wait.
Is this expected? Any tips on how to speed up the executor?
Embedding from a subdirectory will not work now.
Incorrect install command.
I am having issue installing package. I even created a brand new project with nom init
just to isolate the install
โฏ npm install @arthurgubaidullin/nx-embed-dependencies --save-dev
npm ERR! code ENOENT
npm ERR! syscall stat
npm ERR! path /Users/ME/git/node_modules/@arthurgubaidullin/nx-embed-dependencies/libs/@embed-dependencies/npm-pack-injector/embed-dependencies-npm-pack-injector-0.0.1.tgz
npm ERR! errno -2
npm ERR! enoent ENOENT: no such file or directory, stat '/Users/ME/git/node_modules/@arthurgubaidullin/nx-embed-dependencies/libs/@embed-dependencies/npm-pack-injector/embed-dependencies-npm-pack-injector-0.0.1.tgz'
npm ERR! enoent This is related to npm not being able to find a file.
npm ERR! enoent
I'm trying to use this library with nx 15.7.2 and I'm getting the following error:
Cannot find module 'node:child_process' coming from:
/node_modules/.pnpm/@arthurgubaidullin[email protected][email protected]/node_modules/@arthurgubaidullin/nx-embed-dependencies/node_modules/@embed-dependencies/npm-pack-injector/src/lib/NpmPackInjector.js
I think I have it configured correctly. But, I must be overlooking something.
In the new version, Nx builds package.json
without the dependencies
field.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.