@build-script/single-dog-asset 1.0.32 → 1.0.33

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/link-here.sh CHANGED
@@ -45,8 +45,7 @@ copy vscode/settings.json .vscode/settings.json
45
45
  link editorconfig .editorconfig
46
46
  copy gitattributes .gitattributes
47
47
  copy LICENSE LICENSE
48
- link prettierignore .prettierignore
49
- link prettierrc.js .prettierrc.js
48
+ copy biome.jsonc.template biome.jsonc
50
49
 
51
50
  if [[ -f "$TARGET/rush.json" ]]; then
52
51
  copy rush/gitignore .gitignore
@@ -0,0 +1,56 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3
+ "vcs": {
4
+ "enabled": false,
5
+ "clientKind": "git",
6
+ "useIgnoreFile": true
7
+ },
8
+ "files": {
9
+ "ignoreUnknown": true,
10
+ "ignore": ["local-history", ".nx", "lib", "node_modules"]
11
+ },
12
+ "formatter": {
13
+ "enabled": true,
14
+ "indentStyle": "tab",
15
+ "formatWithErrors": true,
16
+ "lineEnding": "lf",
17
+ "lineWidth": 120
18
+ },
19
+ "organizeImports": {
20
+ "enabled": false
21
+ },
22
+ "linter": {
23
+ "enabled": false,
24
+ "rules": {
25
+ "recommended": true
26
+ }
27
+ },
28
+ "javascript": {
29
+ "formatter": {
30
+ "quoteStyle": "double",
31
+ "trailingCommas": "es5"
32
+ }
33
+ },
34
+ "json": {
35
+ "parser": {
36
+ "allowTrailingCommas": true
37
+ },
38
+ "formatter": {
39
+ "trailingCommas": "none"
40
+ }
41
+ },
42
+ "overrides": [
43
+ {
44
+ "include": ["*.ts"],
45
+ "organizeImports": { "enabled": false }
46
+ },
47
+ {
48
+ "include": ["tsconfig.json", "tsconfig.*.json", ".vscode/*.json"],
49
+ "json": {
50
+ "formatter": {
51
+ "trailingCommas": "all"
52
+ }
53
+ }
54
+ }
55
+ ]
56
+ }
@@ -0,0 +1,4 @@
1
+ {
2
+ "$schema": "https://biomejs.dev/schemas/1.9.4/schema.json",
3
+ "extends": ["@build-script/single-dog-asset/package/biome.jsonc"]
4
+ }
@@ -16,4 +16,4 @@ docs/
16
16
  lib/
17
17
 
18
18
  # Prettier reformats code blocks inside Markdown, which affects rendered output
19
- *.md
19
+ # *.md
@@ -1,5 +1,4 @@
1
1
  #!/usr/bin/env node
2
2
 
3
- // TODO: support dual stack
4
- require('source-map-support/register');
5
- require('./lib/bin.js');
3
+ import 'source-map-support/register.js'
4
+ import './lib/src.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@build-script/single-dog-asset",
3
- "version": "1.0.32",
3
+ "version": "1.0.33",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/GongT/baobao",
6
6
  "devDependencies": {