create-payload-app 1.0.0 → 1.1.0
Sign up to get free protection for your applications and to get access to all the features.
- package/README.md +1 -1
- package/dist/index.js +1 -1
- package/dist/lib/configure-payload-config.js +1 -1
- package/dist/lib/create-project.js +1 -1
- package/dist/lib/create-project.spec.js +1 -1
- package/dist/lib/generate-secret.js +1 -1
- package/dist/lib/packages.js +4 -4
- package/dist/lib/parse-project-name.js +1 -1
- package/dist/lib/parse-template.js +1 -1
- package/dist/lib/select-db.js +1 -1
- package/dist/lib/templates.js +13 -13
- package/dist/lib/write-env-file.js +1 -1
- package/dist/main.js +14 -13
- package/dist/types.js +1 -1
- package/dist/utils/log.js +7 -7
- package/dist/utils/messages.js +4 -4
- package/package.json +8 -2
package/README.md
CHANGED
package/dist/index.js
CHANGED
@@ -9,4 +9,4 @@ async function main() {
|
|
9
9
|
}
|
10
10
|
main().catch((e)=>(0, _log.error)(`An error has occurred: ${e instanceof Error ? e.message : e}`));
|
11
11
|
|
12
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBNYWluIH0gZnJvbSAnLi9tYWluJ1xuaW1wb3J0IHsgZXJyb3IgfSBmcm9tICcuL3V0aWxzL2xvZydcblxuYXN5bmMgZnVuY3Rpb24gbWFpbigpOiBQcm9taXNlPHZvaWQ+IHtcbiAgYXdhaXQgbmV3IE1haW4oKS5pbml0KClcbn1cblxubWFpbigpLmNhdGNoKChlKSA9PiBlcnJvcihgQW4gZXJyb3IgaGFzIG9jY3VycmVkOiAke2UgaW5zdGFuY2VvZiBFcnJvciA/
|
12
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9pbmRleC50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgeyBNYWluIH0gZnJvbSAnLi9tYWluJ1xuaW1wb3J0IHsgZXJyb3IgfSBmcm9tICcuL3V0aWxzL2xvZydcblxuYXN5bmMgZnVuY3Rpb24gbWFpbigpOiBQcm9taXNlPHZvaWQ+IHtcbiAgYXdhaXQgbmV3IE1haW4oKS5pbml0KClcbn1cblxubWFpbigpLmNhdGNoKChlKSA9PiBlcnJvcihgQW4gZXJyb3IgaGFzIG9jY3VycmVkOiAke2UgaW5zdGFuY2VvZiBFcnJvciA/IGUubWVzc2FnZSA6IGV9YCkpXG4iXSwibmFtZXMiOlsibWFpbiIsIk1haW4iLCJpbml0IiwiY2F0Y2giLCJlIiwiZXJyb3IiLCJFcnJvciIsIm1lc3NhZ2UiXSwicmFuZ2VNYXBwaW5ncyI6Ijs7Ozs7Ozs7OyIsIm1hcHBpbmdzIjoiOzs7O3NCQUFxQjtxQkFDQztBQUV0QixlQUFlQTtJQUNiLE1BQU0sSUFBSUMsVUFBSSxHQUFHQyxJQUFJO0FBQ3ZCO0FBRUFGLE9BQU9HLEtBQUssQ0FBQyxDQUFDQyxJQUFNQyxJQUFBQSxVQUFLLEVBQUMsQ0FBQyx1QkFBdUIsRUFBRUQsYUFBYUUsUUFBUUYsRUFBRUcsT0FBTyxHQUFHSCxFQUFFLENBQUMifQ==
|
@@ -101,4 +101,4 @@ async function configurePayloadConfig(args) {
|
|
101
101
|
}
|
102
102
|
}
|
103
103
|
|
104
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvY29uZmlndXJlLXBheWxvYWQtY29uZmlnLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBmc2UgZnJvbSAnZnMtZXh0cmEnXG5pbXBvcnQgcGF0aCBmcm9tICdwYXRoJ1xuXG5pbXBvcnQgdHlwZSB7IERiRGV0YWlscyB9IGZyb20gJy4uL3R5cGVzJ1xuXG5pbXBvcnQgeyB3YXJuaW5nIH0gZnJvbSAnLi4vdXRpbHMvbG9nJ1xuaW1wb3J0IHs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rYWdlLnBhY2thZ2VOYW1lKSB7XG4gICAgICAgIGRlbGV0ZSBwYWNrYWdlT2JqLmRlcGVuZGVuY2llc1twLnBhY2thZ2VOYW1lXVxuICAgICAgfVxuICAgIH0pXG5cbiAgICBwYWNrYWdlT2JqLmRlcGVuZGVuY2llc1tkYlBhY2thZ2UucGFja2FnZU5hbWVdID0gZGJQYWNrYWdlLnZlcnNpb25cbiAgICBwYWNrYWdlT2JqLmRlcGVuZGVuY2llc1tidW5kbGVyUGFja2FnZS5wYWNrYWdlTmFtZV0gPSBidW5kbGVyUGFja2FnZS52ZXJzaW9uXG4gICAgcGFja2FnZU9iai5kZXBlbmRlbmNpZXNbZWRpdG9yUGFja2FnZS5wYWNrYWdlTmFtZV0gPSBlZGl0b3JQYWNrYWdlLnZlcnNpb25cblxuICAgIGF3YWl0IGZzZS53cml0ZUpzb24ocGFja2FnZUpzb25QYXRoLCBwYWNrYWdlT2JqLCB7IHNwYWNlczogMiB9KVxuICB9IGNhdGNoIChlcnI6IHVua25vd24pIHtcbiAgICB3YXJuaW5nKCdVbmFibGUgdG8gdXBkYXRlIG5hbWUgaW4gcGFja2FnZS5qc29uJylcbiAgfVxuXG4gIHRyeSB7XG4gICAgY29uc3QgcG9zc2libGVQYXRocyA9IFtcbiAgICAgIHBhdGgucmVzb2x2ZShhcmdzLnByb2plY3REaXIsICdzcmMvcGF5bG9hZC5jb25maWcudHMnKSxcbiAgICAgIHBhdGgucmVzb2x2ZShhcmdzLnByb2plY3REaXIsICdzcmMvcGF5bG9hZC9wYXlsb2FkLmNvbmZpZy50cycpLFxuICAgIF1cblxuICAgIGxldCBwYXlsb2FkQ29uZmlnUGF0aDogc3RyaW5nIHwgdW5kZWZpbmVkXG5cbiAgICBwb3NzaWJsZVBhdGhzLmZvckVhY2goKHApID0+
|
104
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvY29uZmlndXJlLXBheW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omBytes)(32).toString('hex').slice(0, 24);
|
14
14
|
}
|
15
15
|
|
16
|
-
//# sourceMappingURL=data:application/json;base64,
|
16
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvZ2VuZXJhdGUtc2VjcmV0LnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB7IHJhbmRvbUJ5dGVzIH0gZnJvbSAnY3J5cHRvJ1xuXG5leHBvcnQgZnVuY3Rpb24gZ2VuZXJhdGVTZWNyZXQoKTogc3RyaW5nIHtcbiAgcmV0dXJuIHJhbmRvbUJ5dGVzKDMyKS50b1N0cmluZygnaGV4Jykuc2xpY2UoMCwgMjQpXG59XG4iXSwibmFtZXMiOlsiZ2VuZXJhdGVTZWNyZXQiLCJyYW5kb21CeXRlcyIsInRvU3RyaW5nIiwic2xpY2UiXSwicmFuZ2VNYXBwaW5ncyI6Ijs7Ozs7Ozs7Ozs7OzsiLCJtYXBwaW5ncyI6Ijs7OzsrQkFFZ0JBOzs7ZUFBQUE7Ozt3QkFGWTtBQUVyQixTQUFTQTtJQUNkLE9BQU9DLElBQUFBLG1CQUFXLEVBQUMsSUFBSUMsUUFBUSxDQUFDLE9BQU9DLEtBQUssQ0FBQyxHQUFHO0FBQ2xEIn0=
|
package/dist/lib/packages.js
CHANGED
@@ -9,12 +9,12 @@ function _export(target, all) {
|
|
9
9
|
});
|
10
10
|
}
|
11
11
|
_export(exports, {
|
12
|
-
dbPackages: function() {
|
13
|
-
return dbPackages;
|
14
|
-
},
|
15
12
|
bundlerPackages: function() {
|
16
13
|
return bundlerPackages;
|
17
14
|
},
|
15
|
+
dbPackages: function() {
|
16
|
+
return dbPackages;
|
17
|
+
},
|
18
18
|
editorPackages: function() {
|
19
19
|
return editorPackages;
|
20
20
|
}
|
@@ -78,4 +78,4 @@ const editorPackages = {
|
|
78
78
|
}
|
79
79
|
};
|
80
80
|
|
81
|
-
//# sourceMappingUR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0ZjLFNBQVMsQ0FBQyxNQUFNLEVBQUVSLFNBQVNWLEtBQUssQ0FBQzZCLEtBQUssQ0FBQyxJQUFJLENBQUMsRUFBRSxDQUFDLGtCQUFrQixDQUFDO1FBQ2xFVixNQUFNO1FBQ05DLFVBQVUsQ0FBQ25CLFFBQWtCLENBQUMsQ0FBQ0EsTUFBTW9CLE1BQU07SUFDN0MsR0FDQTtRQUNFQyxVQUFVO1lBQ1JDLFFBQVFDLElBQUksQ0FBQztRQUNmO0lBQ0Y7SUFHRixPQUFPO1FBQ0xNLE9BQU9MLFNBQVN4QixLQUFLO1FBQ3JCa0IsTUFBTVQsU0FBU1QsS0FBSztJQUN0QjtBQUNGO0FBRUEsU0FBUzBCO0lBQ1AsT0FBTyxBQUFDSSxDQUFBQSxLQUFLQyxNQUFNLEtBQUtELEtBQUtFLEdBQUcsQ0FBQyxJQUFJLEVBQUMsRUFBR0MsT0FBTyxDQUFDO0FBQ25EIn0=
|
package/dist/lib/templates.js
CHANGED
@@ -9,11 +9,11 @@ function _export(target, all) {
|
|
9
9
|
});
|
10
10
|
}
|
11
11
|
_export(exports, {
|
12
|
-
validateTemplate: function() {
|
13
|
-
return validateTemplate;
|
14
|
-
},
|
15
12
|
getValidTemplates: function() {
|
16
13
|
return getValidTemplates;
|
14
|
+
},
|
15
|
+
validateTemplate: function() {
|
16
|
+
return validateTemplate;
|
17
17
|
}
|
18
18
|
});
|
19
19
|
const _log = require("../utils/log");
|
@@ -30,41 +30,41 @@ function getValidTemplates() {
|
|
30
30
|
return [
|
31
31
|
{
|
32
32
|
name: 'blank',
|
33
|
-
description: 'Blank Template',
|
34
33
|
type: 'starter',
|
35
|
-
|
34
|
+
description: 'Blank Template',
|
35
|
+
url: 'https://github.com/payloadcms/payload/templates/blank#v2.30.3'
|
36
36
|
},
|
37
37
|
{
|
38
38
|
name: 'website',
|
39
|
-
description: 'Website Template',
|
40
39
|
type: 'starter',
|
41
|
-
|
40
|
+
description: 'Website Template',
|
41
|
+
url: 'https://github.com/payloadcms/payload/templates/website#v2.30.3'
|
42
42
|
},
|
43
43
|
{
|
44
44
|
name: 'ecommerce',
|
45
|
-
description: 'E-commerce Template',
|
46
45
|
type: 'starter',
|
47
|
-
|
46
|
+
description: 'E-commerce Template',
|
47
|
+
url: 'https://github.com/payloadcms/payload/templates/ecommerce#v2.30.3'
|
48
48
|
},
|
49
49
|
{
|
50
50
|
name: 'plugin',
|
51
|
-
description: 'Template for creating a Payload plugin',
|
52
51
|
type: 'plugin',
|
52
|
+
description: 'Template for creating a Payload plugin',
|
53
53
|
url: 'https://github.com/payloadcms/payload-plugin-template'
|
54
54
|
},
|
55
55
|
{
|
56
56
|
name: 'payload-demo',
|
57
|
-
description: 'Payload demo site at https://demo.payloadcms.com',
|
58
57
|
type: 'starter',
|
58
|
+
description: 'Payload demo site at https://demo.payloadcms.com',
|
59
59
|
url: 'https://github.com/payloadcms/public-demo'
|
60
60
|
},
|
61
61
|
{
|
62
62
|
name: 'payload-website',
|
63
|
-
description: 'Payload website CMS at https://payloadcms.com',
|
64
63
|
type: 'starter',
|
64
|
+
description: 'Payload website CMS at https://payloadcms.com',
|
65
65
|
url: 'https://github.com/payloadcms/website-cms'
|
66
66
|
}
|
67
67
|
];
|
68
68
|
}
|
69
69
|
|
70
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy9saWIvdGVtcGxhdGVzLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCB0eXBlIHsgUHJvamVjdFRlbXBsYXRlIH0gZnJvbSAnLi4vdHlwZXMnXG5cbmltcG9ydCB7IGVycm9yLCBpbmZvIH0gZnJvbSAnLi4vdXRpbHMvbG9nJ1xuXG5leHBvcnQgZnVuY3Rpb24gdmFsaWRhdGVUZW1wbGF0ZSh0ZW1wbGF0ZU5hbWU6IHN0cmluZyk6IGJvb2xlYW4ge1xuICBjb25zdCB2YWxpZFRlbXBsYXRlcyA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UMsQ0FBQyxFQUFFckIsV0FBVyxLQUFLLENBQUMsRUFBRW9CO1FBQzVDO1FBRUFFLElBQUFBLFlBQU8sRUFBQztJQUNWLEVBQUUsT0FBT0MsS0FBYztRQUNyQkMsSUFBQUEsVUFBSyxFQUFDO1FBQ04sSUFBSUQsZUFBZUUsT0FBTztZQUN4QkQsSUFBQUEsVUFBSyxFQUFDRCxJQUFJRyxPQUFPO1FBQ25CO1FBQ0FDLFFBQVFDLElBQUksQ0FBQztJQUNmO0FBQ0YifQ==
|
package/dist/main.js
CHANGED
@@ -10,7 +10,6 @@ Object.defineProperty(exports, "Main", {
|
|
10
10
|
});
|
11
11
|
const _slugify = /*#__PURE__*/ _interop_require_default(require("@sindresorhus/slugify"));
|
12
12
|
const _arg = /*#__PURE__*/ _interop_require_default(require("arg"));
|
13
|
-
const _commandexists = /*#__PURE__*/ _interop_require_default(require("command-exists"));
|
14
13
|
const _createproject = require("./lib/create-project");
|
15
14
|
const _generatesecret = require("./lib/generate-secret");
|
16
15
|
const _parseprojectname = require("./lib/parse-project-name");
|
@@ -71,7 +70,7 @@ class Main {
|
|
71
70
|
const validTemplates = (0, _templates.getValidTemplates)();
|
72
71
|
const template = await (0, _parsetemplate.parseTemplate)(this.args, validTemplates);
|
73
72
|
const projectDir = projectName === '.' ? process.cwd() : `./${(0, _slugify.default)(projectName)}`;
|
74
|
-
const packageManager =
|
73
|
+
const packageManager = getPackageManager(this.args);
|
75
74
|
if (template.type !== 'plugin') {
|
76
75
|
const dbDetails = await (0, _selectdb.selectDb)(this.args, projectName);
|
77
76
|
const payloadSecret = (0, _generatesecret.generateSecret)();
|
@@ -109,7 +108,7 @@ class Main {
|
|
109
108
|
}
|
110
109
|
}
|
111
110
|
}
|
112
|
-
|
111
|
+
function getPackageManager(args) {
|
113
112
|
let packageManager = 'npm';
|
114
113
|
if (args['--use-npm']) {
|
115
114
|
packageManager = 'npm';
|
@@ -118,17 +117,19 @@ async function getPackageManager(args) {
|
|
118
117
|
} else if (args['--use-pnpm']) {
|
119
118
|
packageManager = 'pnpm';
|
120
119
|
} else {
|
121
|
-
|
122
|
-
if (await (0, _commandexists.default)('yarn')) {
|
123
|
-
packageManager = 'yarn';
|
124
|
-
} else if (await (0, _commandexists.default)('pnpm')) {
|
125
|
-
packageManager = 'pnpm';
|
126
|
-
}
|
127
|
-
} catch (error) {
|
128
|
-
packageManager = 'npm';
|
129
|
-
}
|
120
|
+
packageManager = getEnvironmentPackageManager();
|
130
121
|
}
|
131
122
|
return packageManager;
|
132
123
|
}
|
124
|
+
function getEnvironmentPackageManager() {
|
125
|
+
const userAgent = process.env.npm_config_user_agent || '';
|
126
|
+
if (userAgent.startsWith('yarn')) {
|
127
|
+
return 'yarn';
|
128
|
+
}
|
129
|
+
if (userAgent.startsWith('pnpm')) {
|
130
|
+
return 'pnpm';
|
131
|
+
}
|
132
|
+
return 'npm';
|
133
|
+
}
|
133
134
|
|
134
|
-
//# sourceMappingURL=data:application/json;base64,
|
135
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uL3NyYy9tYWluLnRzIl0sInNvdXJjZXNDb250ZW50IjpbImltcG9ydCBzbHVnaWZ5IGZyb20gJ0BzaW5kcmVzb3JodXMvc2x1Z2lmeSdcbmltcG9ydCBhcmcgZnJvbSAnYXJnJ1xuXG5pbXBvcnQgdHlwZSB7IENsaUFyZ3MsIFBhY2thZ2VNYW5hZ2VyIH0gZnJvbSAnLi90eXBlcydcblxuaW1wb3J0IHsgY3JlYXRlUHJvamVjdCB9IGZyb20gJy4vbGliL2NyZWF0ZS1wcm9qZWN0J1xuaW1wb3J0IHsgZ2VuZXJhdGVTZWNyZXQgfSBmcm9tICcuL2xpYi9nZW5lcmF0ZS1zZWNyZXQnXG5pbXBvcnQgeyBwYXJzZVByb2plY3ROYW1lIH0gZnJvbSAnLi9saWIvcGFyc2UtcHJvamVjdC1uYW1lJ1xuaW1wb3J0IHsgcGFyc2VUZW1w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1lID09PSAnLicgPyBwcm9jZXNzLmN3ZCgpIDogYC4vJHtzbHVnaWZ5KHByb2plY3ROYW1lKX1gXG4gICAgICBjb25zdCBwYWNrYWdlTWFuYWdlciA9IGdldFBhY2thZ2VNYW5hZ2VyKHRoaXMuYXJncylcblxuICAgICAgaWYgKHRlbXBsYXRlLnR5cGUgIT09ICdwbHVnaW4nKSB7XG4gICAgICAgIGNvbnN0IGRiRGV0YWlscyA9IGF3YWl0IHNlbGVjdERiKHRoaXMuYXJncywgcHJvamVjdE5hbWUpXG4gICAgICAgIGNvbnN0IHBheWxvYWRTZWNyZXQgPSBnZW5lcmF0ZVNlY3JldCgpXG4gICAgICAgIGlmICghdGhpcy5hcmdzWyctLWRyeS1ydW4nXSkge1xuICAgICAgICAgIGF3YWl0IGNyZWF0ZVByb2plY3Qoe1xuICAgICAgICAgICAgY2xpQXJnczogdGhpcy5hcmdzLFxuICAgICAgICAgICAgZGJEZXRhaWxzLFxuICAgICAgICAgICAgcGFja2FnZU1hbmFnZXIsXG4gICAgICAgICAgICBwcm9qZWN0RGlyLFxuICAgICAgICAgICAgcHJvamVjdE5hbWUsXG4gICAgICAgICAgICB0ZW1wbGF0ZSxcbiAgICAgICAgICB9KVxuICAgICAgICAgIGF3YWl0IHdyaXRlRW52RmlsZSh7XG4gICAgICAgICAgICBkYXRhYmFzZVVyaTogZGJEZXRhaWxzLmRiVXJpLFxuICAgICAgICAgICAgcGF5bG9hZFNlY3JldCxcbiAgICAgICAgICAgIHByb2plY3REaXIsXG4gICAgICAgICAgICB0ZW1wbGF0ZSxcbiAgICAgICAgICB9KVxuICAgICAgICB9XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBpZiAoIXRoaXMuYXJnc1snLS1kcnktcnVuJ10pIHtcbiAgICAgICAgICBhd2FpdCBjcmVhdGVQcm9qZWN0KHtcbiAgICAgICAgICAgIGNsaUFyZ3M6IHRoaXMuYXJncyxcbiAgICAgICAgICAgIHBhY2thZ2VNYW5hZ2VyLFx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"__esModule", {
|
|
3
3
|
value: true
|
4
4
|
});
|
5
5
|
|
6
|
-
//# sourceMappingURL=data:application/json;base64,
|
6
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbXSwibmFtZXMiOltdLCJyYW5nZU1hcHBpbmdzIjoiIiwibWFwcGluZ3MiOiIifQ==
|
package/dist/utils/log.js
CHANGED
@@ -9,17 +9,17 @@ function _export(target, all) {
|
|
9
9
|
});
|
10
10
|
}
|
11
11
|
_export(exports, {
|
12
|
+
error: function() {
|
13
|
+
return error;
|
14
|
+
},
|
15
|
+
info: function() {
|
16
|
+
return info;
|
17
|
+
},
|
12
18
|
success: function() {
|
13
19
|
return success;
|
14
20
|
},
|
15
21
|
warning: function() {
|
16
22
|
return warning;
|
17
|
-
},
|
18
|
-
info: function() {
|
19
|
-
return info;
|
20
|
-
},
|
21
|
-
error: function() {
|
22
|
-
return error;
|
23
23
|
}
|
24
24
|
});
|
25
25
|
const _chalk = /*#__PURE__*/ _interop_require_default(require("chalk"));
|
@@ -42,4 +42,4 @@ const error = (message)=>{
|
|
42
42
|
console.log(`${_chalk.default.red(_figures.default.cross)} ${_chalk.default.bold(message)}`);
|
43
43
|
};
|
44
44
|
|
45
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlscy9sb2cudHMiXSwic291cmNlc0NvbnRlbnQiOlsiaW1wb3J0IGNoYWxrIGZyb20gJ2NoYWxrJ1xuaW1wb3J0IGZpZ3VyZXMgZnJvbSAnZmlndXJlcydcblxuZXhwb3J0IGNvbnN0IHN1Y2Nlc3MgPSAobWVzc2FnZTogc3RyaW5nKTogdm9pZCA9PiB7XG4gIGNvbnNvbGUubG9nKGAke2NoYWxrLmdyZWVuKGZpZ3VyZXMudGljayl9ICR7Y2hhbGsuYm9sZChtZXNzYWdlKX1gKVxufVxuXG5leHBvcnQgY29uc3Qgd2Fybmlu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
package/dist/utils/messages.js
CHANGED
@@ -9,14 +9,14 @@ function _export(target, all) {
|
|
9
9
|
});
|
10
10
|
}
|
11
11
|
_export(exports, {
|
12
|
-
welcomeMessage: function() {
|
13
|
-
return welcomeMessage;
|
14
|
-
},
|
15
12
|
helpMessage: function() {
|
16
13
|
return helpMessage;
|
17
14
|
},
|
18
15
|
successMessage: function() {
|
19
16
|
return successMessage;
|
17
|
+
},
|
18
|
+
welcomeMessage: function() {
|
19
|
+
return welcomeMessage;
|
20
20
|
}
|
21
21
|
});
|
22
22
|
const _chalk = /*#__PURE__*/ _interop_require_default(require("chalk"));
|
@@ -81,4 +81,4 @@ function createTerminalLink(text, url) {
|
|
81
81
|
});
|
82
82
|
}
|
83
83
|
|
84
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbIi4uLy4uL3NyYy91dGlscy9tZXNzYWdlcy50cyJdLCJzb3VyY2VzQ29udGVudCI6WyJpbXBvcnQgY2hhbGsgZnJvbSAnY2hhbGsnXG5pbXBvcnQgZmlndXJlcyBmcm9tICdmaWd1cmVzJ1xuaW1wb3J0IHBhdGggZnJvbSAncGF0aCdcbmltcG9ydCB0ZXJtaW5hbExpbmsgZnJvbSAndGVybWluYWwtbGluaydcblxuaW1wb3J0IHR5cGUgeyBQcm9qZWN0VGVtcGxhdGUgfSBmcm9tICcuLi90eXBlcydcblxuaW1wb3J0IHsgZ2V0VmFsaWRUZW1wbGF0ZXMgfSBmcm9tICcuLi9saWIvdGVtcGxhdGVzJ1xuXG5jb25zdCBoZWFkZXIgPSAobWVzc2FnZTogc3RyaW5nKTogc3RyaW5nID0+IGAke2NoYWxrLnllbGxvdyhmaWd1cmVzLnN0YXIpfSAke2NoYWxrLmJvbGQobWVzc2FnZSl9YFxuXG5leHBvcnQgY29uc3Qgd2VsY29tZU1lc3NhZ2UgPSBjaGFsa2BcbiAge2dyZWVuIFdlbGNvbWUgdG8gUGF5bG9hZC4gTGV0J3Mg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5QixhQUNBLENBQUMsT0FBTyxFQUFFQyxhQUFJLENBQUNDLE9BQU8sQ0FBQ0osWUFBWSxhQUFhLENBQUMsRUFDakQ7O0VBRUosRUFBRW5CLE9BQU8sa0JBQWtCOztNQUV2QixFQUFFcUIsbUJBQ0YsbUJBQ0EsK0RBQ0E7TUFDQSxFQUFFQSxtQkFBbUIsaUJBQWlCLHNEQUFzRDs7QUFFbEcsQ0FBQztBQUNEO0FBRUEsOERBQThEO0FBQzlELFNBQVNBLG1CQUFtQkcsSUFBWSxFQUFFQyxHQUFXO0lBQ25ELE9BQU9DLElBQUFBLHFCQUFZLEVBQUNGLE1BQU1DLEtBQUs7UUFDN0JFLFVBQVUsQ0FBQ0gsTUFBTUMsTUFBUSxDQUFDLEVBQUVELEtBQUssRUFBRSxFQUFFQyxJQUFJLENBQUM7SUFDNUM7QUFDRiJ9
|
package/package.json
CHANGED
@@ -1,10 +1,16 @@
|
|
1
1
|
{
|
2
2
|
"name": "create-payload-app",
|
3
|
-
"version": "1.
|
3
|
+
"version": "1.1.0",
|
4
4
|
"license": "MIT",
|
5
|
+
"homepage": "https://payloadcms.com",
|
5
6
|
"bin": {
|
6
7
|
"create-payload-app": "bin/cli.js"
|
7
8
|
},
|
9
|
+
"repository": {
|
10
|
+
"type": "git",
|
11
|
+
"url": "https://github.com/payloadcms/payload.git",
|
12
|
+
"directory": "packages/create-payload-app"
|
13
|
+
},
|
8
14
|
"files": [
|
9
15
|
"package.json",
|
10
16
|
"dist",
|
@@ -36,7 +42,7 @@
|
|
36
42
|
"scripts": {
|
37
43
|
"build": "pnpm build:swc",
|
38
44
|
"build:swc": "swc ./src -d ./dist --config-file .swcrc",
|
39
|
-
"clean": "rimraf dist",
|
45
|
+
"clean": "rimraf {dist,*.tsbuildinfo}",
|
40
46
|
"test": "jest"
|
41
47
|
}
|
42
48
|
}
|