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

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';
@@ -5,6 +5,6 @@
5
5
  "rootDir": "./",
6
6
  "typeRoots": ["./node_modules/@types", "./node_modules"],
7
7
  // "types": ["node"],
8
- "lib": ["DOM", "ESNext"],
8
+ "lib": ["DOM", "ESNext"]
9
9
  }
10
10
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "extends": "./tsconfig.legacy.json",
3
3
  "compilerOptions": {
4
- "module": "CommonJS"
5
- }
4
+ "module": "CommonJS",
5
+ },
6
6
  }
@@ -35,9 +35,7 @@
35
35
  "inlineSources": false,
36
36
  "isolatedModules": false,
37
37
  "keyofStringsOnly": false,
38
- "lib": [
39
- "ESNext",
40
- ],
38
+ "lib": ["ESNext"],
41
39
  "noImplicitThis": true,
42
40
  "noImplicitAny": true,
43
41
  "noImplicitOverride": true,
@@ -50,10 +48,7 @@
50
48
  "useUnknownInCatchVariables": true,
51
49
  "preserveConstEnums": true,
52
50
  "pretty": true,
53
- "typeRoots": [
54
- "../node_modules/@types",
55
- "../node_modules"
56
- ],
51
+ "typeRoots": ["../node_modules/@types", "../node_modules"],
57
52
  "types": [],
58
53
  "removeComments": false,
59
54
  "sourceMap": true,
@@ -69,6 +64,6 @@
69
64
  "noFallthroughCasesInSwitch": true,
70
65
  "incremental": true,
71
66
  "jsxImportSource": "react",
72
- "jsx": "react-jsx"
73
- }
67
+ "jsx": "react-jsx",
68
+ },
74
69
  }
@@ -4,6 +4,6 @@
4
4
  "module": "ESNext",
5
5
  "moduleResolution": "Node10",
6
6
  "resolvePackageJsonExports": false,
7
- "resolvePackageJsonImports": false
8
- }
7
+ "resolvePackageJsonImports": false,
8
+ },
9
9
  }
@@ -6,7 +6,7 @@
6
6
  "EditorConfig.EditorConfig",
7
7
  "esbenp.prettier-vscode",
8
8
  "xyz.local-history",
9
- "rbuckton.tsserver-live-reload",
9
+ "rbuckton.tsserver-live-reload"
10
10
  ],
11
11
  // List of extensions recommended by VS Code that should not be recommended for users of this workspace.
12
12
  "unwantedRecommendations": [
@@ -14,6 +14,6 @@
14
14
  "ms-mssql.mssql",
15
15
  "firefox-devtools.vscode-firefox-debug",
16
16
  "ms-azuretools.vscode-docker",
17
- "christian-kohler.npm-intellisense",
17
+ "christian-kohler.npm-intellisense"
18
18
  ]
19
19
  }
@@ -10,7 +10,7 @@
10
10
  "**/*.api.json": true,
11
11
  "**/*.api.md": true,
12
12
  "**/package-public.d.ts": true,
13
- "pnpm-lock.yaml": true,
13
+ "pnpm-lock.yaml": true
14
14
  },
15
15
  "prettier.prettierPath": "common/autoinstallers/rush-prettier/node_modules/prettier",
16
16
  "prettier.requireConfig": true,
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.34",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/GongT/baobao",
6
6
  "devDependencies": {