Package Details: angular-cli 9.0.6-1

Git Clone URL: https://aur.archlinux.org/angular-cli.git (read-only, click to copy)
Package Base: angular-cli
Description: CLI tool for Angular
Upstream URL: https://github.com/angular/angular-cli
Keywords: angular angular-cli cli
Licenses: MIT
Submitter: MazeChaZer
Maintainer: wpd (GFdevelop)
Last Packager: GFdevelop
Votes: 20
Popularity: 1.47
First Submitted: 2016-12-22 12:58
Last Updated: 2020-03-12 00:23

Dependencies (1)

Required by (1)

Sources (1)

Latest Comments

1 2 Next › Last »

sflor commented on 2020-02-20 10:10

Thanks, working again!

GFdevelop commented on 2020-02-19 13:45

I'm sorry, I will search for this tomorrow (I am traveling today)...can you try to comment the line 34 of PKGBUILD? If this don't solve the problem then can be an error of npm/nodejs...

sflor commented on 2020-02-19 13:33

9.0.2 (not sure if 9.0.1) isn't working for me:

$ ng serve
internal/modules/cjs/loader.js:268
    throw e;
    ^

SyntaxError: Error parsing /usr/lib/node_modules/@angular/cli/package.json: Unexpected token } in JSON at position 443

wpd commented on 2020-02-15 16:28

@GFdevelop Your changes look fine to me. Added you as a co-maintainer :)

GFdevelop commented on 2020-02-13 01:10

I want to suggest some changes based on archwiki https://wiki.archlinux.org/index.php/Node.js_package_guidelines

package() {

    _npmscope=@angular
    _npmname=cli
    _npmver=$pkgver

    # Setting temporary cache
    npm install -g --user root --cache "${srcdir}/npm-cache" --prefix "$pkgdir/usr" $_npmscope/$_npmname@$_npmver
    # Non-deterministic race in npm gives 777 permissions to random directories.
    # See https://github.com/npm/npm/issues/9359 for details.
    find "${pkgdir}"/usr -type d -exec chmod 755 {} +

    # npm gives ownership of ALL FILES to build user
    # https://bugs.archlinux.org/task/63396
    chown -R root:root $pkgdir

    # Package contains reference to $srcdir/$pkgdir
    find "${pkgdir}" -type f -name package.json -exec sed -i -e '/_where/d' {} \;
    sed -i "s|$pkgdir||" "$pkgdir"/usr/lib/node_modules/@angular/cli/node_modules/sshpk/package.json
}

MazeChaZer commented on 2019-04-05 05:23

@wpd It's allright, thanks for maintaining the package :)

wpd commented on 2019-03-31 14:19

@BrLi @MazeChaZer I adopted this since it was an orphan. Please let me know if you want the ownership back, I'm happy to cede control.

beiranvand.karim commented on 2019-02-16 10:13

please update the repository

TheDarkula commented on 2018-10-25 15:49

I made a gist for the current version if anyone wants it: https://gist.github.com/TheDarkula/cc8c0f4a4c94c704755e6e120fad3259

greyltc commented on 2018-06-15 08:06

The latest release is 6.0.7: https://github.com/angular/angular-cli/releases/tag/v6.0.7