@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 ADDED
@@ -0,0 +1,12 @@
1
+ root = true
2
+
3
+ [*]
4
+ charset = utf-8
5
+ indent_style = space
6
+ indent_size = 2
7
+ end_of_line = lf
8
+ trim_trailing_whitespace = true
9
+ insert_final_newline = true
10
+
11
+ [*.md]
12
+ trim_trailing_whitespace = false
package/.gitattributes ADDED
@@ -0,0 +1 @@
1
+ * text=auto eol=lf
@@ -0,0 +1,6 @@
1
+ {
2
+ "editor.defaultFormatter": "biomejs.biome",
3
+ "[javascript]": {
4
+ "editor.defaultFormatter": "vscode.typescript-language-features"
5
+ }
6
+ }
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
@@ -0,0 +1,12 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.0.5/schema.json",
3
+ "formatter": {
4
+ "enabled": true
5
+ },
6
+ "linter": {
7
+ "enabled": true
8
+ },
9
+ "assist": {
10
+ "enabled": true
11
+ }
12
+ }
package/bump.config.js ADDED
@@ -0,0 +1,6 @@
1
+ import { defineConfig } from 'bumpp'
2
+
3
+ export default defineConfig({
4
+ tag: false,
5
+ all: true
6
+ })
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
@@ -0,0 +1,8 @@
1
+ {
2
+ "compilerOptions": {
3
+ "baseUrl": ".",
4
+ "paths": {
5
+ "@/*": ["./src/*"]
6
+ }
7
+ }
8
+ }
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
+ }
@@ -0,0 +1,3 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/2.0.5/schema.json"
3
+ }