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

Client configurations outdated(vue.config.js) #372

Closed
4 tasks done
robbykrlos opened this issue Feb 4, 2021 · 3 comments
Closed
4 tasks done

Client configurations outdated(vue.config.js) #372

robbykrlos opened this issue Feb 4, 2021 · 3 comments

Comments

@robbykrlos
Copy link

This is a bug?.

Prerequisites

  • Are you running the latest version?
  • Are you reporting to the correct repository?
  • Did you check the documentation?
  • Did you perform a cursory search?

Description

While investigating this #352 - I have checked some files from client side - just to be sure we're in sync.

Not sure if a bug or not, but shouldn't the laravel-enso/enso configuration released in 4.6.0 reflect the latest configuration changes (with all required changes from all upgrade steps 4.1 ... 4.4, 4.5, 4.6?

My logic says that a new enso installation will not work, due to @ui / @core alias missmatches. But maybe I'm wrong.

Latest package (one example file)

'@core': `${__dirname}/node_modules/@enso-ui/ui/src`,

Release notes from 4.4.0:

the @core alias has been renamed to @ui, so update all usages, including

  • local resources (pages, components)
  • the client/.eslintrc.js file
    ...

PS: I've found one file, but could be more, didn't check all configs.

@raftx24
Copy link
Member

raftx24 commented Feb 8, 2021

Hi @robbykrlos.
Yes, you are right, even though we don't use @ui here but anyway we should use @ui in .eslintrc.js too.
could you please create a PR for it?
thank you

@robbykrlos
Copy link
Author

Sure. Will do.

robbykrlos pushed a commit to robbykrlos/enso that referenced this issue Feb 8, 2021
- updated outdated package alias from @core to @ui according to Release notes from 4.4.0: 'the @core alias has been renamed to @ui, so update all usages ...
@robbykrlos
Copy link
Author

Yes, you are right, even though we don't use @ui here but anyway we should use @ui in .eslintrc.js too.

Hi again,

So now that I'm actually doing this, I further more confused by your last comment:

So, my initial ticket was related to vue.config.js - which had a bad outdated alias - which I fixed by PR #373

.eslintrc.js has no problem from what I see, the alias is correct in this file:

alias: {
                map: [
                    ['@ui', `${__dirname}/node_modules/@enso-ui/ui/src`],
                    ['@root', `${__dirname}/src/js`],

Probably typo and you meant vue.config.js?

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

2 participants