Giter VIP home page Giter VIP logo

apployees-nx's People

Contributors

atifsyedali avatar iteufel avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  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  avatar

apployees-nx's Issues

Nx 11 support

After update to nx 11.3.0, @apployees-nx/level-task-runner starts failing. The logic needs to be adapted based on the current changes in nx 11.

Node.JS 16 Not Supported

Hey Atif,

Im looking to upgrade to Node 16 and it appears a few dependencies are not supported:

"node-sass" is currently at version 4.X, it must be upgraded to 6.X to provide Node 16 support: https://www.npmjs.com/package/node-sass

There is also an issue with the sub-dependency "sharp" which currently resolves to version "0.22.1" which is 2.5 years old and causes build errors with Node 16. I am not sure of the minimum version required to support Node 16.

There may be more packages that are incompatible, but these are the ones i've found during an initial yarn install.

Build process creates an invalid name for package.json file.

We have decided to use Apployees-nx plugin, which is great btw, to build our node application with separate package.json file. It crafts name key in package.json file that violates allowed pattern.

For example, "name": "@<name-of-the-project>/<folder-of-app>/<name-of-the-app> ".
In this case @ and / are not allowed symbols in package.json file. I wonder would it be possible to override this behavior?

Can't figure out how to use webserver

At first it crashed on yarn add, when I switched to node v12 (was using v14 before) it was installed but when i run nx g @apployees-nx/webserver:app myApp it asks me In which directory should the webserver application be generated when i type anything i get an error Cannot read property 'antd' of undefined

Enhanced Node Builder Error

When using the Enhanced Node Builder for a short while but the builder has been providing errors. We have replaced it in our workspace.json and installed apployees-nx/node.
When we run:
nx run next-ur-api:build
The command errors and provides:
Invalid format version detected - Expected:[ 1 ] Found: [ 2 ]

Here is part our workspace.json:

"next-ur-api": {
      "root": "apps/next-ur-api",
      "sourceRoot": "apps/next-ur-api/src",
      "projectType": "application",
      "prefix": "next-ur-api",
      "targets": {
        "build": {
          "executor": "@apployees-nx/node:build",
          "outputs": [
            "{options.outputPath}"
          ],
          "options": {
            "outputPath": "dist/apps/next-ur-api",
            "main": "apps/next-ur-api/src/main.ts",
            "tsConfig": "apps/next-ur-api/tsconfig.app.json",
            "assets": [
              "apps/next-ur-api/src/assets"
            ]
          },
          "configurations": {
            "production": {
              "optimization": true,
              "extractLicenses": true,
              "inspect": false,
              "fileReplacements": [
                {
                  "replace": "apps/next-ur-api/src/environments/environment.ts",
                  "with": "apps/next-ur-api/src/environments/environment.prod.ts"
                }
              ]
            }
          }
        },
        "serve": {
          "executor": "@nrwl/node:execute",
          "options": {
            "buildTarget": "next-ur-api:build"
          }
        },
        "lint": {
          "executor": "@nrwl/linter:eslint",
          "options": {
            "lintFilePatterns": [
              "apps/next-ur-api/**/*.ts"
            ]
          }
        },
        "test": {
          "executor": "@nrwl/jest:jest",
          "outputs": [
            "coverage/apps/next-ur-api"
          ],
          "options": {
            "jestConfig": "apps/next-ur-api/jest.config.js",
            "passWithNoTests": true,
            "detectOpenHandles": true
          }
        }
      }
    },

I can post additional logs or files if needed. Or if I need to add any additional items let me know.

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.