create-bestax 2.1.0 → 2.2.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.d.ts.map +1 -1
- package/dist/constants.js +5 -5
- package/dist/project-creator.d.ts.map +1 -1
- package/dist/project-creator.js +14 -10
- package/package.json +8 -9
- package/templates/vite/eslint.config.js +29 -0
- package/templates/vite/package.json +14 -12
- package/templates/vite/src/main.jsx +2 -2
- package/templates/vite-ts/eslint.config.js +26 -0
- package/templates/vite-ts/package.json +16 -13
- package/templates/vite-ts/src/main.tsx +2 -2
package/dist/constants.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../src/constants.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,MAAM,WAAW,QAAQ;IACvB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,KAAK,CAAC,MAAM,CAAC;CAC5B;AAED,eAAO,MAAM,SAAS,EAAE,QAAQ,EAG/B,CAAC;AAEF,eAAO,MAAM,oBAAoB,kBAAkB,CAAC;AACpD,eAAO,MAAM,uBAAuB,MAAM,CAAC;AAC3C,eAAO,MAAM,kBAAkB,QAAsB,CAAC;AAEtD,eAAO,MAAM,QAAQ;;;;;wCAMQ,MAAM;uCAEP,MAAM;sCACP,MAAM;4CAEA,MAAM;;;;CAI7B,CAAC;AAEX,eAAO,MAAM,OAAO;;;;;CAKV,CAAC;AAEX,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IAC3B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iBAAiB,CAAC,EAAE,MAAM,CAAC;CAC5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AAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,EAAE,OAAO,KAAK,CAAC,MAAM,CAAC;IAC3B,eAAe,EAAE,MAAM,CAAC;IACxB,WAAW,CAAC,EAAE,OAAO,CAAC;CACvB;AAED,eAAO,MAAM,aAAa,EAAE,WAAW,EA0CtC,CAAC"}
|
package/dist/constants.js
CHANGED
|
@@ -73,14 +73,14 @@ export const BULMA_FLAVORS = [
|
|
|
73
73
|
display: 'Complete (Recommended)',
|
|
74
74
|
description: 'Full Bulma CSS with all components and helpers',
|
|
75
75
|
color: chalk.green,
|
|
76
|
-
importStatement: "import 'bulma/
|
|
76
|
+
importStatement: "import '@allxsmith/bestax-bulma/bestax.css';",
|
|
77
77
|
},
|
|
78
78
|
{
|
|
79
79
|
name: 'prefixed',
|
|
80
80
|
display: 'Prefixed',
|
|
81
81
|
description: 'All classes prefixed with "bulma-" to avoid conflicts',
|
|
82
82
|
color: chalk.blue,
|
|
83
|
-
importStatement: "import 'bulma/css/versions/bulma-prefixed.min.css';",
|
|
83
|
+
importStatement: "import 'bulma/css/versions/bulma-prefixed.min.css';\nimport '@allxsmith/bestax-bulma/extras.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/css/versions/bulma-no-helpers.min.css';",
|
|
91
|
+
importStatement: "import 'bulma/css/versions/bulma-no-helpers.min.css';\nimport '@allxsmith/bestax-bulma/extras.css';",
|
|
92
92
|
},
|
|
93
93
|
{
|
|
94
94
|
name: 'no-helpers-prefixed',
|
|
95
95
|
display: 'No Helpers, Prefixed',
|
|
96
96
|
description: 'Core components only with "bulma-" prefix',
|
|
97
97
|
color: chalk.magenta,
|
|
98
|
-
importStatement: "import 'bulma/css/versions/bulma-no-helpers-prefixed.min.css';",
|
|
98
|
+
importStatement: "import 'bulma/css/versions/bulma-no-helpers-prefixed.min.css';\nimport '@allxsmith/bestax-bulma/extras.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/css/versions/bulma-no-dark-mode.min.css';",
|
|
106
|
+
importStatement: "import 'bulma/css/versions/bulma-no-dark-mode.min.css';\nimport '@allxsmith/bestax-bulma/extras.css';",
|
|
107
107
|
},
|
|
108
108
|
];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"project-creator.d.ts","sourceRoot":"","sources":["../src/project-creator.ts"],"names":[],"mappings":"AA8BA,MAAM,WAAW,aAAa;IAC5B,WAAW,EAAE,MAAM,CAAC;IACpB,QAAQ,EAAE,MAAM,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,GAAG,CAAC,EAAE,OAAO,CAAC;CACf;AAED,qBAAa,cAAc;IACzB,OAAO,CAAC,YAAY,CAAS;gBAEjB,YAAY,CAAC,EAAE,MAAM;IAI3B,cAAc,CAAC,UAAU,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC,MAAM,GAAG,IAAI,CAAC;IAa3D,sBAAsB,CAC1B,UAAU,EAAE,MAAM,EAClB,SAAS,EAAE,MAAM,GAChB,OAAO,CAAC,O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AI,CAAC;IAmDhB,OAAO,CAAC,WAAW;IA2BnB,OAAO,CAAC,YAAY;IAYd,gBAAgB,CACpB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC;IA2IV,mBAAmB,CACvB,UAAU,EAAE,MAAM,EAClB,WAAW,EAAE,MAAM,EACnB,WAAW,EAAE,MAAM,EACnB,QAAQ,EAAE,MAAM,GACf,OAAO,CAAC,IAAI,CAAC;IAwEV,MAAM,CAAC,UAAU,CAAC,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,UAAU,GAAG,OAAO,CAAC,IAAI,CAAC;CAwHvE"}
|
package/dist/project-creator.js
CHANGED
|
@@ -56,13 +56,17 @@ export class ProjectCreator {
|
|
|
56
56
|
const mainFilePath = path.join(targetPath, 'src', mainFileName);
|
|
57
57
|
if (fs.existsSync(mainFilePath)) {
|
|
58
58
|
let content = await fs.readFile(mainFilePath, 'utf8');
|
|
59
|
-
// Replace the default
|
|
60
|
-
const
|
|
61
|
-
|
|
62
|
-
|
|
59
|
+
// Replace the default bestax CSS import with the selected flavor
|
|
60
|
+
const bestaxImportRegex = /\/\/.*\n\s*import\s+['"]@allxsmith\/bestax-bulma\/bestax\.css['"]\s*;?/;
|
|
61
|
+
const bestaxImportSimpleRegex = /import\s+['"]@allxsmith\/bestax-bulma\/bestax\.css['"]\s*;?/;
|
|
62
|
+
if (bestaxImportRegex.test(content)) {
|
|
63
|
+
content = content.replace(bestaxImportRegex, '// Import CSS\n' + flavor.importStatement);
|
|
64
|
+
}
|
|
65
|
+
else if (bestaxImportSimpleRegex.test(content)) {
|
|
66
|
+
content = content.replace(bestaxImportSimpleRegex, flavor.importStatement);
|
|
63
67
|
}
|
|
64
68
|
else {
|
|
65
|
-
// If no
|
|
69
|
+
// If no bestax import found, add it after React import
|
|
66
70
|
const reactImportMatch = content.match(/import\s+.*\s+from\s+['"]react['"]/);
|
|
67
71
|
if (reactImportMatch) {
|
|
68
72
|
const insertPosition = reactImportMatch.index + reactImportMatch[0].length;
|
|
@@ -155,14 +159,14 @@ export class ProjectCreator {
|
|
|
155
159
|
const mainFilePath = path.join(targetPath, 'src', mainFileName);
|
|
156
160
|
if (fs.existsSync(mainFilePath)) {
|
|
157
161
|
let content = await fs.readFile(mainFilePath, 'utf8');
|
|
158
|
-
// Add the icon library import
|
|
159
|
-
const
|
|
160
|
-
if (
|
|
161
|
-
const insertPosition =
|
|
162
|
+
// Add the icon library import after the CSS imports
|
|
163
|
+
const cssImportMatch = content.match(/import\s+['"](?:@allxsmith\/bestax-bulma\/(?:bestax|extras)\.css|bulma\/css\/.*?)['"]\s*;?/);
|
|
164
|
+
if (cssImportMatch) {
|
|
165
|
+
const insertPosition = cssImportMatch.index + cssImportMatch[0].length;
|
|
162
166
|
content =
|
|
163
167
|
content.slice(0, insertPosition) +
|
|
164
|
-
library.importStatement +
|
|
165
168
|
'\n' +
|
|
169
|
+
library.importStatement +
|
|
166
170
|
content.slice(insertPosition);
|
|
167
171
|
await fs.writeFile(mainFilePath, content);
|
|
168
172
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "create-bestax",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.2.0",
|
|
4
4
|
"description": "Create a new bestax-bulma project",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"bin": {
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"test:e2e:headed": "playwright test --config=e2e/playwright.config.ts --headed",
|
|
22
22
|
"test:e2e:update": "playwright test --config=e2e/playwright.config.ts --update-snapshots",
|
|
23
23
|
"test:e2e:report": "playwright show-report e2e/playwright-report",
|
|
24
|
-
"lint": "eslint src e2e/tests e2e/utils
|
|
24
|
+
"lint": "eslint src e2e/tests e2e/utils",
|
|
25
25
|
"typecheck": "tsc --noEmit",
|
|
26
26
|
"format": "prettier --write \"src/**/*.{ts,tsx}\"",
|
|
27
27
|
"format:check": "prettier --check \"src/**/*.{ts,tsx}\"",
|
|
@@ -51,24 +51,23 @@
|
|
|
51
51
|
"url": "https://github.com/allxsmith/bestax/issues"
|
|
52
52
|
},
|
|
53
53
|
"dependencies": {
|
|
54
|
-
"@allxsmith/bestax-bulma": "^2.6.1",
|
|
55
54
|
"chalk": "^5.6.2",
|
|
56
|
-
"commander": "^
|
|
57
|
-
"figures": "^
|
|
55
|
+
"commander": "^15.0.0",
|
|
56
|
+
"figures": "^6.1.0",
|
|
58
57
|
"fs-extra": "^11.2.0",
|
|
59
58
|
"prompts": "^2.4.2"
|
|
60
59
|
},
|
|
61
60
|
"devDependencies": {
|
|
62
61
|
"@playwright/test": "^1.57.0",
|
|
63
62
|
"@types/fs-extra": "^11.0.4",
|
|
64
|
-
"@types/jest": "^
|
|
65
|
-
"@types/node": "^
|
|
63
|
+
"@types/jest": "^30.0.0",
|
|
64
|
+
"@types/node": "^25.9.3",
|
|
66
65
|
"@types/prompts": "^2.4.9",
|
|
67
66
|
"@types/wait-on": "^5.3.4",
|
|
68
67
|
"jest": "^30.2.0",
|
|
69
68
|
"ts-jest": "^29.4.6",
|
|
70
|
-
"typescript": "^
|
|
71
|
-
"wait-on": "^
|
|
69
|
+
"typescript": "^6.0.3",
|
|
70
|
+
"wait-on": "^9.0.10"
|
|
72
71
|
},
|
|
73
72
|
"publishConfig": {
|
|
74
73
|
"access": "public"
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import js from '@eslint/js';
|
|
2
|
+
import globals from 'globals';
|
|
3
|
+
import reactHooks from 'eslint-plugin-react-hooks';
|
|
4
|
+
import reactRefresh from 'eslint-plugin-react-refresh';
|
|
5
|
+
|
|
6
|
+
export default [
|
|
7
|
+
{ ignores: ['dist'] },
|
|
8
|
+
js.configs.recommended,
|
|
9
|
+
{
|
|
10
|
+
files: ['**/*.{js,jsx}'],
|
|
11
|
+
plugins: {
|
|
12
|
+
'react-hooks': reactHooks,
|
|
13
|
+
'react-refresh': reactRefresh,
|
|
14
|
+
},
|
|
15
|
+
languageOptions: {
|
|
16
|
+
ecmaVersion: 2020,
|
|
17
|
+
globals: globals.browser,
|
|
18
|
+
parserOptions: {
|
|
19
|
+
ecmaVersion: 'latest',
|
|
20
|
+
ecmaFeatures: { jsx: true },
|
|
21
|
+
sourceType: 'module',
|
|
22
|
+
},
|
|
23
|
+
},
|
|
24
|
+
rules: {
|
|
25
|
+
...reactHooks.configs['recommended-latest'].rules,
|
|
26
|
+
...reactRefresh.configs.vite.rules,
|
|
27
|
+
},
|
|
28
|
+
},
|
|
29
|
+
];
|
|
@@ -10,20 +10,22 @@
|
|
|
10
10
|
"preview": "vite preview"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@allxsmith/bestax-bulma": "^
|
|
14
|
-
"bulma": "^1.0.4",
|
|
13
|
+
"@allxsmith/bestax-bulma": "^4.0.0",
|
|
15
14
|
"react": "^19.2.3",
|
|
16
15
|
"react-dom": "^19.2.3"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
|
19
|
-
"@eslint/js": "^
|
|
20
|
-
"@types/react": "^19.
|
|
21
|
-
"@types/react-dom": "^19.
|
|
22
|
-
"@vitejs/plugin-react": "^
|
|
23
|
-
"eslint": "^
|
|
24
|
-
"eslint-plugin-react-hooks": "^
|
|
25
|
-
"eslint-plugin-react-refresh": "^0.
|
|
26
|
-
"globals": "^
|
|
27
|
-
"vite": "^
|
|
18
|
+
"@eslint/js": "^10.0.1",
|
|
19
|
+
"@types/react": "^19.2.17",
|
|
20
|
+
"@types/react-dom": "^19.2.3",
|
|
21
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
22
|
+
"eslint": "^10.5.0",
|
|
23
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
24
|
+
"eslint-plugin-react-refresh": "^0.5.3",
|
|
25
|
+
"globals": "^17.7.0",
|
|
26
|
+
"vite": "^8.1.0"
|
|
27
|
+
},
|
|
28
|
+
"engines": {
|
|
29
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
28
30
|
}
|
|
29
|
-
}
|
|
31
|
+
}
|
|
@@ -2,8 +2,8 @@ import { StrictMode } from 'react';
|
|
|
2
2
|
import { createRoot } from 'react-dom/client';
|
|
3
3
|
import App from './App.jsx';
|
|
4
4
|
|
|
5
|
-
// Import Bulma
|
|
6
|
-
import 'bulma/
|
|
5
|
+
// Import Bestax CSS (Bulma + extras)
|
|
6
|
+
import '@allxsmith/bestax-bulma/bestax.css';
|
|
7
7
|
import './index.css';
|
|
8
8
|
|
|
9
9
|
createRoot(document.getElementById('root')).render(
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import js from '@eslint/js';
|
|
2
|
+
import globals from 'globals';
|
|
3
|
+
import reactHooks from 'eslint-plugin-react-hooks';
|
|
4
|
+
import reactRefresh from 'eslint-plugin-react-refresh';
|
|
5
|
+
import tseslint from 'typescript-eslint';
|
|
6
|
+
|
|
7
|
+
export default [
|
|
8
|
+
{ ignores: ['dist'] },
|
|
9
|
+
js.configs.recommended,
|
|
10
|
+
...tseslint.configs.recommended,
|
|
11
|
+
{
|
|
12
|
+
files: ['**/*.{ts,tsx}'],
|
|
13
|
+
plugins: {
|
|
14
|
+
'react-hooks': reactHooks,
|
|
15
|
+
'react-refresh': reactRefresh,
|
|
16
|
+
},
|
|
17
|
+
languageOptions: {
|
|
18
|
+
ecmaVersion: 2020,
|
|
19
|
+
globals: globals.browser,
|
|
20
|
+
},
|
|
21
|
+
rules: {
|
|
22
|
+
...reactHooks.configs['recommended-latest'].rules,
|
|
23
|
+
...reactRefresh.configs.vite.rules,
|
|
24
|
+
},
|
|
25
|
+
},
|
|
26
|
+
];
|
|
@@ -10,21 +10,24 @@
|
|
|
10
10
|
"preview": "vite preview"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@allxsmith/bestax-bulma": "^
|
|
14
|
-
"bulma": "^1.0.4",
|
|
13
|
+
"@allxsmith/bestax-bulma": "^4.0.0",
|
|
15
14
|
"react": "^19.2.3",
|
|
16
15
|
"react-dom": "^19.2.3"
|
|
17
16
|
},
|
|
18
17
|
"devDependencies": {
|
|
19
|
-
"@eslint/js": "^
|
|
20
|
-
"@types/react": "^19.
|
|
21
|
-
"@types/react-dom": "^19.
|
|
22
|
-
"@vitejs/plugin-react": "^
|
|
23
|
-
"eslint": "^
|
|
24
|
-
"eslint-plugin-react-hooks": "^
|
|
25
|
-
"eslint-plugin-react-refresh": "^0.
|
|
26
|
-
"globals": "^
|
|
27
|
-
"typescript": "^
|
|
28
|
-
"
|
|
18
|
+
"@eslint/js": "^10.0.1",
|
|
19
|
+
"@types/react": "^19.2.17",
|
|
20
|
+
"@types/react-dom": "^19.2.3",
|
|
21
|
+
"@vitejs/plugin-react": "^6.0.3",
|
|
22
|
+
"eslint": "^10.5.0",
|
|
23
|
+
"eslint-plugin-react-hooks": "^7.1.1",
|
|
24
|
+
"eslint-plugin-react-refresh": "^0.5.3",
|
|
25
|
+
"globals": "^17.7.0",
|
|
26
|
+
"typescript": "^6.0.3",
|
|
27
|
+
"typescript-eslint": "^8.62.0",
|
|
28
|
+
"vite": "^8.1.0"
|
|
29
|
+
},
|
|
30
|
+
"engines": {
|
|
31
|
+
"node": "^20.19.0 || >=22.12.0"
|
|
29
32
|
}
|
|
30
|
-
}
|
|
33
|
+
}
|
|
@@ -2,8 +2,8 @@ import { StrictMode } from 'react';
|
|
|
2
2
|
import { createRoot } from 'react-dom/client';
|
|
3
3
|
import App from './App.tsx';
|
|
4
4
|
|
|
5
|
-
// Import Bulma
|
|
6
|
-
import 'bulma/
|
|
5
|
+
// Import Bestax CSS (Bulma + extras)
|
|
6
|
+
import '@allxsmith/bestax-bulma/bestax.css';
|
|
7
7
|
import './index.css';
|
|
8
8
|
|
|
9
9
|
createRoot(document.getElementById('root')!).render(
|