create-payload-app 0.3.7 → 0.3.8
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/templates/js-blank/server.js +1 -5
- package/dist/templates/js-blog/server.js +1 -5
- package/dist/templates/js-todo/server.js +1 -5
- package/dist/templates/ts-blank/src/server.ts +1 -5
- package/dist/templates/ts-blog/src/server.ts +1 -5
- package/dist/templates/ts-todo/src/server.ts +1 -5
- package/package.json +2 -2
@@ -13,10 +13,6 @@ app.get('/', (_, res) => {
|
|
13
13
|
payload.init({
|
14
14
|
secret: process.env.PAYLOAD_SECRET,
|
15
15
|
mongoURL: process.env.MONGODB_URI,
|
16
|
-
|
17
|
-
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
|
18
|
-
// license: process.env.PAYLOAD_LICENSE_KEY,
|
19
|
-
|
20
16
|
express: app,
|
21
17
|
onInit: () => {
|
22
18
|
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);
|
@@ -25,4 +21,4 @@ payload.init({
|
|
25
21
|
|
26
22
|
// Add your own express routes here
|
27
23
|
|
28
|
-
app.listen(3000);
|
24
|
+
app.listen(3000);
|
@@ -13,10 +13,6 @@ app.get('/', (_, res) => {
|
|
13
13
|
payload.init({
|
14
14
|
secret: process.env.PAYLOAD_SECRET,
|
15
15
|
mongoURL: process.env.MONGODB_URI,
|
16
|
-
|
17
|
-
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
|
18
|
-
// license: process.env.PAYLOAD_LICENSE_KEY,
|
19
|
-
|
20
16
|
express: app,
|
21
17
|
onInit: () => {
|
22
18
|
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);
|
@@ -25,4 +21,4 @@ payload.init({
|
|
25
21
|
|
26
22
|
// Add your own express routes here
|
27
23
|
|
28
|
-
app.listen(3000);
|
24
|
+
app.listen(3000);
|
@@ -13,10 +13,6 @@ app.get('/', (_, res) => {
|
|
13
13
|
payload.init({
|
14
14
|
secret: process.env.PAYLOAD_SECRET,
|
15
15
|
mongoURL: process.env.MONGODB_URI,
|
16
|
-
|
17
|
-
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
|
18
|
-
// license: process.env.PAYLOAD_LICENSE_KEY,
|
19
|
-
|
20
16
|
express: app,
|
21
17
|
onInit: () => {
|
22
18
|
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`);
|
@@ -25,4 +21,4 @@ payload.init({
|
|
25
21
|
|
26
22
|
// Add your own express routes here
|
27
23
|
|
28
|
-
app.listen(3000);
|
24
|
+
app.listen(3000);
|
@@ -13,10 +13,6 @@ app.get('/', (_, res) => {
|
|
13
13
|
payload.init({
|
14
14
|
secret: process.env.PAYLOAD_SECRET,
|
15
15
|
mongoURL: process.env.MONGODB_URI,
|
16
|
-
|
17
|
-
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
|
18
|
-
// license: process.env.PAYLOAD_LICENSE_KEY,
|
19
|
-
|
20
16
|
express: app,
|
21
17
|
onInit: () => {
|
22
18
|
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`)
|
@@ -25,4 +21,4 @@ payload.init({
|
|
25
21
|
|
26
22
|
// Add your own express routes here
|
27
23
|
|
28
|
-
app.listen(3000);
|
24
|
+
app.listen(3000);
|
@@ -13,10 +13,6 @@ app.get('/', (_, res) => {
|
|
13
13
|
payload.init({
|
14
14
|
secret: process.env.PAYLOAD_SECRET,
|
15
15
|
mongoURL: process.env.MONGODB_URI,
|
16
|
-
|
17
|
-
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
|
18
|
-
// license: process.env.PAYLOAD_LICENSE_KEY,
|
19
|
-
|
20
16
|
express: app,
|
21
17
|
onInit: () => {
|
22
18
|
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`)
|
@@ -25,4 +21,4 @@ payload.init({
|
|
25
21
|
|
26
22
|
// Add your own express routes here
|
27
23
|
|
28
|
-
app.listen(3000);
|
24
|
+
app.listen(3000);
|
@@ -13,10 +13,6 @@ app.get('/', (_, res) => {
|
|
13
13
|
payload.init({
|
14
14
|
secret: process.env.PAYLOAD_SECRET,
|
15
15
|
mongoURL: process.env.MONGODB_URI,
|
16
|
-
|
17
|
-
// Only needed to deploy publicly. Get free Personal license at https://payloadcms.com.
|
18
|
-
// license: process.env.PAYLOAD_LICENSE_KEY,
|
19
|
-
|
20
16
|
express: app,
|
21
17
|
onInit: () => {
|
22
18
|
payload.logger.info(`Payload Admin URL: ${payload.getAdminURL()}`)
|
@@ -25,4 +21,4 @@ payload.init({
|
|
25
21
|
|
26
22
|
// Add your own express routes here
|
27
23
|
|
28
|
-
app.listen(3000);
|
24
|
+
app.listen(3000);
|
package/package.json
CHANGED
@@ -10,7 +10,7 @@
|
|
10
10
|
"typecheck": "tsc --noEmit",
|
11
11
|
"lint": "eslint \"src/**/*.ts\"",
|
12
12
|
"test": "jest",
|
13
|
-
"
|
13
|
+
"prepublishOnly": "yarn test && yarn build"
|
14
14
|
},
|
15
15
|
"files": [
|
16
16
|
"package.json",
|
@@ -31,7 +31,7 @@
|
|
31
31
|
"prompts": "^2.4.0",
|
32
32
|
"terminal-link": "^2.1.1"
|
33
33
|
},
|
34
|
-
"version": "0.3.
|
34
|
+
"version": "0.3.8",
|
35
35
|
"devDependencies": {
|
36
36
|
"@types/command-exists": "^1.2.0",
|
37
37
|
"@types/degit": "^2.8.3",
|