@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 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
- link rush-pretty-package.json common/autoinstallers/rush-prettier/package.json
53
- link rush-pretty-pre-commit common/git-hooks/pre-commit
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
@@ -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
@@ -1,6 +1,6 @@
1
1
  # Rush files
2
2
  common/changes/
3
- common/scripts/
3
+ common/scripts/install-run*
4
4
  CHANGELOG.*
5
5
 
6
6
  # Package manager files
@@ -12,6 +12,7 @@ module.exports = {
12
12
  requirePragma: false,
13
13
  insertPragma: false,
14
14
  endOfLine: 'lf',
15
+ useTabs: true,
15
16
  overrides: [
16
17
  {
17
18
  files: ['*.yaml', '*.yml'],
@@ -5,6 +5,6 @@
5
5
  "dependencies": {
6
6
  "@build-script/rush-tools": "latest",
7
7
  "@build-script/single-dog-asset": "latest",
8
- "@build-script/poormans-package-change": "latest"
8
+ "@build-script/node-package-tools": "latest"
9
9
  }
10
10
  }
@@ -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
+ }
@@ -0,0 +1,6 @@
1
+ {
2
+ "extends": "./tsconfig.legacy.json",
3
+ "compilerOptions": {
4
+ "module": "CommonJS"
5
+ }
6
+ }
@@ -1,10 +1,11 @@
1
1
  {
2
2
  "compilerOptions": {
3
3
  "target": "ESNext",
4
- "module": "CommonJS",
5
- "moduleResolution": "Node",
6
- "resolvePackageJsonExports": false,
7
- "resolvePackageJsonImports": false,
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": true,
18
- "moduleDetection": "auto",
18
+ "assumeChangesOnlyAffectDirectDependencies": false,
19
+ "moduleDetection": "force",
19
20
  "checkJs": false,
20
- "composite": false,
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": false,
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": ["../node_modules/@types", "../node_modules"],
53
+ "typeRoots": [
54
+ "../node_modules/@types",
55
+ "../node_modules"
56
+ ],
58
57
  "types": [],
59
58
  "removeComments": false,
60
59
  "sourceMap": true,
61
- "stripInternal": true,
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": false,
70
+ "incremental": true,
73
71
  "jsxImportSource": "react",
74
72
  "jsx": "react-jsx"
75
73
  }
@@ -0,0 +1,9 @@
1
+ {
2
+ "extends": "./tsconfig.json",
3
+ "compilerOptions": {
4
+ "module": "ESNext",
5
+ "moduleResolution": "Node10",
6
+ "resolvePackageJsonExports": false,
7
+ "resolvePackageJsonImports": false
8
+ }
9
+ }
@@ -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,17 +1,15 @@
1
1
  {
2
2
  "name": "@build-script/single-dog-asset",
3
- "version": "1.0.30",
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
- "@types/prettier": "^2.7.3"
7
+ "prettier": "^3.3.3"
11
8
  },
12
9
  "scripts": {
13
- "build": "",
14
- "build:watch": "",
15
- "clean": ""
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