Skip to content

Commit e3b69c3

Browse files
committed
bump versions [skip ci]
1 parent 45f5cd6 commit e3b69c3

File tree

3 files changed

+28
-231
lines changed

3 files changed

+28
-231
lines changed

.bitmap

+25-25
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,25 @@
1111
{
1212
"angular": {
1313
"scope": "teambit.angular",
14-
"version": "2.0.8",
14+
"version": "3.0.0",
1515
"mainFile": "index.ts",
1616
"rootDir": "scopes/angular"
1717
},
1818
"dev-services/compiler/angular-elements": {
1919
"scope": "teambit.angular",
20-
"version": "0.1.23",
20+
"version": "1.0.0",
2121
"mainFile": "index.ts",
2222
"rootDir": "scopes/dev-services/compiler/angular-elements"
2323
},
2424
"dev-services/compiler/ng-multi-compiler": {
2525
"scope": "teambit.angular",
26-
"version": "0.1.25",
26+
"version": "1.0.0",
2727
"mainFile": "index.ts",
2828
"rootDir": "scopes/dev-services/compiler/ng-multi-compiler"
2929
},
3030
"dev-services/compiler/ng-packagr": {
3131
"scope": "teambit.angular",
32-
"version": "1.2.10",
32+
"version": "2.0.0",
3333
"mainFile": "index.ts",
3434
"rootDir": "scopes/dev-services/compiler/ng-packagr"
3535
},
@@ -40,44 +40,44 @@
4040
"rootDir": "scopes/dev-services/compiler/ngcc"
4141
},
4242
"dev-services/compiler/webpack": {
43-
"scope": "",
44-
"version": "",
43+
"scope": "teambit.angular",
44+
"version": "1.0.0",
4545
"mainFile": "index.ts",
4646
"rootDir": "scopes/dev-services/compiler/webpack"
4747
},
4848
"dev-services/linter/angular-eslint-config": {
4949
"scope": "teambit.angular",
50-
"version": "1.0.2",
50+
"version": "2.0.0",
5151
"mainFile": "index.js",
5252
"rootDir": "scopes/dev-services/linter/eslint-config"
5353
},
5454
"dev-services/preview/angular-runtime": {
55-
"scope": "",
56-
"version": "",
55+
"scope": "teambit.angular",
56+
"version": "1.0.0",
5757
"mainFile": "index.ts",
5858
"rootDir": "scopes/dev-services/preview/angular-runtime"
5959
},
6060
"dev-services/preview/mounter": {
61-
"scope": "",
62-
"version": "",
61+
"scope": "teambit.angular",
62+
"version": "1.0.0",
6363
"mainFile": "index.ts",
6464
"rootDir": "scopes/dev-services/preview/mounter"
6565
},
6666
"dev-services/preview/preview": {
67-
"scope": "",
68-
"version": "",
67+
"scope": "teambit.angular",
68+
"version": "1.0.0",
6969
"mainFile": "index.ts",
7070
"rootDir": "scopes/dev-services/preview/preview"
7171
},
7272
"generators/angular-starters": {
73-
"scope": "",
74-
"version": "",
73+
"scope": "teambit.angular",
74+
"version": "1.0.0",
7575
"mainFile": "index.ts",
7676
"rootDir": "scopes/generators/angular-starters"
7777
},
7878
"generators/angular-templates": {
79-
"scope": "",
80-
"version": "",
79+
"scope": "teambit.angular",
80+
"version": "1.0.0",
8181
"mainFile": "index.ts",
8282
"rootDir": "scopes/generators/angular-templates"
8383
},
@@ -95,25 +95,25 @@
9595
},*/
9696
"versions/angular-v12": {
9797
"scope": "teambit.angular",
98-
"version": "1.2.28",
98+
"version": "2.0.0",
9999
"mainFile": "index.ts",
100100
"rootDir": "scopes/versions/angular-v12"
101101
},
102102
"versions/angular-v13": {
103103
"scope": "teambit.angular",
104-
"version": "1.2.28",
104+
"version": "2.0.0",
105105
"mainFile": "index.ts",
106106
"rootDir": "scopes/versions/angular-v13"
107107
},
108108
"versions/angular-v14": {
109109
"scope": "teambit.angular",
110-
"version": "1.0.6",
110+
"version": "2.0.0",
111111
"mainFile": "index.ts",
112112
"rootDir": "scopes/versions/angular-v14"
113113
},
114114
"versions/angular-v15": {
115115
"scope": "teambit.angular",
116-
"version": "1.0.6",
116+
"version": "2.0.0",
117117
"mainFile": "index.ts",
118118
"rootDir": "scopes/versions/angular-v15"
119119
},
@@ -131,19 +131,19 @@
131131
},*/
132132
"versions/common/angular-apps": {
133133
"scope": "teambit.angular",
134-
"version": "0.1.7",
134+
"version": "1.0.0",
135135
"mainFile": "index.ts",
136136
"rootDir": "scopes/versions/common/angular-apps"
137137
},
138138
"versions/common/angular-base": {
139139
"scope": "teambit.angular",
140-
"version": "0.2.27",
140+
"version": "1.0.0",
141141
"mainFile": "index.ts",
142142
"rootDir": "scopes/versions/common/angular-base"
143143
},
144144
"versions/common/angular-common": {
145-
"scope": "",
146-
"version": "",
145+
"scope": "teambit.angular",
146+
"version": "1.0.0",
147147
"mainFile": "index.ts",
148148
"rootDir": "scopes/versions/common/angular-common"
149149
},

scopes/angular/angular.docs.md

+2-100
Original file line numberDiff line numberDiff line change
@@ -3,107 +3,9 @@ description: A development environment for Angular Components
33
labels: ['angular', 'environment', 'env', 'aspect', 'extension']
44
---
55

6-
# Angular Overview
76
`teambit.angular/angular` is a pre-built [Env](https://bit.dev/docs/envs/envs-overview) for building components and apps with Angular.
87
It enables you to quickly set up a dev environment that follows best practices for Angular component development.
98

10-
## Using the Angular env
11-
### In a new workspace
12-
To use the Angular Env, the easiest way is to create a new pre-configured workspace with the workspace generator:
13-
```bash
14-
bit new ng-workspace <workspace-name> -a teambit.angular/angular
15-
```
9+
It always uses the latest major version of Angular.
1610

17-
Change directory to the newly created workspace
18-
```bash
19-
cd <workspace-name>
20-
```
21-
22-
Create a bit component:
23-
```bash
24-
bit create ng-module ui/my-button
25-
```
26-
27-
Install dependencies:
28-
```bash
29-
bit install
30-
```
31-
32-
Start the dev server
33-
```bash
34-
bit start
35-
```
36-
37-
Open-up your browser on localhost:3000, or any other available port, and display your workspace with your components.
38-
39-
### In an existing Bit workspace
40-
First you need to make sure that you're using yarn (in your workspace.jsonc, search for `packageManager` and replace `pnpm` by `yarn` if needed),
41-
then add the Angular env to your workspace.jsonc with the following command:
42-
43-
```bash
44-
bit use teambit.angular/angular
45-
```
46-
47-
You can now create a new component that uses the Angular env:
48-
```bash
49-
bit create ng-module <component-name> --env teambit.angular/angular
50-
```
51-
52-
And finally you need to install the dependencies:
53-
```bash
54-
bit install
55-
```
56-
57-
## Creating Components
58-
The Angular env provides a set of component templates that can be used to speed up and standardize your component development:
59-
60-
To list all available templates, use the following command:
61-
```bash
62-
bit templates
63-
```
64-
65-
- `ng-module` a generic Angular module.
66-
- `ng-env` boilerplate for a customized environment configuration.
67-
- `ng-app` an Angular application.
68-
69-
Use any of these templates with the `bit create` command:
70-
```bash
71-
bit create <template-name> <component-name> --env teambit.angular/angular
72-
```
73-
74-
## Angular versions
75-
The Angular env (teambit.angular/angular) uses the latest stable version of Angular and its dependencies.
76-
Whenever a new major version of Angular is released, a new major version of the Angular env is created.
77-
78-
If you want to use a specific version of Angular, you can use one those env versions instead of `teambit.angular/angular`:
79-
- [v8: `teambit.angular/versions/angular-v8`](https://bit.cloud/teambit/angular/versions/angular-v8)
80-
- [v9: `teambit.angular/versions/angular-v9`](https://bit.cloud/teambit/angular/versions/angular-v9)
81-
- [v10: `teambit.angular/versions/angular-v10`](https://bit.cloud/teambit/angular/versions/angular-v10)
82-
- [v11: `teambit.angular/versions/angular-v11`](https://bit.cloud/teambit/angular/versions/angular-v11)
83-
- [v12: `teambit.angular/versions/angular-v12`](https://bit.cloud/teambit/angular/versions/angular-v12)
84-
- [v13: `teambit.angular/versions/angular-v13`](https://bit.cloud/teambit/angular/versions/angular-v13)
85-
- [v14: `teambit.angular/versions/angular-v14`](https://bit.cloud/teambit/angular/versions/angular-v14)
86-
- [v15: `teambit.angular/versions/angular-v15`](https://bit.cloud/teambit/angular/versions/angular-v15)
87-
88-
You can quickly switch between these versions with the `bit env set` command. For example to use v14 instead of the default, you would use the following command:
89-
```bash
90-
bit env replace teambit.angular/angular teambit.angular/angular-v14
91-
```
92-
93-
## Angular applications
94-
You can use the Angular env to create an Angular application with the following command:
95-
```bash
96-
bit create ng-app <app-name> --env teambit.angular/angular
97-
```
98-
99-
To run your application in dev mode, use the following command:
100-
```bash
101-
bit run <app-name>
102-
```
103-
104-
### Configure your application
105-
Your app component can be configured with different options for serve, build and deployment.
106-
Open the configuration file named `<app-name>.ng-app.ts` that is located in your app folder.
107-
108-
You can change the default configuration by editing the different options, such as app name, port, source folder, serve, build, deploy options, etc.
109-
See the [apps documentation](https://bit.dev/docs/apps/apps-overview) for more information.
11+
Get more information about Bit & Angular in [the Bit Angular documentation](https://bit.dev/docs/angular-introduction).

scopes/versions/angular-v12/angular-v12.docs.md

+1-106
Original file line numberDiff line numberDiff line change
@@ -5,109 +5,4 @@ labels: ['angular', 'environment', 'env', 'aspect', 'extension']
55

66
Adds Angular v12 support to your Bit workspace.
77

8-
**This is a legacy version of the Angular env. It is recommended to use the latest version of the Angular env instead.**
9-
10-
# Angular Overview
11-
`teambit.angular/versions/angular-v12` is a pre-built [Env](https://bit.dev/docs/envs/envs-overview) for building components and apps with Angular.
12-
It enables you to quickly set up a dev environment that follows best practices for Angular component development.
13-
14-
## Using the Angular env
15-
### In a new workspace
16-
To use the Angular Env, the easiest way is to create a new pre-configured workspace with the workspace generator:
17-
```bash
18-
bit new ng-workspace <workspace-name> -a teambit.angular/versions/angular-v12
19-
```
20-
21-
Change directory to the newly created workspace
22-
```bash
23-
cd <workspace-name>
24-
```
25-
26-
Create a bit component:
27-
```bash
28-
bit create ng-module ui/my-button
29-
```
30-
31-
Install dependencies:
32-
```bash
33-
bit install
34-
```
35-
36-
Start the dev server
37-
```bash
38-
bit start
39-
```
40-
41-
Open-up your browser on localhost:3000, or any other available port, and display your workspace with your components.
42-
43-
### In an existing Bit workspace
44-
First you need to make sure that you're using yarn (in your workspace.jsonc, search for `packageManager` and replace `pnpm` by `yarn` if needed),
45-
then add the Angular env to your workspace.jsonc with the following command:
46-
47-
```bash
48-
bit use teambit.angular/versions/angular-v12
49-
```
50-
51-
You can now create a new component that uses the Angular env:
52-
```bash
53-
bit create ng-module <component-name> --env teambit.angular/versions/angular-v12
54-
```
55-
56-
And finally you need to install the dependencies:
57-
```bash
58-
bit install
59-
```
60-
61-
## Creating Components
62-
The Angular env provides a set of component templates that can be used to speed up and standardize your component development:
63-
64-
To list all available templates, use the following command:
65-
```bash
66-
bit templates
67-
```
68-
69-
- `ng-module` a generic Angular module.
70-
- `ng-env` boilerplate for a customized environment configuration.
71-
- `ng-app` an Angular application.
72-
73-
Use any of these templates with the `bit create` command:
74-
```bash
75-
bit create <template-name> <component-name> --env teambit.angular/versions/angular-v12
76-
```
77-
78-
## Angular versions
79-
The Angular env (teambit.angular/angular) uses the latest stable version of Angular and its dependencies.
80-
Whenever a new major version of Angular is released, a new major version of the Angular env is created.
81-
82-
If you want to use a specific version of Angular, you can use one those env versions instead of `teambit.angular/angular`:
83-
- [v8: `teambit.angular/versions/angular-v8`](https://bit.cloud/teambit/angular/versions/angular-v8)
84-
- [v9: `teambit.angular/versions/angular-v9`](https://bit.cloud/teambit/angular/versions/angular-v9)
85-
- [v10: `teambit.angular/versions/angular-v10`](https://bit.cloud/teambit/angular/versions/angular-v10)
86-
- [v11: `teambit.angular/versions/angular-v11`](https://bit.cloud/teambit/angular/versions/angular-v11)
87-
- [v12: `teambit.angular/versions/angular-v12`](https://bit.cloud/teambit/angular/versions/angular-v12)
88-
- [v13: `teambit.angular/versions/angular-v13`](https://bit.cloud/teambit/angular/versions/angular-v13)
89-
- [v14: `teambit.angular/versions/angular-v14`](https://bit.cloud/teambit/angular/versions/angular-v14)
90-
- [v15: `teambit.angular/versions/angular-v15`](https://bit.cloud/teambit/angular/versions/angular-v15)
91-
92-
You can quickly switch between these versions with the `bit env set` command. For example to use v14 instead of the default, you would use the following command:
93-
```bash
94-
bit env replace teambit.angular/angular teambit.angular/angular-v15
95-
```
96-
97-
## Angular applications
98-
You can use the Angular env to create an Angular application with the following command:
99-
```bash
100-
bit create ng-app <app-name> --env teambit.angular/versions/angular-v12
101-
```
102-
103-
To run your application in dev mode, use the following command:
104-
```bash
105-
bit run <app-name>
106-
```
107-
108-
### Configure your application
109-
Your app component can be configured with different options for serve, build and deployment.
110-
Open the configuration file named `<app-name>.ng-app.ts` that is located in your app folder.
111-
112-
You can change the default configuration by editing the different options, such as app name, port, source folder, serve, build, deploy options, etc.
113-
See the [apps documentation](https://bit.dev/docs/apps/apps-overview) for more information.
8+
Get more information about Bit & Angular in [the Bit Angular documentation](https://bit.dev/docs/angular-introduction).

0 commit comments

Comments
 (0)