@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 CHANGED
@@ -1,8 +1,8 @@
1
1
  <p align="center">
2
- <img width="100%" src="https://github.com/user-attachments/assets/bd6d461f-c9f2-4ab1-b72e-f00dae601309"/>
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
@@ -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.0",
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
@@ -1,12 +0,0 @@
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 DELETED
@@ -1 +0,0 @@
1
- * text=auto eol=lf
@@ -1,6 +0,0 @@
1
- {
2
- "editor.defaultFormatter": "biomejs.biome",
3
- "[javascript]": {
4
- "editor.defaultFormatter": "vscode.typescript-language-features"
5
- }
6
- }
package/biome.jsonc DELETED
@@ -1,12 +0,0 @@
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 DELETED
@@ -1,6 +0,0 @@
1
- import { defineConfig } from 'bumpp'
2
-
3
- export default defineConfig({
4
- tag: false,
5
- all: true
6
- })
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
@@ -1,8 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "baseUrl": ".",
4
- "paths": {
5
- "@/*": ["./src/*"]
6
- }
7
- }
8
- }
@@ -1,3 +0,0 @@
1
- {
2
- "$schema": "https://biomejs.dev/schemas/2.0.5/schema.json"
3
- }