@build-script/single-dog-asset 1.0.31 → 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
@@ -44,12 +44,18 @@ copy vscode/extensions.json .vscode/extensions.json
44
44
  copy vscode/settings.json .vscode/settings.json
45
45
  link editorconfig .editorconfig
46
46
  copy gitattributes .gitattributes
47
- copy gitignore .gitignore
48
47
  copy LICENSE LICENSE
49
- copy npmignore common/config/rush/.npmignore
50
- link prettierignore .prettierignore
51
- link prettierrc.js .prettierrc.js
52
- link rush-pretty-package.json common/autoinstallers/rush-prettier/package.json
53
- link rush-pretty-pre-commit common/git-hooks/pre-commit
48
+ copy biome.jsonc.template biome.jsonc
49
+
50
+ if [[ -f "$TARGET/rush.json" ]]; then
51
+ copy rush/gitignore .gitignore
52
+ copy rush/npmignore common/config/rush/.npmignore
53
+ link rush/rush-pretty-package.json common/autoinstallers/rush-prettier/package.json
54
+ link rush/rush-pretty-pre-commit common/git-hooks/pre-commit
55
+ else
56
+ copy standalone/gitignore .gitignore
57
+ copy standalone/bin.mjs bin.mjs
58
+ copy standalone/tsconfig-template.json src/tsconfig.json
59
+ fi
54
60
 
55
61
  echo ":: done"
@@ -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
+ }
package/package/npmignore CHANGED
@@ -31,6 +31,9 @@ lib/**/*.test.*
31
31
  lib/**/test.*
32
32
 
33
33
  ### Temp Files
34
+ *.jsc
35
+ *.realtime-compile.cjs
36
+ *.realtime-compile.cjs.map
34
37
 
35
38
  ### Examples
36
39
  /example
@@ -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
@@ -0,0 +1,4 @@
1
+ #!/usr/bin/env node
2
+
3
+ import 'source-map-support/register.js'
4
+ import './lib/src.js';
@@ -0,0 +1,42 @@
1
+ ### Hidden Files
2
+ .*
3
+ !/.*
4
+ !.gitignore
5
+ !.npmignore
6
+
7
+ ### Cache File
8
+ *.tsbuildinfo
9
+ .rpt2_cache/
10
+ /.vscode/local-history
11
+
12
+ ### Temp Files
13
+ *.lock
14
+ temp/
15
+ tmp/
16
+ *.temp
17
+ *.tmp
18
+
19
+ ### Build Result
20
+ /dist
21
+ /lib
22
+ *.tgz
23
+ /build-*
24
+ tsdoc-metadata.json
25
+
26
+ ### Package Manager
27
+ node_modules
28
+ jspm_packages
29
+ bower_components
30
+ package-deps.json
31
+ /package.json
32
+
33
+ ### Log Files
34
+ *.log
35
+ npm-debug.log*
36
+ yarn-debug.log*
37
+ yarn-error.log*
38
+
39
+ ### Generated Files
40
+ *.generated.*
41
+ c_cpp_properties.json
42
+ vcpkg_installed
@@ -0,0 +1,10 @@
1
+ {
2
+ "extends": "node_modules/@build-script/single-dog-asset/package/tsconfig.json",
3
+ "compilerOptions": {
4
+ "outDir": "../lib",
5
+ "rootDir": "./",
6
+ "typeRoots": ["./node_modules/@types", "./node_modules"],
7
+ // "types": ["node"],
8
+ "lib": ["DOM", "ESNext"],
9
+ }
10
+ }
@@ -37,12 +37,6 @@
37
37
  "keyofStringsOnly": false,
38
38
  "lib": [
39
39
  "ESNext",
40
- "ESNext.Array",
41
- "ESNext.AsyncIterable",
42
- "ESNext.BigInt",
43
- "ESNext.Promise",
44
- "ESNext.String",
45
- "ESNext.WeakRef"
46
40
  ],
47
41
  "noImplicitThis": true,
48
42
  "noImplicitAny": true,
@@ -56,7 +50,10 @@
56
50
  "useUnknownInCatchVariables": true,
57
51
  "preserveConstEnums": true,
58
52
  "pretty": true,
59
- "typeRoots": ["../node_modules/@types", "../node_modules"],
53
+ "typeRoots": [
54
+ "../node_modules/@types",
55
+ "../node_modules"
56
+ ],
60
57
  "types": [],
61
58
  "removeComments": false,
62
59
  "sourceMap": true,
@@ -2,12 +2,18 @@
2
2
  // See https://go.microsoft.com/fwlink/?LinkId=827846 to learn about workspace recommendations.
3
3
  // Extension identifier format: ${publisher}.${name}. Example: vscode.csharp
4
4
  // List of extensions which should be recommended for users of this workspace.
5
- "recommendations": ["EditorConfig.EditorConfig", "esbenp.prettier-vscode", "mike-co.import-sorter"],
5
+ "recommendations": [
6
+ "EditorConfig.EditorConfig",
7
+ "esbenp.prettier-vscode",
8
+ "xyz.local-history",
9
+ "rbuckton.tsserver-live-reload",
10
+ ],
6
11
  // List of extensions recommended by VS Code that should not be recommended for users of this workspace.
7
12
  "unwantedRecommendations": [
8
13
  "hookyqr.beautify",
9
14
  "ms-mssql.mssql",
10
15
  "firefox-devtools.vscode-firefox-debug",
11
- "ms-azuretools.vscode-docker"
16
+ "ms-azuretools.vscode-docker",
17
+ "christian-kohler.npm-intellisense",
12
18
  ]
13
19
  }
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "files.associations": {
3
- "*.json": "jsonc"
3
+ ".vscode/*.json": "jsonc"
4
4
  },
5
5
  "search.exclude": {
6
6
  "common/temp": true,
@@ -9,7 +9,8 @@
9
9
  "*/*/.rush": true,
10
10
  "**/*.api.json": true,
11
11
  "**/*.api.md": true,
12
- "**/package-public.d.ts": true
12
+ "**/package-public.d.ts": true,
13
+ "pnpm-lock.yaml": true,
13
14
  },
14
15
  "prettier.prettierPath": "common/autoinstallers/rush-prettier/node_modules/prettier",
15
16
  "prettier.requireConfig": true,
package/package.json CHANGED
@@ -1,14 +1,15 @@
1
1
  {
2
2
  "name": "@build-script/single-dog-asset",
3
- "version": "1.0.31",
3
+ "version": "1.0.33",
4
4
  "license": "MIT",
5
5
  "repository": "https://github.com/GongT/baobao",
6
6
  "devDependencies": {
7
7
  "prettier": "^3.3.3"
8
8
  },
9
9
  "scripts": {
10
- "build": "",
11
- "build:watch": "",
12
- "clean": ""
10
+ "build": "true",
11
+ "clean": "true",
12
+ "test": "true",
13
+ "watch": "true"
13
14
  }
14
15
  }
package/package/bin.js DELETED
@@ -1,5 +0,0 @@
1
- #!/usr/bin/env node
2
-
3
- // TODO: support dual stack
4
- require('source-map-support/register');
5
- require('./lib/bin.js');
@@ -1 +0,0 @@
1
- {}
File without changes