express-sweet-generator 1.0.15 → 1.0.17
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
CHANGED
|
@@ -1,6 +1,14 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
All notable changes to this project will be documented in this file.
|
|
3
3
|
|
|
4
|
+
## [1.0.17] - 2024/3/6
|
|
5
|
+
### Fixed
|
|
6
|
+
- Fixed a typo in the name of the common JS module loaded from the template view.
|
|
7
|
+
|
|
8
|
+
## [1.0.16] - 2024/3/5
|
|
9
|
+
### Changed
|
|
10
|
+
- Changed sample DB name from `sampledb` to `express_sweet_db`.
|
|
11
|
+
|
|
4
12
|
## [1.0.15] - 2024/2/29
|
|
5
13
|
### Changed
|
|
6
14
|
- Added the ability to change color themes in template applications.
|
|
@@ -250,4 +258,6 @@ All notable changes to this project will be documented in this file.
|
|
|
250
258
|
[1.0.12]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.11...v1.0.12
|
|
251
259
|
[1.0.13]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.12...v1.0.13
|
|
252
260
|
[1.0.14]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.13...v1.0.14
|
|
253
|
-
[1.0.15]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.14...v1.0.15
|
|
261
|
+
[1.0.15]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.14...v1.0.15
|
|
262
|
+
[1.0.16]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.15...v1.0.16
|
|
263
|
+
[1.0.17]: https://github.com/takuya-motoshima/express-sweet-generator/compare/v1.0.16...v1.0.17
|
package/QUICK_START.md
CHANGED
|
@@ -33,9 +33,9 @@ See <a href="https://takuya-motoshima.github.io/express-sweet/v1/" target="_blan
|
|
|
33
33
|
1. This sample application uses a database.
|
|
34
34
|
Execute the following SQL to create the database.
|
|
35
35
|
```sql
|
|
36
|
-
CREATE DATABASE IF NOT EXISTS `
|
|
36
|
+
CREATE DATABASE IF NOT EXISTS `express_sweet_db` DEFAULT CHARACTER SET utf8mb4;
|
|
37
37
|
|
|
38
|
-
USE `
|
|
38
|
+
USE `express_sweet_db`;
|
|
39
39
|
|
|
40
40
|
CREATE TABLE `user` (
|
|
41
41
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
|
@@ -86,13 +86,16 @@ See <a href="https://takuya-motoshima.github.io/express-sweet/v1/" target="_blan
|
|
|
86
86
|
INSERT INTO `user` (`id`, `email`, `password`, `name`, `icon`) VALUES
|
|
87
87
|
(1, 'robin@example.com', 'password', 'Robin', '/upload/1.png'),
|
|
88
88
|
(2, 'taylor@example.com', 'password', 'Taylor', '/upload/2.png');
|
|
89
|
+
|
|
89
90
|
INSERT INTO `profile` (`userId`, `address`, `tel`) VALUES
|
|
90
91
|
(1, '777 Brockton Avenue, Abington MA 2351', '202-555-0105'),
|
|
91
92
|
(2, '30 Memorial Drive, Avon MA 2322', '');
|
|
93
|
+
|
|
92
94
|
INSERT INTO `comment` (`userId`, `text`) VALUES
|
|
93
95
|
(1, 'From Robin #1'),
|
|
94
96
|
(1, 'From Robin #2'),
|
|
95
97
|
(2, 'From Taylor #1');
|
|
98
|
+
|
|
96
99
|
INSERT INTO `book` (`userId`, `title`) VALUES
|
|
97
100
|
(1, 'Beautiful'),
|
|
98
101
|
(1, 'Lose Yourself'),
|
|
@@ -114,21 +117,21 @@ See <a href="https://takuya-motoshima.github.io/express-sweet/v1/" target="_blan
|
|
|
114
117
|
development: {
|
|
115
118
|
username: 'root',
|
|
116
119
|
password: 'password',
|
|
117
|
-
database: '
|
|
120
|
+
database: 'express_sweet_db',
|
|
118
121
|
host: 'localhost',
|
|
119
122
|
dialect: 'mariadb'
|
|
120
123
|
},
|
|
121
124
|
test: {
|
|
122
125
|
username: 'root',
|
|
123
126
|
password: 'password',
|
|
124
|
-
database: '
|
|
127
|
+
database: 'express_sweet_db',
|
|
125
128
|
host: 'localhost',
|
|
126
129
|
dialect: 'mariadb'
|
|
127
130
|
},
|
|
128
131
|
production: {
|
|
129
132
|
username: 'root',
|
|
130
133
|
password: 'password',
|
|
131
|
-
database: '
|
|
134
|
+
database: 'express_sweet_db',
|
|
132
135
|
host: 'localhost',
|
|
133
136
|
dialect: 'mariadb'
|
|
134
137
|
}
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ module.exports = {
|
|
|
5
5
|
development: {
|
|
6
6
|
username: 'root',
|
|
7
7
|
// password: 'password',
|
|
8
|
-
database: '
|
|
8
|
+
database: 'express_sweet_db',
|
|
9
9
|
host: 'localhost',
|
|
10
10
|
port: undefined,
|
|
11
11
|
dialect: 'mariadb',
|
|
@@ -15,7 +15,7 @@ module.exports = {
|
|
|
15
15
|
test: {
|
|
16
16
|
username: 'root',
|
|
17
17
|
// password: 'password',
|
|
18
|
-
database: '
|
|
18
|
+
database: 'express_sweet_db',
|
|
19
19
|
host: 'localhost',
|
|
20
20
|
port: undefined,
|
|
21
21
|
dialect: 'mariadb',
|
|
@@ -25,7 +25,7 @@ module.exports = {
|
|
|
25
25
|
production: {
|
|
26
26
|
username: 'root',
|
|
27
27
|
// password: 'password',
|
|
28
|
-
database: '
|
|
28
|
+
database: 'express_sweet_db',
|
|
29
29
|
host: 'localhost',
|
|
30
30
|
port: undefined,
|
|
31
31
|
dialect: 'mariadb',
|
|
@@ -5,7 +5,7 @@ export default {
|
|
|
5
5
|
development: {
|
|
6
6
|
username: 'root',
|
|
7
7
|
// password: 'password',
|
|
8
|
-
database: '
|
|
8
|
+
database: 'express_sweet_db',
|
|
9
9
|
host: 'localhost',
|
|
10
10
|
port: undefined,
|
|
11
11
|
dialect: 'mariadb',
|
|
@@ -15,7 +15,7 @@ export default {
|
|
|
15
15
|
test: {
|
|
16
16
|
username: 'root',
|
|
17
17
|
// password: 'password',
|
|
18
|
-
database: '
|
|
18
|
+
database: 'express_sweet_db',
|
|
19
19
|
host: 'localhost',
|
|
20
20
|
port: undefined,
|
|
21
21
|
dialect: 'mariadb',
|
|
@@ -25,7 +25,7 @@ export default {
|
|
|
25
25
|
production: {
|
|
26
26
|
username: 'root',
|
|
27
27
|
// password: 'password',
|
|
28
|
-
database: '
|
|
28
|
+
database: 'express_sweet_db',
|
|
29
29
|
host: 'localhost',
|
|
30
30
|
port: undefined,
|
|
31
31
|
dialect: 'mariadb',
|