@tanstack/router-vite-plugin 1.1.8

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.
Files changed (156) hide show
  1. package/LICENSE +21 -0
  2. package/build/cjs/_virtual/_commonjsHelpers.js +16 -0
  3. package/build/cjs/_virtual/_commonjsHelpers.js.map +1 -0
  4. package/build/cjs/_virtual/index.js +16 -0
  5. package/build/cjs/_virtual/index.js.map +1 -0
  6. package/build/cjs/_virtual/make-dir.js +16 -0
  7. package/build/cjs/_virtual/make-dir.js.map +1 -0
  8. package/build/cjs/_virtual/utils.js +16 -0
  9. package/build/cjs/_virtual/utils.js.map +1 -0
  10. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/copy/copy-sync.js +188 -0
  11. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/copy/copy-sync.js.map +1 -0
  12. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/copy/copy.js +255 -0
  13. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/copy/copy.js.map +1 -0
  14. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/copy/index.js +24 -0
  15. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/copy/index.js.map +1 -0
  16. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/empty/index.js +59 -0
  17. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/empty/index.js.map +1 -0
  18. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/file.js +87 -0
  19. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/file.js.map +1 -0
  20. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/index.js +40 -0
  21. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/index.js.map +1 -0
  22. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/link.js +84 -0
  23. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/link.js.map +1 -0
  24. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/symlink-paths.js +116 -0
  25. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/symlink-paths.js.map +1 -0
  26. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/symlink-type.js +46 -0
  27. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/symlink-type.js.map +1 -0
  28. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/symlink.js +105 -0
  29. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/ensure/symlink.js.map +1 -0
  30. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/fs/index.js +146 -0
  31. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/fs/index.js.map +1 -0
  32. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/index.js +41 -0
  33. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/index.js.map +1 -0
  34. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/json/index.js +34 -0
  35. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/json/index.js.map +1 -0
  36. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/json/jsonfile.js +26 -0
  37. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/json/jsonfile.js.map +1 -0
  38. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/json/output-json-sync.js +28 -0
  39. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/json/output-json-sync.js.map +1 -0
  40. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/json/output-json.js +28 -0
  41. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/json/output-json.js.map +1 -0
  42. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/mkdirs/index.js +32 -0
  43. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/mkdirs/index.js.map +1 -0
  44. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/mkdirs/make-dir.js +49 -0
  45. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/mkdirs/make-dir.js.map +1 -0
  46. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/mkdirs/utils.js +35 -0
  47. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/mkdirs/utils.js.map +1 -0
  48. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/move/index.js +24 -0
  49. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/move/index.js.map +1 -0
  50. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/move/move-sync.js +74 -0
  51. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/move/move-sync.js.map +1 -0
  52. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/move/move.js +96 -0
  53. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/move/move.js.map +1 -0
  54. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/output-file/index.js +59 -0
  55. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/output-file/index.js.map +1 -0
  56. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/path-exists/index.js +30 -0
  57. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/path-exists/index.js.map +1 -0
  58. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/remove/index.js +39 -0
  59. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/remove/index.js.map +1 -0
  60. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/remove/rimraf.js +319 -0
  61. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/remove/rimraf.js.map +1 -0
  62. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/util/stat.js +172 -0
  63. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/util/stat.js.map +1 -0
  64. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/util/utimes.js +41 -0
  65. package/build/cjs/node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/util/utimes.js.map +1 -0
  66. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/clone.js +36 -0
  67. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/clone.js.map +1 -0
  68. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js +469 -0
  69. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js.map +1 -0
  70. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/legacy-streams.js +135 -0
  71. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/legacy-streams.js.map +1 -0
  72. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/polyfills.js +372 -0
  73. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.10/node_modules/graceful-fs/polyfills.js.map +1 -0
  74. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js +45 -0
  75. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/clone.js.map +1 -0
  76. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js +479 -0
  77. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/graceful-fs.js.map +1 -0
  78. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js +143 -0
  79. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/legacy-streams.js.map +1 -0
  80. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js +380 -0
  81. package/build/cjs/node_modules/.pnpm/graceful-fs@4.2.11/node_modules/graceful-fs/polyfills.js.map +1 -0
  82. package/build/cjs/node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js +108 -0
  83. package/build/cjs/node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/index.js.map +1 -0
  84. package/build/cjs/node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js +29 -0
  85. package/build/cjs/node_modules/.pnpm/jsonfile@6.1.0/node_modules/jsonfile/utils.js.map +1 -0
  86. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/doc.js +1286 -0
  87. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/doc.js.map +1 -0
  88. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/index.js +21292 -0
  89. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/index.js.map +1 -0
  90. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/internal/internal.js +6513 -0
  91. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/internal/internal.js.map +1 -0
  92. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/acorn.js +31 -0
  93. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/acorn.js.map +1 -0
  94. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/angular.js +20 -0
  95. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/angular.js.map +1 -0
  96. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/babel.js +34 -0
  97. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/babel.js.map +1 -0
  98. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/estree.js +55 -0
  99. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/estree.js.map +1 -0
  100. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/flow.js +39 -0
  101. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/flow.js.map +1 -0
  102. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/glimmer.js +50 -0
  103. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/glimmer.js.map +1 -0
  104. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/graphql.js +50 -0
  105. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/graphql.js.map +1 -0
  106. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/html.js +40 -0
  107. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/html.js.map +1 -0
  108. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/markdown.js +80 -0
  109. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/markdown.js.map +1 -0
  110. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/meriyah.js +23 -0
  111. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/meriyah.js.map +1 -0
  112. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/postcss.js +73 -0
  113. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/postcss.js.map +1 -0
  114. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/typescript.js +43 -0
  115. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/typescript.js.map +1 -0
  116. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/yaml.js +182 -0
  117. package/build/cjs/node_modules/.pnpm/prettier@3.0.2/node_modules/prettier/plugins/yaml.js.map +1 -0
  118. package/build/cjs/node_modules/.pnpm/zod@3.21.4/node_modules/zod/lib/index.js +4071 -0
  119. package/build/cjs/node_modules/.pnpm/zod@3.21.4/node_modules/zod/lib/index.js.map +1 -0
  120. package/build/cjs/packages/router-cli/src/config.js +30 -0
  121. package/build/cjs/packages/router-cli/src/config.js.map +1 -0
  122. package/build/cjs/packages/router-cli/src/generator.js +291 -0
  123. package/build/cjs/packages/router-cli/src/generator.js.map +1 -0
  124. package/build/cjs/packages/router-vite-plugin/src/index.js +67 -0
  125. package/build/cjs/packages/router-vite-plugin/src/index.js.map +1 -0
  126. package/build/esm/acorn-cRrhQtA6.js +26 -0
  127. package/build/esm/acorn-cRrhQtA6.js.map +1 -0
  128. package/build/esm/angular-HROv_CFe.js +15 -0
  129. package/build/esm/angular-HROv_CFe.js.map +1 -0
  130. package/build/esm/babel-WUIEfgoi.js +29 -0
  131. package/build/esm/babel-WUIEfgoi.js.map +1 -0
  132. package/build/esm/estree-XSgQYP4a.js +48 -0
  133. package/build/esm/estree-XSgQYP4a.js.map +1 -0
  134. package/build/esm/flow-RpbLwlct.js +34 -0
  135. package/build/esm/flow-RpbLwlct.js.map +1 -0
  136. package/build/esm/glimmer-nYL0saZ4.js +43 -0
  137. package/build/esm/glimmer-nYL0saZ4.js.map +1 -0
  138. package/build/esm/graphql-w_qkTZIK.js +42 -0
  139. package/build/esm/graphql-w_qkTZIK.js.map +1 -0
  140. package/build/esm/html-4mPGSUFL.js +32 -0
  141. package/build/esm/html-4mPGSUFL.js.map +1 -0
  142. package/build/esm/index.js +33321 -0
  143. package/build/esm/index.js.map +1 -0
  144. package/build/esm/markdown-MvZ6UzH9.js +72 -0
  145. package/build/esm/markdown-MvZ6UzH9.js.map +1 -0
  146. package/build/esm/meriyah-kfEfGGMB.js +18 -0
  147. package/build/esm/meriyah-kfEfGGMB.js.map +1 -0
  148. package/build/esm/postcss-yu5rIF8w.js +65 -0
  149. package/build/esm/postcss-yu5rIF8w.js.map +1 -0
  150. package/build/esm/typescript-CETgxtB5.js +38 -0
  151. package/build/esm/typescript-CETgxtB5.js.map +1 -0
  152. package/build/esm/yaml-_aqeuMai.js +174 -0
  153. package/build/esm/yaml-_aqeuMai.js.map +1 -0
  154. package/build/types/index.d.ts +17 -0
  155. package/package.json +44 -0
  156. package/src/index.ts +58 -0
@@ -0,0 +1,96 @@
1
+ /**
2
+ * @tanstack/router-vite-plugin/src/index.ts
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */
11
+ 'use strict';
12
+
13
+ var gracefulFs = require('../../../../../graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js');
14
+ var path$1 = require('path');
15
+ var index$2 = require('../copy/index.js');
16
+ var index = require('../remove/index.js');
17
+ var index$1 = require('../mkdirs/index.js');
18
+ var index$3 = require('../path-exists/index.js');
19
+ var stat$1 = require('../util/stat.js');
20
+
21
+ const fs = gracefulFs.gracefulFs;
22
+ const path = path$1;
23
+ const copy = index$2.copy.copy;
24
+ const remove = index.remove_1.remove;
25
+ const mkdirp = index$1.mkdirs.mkdirp;
26
+ const pathExists = index$3.pathExists_1.pathExists;
27
+ const stat = stat$1.stat;
28
+
29
+ function move (src, dest, opts, cb) {
30
+ if (typeof opts === 'function') {
31
+ cb = opts;
32
+ opts = {};
33
+ }
34
+
35
+ opts = opts || {};
36
+
37
+ const overwrite = opts.overwrite || opts.clobber || false;
38
+
39
+ stat.checkPaths(src, dest, 'move', opts, (err, stats) => {
40
+ if (err) return cb(err)
41
+ const { srcStat, isChangingCase = false } = stats;
42
+ stat.checkParentPaths(src, srcStat, dest, 'move', err => {
43
+ if (err) return cb(err)
44
+ if (isParentRoot(dest)) return doRename(src, dest, overwrite, isChangingCase, cb)
45
+ mkdirp(path.dirname(dest), err => {
46
+ if (err) return cb(err)
47
+ return doRename(src, dest, overwrite, isChangingCase, cb)
48
+ });
49
+ });
50
+ });
51
+ }
52
+
53
+ function isParentRoot (dest) {
54
+ const parent = path.dirname(dest);
55
+ const parsedPath = path.parse(parent);
56
+ return parsedPath.root === parent
57
+ }
58
+
59
+ function doRename (src, dest, overwrite, isChangingCase, cb) {
60
+ if (isChangingCase) return rename(src, dest, overwrite, cb)
61
+ if (overwrite) {
62
+ return remove(dest, err => {
63
+ if (err) return cb(err)
64
+ return rename(src, dest, overwrite, cb)
65
+ })
66
+ }
67
+ pathExists(dest, (err, destExists) => {
68
+ if (err) return cb(err)
69
+ if (destExists) return cb(new Error('dest already exists.'))
70
+ return rename(src, dest, overwrite, cb)
71
+ });
72
+ }
73
+
74
+ function rename (src, dest, overwrite, cb) {
75
+ fs.rename(src, dest, err => {
76
+ if (!err) return cb()
77
+ if (err.code !== 'EXDEV') return cb(err)
78
+ return moveAcrossDevice(src, dest, overwrite, cb)
79
+ });
80
+ }
81
+
82
+ function moveAcrossDevice (src, dest, overwrite, cb) {
83
+ const opts = {
84
+ overwrite,
85
+ errorOnExist: true
86
+ };
87
+ copy(src, dest, opts, err => {
88
+ if (err) return cb(err)
89
+ return remove(src, cb)
90
+ });
91
+ }
92
+
93
+ var move_1 = move;
94
+
95
+ exports.move_1 = move_1;
96
+ //# sourceMappingURL=move.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"move.js","sources":["../../../../../../../../../../../node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/move/move.js"],"sourcesContent":["'use strict'\n\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst copy = require('../copy').copy\nconst remove = require('../remove').remove\nconst mkdirp = require('../mkdirs').mkdirp\nconst pathExists = require('../path-exists').pathExists\nconst stat = require('../util/stat')\n\nfunction move (src, dest, opts, cb) {\n if (typeof opts === 'function') {\n cb = opts\n opts = {}\n }\n\n opts = opts || {}\n\n const overwrite = opts.overwrite || opts.clobber || false\n\n stat.checkPaths(src, dest, 'move', opts, (err, stats) => {\n if (err) return cb(err)\n const { srcStat, isChangingCase = false } = stats\n stat.checkParentPaths(src, srcStat, dest, 'move', err => {\n if (err) return cb(err)\n if (isParentRoot(dest)) return doRename(src, dest, overwrite, isChangingCase, cb)\n mkdirp(path.dirname(dest), err => {\n if (err) return cb(err)\n return doRename(src, dest, overwrite, isChangingCase, cb)\n })\n })\n })\n}\n\nfunction isParentRoot (dest) {\n const parent = path.dirname(dest)\n const parsedPath = path.parse(parent)\n return parsedPath.root === parent\n}\n\nfunction doRename (src, dest, overwrite, isChangingCase, cb) {\n if (isChangingCase) return rename(src, dest, overwrite, cb)\n if (overwrite) {\n return remove(dest, err => {\n if (err) return cb(err)\n return rename(src, dest, overwrite, cb)\n })\n }\n pathExists(dest, (err, destExists) => {\n if (err) return cb(err)\n if (destExists) return cb(new Error('dest already exists.'))\n return rename(src, dest, overwrite, cb)\n })\n}\n\nfunction rename (src, dest, overwrite, cb) {\n fs.rename(src, dest, err => {\n if (!err) return cb()\n if (err.code !== 'EXDEV') return cb(err)\n return moveAcrossDevice(src, dest, overwrite, cb)\n })\n}\n\nfunction moveAcrossDevice (src, dest, overwrite, cb) {\n const opts = {\n overwrite,\n errorOnExist: true\n }\n copy(src, dest, opts, err => {\n if (err) return cb(err)\n return remove(src, cb)\n })\n}\n\nmodule.exports = move\n"],"names":["require$$0","require$$1","require$$2","require$$3","require$$4","require$$5","require$$6"],"mappings":";;;;;;;;;;;;;;;;;;;;AAEA,MAAM,EAAE,GAAGA,sBAAsB;AACjC,MAAM,IAAI,GAAGC,OAAe;AAC5B,MAAM,IAAI,GAAGC,YAAkB,CAAC,KAAI;AACpC,MAAM,MAAM,GAAGC,cAAoB,CAAC,OAAM;AAC1C,MAAM,MAAM,GAAGC,cAAoB,CAAC,OAAM;AAC1C,MAAM,UAAU,GAAGC,oBAAyB,CAAC,WAAU;AACvD,MAAM,IAAI,GAAGC,YAAuB;AACpC;AACA,SAAS,IAAI,EAAE,GAAG,EAAE,IAAI,EAAE,IAAI,EAAE,EAAE,EAAE;AACpC,EAAE,IAAI,OAAO,IAAI,KAAK,UAAU,EAAE;AAClC,IAAI,EAAE,GAAG,KAAI;AACb,IAAI,IAAI,GAAG,GAAE;AACb,GAAG;AACH;AACA,EAAE,IAAI,GAAG,IAAI,IAAI,GAAE;AACnB;AACA,EAAE,MAAM,SAAS,GAAG,IAAI,CAAC,SAAS,IAAI,IAAI,CAAC,OAAO,IAAI,MAAK;AAC3D;AACA,EAAE,IAAI,CAAC,UAAU,CAAC,GAAG,EAAE,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,CAAC,GAAG,EAAE,KAAK,KAAK;AAC3D,IAAI,IAAI,GAAG,EAAE,OAAO,EA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;AACD;AACA,IAAA,MAAc,GAAG;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,59 @@
1
+ /**
2
+ * @tanstack/router-vite-plugin/src/index.ts
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */
11
+ 'use strict';
12
+
13
+ var require$$0 = require('universalify');
14
+ var gracefulFs = require('../../../../../graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js');
15
+ var path$1 = require('path');
16
+ var index = require('../mkdirs/index.js');
17
+ var index$1 = require('../path-exists/index.js');
18
+
19
+ const u = require$$0.fromCallback;
20
+ const fs = gracefulFs.gracefulFs;
21
+ const path = path$1;
22
+ const mkdir = index.mkdirs;
23
+ const pathExists = index$1.pathExists_1.pathExists;
24
+
25
+ function outputFile (file, data, encoding, callback) {
26
+ if (typeof encoding === 'function') {
27
+ callback = encoding;
28
+ encoding = 'utf8';
29
+ }
30
+
31
+ const dir = path.dirname(file);
32
+ pathExists(dir, (err, itDoes) => {
33
+ if (err) return callback(err)
34
+ if (itDoes) return fs.writeFile(file, data, encoding, callback)
35
+
36
+ mkdir.mkdirs(dir, err => {
37
+ if (err) return callback(err)
38
+
39
+ fs.writeFile(file, data, encoding, callback);
40
+ });
41
+ });
42
+ }
43
+
44
+ function outputFileSync (file, ...args) {
45
+ const dir = path.dirname(file);
46
+ if (fs.existsSync(dir)) {
47
+ return fs.writeFileSync(file, ...args)
48
+ }
49
+ mkdir.mkdirsSync(dir);
50
+ fs.writeFileSync(file, ...args);
51
+ }
52
+
53
+ var outputFile_1 = {
54
+ outputFile: u(outputFile),
55
+ outputFileSync
56
+ };
57
+
58
+ exports.outputFile_1 = outputFile_1;
59
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/output-file/index.js"],"sourcesContent":["'use strict'\n\nconst u = require('universalify').fromCallback\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst mkdir = require('../mkdirs')\nconst pathExists = require('../path-exists').pathExists\n\nfunction outputFile (file, data, encoding, callback) {\n if (typeof encoding === 'function') {\n callback = encoding\n encoding = 'utf8'\n }\n\n const dir = path.dirname(file)\n pathExists(dir, (err, itDoes) => {\n if (err) return callback(err)\n if (itDoes) return fs.writeFile(file, data, encoding, callback)\n\n mkdir.mkdirs(dir, err => {\n if (err) return callback(err)\n\n fs.writeFile(file, data, encoding, callback)\n })\n })\n}\n\nfunction outputFileSync (file, ...args) {\n const dir = path.dirname(file)\n if (fs.existsSync(dir)) {\n return fs.writeFileSync(file, ...args)\n }\n mkdir.mkdirsSync(dir)\n fs.writeFileSync(file, ...args)\n}\n\nmodule.exports = {\n outputFile: u(outputFile),\n outputFileSync\n}\n"],"names":["require$$1","require$$2","require$$3","require$$4"],"mappings":";;;;;;;;;;;;;;;;;;AAEA,MAAM,CAAC,GAAG,UAAuB,CAAC,aAAY;AAC9C,MAAM,EAAE,GAAGA,sBAAsB;AACjC,MAAM,IAAI,GAAGC,OAAe;AAC5B,MAAM,KAAK,GAAGC,aAAoB;AAClC,MAAM,UAAU,GAAGC,oBAAyB,CAAC,WAAU;AACvD;AACA,SAAS,UAAU,EAAE,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAE;AACrD,EAAE,IAAI,OAAO,QAAQ,KAAK,UAAU,EAAE;AACtC,IAAI,QAAQ,GAAG,SAAQ;AACvB,IAAI,QAAQ,GAAG,OAAM;AACrB,GAAG;AACH;AACA,EAAE,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAC;AAChC,EAAE,UAAU,CAAC,GAAG,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK;AACnC,IAAI,IAAI,GAAG,EAAE,OAAO,QAAQ,CAAC,GAAG,CAAC;AACjC,IAAI,IAAI,MAAM,EAAE,OAAO,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,CAAC;AACnE;AACA,IAAI,KAAK,CAAC,MAAM,CAAC,GAAG,EAAE,GAAG,IAAI;AAC7B,MAAM,IAAI,GAAG,EAAE,OAAO,QAAQ,CAAC,GAAG,CAAC;AACnC;AACA,MAAM,EAAE,CAAC,SAAS,CAAC,IAAI,EAAE,IAAI,EAAE,QAAQ,EAAE,QAAQ,EAAC;AAClD,KAAK,EAAC;AACN,GAAG,EAAC;AACJ,CAAC;AACD;AACA,SAAS,cAAc,EAAE,IAAI,EAAE,GAAG,IAAI,EAAE;AACxC,EAAE,MAAM,GAAG,GAAG,IAAI,CAAC,OAAO,CAAC,IAAI,EAAC;AAChC,EAAE,IAAI,EAAE,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;AAC1B,IAAI,OAAO,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,IAAI,CAAC;AAC1C,GAAG;AACH,EAAE,KAAK,CAAC,UAAU,CAAC,GAAG,EAAC;AACvB,EAAE,EAAE,CAAC,aAAa,CAAC,IAAI,EAAE,GAAG,IAAI,EAAC;AACjC,CAAC;AACD;AACA,IAAA,YAAc,GAAG;AACjB,EAAE,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC;AAC3B,EAAE,cAAc;AAChB;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,30 @@
1
+ /**
2
+ * @tanstack/router-vite-plugin/src/index.ts
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */
11
+ 'use strict';
12
+
13
+ var require$$0 = require('universalify');
14
+ require('../fs/index.js');
15
+ var index = require('../../../../../../../_virtual/index.js');
16
+
17
+ const u = require$$0.fromPromise;
18
+ const fs = index.__exports;
19
+
20
+ function pathExists (path) {
21
+ return fs.access(path).then(() => true).catch(() => false)
22
+ }
23
+
24
+ var pathExists_1 = {
25
+ pathExists: u(pathExists),
26
+ pathExistsSync: fs.existsSync
27
+ };
28
+
29
+ exports.pathExists_1 = pathExists_1;
30
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/path-exists/index.js"],"sourcesContent":["'use strict'\nconst u = require('universalify').fromPromise\nconst fs = require('../fs')\n\nfunction pathExists (path) {\n return fs.access(path).then(() => true).catch(() => false)\n}\n\nmodule.exports = {\n pathExists: u(pathExists),\n pathExistsSync: fs.existsSync\n}\n"],"names":["require$$1"],"mappings":";;;;;;;;;;;;;;;;AACA,MAAM,CAAC,GAAG,UAAuB,CAAC,YAAW;AAC7C,MAAM,EAAE,GAAGA,gBAAgB;AAC3B;AACA,SAAS,UAAU,EAAE,IAAI,EAAE;AAC3B,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,CAAC,CAAC,IAAI,CAAC,MAAM,IAAI,CAAC,CAAC,KAAK,CAAC,MAAM,KAAK,CAAC;AAC5D,CAAC;AACD;AACA,IAAA,YAAc,GAAG;AACjB,EAAE,UAAU,EAAE,CAAC,CAAC,UAAU,CAAC;AAC3B,EAAE,cAAc,EAAE,EAAE,CAAC,UAAU;AAC/B;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,39 @@
1
+ /**
2
+ * @tanstack/router-vite-plugin/src/index.ts
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */
11
+ 'use strict';
12
+
13
+ var gracefulFs = require('../../../../../graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js');
14
+ var require$$0 = require('universalify');
15
+ var rimraf$1 = require('./rimraf.js');
16
+
17
+ const fs = gracefulFs.gracefulFs;
18
+ const u = require$$0.fromCallback;
19
+ const rimraf = rimraf$1.rimraf_1;
20
+
21
+ function remove (path, callback) {
22
+ // Node 14.14.0+
23
+ if (fs.rm) return fs.rm(path, { recursive: true, force: true }, callback)
24
+ rimraf(path, callback);
25
+ }
26
+
27
+ function removeSync (path) {
28
+ // Node 14.14.0+
29
+ if (fs.rmSync) return fs.rmSync(path, { recursive: true, force: true })
30
+ rimraf.sync(path);
31
+ }
32
+
33
+ var remove_1 = {
34
+ remove: u(remove),
35
+ removeSync
36
+ };
37
+
38
+ exports.remove_1 = remove_1;
39
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.js","sources":["../../../../../../../../../../../node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/remove/index.js"],"sourcesContent":["'use strict'\n\nconst fs = require('graceful-fs')\nconst u = require('universalify').fromCallback\nconst rimraf = require('./rimraf')\n\nfunction remove (path, callback) {\n // Node 14.14.0+\n if (fs.rm) return fs.rm(path, { recursive: true, force: true }, callback)\n rimraf(path, callback)\n}\n\nfunction removeSync (path) {\n // Node 14.14.0+\n if (fs.rmSync) return fs.rmSync(path, { recursive: true, force: true })\n rimraf.sync(path)\n}\n\nmodule.exports = {\n remove: u(remove),\n removeSync\n}\n"],"names":["require$$0","require$$1","require$$2"],"mappings":";;;;;;;;;;;;;;;;AAEA,MAAM,EAAE,GAAGA,sBAAsB;AACjC,MAAM,CAAC,GAAGC,UAAuB,CAAC,aAAY;AAC9C,MAAM,MAAM,GAAGC,kBAAmB;AAClC;AACA,SAAS,MAAM,EAAE,IAAI,EAAE,QAAQ,EAAE;AACjC;AACA,EAAE,IAAI,EAAE,CAAC,EAAE,EAAE,OAAO,EAAE,CAAC,EAAE,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,EAAE,QAAQ,CAAC;AAC3E,EAAE,MAAM,CAAC,IAAI,EAAE,QAAQ,EAAC;AACxB,CAAC;AACD;AACA,SAAS,UAAU,EAAE,IAAI,EAAE;AAC3B;AACA,EAAE,IAAI,EAAE,CAAC,MAAM,EAAE,OAAO,EAAE,CAAC,MAAM,CAAC,IAAI,EAAE,EAAE,SAAS,EAAE,IAAI,EAAE,KAAK,EAAE,IAAI,EAAE,CAAC;AACzE,EAAE,MAAM,CAAC,IAAI,CAAC,IAAI,EAAC;AACnB,CAAC;AACD;AACA,IAAA,QAAc,GAAG;AACjB,EAAE,MAAM,EAAE,CAAC,CAAC,MAAM,CAAC;AACnB,EAAE,UAAU;AACZ;;;;","x_google_ignoreList":[0]}
@@ -0,0 +1,319 @@
1
+ /**
2
+ * @tanstack/router-vite-plugin/src/index.ts
3
+ *
4
+ * Copyright (c) TanStack
5
+ *
6
+ * This source code is licensed under the MIT license found in the
7
+ * LICENSE.md file in the root directory of this source tree.
8
+ *
9
+ * @license MIT
10
+ */
11
+ 'use strict';
12
+
13
+ var gracefulFs = require('../../../../../graceful-fs@4.2.10/node_modules/graceful-fs/graceful-fs.js');
14
+ var path$1 = require('path');
15
+ var assert4 = require('assert');
16
+
17
+ const fs = gracefulFs.gracefulFs;
18
+ const path = path$1;
19
+ const assert = assert4;
20
+
21
+ const isWindows = (process.platform === 'win32');
22
+
23
+ function defaults (options) {
24
+ const methods = [
25
+ 'unlink',
26
+ 'chmod',
27
+ 'stat',
28
+ 'lstat',
29
+ 'rmdir',
30
+ 'readdir'
31
+ ];
32
+ methods.forEach(m => {
33
+ options[m] = options[m] || fs[m];
34
+ m = m + 'Sync';
35
+ options[m] = options[m] || fs[m];
36
+ });
37
+
38
+ options.maxBusyTries = options.maxBusyTries || 3;
39
+ }
40
+
41
+ function rimraf (p, options, cb) {
42
+ let busyTries = 0;
43
+
44
+ if (typeof options === 'function') {
45
+ cb = options;
46
+ options = {};
47
+ }
48
+
49
+ assert(p, 'rimraf: missing path');
50
+ assert.strictEqual(typeof p, 'string', 'rimraf: path should be a string');
51
+ assert.strictEqual(typeof cb, 'function', 'rimraf: callback function required');
52
+ assert(options, 'rimraf: invalid options argument provided');
53
+ assert.strictEqual(typeof options, 'object', 'rimraf: options should be object');
54
+
55
+ defaults(options);
56
+
57
+ rimraf_(p, options, function CB (er) {
58
+ if (er) {
59
+ if ((er.code === 'EBUSY' || er.code === 'ENOTEMPTY' || er.code === 'EPERM') &&
60
+ busyTries < options.maxBusyTries) {
61
+ busyTries++;
62
+ const time = busyTries * 100;
63
+ // try again, with the same exact callback as this one.
64
+ return setTimeout(() => rimraf_(p, options, CB), time)
65
+ }
66
+
67
+ // already gone
68
+ if (er.code === 'ENOENT') er = null;
69
+ }
70
+
71
+ cb(er);
72
+ });
73
+ }
74
+
75
+ // Two possible strategies.
76
+ // 1. Assume it's a file. unlink it, then do the dir stuff on EPERM or EISDIR
77
+ // 2. Assume it's a directory. readdir, then do the file stuff on ENOTDIR
78
+ //
79
+ // Both result in an extra syscall when you guess wrong. However, there
80
+ // are likely far more normal files in the world than directories. This
81
+ // is based on the assumption that a the average number of files per
82
+ // directory is >= 1.
83
+ //
84
+ // If anyone ever complains about this, then I guess the strategy could
85
+ // be made configurable somehow. But until then, YAGNI.
86
+ function rimraf_ (p, options, cb) {
87
+ assert(p);
88
+ assert(options);
89
+ assert(typeof cb === 'function');
90
+
91
+ // sunos lets the root user unlink directories, which is... weird.
92
+ // so we have to lstat here and make sure it's not a dir.
93
+ options.lstat(p, (er, st) => {
94
+ if (er && er.code === 'ENOENT') {
95
+ return cb(null)
96
+ }
97
+
98
+ // Windows can EPERM on stat. Life is suffering.
99
+ if (er && er.code === 'EPERM' && isWindows) {
100
+ return fixWinEPERM(p, options, er, cb)
101
+ }
102
+
103
+ if (st && st.isDirectory()) {
104
+ return rmdir(p, options, er, cb)
105
+ }
106
+
107
+ options.unlink(p, er => {
108
+ if (er) {
109
+ if (er.code === 'ENOENT') {
110
+ return cb(null)
111
+ }
112
+ if (er.code === 'EPERM') {
113
+ return (isWindows)
114
+ ? fixWinEPERM(p, options, er, cb)
115
+ : rmdir(p, options, er, cb)
116
+ }
117
+ if (er.code === 'EISDIR') {
118
+ return rmdir(p, options, er, cb)
119
+ }
120
+ }
121
+ return cb(er)
122
+ });
123
+ });
124
+ }
125
+
126
+ function fixWinEPERM (p, options, er, cb) {
127
+ assert(p);
128
+ assert(options);
129
+ assert(typeof cb === 'function');
130
+
131
+ options.chmod(p, 0o666, er2 => {
132
+ if (er2) {
133
+ cb(er2.code === 'ENOENT' ? null : er);
134
+ } else {
135
+ options.stat(p, (er3, stats) => {
136
+ if (er3) {
137
+ cb(er3.code === 'ENOENT' ? null : er);
138
+ } else if (stats.isDirectory()) {
139
+ rmdir(p, options, er, cb);
140
+ } else {
141
+ options.unlink(p, cb);
142
+ }
143
+ });
144
+ }
145
+ });
146
+ }
147
+
148
+ function fixWinEPERMSync (p, options, er) {
149
+ let stats;
150
+
151
+ assert(p);
152
+ assert(options);
153
+
154
+ try {
155
+ options.chmodSync(p, 0o666);
156
+ } catch (er2) {
157
+ if (er2.code === 'ENOENT') {
158
+ return
159
+ } else {
160
+ throw er
161
+ }
162
+ }
163
+
164
+ try {
165
+ stats = options.statSync(p);
166
+ } catch (er3) {
167
+ if (er3.code === 'ENOENT') {
168
+ return
169
+ } else {
170
+ throw er
171
+ }
172
+ }
173
+
174
+ if (stats.isDirectory()) {
175
+ rmdirSync(p, options, er);
176
+ } else {
177
+ options.unlinkSync(p);
178
+ }
179
+ }
180
+
181
+ function rmdir (p, options, originalEr, cb) {
182
+ assert(p);
183
+ assert(options);
184
+ assert(typeof cb === 'function');
185
+
186
+ // try to rmdir first, and only readdir on ENOTEMPTY or EEXIST (SunOS)
187
+ // if we guessed wrong, and it's not a directory, then
188
+ // raise the original error.
189
+ options.rmdir(p, er => {
190
+ if (er && (er.code === 'ENOTEMPTY' || er.code === 'EEXIST' || er.code === 'EPERM')) {
191
+ rmkids(p, options, cb);
192
+ } else if (er && er.code === 'ENOTDIR') {
193
+ cb(originalEr);
194
+ } else {
195
+ cb(er);
196
+ }
197
+ });
198
+ }
199
+
200
+ function rmkids (p, options, cb) {
201
+ assert(p);
202
+ assert(options);
203
+ assert(typeof cb === 'function');
204
+
205
+ options.readdir(p, (er, files) => {
206
+ if (er) return cb(er)
207
+
208
+ let n = files.length;
209
+ let errState;
210
+
211
+ if (n === 0) return options.rmdir(p, cb)
212
+
213
+ files.forEach(f => {
214
+ rimraf(path.join(p, f), options, er => {
215
+ if (errState) {
216
+ return
217
+ }
218
+ if (er) return cb(errState = er)
219
+ if (--n === 0) {
220
+ options.rmdir(p, cb);
221
+ }
222
+ });
223
+ });
224
+ });
225
+ }
226
+
227
+ // this looks simpler, and is strictly *faster*, but will
228
+ // tie up the JavaScript thread and fail on excessively
229
+ // deep directory trees.
230
+ function rimrafSync (p, options) {
231
+ let st;
232
+
233
+ options = options || {};
234
+ defaults(options);
235
+
236
+ assert(p, 'rimraf: missing path');
237
+ assert.strictEqual(typeof p, 'string', 'rimraf: path should be a string');
238
+ assert(options, 'rimraf: missing options');
239
+ assert.strictEqual(typeof options, 'object', 'rimraf: options should be object');
240
+
241
+ try {
242
+ st = options.lstatSync(p);
243
+ } catch (er) {
244
+ if (er.code === 'ENOENT') {
245
+ return
246
+ }
247
+
248
+ // Windows can EPERM on stat. Life is suffering.
249
+ if (er.code === 'EPERM' && isWindows) {
250
+ fixWinEPERMSync(p, options, er);
251
+ }
252
+ }
253
+
254
+ try {
255
+ // sunos lets the root user unlink directories, which is... weird.
256
+ if (st && st.isDirectory()) {
257
+ rmdirSync(p, options, null);
258
+ } else {
259
+ options.unlinkSync(p);
260
+ }
261
+ } catch (er) {
262
+ if (er.code === 'ENOENT') {
263
+ return
264
+ } else if (er.code === 'EPERM') {
265
+ return isWindows ? fixWinEPERMSync(p, options, er) : rmdirSync(p, options, er)
266
+ } else if (er.code !== 'EISDIR') {
267
+ throw er
268
+ }
269
+ rmdirSync(p, options, er);
270
+ }
271
+ }
272
+
273
+ function rmdirSync (p, options, originalEr) {
274
+ assert(p);
275
+ assert(options);
276
+
277
+ try {
278
+ options.rmdirSync(p);
279
+ } catch (er) {
280
+ if (er.code === 'ENOTDIR') {
281
+ throw originalEr
282
+ } else if (er.code === 'ENOTEMPTY' || er.code === 'EEXIST' || er.code === 'EPERM') {
283
+ rmkidsSync(p, options);
284
+ } else if (er.code !== 'ENOENT') {
285
+ throw er
286
+ }
287
+ }
288
+ }
289
+
290
+ function rmkidsSync (p, options) {
291
+ assert(p);
292
+ assert(options);
293
+ options.readdirSync(p).forEach(f => rimrafSync(path.join(p, f), options));
294
+
295
+ if (isWindows) {
296
+ // We only end up here once we got ENOTEMPTY at least once, and
297
+ // at this point, we are guaranteed to have removed all the kids.
298
+ // So, we know that it won't be ENOENT or ENOTDIR or anything else.
299
+ // try really hard to delete stuff on windows, because it has a
300
+ // PROFOUNDLY annoying habit of not closing handles promptly when
301
+ // files are deleted, resulting in spurious ENOTEMPTY errors.
302
+ const startTime = Date.now();
303
+ do {
304
+ try {
305
+ const ret = options.rmdirSync(p, options);
306
+ return ret
307
+ } catch {}
308
+ } while (Date.now() - startTime < 500) // give up after 500ms
309
+ } else {
310
+ const ret = options.rmdirSync(p, options);
311
+ return ret
312
+ }
313
+ }
314
+
315
+ var rimraf_1 = rimraf;
316
+ rimraf.sync = rimrafSync;
317
+
318
+ exports.rimraf_1 = rimraf_1;
319
+ //# sourceMappingURL=rimraf.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"rimraf.js","sources":["../../../../../../../../../../../node_modules/.pnpm/fs-extra@10.1.0/node_modules/fs-extra/lib/remove/rimraf.js"],"sourcesContent":["'use strict'\n\nconst fs = require('graceful-fs')\nconst path = require('path')\nconst assert = require('assert')\n\nconst isWindows = (process.platform === 'win32')\n\nfunction defaults (options) {\n const methods = [\n 'unlink',\n 'chmod',\n 'stat',\n 'lstat',\n 'rmdir',\n 'readdir'\n ]\n methods.forEach(m => {\n options[m] = options[m] || fs[m]\n m = m + 'Sync'\n options[m] = options[m] || fs[m]\n })\n\n options.maxBusyTries = options.maxBusyTries || 3\n}\n\nfunction rimraf (p, options, cb) {\n let busyTries = 0\n\n if (typeof options === 'function') {\n cb = options\n options = {}\n }\n\n assert(p, 'rimraf: missing path')\n assert.strictEqual(typeof p, 'string', 'rimraf: path should be a string')\n assert.strictEqual(typeof cb, 'function', 'rimraf: callback function required')\n assert(options, 'rimraf: invalid options argument provided')\n assert.strictEqual(typeof options, 'object', 'rimraf: options should be object')\n\n defaults(options)\n\n rimraf_(p, options, function CB (er) {\n if (er) {\n if ((er.code === 'EBUSY' || er.code === 'ENOTEMPTY' || er.code === 'EPERM') &&\n busyTries < options.maxBusyTries) {\n busyTries++\n const time = busyTries * 100\n // try again, with the same exact callback as this one.\n return setTimeout(() => rimraf_(p, options, CB), time)\n }\n\n // already gone\n if (er.code === 'ENOENT') er = null\n }\n\n cb(er)\n })\n}\n\n// Two possible strategies.\n// 1. Assume it's a file. unlink it, then do the dir stuff on EPERM or EISDIR\n// 2. Assume it's a directory. readdir, then do the file stuff on ENOTDIR\n//\n// Both result in an extra syscall when you guess wrong. However, there\n// are likely far more normal files in the world than directories. This\n// is based on the assumption that a the average number of files per\n// directory is >= 1.\n//\n// If anyone ever complains about this, then I guess the strategy could\n// be made configurable somehow. But until then, YAGNI.\nfunction rimraf_ (p, options, cb) {\n assert(p)\n assert(options)\n assert(typeof cb === 'function')\n\n // sunos lets the root user unlink directories, which is... weird.\n // so we have to lstat here and make sure it's not a dir.\n options.lstat(p, (er, st) => {\n if (er && er.code === 'ENOENT') {\n return cb(null)\n }\n\n // Windows can EPERM on stat. Life is suffering.\n if (er && er.code === 'EPERM' && isWindows) {\n return fixWinEPERM(p, options, er, cb)\n }\n\n if (st && st.isDirectory()) {\n return rmdir(p, options, er, cb)\n }\n\n options.unlink(p, er => {\n if (er) {\n if (er.code === 'ENOENT') {\n return cb(null)\n }\n if (er.code === 'EPERM') {\n return (isWindows)\n ? fixWinEPERM(p, options, er, cb)\n : rmdir(p, options, er, cb)\n }\n if (er.code === 'EISDIR') {\n return rmdir(p, options, er, cb)\n }\n }\n return cb(er)\n })\n })\n}\n\nfunction fixWinEPERM (p, options, er, cb) {\n assert(p)\n assert(options)\n assert(typeof cb === 'function')\n\n options.chmod(p, 0o666, er2 => {\n if (er2) {\n cb(er2.code === 'ENOENT' ? null : er)\n } else {\n options.stat(p, (er3, stats) => {\n if (er3) {\n cb(er3.code === 'ENOENT' ? null : er)\n } else if (stats.isDirectory()) {\n rmdir(p, options, er, cb)\n } else {\n options.unlink(p, cb)\n }\n })\n }\n })\n}\n\nfunction fixWinEPERMSync (p, options, er) {\n let stats\n\n assert(p)\n assert(options)\n\n try {\n options.chmodSync(p, 0o666)\n } catch (er2) {\n if (er2.code === 'ENOENT') {\n return\n } else {\n throw er\n }\n }\n\n try {\n stats = options.statSync(p)\n } catch (er3) {\n if (er3.code === 'ENOENT') {\n return\n } else {\n throw er\n }\n }\n\n if (stats.isDirectory()) {\n rmdirSync(p, options, er)\n } else {\n options.unlinkSync(p)\n }\n}\n\nfunction rmdir (p, options, originalEr, cb) {\n assert(p)\n assert(options)\n assert(typeof cb === 'function')\n\n // try to rmdir first, and only readdir on ENOTEMPTY or EEXIST (SunOS)\n // if we guessed wrong, and it's not a directory, then\n // raise the original error.\n options.rmdir(p, er => {\n if (er && (er.code === 'ENOTEMPTY' || er.code === 'EEXIST' || er.code === 'EPERM')) {\n rmkids(p, options, cb)\n } else if (er && er.code === 'ENOTDIR') {\n cb(originalEr)\n } else {\n cb(er)\n }\n })\n}\n\nfunction rmkids (p, options, cb) {\n assert(p)\n assert(options)\n assert(typeof cb === 'function')\n\n options.readdir(p, (er, files) => {\n if (er) return cb(er)\n\n let n = files.length\n let errState\n\n if (n === 0) return options.rmdir(p, cb)\n\n files.forEach(f => {\n rimraf(path.join(p, f), options, er => {\n if (errState) {\n return\n }\n if (er) return cb(errState = er)\n if (--n === 0) {\n options.rmdir(p, cb)\n }\n })\n })\n })\n}\n\n// this looks simpler, and is strictly *faster*, but will\n// tie up the JavaScript thread and fail on excessively\n// deep directory trees.\nfunction rimrafSync (p, options) {\n let st\n\n options = options || {}\n defaults(options)\n\n assert(p, 'rimraf: missing path')\n assert.strictEqual(typeof p, 'string', 'rimraf: path should be a string')\n assert(options, 'rimraf: missing options')\n assert.strictEqual(typeof options, 'object', 'rimraf: options should be object')\n\n try {\n st = options.lstatSync(p)\n } catch (er) {\n if (er.code === 'ENOENT') {\n return\n }\n\n // Windows can EPERM on stat. Life is suffering.\n if (er.code === 'EPERM' && isWindows) {\n fixWinEPERMSync(p, options, er)\n }\n }\n\n try {\n // sunos lets the root user unlink directories, which is... weird.\n if (st && st.isDirectory()) {\n rmdirSync(p, options, null)\n } else {\n options.unlinkSync(p)\n }\n } catch (er) {\n if (er.code === 'ENOENT') {\n return\n } else if (er.code === 'EPERM') {\n return isWindows ? fixWinEPERMSync(p, options, er) : rmdirSync(p, options, er)\n } else if (er.code !== 'EISDIR') {\n throw er\n }\n rmdirSync(p, options, er)\n }\n}\n\nfunction rmdirSync (p, options, originalEr) {\n assert(p)\n assert(options)\n\n try {\n options.rmdirSync(p)\n } catch (er) {\n if (er.code === 'ENOTDIR') {\n throw originalEr\n } else if (er.code === 'ENOTEMPTY' || er.code === 'EEXIST' || er.code === 'EPERM') {\n rmkidsSync(p, options)\n } else if (er.code !== 'ENOENT') {\n throw er\n }\n }\n}\n\nfunction rmkidsSync (p, options) {\n assert(p)\n assert(options)\n options.readdirSync(p).forEach(f => rimrafSync(path.join(p, f), options))\n\n if (isWindows) {\n // We only end up here once we got ENOTEMPTY at least once, and\n // at this point, we are guaranteed to have removed all the kids.\n // So, we know that it won't be ENOENT or ENOTDIR or anything else.\n // try really hard to delete stuff on windows, because it has a\n // PROFOUNDLY annoying habit of not closing handles promptly when\n // files are deleted, resulting in spurious ENOTEMPTY errors.\n const startTime = Date.now()\n do {\n try {\n const ret = options.rmdirSync(p, options)\n return ret\n } catch {}\n } while (Date.now() - startTime < 500) // give up after 500ms\n } else {\n const ret = options.rmdirSync(p, options)\n return ret\n }\n}\n\nmodule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