create-acmekit-app 2.13.44 → 2.13.46
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 +20 -0
- package/dist/utils/facts.js +8 -11
- package/dist/utils/prepare-project.js +0 -6
- package/package.json +3 -3
- package/src/utils/facts.ts +8 -11
- package/src/utils/prepare-project.ts +0 -7
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.13.46
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- changes
|
|
8
|
+
|
|
9
|
+
- Updated dependencies []:
|
|
10
|
+
- @acmekit/telemetry@2.13.46
|
|
11
|
+
- @acmekit/deps@2.13.46
|
|
12
|
+
|
|
13
|
+
## 2.13.45
|
|
14
|
+
|
|
15
|
+
### Patch Changes
|
|
16
|
+
|
|
17
|
+
- changes
|
|
18
|
+
|
|
19
|
+
- Updated dependencies []:
|
|
20
|
+
- @acmekit/telemetry@2.13.45
|
|
21
|
+
- @acmekit/deps@2.13.45
|
|
22
|
+
|
|
3
23
|
## 2.13.44
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/dist/utils/facts.js
CHANGED
|
@@ -3,28 +3,25 @@ import chalk from "chalk";
|
|
|
3
3
|
import { emojify } from "node-emoji";
|
|
4
4
|
import terminalLink from "terminal-link";
|
|
5
5
|
const facts = [
|
|
6
|
-
"Specify a product's availability in one or more sales channels.",
|
|
7
|
-
"Payment providers can be configured per region.",
|
|
8
|
-
"Tax-inclusive pricing allows you to set prices for products and shipping options while delegating tax calculations to AcmeKit.",
|
|
9
|
-
"AcmeKit provides multi-currency and region support, with full control over prices for each currency and region.",
|
|
10
|
-
"Organize customers by customer groups and set special prices for them.",
|
|
11
|
-
"Specify the inventory of products per location and sales channel.",
|
|
12
|
-
"Publishable-API Keys allow you to send scoped requests to the server's client API routes.",
|
|
13
6
|
"API Routes expose business logic to clients, such as custom frontends and admin customizations.",
|
|
14
7
|
"Subscribers are asynchronous functions that are executed when an event is emitted.",
|
|
15
8
|
"Data models represent tables in the database. They are created using AcmeKit's Data Modeling Language (DML).",
|
|
16
9
|
"AcmeKit's client API routes are prefixed by /client. The admin API routes are prefixed by /admin.",
|
|
17
10
|
"The JS SDK allows you to send requests to the AcmeKit server from your frontend or admin customizations.",
|
|
18
|
-
"
|
|
11
|
+
"Publishable-API Keys allow you to send scoped requests to the server's client API routes.",
|
|
12
|
+
"Modules are reusable packages of functionalities related to a single domain or integration.",
|
|
19
13
|
"Modules have a main service that provides data-management and integration functionalities.",
|
|
20
14
|
"Modules allow you to replace an entire functionality with your custom logic.",
|
|
21
15
|
"Infrastructure Modules are interchangeable modules that implement features and integrations related to the AcmeKit server's infrastructure.",
|
|
22
|
-
"Commerce Modules are built-in modules that provide core commerce logic specific to domains like Product, Cart and Order.",
|
|
23
16
|
"Workflows are a series of queries and actions, called steps, that complete a task.",
|
|
24
17
|
"A workflow's steps can be retried or rolled back in case of an error.",
|
|
18
|
+
"Module links allow you to define relationships between data models across different modules.",
|
|
19
|
+
"Scheduled jobs let you run recurring tasks in the background on a configurable interval.",
|
|
20
|
+
"The admin dashboard is fully customizable — add widgets, pages, and custom routes via plugins.",
|
|
21
|
+
"Use defineConfig in acmekit-config.ts to configure modules, plugins, and project settings in one place.",
|
|
25
22
|
`AcmeKit provides ${terminalLink("Claude Code plugins", "https://github.com/acmekit/acmekit-claude-plugins")} to facilitate your development.`,
|
|
26
|
-
"AcmeKit provides an MCP server at https://docs.acmekit.com/mcp to support your learning and development experience with AI agents",
|
|
27
|
-
`AcmeKit is optimized to build custom
|
|
23
|
+
"AcmeKit provides an MCP server at https://docs.acmekit.com/mcp to support your learning and development experience with AI agents.",
|
|
24
|
+
`AcmeKit is optimized to build custom software with AI agents through its MCP server and ${terminalLink("Claude Code plugins", "https://github.com/acmekit/acmekit-claude-plugins")}.`,
|
|
28
25
|
];
|
|
29
26
|
export const getFact = () => {
|
|
30
27
|
const randIndex = Math.floor(Math.random() * facts.length);
|
|
@@ -42,12 +42,6 @@ async function preparePlugin({ directory, projectName, spinner, processManager,
|
|
|
42
42
|
packageJson.packageManager = packageManagerString;
|
|
43
43
|
}
|
|
44
44
|
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2));
|
|
45
|
-
// Create .env from .env.template if it exists
|
|
46
|
-
const envTemplatePath = path.join(directory, ".env.template");
|
|
47
|
-
const envPath = path.join(directory, ".env");
|
|
48
|
-
if (fs.existsSync(envTemplatePath) && !fs.existsSync(envPath)) {
|
|
49
|
-
fs.copyFileSync(envTemplatePath, envPath);
|
|
50
|
-
}
|
|
51
45
|
factBoxOptions.interval = displayFactBox({
|
|
52
46
|
...factBoxOptions,
|
|
53
47
|
spinner,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-acmekit-app",
|
|
3
|
-
"version": "2.13.
|
|
3
|
+
"version": "2.13.46",
|
|
4
4
|
"description": "Create a AcmeKit project using a single command.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": "./dist/index.js",
|
|
@@ -14,8 +14,8 @@
|
|
|
14
14
|
"test": "../../../node_modules/.bin/jest --passWithNoTests src"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@acmekit/deps": "2.13.
|
|
18
|
-
"@acmekit/telemetry": "2.13.
|
|
17
|
+
"@acmekit/deps": "2.13.46",
|
|
18
|
+
"@acmekit/telemetry": "2.13.46",
|
|
19
19
|
"boxen": "^5.0.1",
|
|
20
20
|
"chalk": "^4.1.2",
|
|
21
21
|
"commander": "^11.0.0",
|
package/src/utils/facts.ts
CHANGED
|
@@ -15,31 +15,28 @@ export type FactBoxOptions = {
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
const facts = [
|
|
18
|
-
"Specify a product's availability in one or more sales channels.",
|
|
19
|
-
"Payment providers can be configured per region.",
|
|
20
|
-
"Tax-inclusive pricing allows you to set prices for products and shipping options while delegating tax calculations to AcmeKit.",
|
|
21
|
-
"AcmeKit provides multi-currency and region support, with full control over prices for each currency and region.",
|
|
22
|
-
"Organize customers by customer groups and set special prices for them.",
|
|
23
|
-
"Specify the inventory of products per location and sales channel.",
|
|
24
|
-
"Publishable-API Keys allow you to send scoped requests to the server's client API routes.",
|
|
25
18
|
"API Routes expose business logic to clients, such as custom frontends and admin customizations.",
|
|
26
19
|
"Subscribers are asynchronous functions that are executed when an event is emitted.",
|
|
27
20
|
"Data models represent tables in the database. They are created using AcmeKit's Data Modeling Language (DML).",
|
|
28
21
|
"AcmeKit's client API routes are prefixed by /client. The admin API routes are prefixed by /admin.",
|
|
29
22
|
"The JS SDK allows you to send requests to the AcmeKit server from your frontend or admin customizations.",
|
|
30
|
-
"
|
|
23
|
+
"Publishable-API Keys allow you to send scoped requests to the server's client API routes.",
|
|
24
|
+
"Modules are reusable packages of functionalities related to a single domain or integration.",
|
|
31
25
|
"Modules have a main service that provides data-management and integration functionalities.",
|
|
32
26
|
"Modules allow you to replace an entire functionality with your custom logic.",
|
|
33
27
|
"Infrastructure Modules are interchangeable modules that implement features and integrations related to the AcmeKit server's infrastructure.",
|
|
34
|
-
"Commerce Modules are built-in modules that provide core commerce logic specific to domains like Product, Cart and Order.",
|
|
35
28
|
"Workflows are a series of queries and actions, called steps, that complete a task.",
|
|
36
29
|
"A workflow's steps can be retried or rolled back in case of an error.",
|
|
30
|
+
"Module links allow you to define relationships between data models across different modules.",
|
|
31
|
+
"Scheduled jobs let you run recurring tasks in the background on a configurable interval.",
|
|
32
|
+
"The admin dashboard is fully customizable — add widgets, pages, and custom routes via plugins.",
|
|
33
|
+
"Use defineConfig in acmekit-config.ts to configure modules, plugins, and project settings in one place.",
|
|
37
34
|
`AcmeKit provides ${terminalLink(
|
|
38
35
|
"Claude Code plugins",
|
|
39
36
|
"https://github.com/acmekit/acmekit-claude-plugins"
|
|
40
37
|
)} to facilitate your development.`,
|
|
41
|
-
"AcmeKit provides an MCP server at https://docs.acmekit.com/mcp to support your learning and development experience with AI agents",
|
|
42
|
-
`AcmeKit is optimized to build custom
|
|
38
|
+
"AcmeKit provides an MCP server at https://docs.acmekit.com/mcp to support your learning and development experience with AI agents.",
|
|
39
|
+
`AcmeKit is optimized to build custom software with AI agents through its MCP server and ${terminalLink(
|
|
43
40
|
"Claude Code plugins",
|
|
44
41
|
"https://github.com/acmekit/acmekit-claude-plugins"
|
|
45
42
|
)}.`,
|
|
@@ -101,13 +101,6 @@ async function preparePlugin({
|
|
|
101
101
|
|
|
102
102
|
fs.writeFileSync(packageJsonPath, JSON.stringify(packageJson, null, 2))
|
|
103
103
|
|
|
104
|
-
// Create .env from .env.template if it exists
|
|
105
|
-
const envTemplatePath = path.join(directory, ".env.template")
|
|
106
|
-
const envPath = path.join(directory, ".env")
|
|
107
|
-
if (fs.existsSync(envTemplatePath) && !fs.existsSync(envPath)) {
|
|
108
|
-
fs.copyFileSync(envTemplatePath, envPath)
|
|
109
|
-
}
|
|
110
|
-
|
|
111
104
|
factBoxOptions.interval = displayFactBox({
|
|
112
105
|
...factBoxOptions,
|
|
113
106
|
spinner,
|