beathers 5.3.2 → 5.3.4
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 +13 -0
- package/dist/css/beathers.min.css +1 -1
- package/dist/css/beathers.min.css.map +1 -1
- package/dist/scripts/cli.js +2 -2
- package/dist/scripts/commands/build.js +2 -2
- package/dist/scripts/commands/help.js +2 -2
- package/dist/scripts/commands/list.d.ts +1 -1
- package/dist/scripts/commands/list.js +1 -1
- package/dist/scss/beathers.min.scss +1 -1
- package/package.json +10 -5
- package/readme.md +7 -6
|
@@ -4,7 +4,7 @@ const commands = [
|
|
|
4
4
|
{ cmd: '-v', description: 'Show beathers version' },
|
|
5
5
|
{ divider: true },
|
|
6
6
|
{ cmd: 'init', description: 'Initialize beathers configuration file' },
|
|
7
|
-
{ cmd: 'build', description: 'Build theme from configuration file' },
|
|
7
|
+
{ cmd: 'build:pack', description: 'Build theme from configuration file' },
|
|
8
8
|
{ divider: true },
|
|
9
9
|
{ cmd: 'add-font', description: 'Add a new font to the configuration file' },
|
|
10
10
|
{ cmd: 'remove-font', description: 'Remove a font from the configuration file' },
|
|
@@ -37,6 +37,6 @@ export function Help() {
|
|
|
37
37
|
});
|
|
38
38
|
console.log('\nFlags:');
|
|
39
39
|
console.log(" --local Build with user's custom output path (use with build command)");
|
|
40
|
-
console.log(' Example: npx beathers build --local');
|
|
40
|
+
console.log(' Example: npx beathers build:pack --local');
|
|
41
41
|
console.log();
|
|
42
42
|
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
export declare function Commands(args: any): Record<string, () => void | Promise<void>>;
|
|
2
|
-
export type CommandKey = '--help' | '-v' | '--version' | 'init' | 'build' | 'add-font' | 'remove-font' | 'import-font-sample' | 'add-colors' | 'remove-color' | 'import-color-pack' | 'import-color';
|
|
2
|
+
export type CommandKey = '--help' | '-v' | '--version' | 'init' | 'build:pack' | 'add-font' | 'remove-font' | 'import-font-sample' | 'add-colors' | 'remove-color' | 'import-color-pack' | 'import-color';
|
|
3
3
|
//# sourceMappingURL=list.d.ts.map
|
|
@@ -5,7 +5,7 @@ const commands = {
|
|
|
5
5
|
'-v': () => Version(),
|
|
6
6
|
'--version': () => Version(),
|
|
7
7
|
init: async () => await Init(),
|
|
8
|
-
build: async () => await Build(),
|
|
8
|
+
'build:pack': async () => await Build(),
|
|
9
9
|
'--local': async () => await Build(),
|
|
10
10
|
'add-font': async () => await AddFont(),
|
|
11
11
|
'remove-font': async () => await RemoveFont(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "beathers",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.4",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Beather is a lightweight SCSS library that serves as a comprehensive design system for your projects. It offers a structured and consistent approach to manage colors, fonts, and other design related variables, making it easier to maintain a cohesive visual identity across your application.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -10,16 +10,21 @@
|
|
|
10
10
|
"import": "./dist/index.js",
|
|
11
11
|
"require": "./dist/index.js",
|
|
12
12
|
"types": "./dist/index.d.ts"
|
|
13
|
-
}
|
|
13
|
+
},
|
|
14
|
+
"./dist/css/beathers.min.css": "./dist/css/beathers.min.css",
|
|
15
|
+
"./dist/css/beathers-icons.min.css": "./dist/css/beathers-icons.min.css",
|
|
16
|
+
"./dist/css/*": "./dist/css/*",
|
|
17
|
+
"./dist/scss/*": "./dist/scss/*",
|
|
18
|
+
"./package.json": "./package.json"
|
|
14
19
|
},
|
|
15
20
|
"bin": {
|
|
16
21
|
"beathers": "dist/scripts/cli.js"
|
|
17
22
|
},
|
|
18
23
|
"scripts": {
|
|
19
|
-
"watch": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all build\"",
|
|
20
|
-
"build": "sass --style compressed --source-map --embed-sources --no-error-css src/scss/:dist/css/",
|
|
24
|
+
"watch": "nodemon --watch src/scss/ --ext scss --exec \"npm-run-all build:pack\"",
|
|
25
|
+
"build:pack": "sass --style compressed --source-map --embed-sources --no-error-css src/scss/:dist/css/",
|
|
21
26
|
"build:test": "tsx src/scripts/cli.ts",
|
|
22
|
-
"build:publish": "rimraf dist && tsc &&
|
|
27
|
+
"build:publish": "rimraf dist && tsc && copyfiles -u 1 \"src/scss/**/*\" dist/ && npm run build:pack",
|
|
23
28
|
"lint": "eslint . && stylelint \"**/*.scss\"",
|
|
24
29
|
"lint:fix": "eslint . --fix && stylelint \"**/*.scss\" --fix",
|
|
25
30
|
"format:check": "prettier --check --ignore-path .gitignore .",
|
package/readme.md
CHANGED
|
@@ -3,9 +3,10 @@
|
|
|
3
3
|
<p align="center">The Perfect Fusion of Strength and Featherlight Agility</p>
|
|
4
4
|
</div>
|
|
5
5
|
|
|
6
|
-
[](https://www.npmjs.com/package/beathers)
|
|
7
|
-
[](https://www.npmjs.com/package/beathers)
|
|
7
|
+
[](https://opensource.org/licenses/MIT)
|
|
8
|
+
[](https://www.npmjs.com/package/beathers?activeTab=code)
|
|
9
|
+
|
|
9
10
|
|
|
10
11
|
Beathers is a lightweight, powerful SCSS library designed to accelerate your web development workflow.**Everything is fully customizable** through a simple configuration file, allowing you to tailor every aspect to match your brand and requirements. It offers a comprehensive suite of SCSS mixins, variables, and utility classes, enabling you to build responsive, visually appealing web applications with complete design control.
|
|
11
12
|
|
|
@@ -40,7 +41,7 @@ This will prompt you to:
|
|
|
40
41
|
Generate your custom CSS from the configuration:
|
|
41
42
|
|
|
42
43
|
```bash
|
|
43
|
-
npx beathers
|
|
44
|
+
npx beathers
|
|
44
45
|
```
|
|
45
46
|
|
|
46
47
|
### CLI Commands
|
|
@@ -50,8 +51,8 @@ Beathers provides a comprehensive set of CLI commands to manage your design syst
|
|
|
50
51
|
#### Configuration
|
|
51
52
|
|
|
52
53
|
- `npx beathers init` - Initialize a new configuration file
|
|
53
|
-
- `npx beathers
|
|
54
|
-
- `npx beathers
|
|
54
|
+
- `npx beathers` - Build theme from configuration
|
|
55
|
+
- `npx beathers --local` - Build with custom output path
|
|
55
56
|
|
|
56
57
|
#### Font Management
|
|
57
58
|
|