bernova 1.5.5 → 1.7.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/CHANGELOG.md +12 -0
- package/dist/bin/declareCssType.js +0 -0
- package/package.json +52 -41
package/CHANGELOG.md
CHANGED
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "bernova",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.7.0",
|
|
4
4
|
"description": "The best way to write CSS with Javascript syntax",
|
|
5
5
|
"main": "./dist/src/index.js",
|
|
6
6
|
"types": "./dist/src/index.d.ts",
|
|
@@ -16,8 +16,8 @@
|
|
|
16
16
|
},
|
|
17
17
|
"bin": {
|
|
18
18
|
"bernova": "./dist/bin/bernova.js",
|
|
19
|
-
"bv-
|
|
20
|
-
"bv-
|
|
19
|
+
"bv-build": "./dist/bin/buildstyle.js",
|
|
20
|
+
"bv-config": "./dist/bin/createConfigFile.js"
|
|
21
21
|
},
|
|
22
22
|
"_moduleAliases": {
|
|
23
23
|
"@": "src"
|
|
@@ -30,6 +30,45 @@
|
|
|
30
30
|
"CHANGELOG.md",
|
|
31
31
|
"LICENSE"
|
|
32
32
|
],
|
|
33
|
+
"scripts": {
|
|
34
|
+
"dist": "yarn build",
|
|
35
|
+
"build": "yarn clean && yarn build:types && yarn build:vite && yarn build:copy",
|
|
36
|
+
"build:vite": "vite build",
|
|
37
|
+
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types",
|
|
38
|
+
"build:copy-interfaces": "cp -r interfaces dist/interfaces && echo 'bernova components interfaces copied'",
|
|
39
|
+
"build:copy": "yarn build:copy-src && yarn build:copy-interfaces && yarn build:copy-bin && yarn build:optimize",
|
|
40
|
+
"build:copy-src": "cp -r src dist/ && echo 'Source files copied for compatibility'",
|
|
41
|
+
"build:copy-bin": "mkdir -p dist/bin && cp -r bin/* dist/bin/ && chmod +x dist/bin/*.js && echo 'CLI binaries copied and made executable'",
|
|
42
|
+
"build:optimize": "yarn build:remove-tests && yarn build:remove-docs && yarn build:minify-cli",
|
|
43
|
+
"build:remove-tests": "find dist/src -name '__tests__' -type d -exec rm -rf {} + 2>/dev/null || true && find dist/src -name '*.test.js' -delete 2>/dev/null || true && echo 'Test files removed from build'",
|
|
44
|
+
"build:remove-docs": "find dist/src -name '*.md' -delete 2>/dev/null || true && echo 'Documentation files removed from build'",
|
|
45
|
+
"build:minify-cli": "node scripts/minify-all.js",
|
|
46
|
+
"start": "node ./bin/bernova.js",
|
|
47
|
+
"start:foundation": "node ./bin/bernova.js --foundation-only",
|
|
48
|
+
"start:component": "node ./bin/bernova.js --component-only",
|
|
49
|
+
"dev": "yarn start",
|
|
50
|
+
"config": "node ./bin/createConfigFile.js",
|
|
51
|
+
"typing": "node ./bin/declareCssType.js",
|
|
52
|
+
"prepublishOnly": "yarn build",
|
|
53
|
+
"test": "vitest --coverage.enabled=true --silent --run",
|
|
54
|
+
"test:watch": "vitest",
|
|
55
|
+
"test:ui": "vitest --ui",
|
|
56
|
+
"test:coverage": "vitest run --coverage",
|
|
57
|
+
"test:ci": "vitest --coverage.enabled=true --silent --run ",
|
|
58
|
+
"clean": "rm -rf dist types",
|
|
59
|
+
"postinstall": "echo 'postinstall'",
|
|
60
|
+
"changeset": "changeset",
|
|
61
|
+
"changeset:version": "changeset version",
|
|
62
|
+
"changeset:publish": "changeset publish",
|
|
63
|
+
"changeset:status": "changeset status --verbose",
|
|
64
|
+
"lint": "oxlint src",
|
|
65
|
+
"lint:fix": "oxlint src --fix",
|
|
66
|
+
"format": "oxfmt src bin",
|
|
67
|
+
"format:check": "oxfmt --check src bin",
|
|
68
|
+
"typecheck": "tsc --noEmit",
|
|
69
|
+
"validate": "yarn format:check && yarn lint && yarn typecheck && yarn dist",
|
|
70
|
+
"validate:quick": "yarn lint && yarn typecheck"
|
|
71
|
+
},
|
|
33
72
|
"keywords": [
|
|
34
73
|
"css",
|
|
35
74
|
"css-in-js",
|
|
@@ -66,26 +105,26 @@
|
|
|
66
105
|
"url": "https://github.com/sponsors/kubit-ui"
|
|
67
106
|
},
|
|
68
107
|
"engines": {
|
|
69
|
-
"node": ">=20.0.0",
|
|
70
|
-
"
|
|
108
|
+
"node": ">=20.0.0 <25.0.0",
|
|
109
|
+
"yarn": ">=4.0.0"
|
|
71
110
|
},
|
|
72
111
|
"publishConfig": {
|
|
73
112
|
"access": "public",
|
|
74
113
|
"registry": "https://registry.npmjs.org/"
|
|
75
114
|
},
|
|
76
115
|
"dependencies": {
|
|
116
|
+
"@babel/core": "^7.28.5",
|
|
117
|
+
"@babel/preset-env": "^7.28.5",
|
|
77
118
|
"autoprefixer": "^10.4.21",
|
|
78
119
|
"cssnano": "^7.1.1",
|
|
79
120
|
"ora": "^9.0.0",
|
|
80
121
|
"postcss": "^8.5.6",
|
|
81
122
|
"postcss-font-magician": "^4.0.0",
|
|
82
123
|
"postcss-preset-env": "^10.4.0",
|
|
83
|
-
"ts-node": "^10.9.2",
|
|
84
|
-
"typescript": "*",
|
|
85
124
|
"terser": "^5.44.1",
|
|
125
|
+
"ts-node": "^10.9.2",
|
|
86
126
|
"tsconfig-paths": "^4.2.0",
|
|
87
|
-
"
|
|
88
|
-
"@babel/preset-env": "^7.28.5"
|
|
127
|
+
"typescript": "*"
|
|
89
128
|
},
|
|
90
129
|
"devDependencies": {
|
|
91
130
|
"@babel/cli": "^7.28.3",
|
|
@@ -96,41 +135,13 @@
|
|
|
96
135
|
"glob": "^11.0.0",
|
|
97
136
|
"jsdom": "^26.1.0",
|
|
98
137
|
"module-alias": "^2.2.3",
|
|
138
|
+
"oxfmt": "^0.41.0",
|
|
139
|
+
"oxlint": "^1.56.0",
|
|
99
140
|
"postcss-combine-media-query": "^2.1.0",
|
|
100
141
|
"rollup-plugin-copy": "^3.5.0",
|
|
101
142
|
"vite": "^6.3.6",
|
|
102
143
|
"vite-plugin-dts": "^4.5.0",
|
|
103
144
|
"vitest": "^3.2.4"
|
|
104
145
|
},
|
|
105
|
-
"
|
|
106
|
-
|
|
107
|
-
"build": "pnpm run clean && pnpm run build:types && pnpm run build:vite && pnpm run build:copy",
|
|
108
|
-
"build:vite": "vite build",
|
|
109
|
-
"build:types": "tsc --declaration --emitDeclarationOnly --outDir types",
|
|
110
|
-
"build:copy-interfaces": "cp -r interfaces dist/interfaces && echo 'bernova components interfaces copied'",
|
|
111
|
-
"build:copy": "pnpm run build:copy-src && pnpm run build:copy-interfaces && pnpm run build:copy-bin && pnpm run build:optimize",
|
|
112
|
-
"build:copy-src": "cp -r src dist/ && echo 'Source files copied for compatibility'",
|
|
113
|
-
"build:copy-bin": "mkdir -p dist/bin && cp -r bin/* dist/bin/ && chmod +x dist/bin/*.js && echo 'CLI binaries copied and made executable'",
|
|
114
|
-
"build:optimize": "pnpm run build:remove-tests && pnpm run build:remove-docs && pnpm run build:minify-cli",
|
|
115
|
-
"build:remove-tests": "find dist/src -name '__tests__' -type d -exec rm -rf {} + 2>/dev/null || true && find dist/src -name '*.test.js' -delete 2>/dev/null || true && echo 'Test files removed from build'",
|
|
116
|
-
"build:remove-docs": "find dist/src -name '*.md' -delete 2>/dev/null || true && echo 'Documentation files removed from build'",
|
|
117
|
-
"build:minify-cli": "node scripts/minify-all.js",
|
|
118
|
-
"start": "node ./bin/bernova.js",
|
|
119
|
-
"start:foundation": "node ./bin/bernova.js --foundation-only",
|
|
120
|
-
"start:component": "node ./bin/bernova.js --component-only",
|
|
121
|
-
"dev": "pnpm run start",
|
|
122
|
-
"config": "node ./bin/createConfigFile.js",
|
|
123
|
-
"typing": "node ./bin/declareCssType.js",
|
|
124
|
-
"test": "pnpm run vitest --coverage.enabled=true --silent --run ",
|
|
125
|
-
"test:watch": "vitest",
|
|
126
|
-
"test:ui": "vitest --ui",
|
|
127
|
-
"test:coverage": "vitest run --coverage",
|
|
128
|
-
"test:ci": "vitest --coverage.enabled=true --silent --run ",
|
|
129
|
-
"clean": "rm -rf dist types",
|
|
130
|
-
"postinstall": "echo 'postinstall'",
|
|
131
|
-
"changeset": "changeset",
|
|
132
|
-
"changeset:version": "changeset version",
|
|
133
|
-
"changeset:publish": "changeset publish",
|
|
134
|
-
"changeset:status": "changeset status --verbose"
|
|
135
|
-
}
|
|
136
|
-
}
|
|
146
|
+
"packageManager": "yarn@4.9.1"
|
|
147
|
+
}
|