create-bestax 2.2.0 → 3.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/dist/constants.js +6 -6
- package/dist/project-creator.js +1 -1
- package/package.json +2 -2
package/dist/constants.js
CHANGED
|
@@ -78,9 +78,9 @@ export const BULMA_FLAVORS = [
|
|
|
78
78
|
{
|
|
79
79
|
name: 'prefixed',
|
|
80
80
|
display: 'Prefixed',
|
|
81
|
-
description: 'All classes prefixed with "
|
|
81
|
+
description: 'All classes prefixed with "bestax-" to avoid conflicts',
|
|
82
82
|
color: chalk.blue,
|
|
83
|
-
importStatement: "import '
|
|
83
|
+
importStatement: "import '@allxsmith/bestax-bulma/versions/bestax-prefixed.css';",
|
|
84
84
|
needsPrefix: true,
|
|
85
85
|
},
|
|
86
86
|
{
|
|
@@ -88,14 +88,14 @@ export const BULMA_FLAVORS = [
|
|
|
88
88
|
display: 'No Helpers',
|
|
89
89
|
description: 'Core components only, no utility classes',
|
|
90
90
|
color: chalk.yellow,
|
|
91
|
-
importStatement: "import 'bulma/
|
|
91
|
+
importStatement: "import '@allxsmith/bestax-bulma/versions/bestax-no-helpers.css';",
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
name: 'no-helpers-prefixed',
|
|
95
95
|
display: 'No Helpers, Prefixed',
|
|
96
|
-
description: 'Core components only with "
|
|
96
|
+
description: 'Core components only with "bestax-" prefix',
|
|
97
97
|
color: chalk.magenta,
|
|
98
|
-
importStatement: "import 'bulma/
|
|
98
|
+
importStatement: "import '@allxsmith/bestax-bulma/versions/bestax-no-helpers-prefixed.css';",
|
|
99
99
|
needsPrefix: true,
|
|
100
100
|
},
|
|
101
101
|
{
|
|
@@ -103,6 +103,6 @@ export const BULMA_FLAVORS = [
|
|
|
103
103
|
display: 'No Dark Mode',
|
|
104
104
|
description: 'Light mode only, smaller bundle size',
|
|
105
105
|
color: chalk.cyan,
|
|
106
|
-
importStatement: "import 'bulma/
|
|
106
|
+
importStatement: "import '@allxsmith/bestax-bulma/versions/bestax-no-dark-mode.css';",
|
|
107
107
|
},
|
|
108
108
|
];
|
package/dist/project-creator.js
CHANGED
|
@@ -251,7 +251,7 @@ export class ProjectCreator {
|
|
|
251
251
|
// Build ConfigProvider props
|
|
252
252
|
const configProps = [];
|
|
253
253
|
if (needsPrefix) {
|
|
254
|
-
configProps.push('classPrefix="
|
|
254
|
+
configProps.push('classPrefix="bestax-"');
|
|
255
255
|
}
|
|
256
256
|
if (needsIconLibrary) {
|
|
257
257
|
// Map the icon library name to the correct value for ConfigProvider
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bestax",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "Create a new bestax-bulma project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
"@playwright/test": "^1.57.0",
|
|
62
62
|
"@types/fs-extra": "^11.0.4",
|
|
63
63
|
"@types/jest": "^30.0.0",
|
|
64
|
-
"@types/node": "^
|
|
64
|
+
"@types/node": "^26.0.1",
|
|
65
65
|
"@types/prompts": "^2.4.9",
|
|
66
66
|
"@types/wait-on": "^5.3.4",
|
|
67
67
|
"jest": "^30.2.0",
|