Replies: 4 comments 2 replies
-
I'm not sure I understand your use case. What are those restrictions?
I definitely don't understand this. Please elaborate. |
Beta Was this translation helpful? Give feedback.
-
First, sorry for my english... and thank you a lot for your responsiveness. Unfortunately, my company forbids to execute a program/script from But my company authorizes to execute a program/script from a project path, therefore I installed "dependencies": {
"xpm": "^0.16.1"
}, I install Therefore I created VS Code tasks to overload the VS Code xPacks actions to add For instance: {
"label": "Clean (copy of xpack action)",
"type": "shell",
"command": "npx xpm run clean --config Debug -C '${workspaceRoot}'",
"problemMatcher": []
}, My suggestion is to add this I hope that is more understandable. 🤞 |
Beta Was this translation helpful? Give feedback.
-
I see... Not good... :-( Can you define some environment variables? You can choose a different location for the xPacks: |
Beta Was this translation helpful? Give feedback.
-
Yes, I can create environment variables but the installation and using of xPacks through the symbolic links of xpacks folder within the project work fine. ❯ where.exe xpm
C:\Users\<user_name>\AppData\Roaming\npm\xpm
C:\Users\<user_name>\AppData\Roaming\npm\xpm.cmd |
Beta Was this translation helpful? Give feedback.
-
Is it a good idea to integrate the possibility to use
npx
ifxpm
is installed as project's Node module (<project_root>/node_modules/
)?xpm
is a NodeJS dependency of the project defined within the package.json file:Its installation is done with the following command executed from project root:
npm install
To use it, we should be call
xpm
throughnpx
. For isntance:npx xpm install
This ask to offer the possibility to overload the VS Code xPack actions.
Beta Was this translation helpful? Give feedback.
All reactions