Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update collection.json for versions scuri@1.2.0 and later #35

Open
gparlakov opened this issue Aug 18, 2022 · 1 comment
Open

Update collection.json for versions scuri@1.2.0 and later #35

gparlakov opened this issue Aug 18, 2022 · 1 comment

Comments

@gparlakov
Copy link
Owner

Scuri 1.2.0 and later now ships the /dist folder while 1.1.0 and before ships the /src folder.

Add logic to use the correct path when doing commands

@gparlakov
Copy link
Owner Author

If you experience this with an older version or want a workaround while this issue is in progress:

  • run Scuri command (Scuri Create)
  • open details, the scuri output
    deps-calls-with-return-types_ts_—scuri__Codespaces
  • copy the path to scuri dependencies
    deps-calls-with-return-types_ts_—scuri__Codespaces
  • create a soft link to simulate a src folder which scuri-code expects to find. For the example it looks like this
    • ln -s /home/codespace/.vscode-remote/data/User/globalStorage/gparlakov.scuri-code/deps/node_modules/scuri/dist/ /home/codespace/.vscode-remote/data/User/globalStorage/gparlakov.scuri-code/deps/node_modules/scuri/src
    • windows - mklink /J .....\deps\node_modules\scuri\dist ....\deps\node_modules\scuri\src
  • verify by running a scuri command (Scuri Create) and should see the command succeed
    deps-calls-with-return-types_ts_—scuri__Codespaces
    deps-calls-with-return-types_ts_—scuri__Codespaces

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant