6 Commits

Author SHA1 Message Date
Charles Lyding
7f93735e98 build: use bazel to perform release builds
When performing a release via the dev-infra `ng-dev` tooling, the release
builds for the packages that will be published are now performed using bazel.
Prior to this, the release builds were performed using a custom build script
that programmatically invoked TypeScript APIs. The Bazel build and discovery
process for the releasable packages is performed by a script that is based on
the scripts from components and framework repositories. Several small modifications
were performed to match the behavior and structure of the cli repository:
* Use of `packages` as the source root in the bazel query
* Use of `pkg_npm` rule in the bazel query
* Partial transition to native Node.js `fs` APIs instead of `shelljs`
* Directory creation per package when copying output (supports multiple package scopes)
* Copying of archives (tgz) for each package

The snapshot and local build capabilities are not modified as part of this change
but will be merged in a followup as part of a larger transition to use bazel
throughout the package build process.
2023-01-05 03:21:58 +00:00
Alan Agius
a38650d4a4 Revert "docs: remove @latest reference from npm init command"
This reverts commit 467ba5af8278399c1fcf11137644f7c61af8f59c.
2022-11-29 14:37:16 +00:00
Charles Lyding
b2add316e7 build: remove unneeded BUILD file licenses rule comments 2022-09-13 10:33:49 -07:00
Alan Agius
f93de8071f fix(@angular/create): use appropriate package manager to install dependencies
Previously, NPM was always used to install dependencies even when using `yarn create` or `pnpm create`.

Closes #23617
2022-07-22 14:00:57 -04:00
Alan Agius
467ba5af82 docs: remove @latest reference from npm init command
NPM doesn't correctly handle version specifier for scoped packages when using the `init` command

See: https://github.com/npm/cli/issues/5175
2022-07-18 15:29:44 -04:00
Alan Agius
cfe93fbc89 feat(@angular/create): add support for yarn create and npm init
With this change we add support to scaffold  an Angular workspace using `yarn create @angular` and `npm init @angular`. These shortcuts support all of the `ng-new` options.

Closes #10339 and closes #14292
2022-07-12 10:19:23 -07:00