@tech4good/angular-schematics 13.7.0 → 13.8.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -37,10 +37,11 @@ To publish, simply do:
|
|
|
37
37
|
|
|
38
38
|
```bash
|
|
39
39
|
npm run build
|
|
40
|
-
npm publish
|
|
40
|
+
npm publish # will ask for a OTP (see Google Authenticator: npm)
|
|
41
41
|
```
|
|
42
42
|
|
|
43
43
|
That's it!
|
|
44
44
|
|
|
45
45
|
You can also use `npm version <version>` to update the version before publishing.
|
|
46
|
-
|
|
46
|
+
* Don't forget to also update `src/init/files/package.json.template` so that the latest version of `@tech4good/anguar-schematics` is being used in the dependencies.
|
|
47
|
+
* If we are making a major update for a new angular version, we also need to update the version number in `package.json.template`.
|
package/package.json
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
Update this manually once the project is generated and update it as changes are made to the repository.
|
|
2
|
+
|
|
3
|
+
<a name="13.0.0-0"></a>
|
|
4
|
+
# 13.0.0-0 (YYYY-MM-DD)
|
|
5
|
+
### <%= classify(project) %>
|
|
6
|
+
| Commit | Type | Description |
|
|
7
|
+
| -- | -- | -- |
|
|
8
|
+
| [commit-hash](commit-url) | fix | **module:** commit message ([#pr](pr-url)) |
|
|
9
|
+
|
|
10
|
+
<!-- CHANGELOG SPLIT MARKER -->
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# <%= classify(project) %>
|
|
2
|
+
|
|
3
|
+
This project was initialized by using [Tech4Good's Angular Schematics](https://github.com/tech4good-lab/angular-schematics) after a base project repository was generated with [Angular CLI](https://github.com/angular/angular-cli). You can check the early commits of package.json to determine the versions used to generate it.
|
|
4
|
+
|
|
5
|
+
## Development server
|
|
6
|
+
|
|
7
|
+
Run `ng serve` for a dev server. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
|
8
|
+
Run `ng serve --configuration production` to run a prod server locally. Navigate to `http://localhost:4200/`. The app will automatically reload if you change any of the source files.
|
|
9
|
+
|
|
10
|
+
## Code scaffolding
|
|
11
|
+
|
|
12
|
+
Run `ng generate component component-name` to generate a new component. You can also use `ng generate container|module|entity`.
|
|
13
|
+
|
|
14
|
+
## Build
|
|
15
|
+
|
|
16
|
+
Run `ng build` to build the project. The build artifacts will be stored in the `dist/` directory.
|
|
17
|
+
|
|
18
|
+
## Version number
|
|
19
|
+
|
|
20
|
+
We use the syntax `ANGULAR_MAJOR.MAJOR.MINOR-PATCH` for versioning, where
|
|
21
|
+
* `ANGULAR_MAJOR` corresponds to angular's major version,
|
|
22
|
+
* `MAJOR` contains significant new features, with some developer assistance needed, e.g. to write scripts that update the database for existing users.
|
|
23
|
+
* `MINOR` contains new smaller features. Minor releases are fully backward-compatible in that we can immediately deploy to production without needing to make any updates to the database for existing users,
|
|
24
|
+
* `PATCH` contains low risk bug fixes that do not require any updates to the database.
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "<%= dasherize(project) %>",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "13.0.0-0",
|
|
4
4
|
"scripts": {
|
|
5
5
|
"ng": "ng",
|
|
6
6
|
"start": "ng serve",
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
"@ngrx/router-store": "^13.1.0",
|
|
29
29
|
"@ngrx/store": "^13.1.0",
|
|
30
30
|
"@ngrx/store-devtools": "^13.1.0",
|
|
31
|
-
"@tech4good/angular-schematics": "^13.
|
|
31
|
+
"@tech4good/angular-schematics": "^13.8.0",
|
|
32
32
|
"crypto-es": "^1.2.7",
|
|
33
33
|
"rxjs": "~7.5.0",
|
|
34
34
|
"tslib": "^2.3.0",
|