@cuiqg/shared-configs 0.1.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/.editorconfig +12 -0
- package/.gitattributes +1 -0
- package/.vscode/settings.json +6 -0
- package/README.md +14 -0
- package/biome.jsonc +12 -0
- package/bump.config.js +6 -0
- package/gulpfile.js +18 -0
- package/jsconfig.json +8 -0
- package/package.json +29 -0
- package/src/biome/index.json +3 -0
package/.editorconfig
ADDED
package/.gitattributes
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
* text=auto eol=lf
|
package/README.md
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
<p align="center">
|
|
2
|
+
<img width="100%" src="https://github.com/user-attachments/assets/bd6d461f-c9f2-4ab1-b72e-f00dae601309"/>
|
|
3
|
+
</p>
|
|
4
|
+
|
|
5
|
+
<details>
|
|
6
|
+
<summary>biome.json</summary>
|
|
7
|
+
|
|
8
|
+
```json
|
|
9
|
+
{
|
|
10
|
+
"$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
|
|
11
|
+
"extends": ["@cuiqg/shared-configs/biome"]
|
|
12
|
+
}
|
|
13
|
+
```
|
|
14
|
+
</details>
|
package/biome.jsonc
ADDED
package/bump.config.js
ADDED
package/gulpfile.js
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
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
ADDED
package/package.json
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@cuiqg/shared-configs",
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"description": "Biome config for @cuiqg",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public",
|
|
8
|
+
"registry": "https://registry.npmjs.org"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
"./biome": "./dist/biome.json"
|
|
12
|
+
},
|
|
13
|
+
"scripts": {
|
|
14
|
+
"start": "gulp",
|
|
15
|
+
"build": "gulp build --prod",
|
|
16
|
+
"preinstall": "npx force-resolutions",
|
|
17
|
+
"prepublishOnly": "npm run build",
|
|
18
|
+
"release": "bumpp && npm publish"
|
|
19
|
+
},
|
|
20
|
+
"devDependencies": {
|
|
21
|
+
"@biomejs/biome": "2.3.10",
|
|
22
|
+
"bumpp": "^10.3.2",
|
|
23
|
+
"gulp": "^5.0.1",
|
|
24
|
+
"gulp-rename": "^2.1.0"
|
|
25
|
+
},
|
|
26
|
+
"resolutions": {
|
|
27
|
+
"bin-wrapper": "npm:bin-wrapper-china"
|
|
28
|
+
}
|
|
29
|
+
}
|