express-sweet-generator 1.0.19 → 2.0.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/CHANGELOG.md +19 -6
- package/QUICK_START.md +5 -5
- package/README.md +3 -1
- package/package.json +1 -1
- package/screencaps/login.jpg +0 -0
- package/screencaps/personal.jpg +0 -0
- package/screencaps/user-editing.jpg +0 -0
- package/screencaps/users.jpg +0 -0
- package/templates/cjs/config/authentication.js +1 -1
- package/templates/cjs/package.json.ejs +1 -1
- package/templates/esm/config/authentication.js +1 -1
- package/templates/esm/package.json.ejs +1 -1
- package/screencaps/login.png +0 -0
- package/screencaps/personal-editing.png +0 -0
- package/screencaps/personal.png +0 -0
- package/screencaps/user-editing.png +0 -0
- package/screencaps/users.png +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [2.0.0] - 2024/3/24
|
|
5
|
+
### Changed
|
|
6
|
+
- Express Sweet version 2 no longer depends on the AWS SDK.
|
|
7
|
+
The `services.AWSRekognitionClient` and `services.AWSSesClient` have been migrated to the [AWS SDK Extension](https://www.npmjs.com/package/aws-sdk-extension) NPM package, so please install from there if needed.
|
|
8
|
+
|
|
9
|
+
## [1.0.20] - 2024/3/22
|
|
10
|
+
### Changed
|
|
11
|
+
- Changed the default value of the template cookie secure attribute (`cookie_secure` in the `config/config.js` file) from true to false.
|
|
12
|
+
If `cookie_secure` is enabled, the login will always fail because no session cookie is written when the demo is run on a local server (HTTP).
|
|
13
|
+
|
|
4
14
|
## [1.0.19] - 2024/3/21
|
|
5
15
|
### Fixed
|
|
6
16
|
- The client build module (public/build) of the template was out of date, so it was updated to the latest version.
|
|
@@ -33,7 +43,8 @@ All notable changes to this project will be documented in this file.
|
|
|
33
43
|
* The default is true, which sets the Secure attribute on the cookie.
|
|
34
44
|
* @type {boolean|undefined}
|
|
35
45
|
*/
|
|
36
|
-
cookie_secure:
|
|
46
|
+
cookie_secure: false,
|
|
47
|
+
// cookie_secure: true,
|
|
37
48
|
|
|
38
49
|
/**
|
|
39
50
|
* Specifies the boolean value for the HttpOnly Set-Cookie attribute.
|
|
@@ -203,12 +214,12 @@ All notable changes to this project will be documented in this file.
|
|
|
203
214
|
- Removed dependent packages(aws-sdk,express,passport,passport-local,sequelize) already included in express-sweet from the template package.json.
|
|
204
215
|
- Template application has been updated.
|
|
205
216
|
<p align="center">
|
|
206
|
-
<img alt="login" src="screencaps/login.
|
|
207
|
-
<img alt="users" src="screencaps/users.
|
|
217
|
+
<img alt="login" src="screencaps/login.jpg" width="45%">
|
|
218
|
+
<img alt="users" src="screencaps/users.jpg" width="45%">
|
|
208
219
|
</p>
|
|
209
220
|
<p align="center">
|
|
210
|
-
<img alt="user-editing" src="screencaps/user-editing.
|
|
211
|
-
<img alt="personal" src="screencaps/personal.
|
|
221
|
+
<img alt="user-editing" src="screencaps/user-editing.jpg" width="45%">
|
|
222
|
+
<img alt="personal" src="screencaps/personal.jpg" width="45%">
|
|
212
223
|
</p>
|
|
213
224
|
|
|
214
225
|
## [1.0.5] - 2022/7/27
|
|
@@ -270,4 +281,6 @@ All notable changes to this project will be documented in this file.
|
|
|
270
281
|
[1.0.16]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.15...v1.0.16
|
|
271
282
|
[1.0.17]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.16...v1.0.17
|
|
272
283
|
[1.0.18]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.17...v1.0.18
|
|
273
|
-
[1.0.19]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.18...v1.0.19
|
|
284
|
+
[1.0.19]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.18...v1.0.19
|
|
285
|
+
[1.0.20]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.19...v1.0.20
|
|
286
|
+
[2.0.0]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.20...v2.0.0
|
package/QUICK_START.md
CHANGED
|
@@ -2,15 +2,15 @@
|
|
|
2
2
|
|
|
3
3
|
The easiest way to get started with Express Sweet is to install express-sweet-generator and automatically create a template application.
|
|
4
4
|
The following application can be started immediately by executing the template.
|
|
5
|
-
See <a href="https://takuya-motoshima.github.io/express-sweet/
|
|
5
|
+
See <a href="https://takuya-motoshima.github.io/express-sweet/v2/" target="_blank">here</a> for instructions on using express-sweet.
|
|
6
6
|
|
|
7
7
|
<p align="center">
|
|
8
|
-
<img alt="login" src="screencaps/login.
|
|
9
|
-
<img alt="users" src="screencaps/users.
|
|
8
|
+
<img alt="login" src="screencaps/login.jpg" width="45%">
|
|
9
|
+
<img alt="users" src="screencaps/users.jpg" width="45%">
|
|
10
10
|
</p>
|
|
11
11
|
<p align="center">
|
|
12
|
-
<img alt="user-editing" src="screencaps/user-editing.
|
|
13
|
-
<img alt="personal" src="screencaps/personal.
|
|
12
|
+
<img alt="user-editing" src="screencaps/user-editing.jpg" width="45%">
|
|
13
|
+
<img alt="personal" src="screencaps/personal.jpg" width="45%">
|
|
14
14
|
</p>
|
|
15
15
|
|
|
16
16
|
1. Use the application generator tool, express-sweet-generator, to quickly create an application skeleton.
|
package/README.md
CHANGED
|
@@ -2,7 +2,9 @@
|
|
|
2
2
|
[Express Sweet](https://www.npmjs.com/package/express-sweet) application generator.
|
|
3
3
|
|
|
4
4
|
## Documentation
|
|
5
|
-
|
|
5
|
+
The latest API reference for Express Sweet can be found [here](https://takuya-motoshima.github.io/express-sweet/v2/).
|
|
6
|
+
|
|
7
|
+
The API reference for previous versions can be found [here](https://takuya-motoshima.github.io/express-sweet/v1/).
|
|
6
8
|
|
|
7
9
|
## Release Notes
|
|
8
10
|
All changes can be found [here](CHANGELOG.md).
|
package/package.json
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
package/screencaps/login.png
DELETED
|
Binary file
|
|
Binary file
|
package/screencaps/personal.png
DELETED
|
Binary file
|
|
Binary file
|
package/screencaps/users.png
DELETED
|
Binary file
|