Code Monkey home page Code Monkey logo

ember-codemod-v1-to-v2's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

ember-codemod-v1-to-v2's Issues

test command in package.json fails

After running this codemod the test-app package.json has the following script:

"test": "concurrently \"npm:lint\" \"npm:test:*\" --names \"lint,test:\"",

when I run npm run test in add-on root, I see the following error:

[test:ember-compatibility] Error!
[test:ember-compatibility] Error: Source and destination must not be the same.
[test:ember-compatibility] Error: Source and destination must not be the same.
[test:ember-compatibility]     at /Users/steve/code/ember/ember-container-query/node_modules/fs-extra/lib/util/stat.js:39:17
[test:ember-compatibility]     at process.processTicksAndRejections (node:internal/process/task_queues:82:21)

I had a look at ember-container-query and noticed that the script is different:

"test": "ember test",

If I apply those changes to my add-on, npm run test works fine again, but it does not seem to execute the ember-try scenarios.

How to reproduce

If I modify ember-container-query/test-app/package.json to have the same content as my add-on after applying this codemod:

    "test": "ember test",
    "test:ember-compatibility": "../node_modules/.bin/ember try:all"

I am seeing the same error when running npm run test in the add-on root.

I currently have no idea if this is an issue with the script this codemod generates or if this is an issue with embers tooling itself. Unfortunately searching for similar issues did not return any useful result so far.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.