@cuiqg/shared-configs 0.1.0 → 0.1.2
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/README.md +2 -2
- package/dist/biome.json +34 -0
- package/package.json +8 -2
- package/.editorconfig +0 -12
- package/.gitattributes +0 -1
- package/.vscode/settings.json +0 -6
- package/biome.jsonc +0 -12
- package/bump.config.js +0 -6
- package/gulpfile.js +0 -18
- package/jsconfig.json +0 -8
- package/src/biome/index.json +0 -3
package/README.md
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
<p align="center">
|
|
2
|
-
<img width="100%" src="https://github.com/user-attachments/assets/
|
|
2
|
+
<img width="100%" src="https://github.com/user-attachments/assets/22861a82-d000-4fe1-b005-d47eec6e5e80"/>
|
|
3
3
|
</p>
|
|
4
4
|
|
|
5
|
-
<details>
|
|
5
|
+
<details open>
|
|
6
6
|
<summary>biome.json</summary>
|
|
7
7
|
|
|
8
8
|
```json
|
package/dist/biome.json
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
|
|
3
|
+
"formatter": {
|
|
4
|
+
"enabled": true,
|
|
5
|
+
"indentStyle":"space",
|
|
6
|
+
"indentWidth": 2,
|
|
7
|
+
"lineEnding": "lf",
|
|
8
|
+
"useEditorconfig": true,
|
|
9
|
+
"bracketSpacing": true
|
|
10
|
+
},
|
|
11
|
+
"javascript": {
|
|
12
|
+
"formatter": {
|
|
13
|
+
"enabled": true,
|
|
14
|
+
"quoteStyle": "single"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"linter": {
|
|
18
|
+
"enabled": true
|
|
19
|
+
},
|
|
20
|
+
"assist": {
|
|
21
|
+
"enabled": true,
|
|
22
|
+
"actions": {
|
|
23
|
+
"source": {
|
|
24
|
+
"useSortedKeys": "on"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"vcs": {
|
|
29
|
+
"enabled": true,
|
|
30
|
+
"clientKind": "git",
|
|
31
|
+
"useIgnoreFile": true,
|
|
32
|
+
"defaultBranch": "main"
|
|
33
|
+
}
|
|
34
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cuiqg/shared-configs",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"description": "Biome config for @cuiqg",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"publishConfig": {
|
|
@@ -10,12 +10,18 @@
|
|
|
10
10
|
"exports": {
|
|
11
11
|
"./biome": "./dist/biome.json"
|
|
12
12
|
},
|
|
13
|
+
"files": [
|
|
14
|
+
"dist"
|
|
15
|
+
],
|
|
13
16
|
"scripts": {
|
|
14
17
|
"start": "gulp",
|
|
15
18
|
"build": "gulp build --prod",
|
|
16
19
|
"preinstall": "npx force-resolutions",
|
|
17
20
|
"prepublishOnly": "npm run build",
|
|
18
|
-
"release": "bumpp && npm publish"
|
|
21
|
+
"release": "bumpp && npm publish",
|
|
22
|
+
"lint": "npx @biomejs/biome lint",
|
|
23
|
+
"format": "npx @biomejs/biome format",
|
|
24
|
+
"check": "npx @biomejs/biome check --reporter=summary"
|
|
19
25
|
},
|
|
20
26
|
"devDependencies": {
|
|
21
27
|
"@biomejs/biome": "2.3.10",
|
package/.editorconfig
DELETED
package/.gitattributes
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
* text=auto eol=lf
|
package/.vscode/settings.json
DELETED
package/biome.jsonc
DELETED
package/bump.config.js
DELETED
package/gulpfile.js
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import gulp from 'gulp'
|
|
2
|
-
import rename from 'gulp-rename'
|
|
3
|
-
|
|
4
|
-
const jsons = () => {
|
|
5
|
-
return gulp
|
|
6
|
-
.src('src/biome/index.json')
|
|
7
|
-
.pipe(rename('biome.json'))
|
|
8
|
-
.pipe(gulp.dest('dist'))
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const watch = () => {
|
|
12
|
-
gulp.watch('src/biome/**/*.json', jsons);
|
|
13
|
-
};
|
|
14
|
-
|
|
15
|
-
export const dev = gulp.series( gulp.parallel(jsons), watch)
|
|
16
|
-
export const build = gulp.series(gulp.parallel(jsons))
|
|
17
|
-
|
|
18
|
-
export default dev
|
package/jsconfig.json
DELETED
package/src/biome/index.json
DELETED