@build-script/single-dog-asset 1.0.30 → 1.0.32
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 +11 -4
- package/package/npmignore +3 -0
- package/package/prettierignore +1 -1
- package/package/prettierrc.js +1 -0
- package/package/{rush-single-package.json → rush/rush-single-package.json} +1 -1
- package/package/standalone/gitignore +42 -0
- package/package/standalone/tsconfig-template.json +10 -0
- package/package/tsconfig.cjs.json +6 -0
- package/package/tsconfig.json +16 -18
- package/package/tsconfig.legacy.json +9 -0
- package/package/vscode/extensions.json +8 -2
- package/package/vscode/settings.json +3 -2
- package/package.json +6 -8
- package/package/vscode/import-sorter.json +0 -1
- /package/package/{gitignore → rush/gitignore} +0 -0
- /package/package/{rush-ai-gitignore → rush/rush-ai-gitignore} +0 -0
- /package/package/{rush-pretty-package.json → rush/rush-pretty-package.json} +0 -0
- /package/package/{rush-pretty-pre-commit → rush/rush-pretty-pre-commit} +0 -0
- /package/package/{bin.js → standalone/bin.mjs} +0 -0
package/link-here.sh
CHANGED
|
@@ -44,12 +44,19 @@ 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
48
|
link prettierignore .prettierignore
|
|
51
49
|
link prettierrc.js .prettierrc.js
|
|
52
|
-
|
|
53
|
-
|
|
50
|
+
|
|
51
|
+
if [[ -f "$TARGET/rush.json" ]]; then
|
|
52
|
+
copy rush/gitignore .gitignore
|
|
53
|
+
copy rush/npmignore common/config/rush/.npmignore
|
|
54
|
+
link rush/rush-pretty-package.json common/autoinstallers/rush-prettier/package.json
|
|
55
|
+
link rush/rush-pretty-pre-commit common/git-hooks/pre-commit
|
|
56
|
+
else
|
|
57
|
+
copy standalone/gitignore .gitignore
|
|
58
|
+
copy standalone/bin.mjs bin.mjs
|
|
59
|
+
copy standalone/tsconfig-template.json src/tsconfig.json
|
|
60
|
+
fi
|
|
54
61
|
|
|
55
62
|
echo ":: done"
|
package/package/npmignore
CHANGED
package/package/prettierignore
CHANGED
package/package/prettierrc.js
CHANGED
|
@@ -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
|
+
}
|
package/package/tsconfig.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"compilerOptions": {
|
|
3
3
|
"target": "ESNext",
|
|
4
|
-
"module": "
|
|
5
|
-
"moduleResolution": "
|
|
6
|
-
"resolvePackageJsonExports":
|
|
7
|
-
"resolvePackageJsonImports":
|
|
4
|
+
"module": "ESNext",
|
|
5
|
+
"moduleResolution": "Bundler",
|
|
6
|
+
"resolvePackageJsonExports": true,
|
|
7
|
+
"resolvePackageJsonImports": true,
|
|
8
|
+
"resolveJsonModule": true,
|
|
8
9
|
"allowJs": false,
|
|
9
10
|
"allowSyntheticDefaultImports": true,
|
|
10
11
|
"allowUnreachableCode": false,
|
|
@@ -14,18 +15,19 @@
|
|
|
14
15
|
"allowUmdGlobalAccess": false,
|
|
15
16
|
"exactOptionalPropertyTypes": false,
|
|
16
17
|
"alwaysStrict": true,
|
|
17
|
-
"assumeChangesOnlyAffectDirectDependencies":
|
|
18
|
-
"moduleDetection": "
|
|
18
|
+
"assumeChangesOnlyAffectDirectDependencies": false,
|
|
19
|
+
"moduleDetection": "force",
|
|
19
20
|
"checkJs": false,
|
|
20
|
-
"composite":
|
|
21
|
+
"composite": true,
|
|
21
22
|
"declaration": true,
|
|
22
23
|
"declarationMap": true,
|
|
23
24
|
"downlevelIteration": true,
|
|
24
25
|
"emitBOM": false,
|
|
25
26
|
"emitDeclarationOnly": false,
|
|
26
27
|
"emitDecoratorMetadata": false,
|
|
28
|
+
"importHelpers": true,
|
|
27
29
|
"noEmitHelpers": false,
|
|
28
|
-
"noEmitOnError":
|
|
30
|
+
"noEmitOnError": true,
|
|
29
31
|
"esModuleInterop": true,
|
|
30
32
|
"experimentalDecorators": false,
|
|
31
33
|
"forceConsistentCasingInFileNames": true,
|
|
@@ -35,12 +37,6 @@
|
|
|
35
37
|
"keyofStringsOnly": false,
|
|
36
38
|
"lib": [
|
|
37
39
|
"ESNext",
|
|
38
|
-
"ESNext.Array",
|
|
39
|
-
"ESNext.AsyncIterable",
|
|
40
|
-
"ESNext.BigInt",
|
|
41
|
-
"ESNext.Promise",
|
|
42
|
-
"ESNext.String",
|
|
43
|
-
"ESNext.WeakRef"
|
|
44
40
|
],
|
|
45
41
|
"noImplicitThis": true,
|
|
46
42
|
"noImplicitAny": true,
|
|
@@ -54,11 +50,14 @@
|
|
|
54
50
|
"useUnknownInCatchVariables": true,
|
|
55
51
|
"preserveConstEnums": true,
|
|
56
52
|
"pretty": true,
|
|
57
|
-
"typeRoots": [
|
|
53
|
+
"typeRoots": [
|
|
54
|
+
"../node_modules/@types",
|
|
55
|
+
"../node_modules"
|
|
56
|
+
],
|
|
58
57
|
"types": [],
|
|
59
58
|
"removeComments": false,
|
|
60
59
|
"sourceMap": true,
|
|
61
|
-
"stripInternal":
|
|
60
|
+
"stripInternal": false,
|
|
62
61
|
"strictBindCallApply": true,
|
|
63
62
|
"strict": true,
|
|
64
63
|
"strictFunctionTypes": true,
|
|
@@ -66,10 +65,9 @@
|
|
|
66
65
|
"strictPropertyInitialization": true,
|
|
67
66
|
"useDefineForClassFields": true,
|
|
68
67
|
"newLine": "lf",
|
|
69
|
-
"importHelpers": true,
|
|
70
68
|
"noImplicitReturns": true,
|
|
71
69
|
"noFallthroughCasesInSwitch": true,
|
|
72
|
-
"incremental":
|
|
70
|
+
"incremental": true,
|
|
73
71
|
"jsxImportSource": "react",
|
|
74
72
|
"jsx": "react-jsx"
|
|
75
73
|
}
|
|
@@ -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": [
|
|
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
|
-
"
|
|
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,17 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@build-script/single-dog-asset",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.32",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": "https://github.com/GongT/baobao",
|
|
6
|
-
"dependencies": {
|
|
7
|
-
"tslib": "^2.6.0"
|
|
8
|
-
},
|
|
9
6
|
"devDependencies": {
|
|
10
|
-
"
|
|
7
|
+
"prettier": "^3.3.3"
|
|
11
8
|
},
|
|
12
9
|
"scripts": {
|
|
13
|
-
"build": "",
|
|
14
|
-
"
|
|
15
|
-
"
|
|
10
|
+
"build": "true",
|
|
11
|
+
"clean": "true",
|
|
12
|
+
"test": "true",
|
|
13
|
+
"watch": "true"
|
|
16
14
|
}
|
|
17
15
|
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|