build-strap 4.0.0-dev.5 → 4.0.0-dev.55

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 (45) hide show
  1. package/package.json +4 -3
  2. package/{ant.d.ts → src/ant.d.ts} +0 -0
  3. package/{ant.js → src/ant.js} +0 -0
  4. package/{cert.d.ts → src/cert.d.ts} +0 -0
  5. package/{cert.js → src/cert.js} +0 -0
  6. package/{clean.d.ts → src/clean.d.ts} +0 -0
  7. package/{clean.js → src/clean.js} +0 -0
  8. package/{copy.d.ts → src/copy.d.ts} +0 -0
  9. package/{copy.js → src/copy.js} +0 -0
  10. package/{cp.d.ts → src/cp.d.ts} +0 -0
  11. package/{cp.js → src/cp.js} +0 -0
  12. package/{docker.container.d.ts → src/docker.container.d.ts} +0 -0
  13. package/{docker.container.js → src/docker.container.js} +0 -0
  14. package/{docker.d.ts → src/docker.d.ts} +0 -0
  15. package/{docker.js → src/docker.js} +0 -0
  16. package/{docker.network.d.ts → src/docker.network.d.ts} +0 -0
  17. package/{docker.network.js → src/docker.network.js} +0 -0
  18. package/{docker.volume.d.ts → src/docker.volume.d.ts} +0 -0
  19. package/{docker.volume.js → src/docker.volume.js} +0 -0
  20. package/{dockerCleanup.d.ts → src/dockerCleanup.d.ts} +0 -0
  21. package/{dockerCleanup.js → src/dockerCleanup.js} +0 -0
  22. package/{dockerCompose.d.ts → src/dockerCompose.d.ts} +0 -0
  23. package/{dockerCompose.js → src/dockerCompose.js} +0 -0
  24. package/{fs.d.ts → src/fs.d.ts} +0 -0
  25. package/{fs.js → src/fs.js} +0 -0
  26. package/{git.d.ts → src/git.d.ts} +0 -0
  27. package/{git.js → src/git.js} +0 -0
  28. package/{index.d.ts → src/index.d.ts} +0 -0
  29. package/{index.js → src/index.js} +0 -0
  30. package/{maps.d.ts → src/maps.d.ts} +0 -0
  31. package/{maps.js → src/maps.js} +0 -0
  32. package/{npm.d.ts → src/npm.d.ts} +0 -0
  33. package/{npm.js → src/npm.js} +0 -0
  34. package/{pkg.d.ts → src/pkg.d.ts} +0 -1
  35. package/{pkg.js → src/pkg.js} +0 -0
  36. package/{publish.d.ts → src/publish.d.ts} +0 -0
  37. package/{publish.js → src/publish.js} +0 -0
  38. package/{run.d.ts → src/run.d.ts} +0 -0
  39. package/{run.js → src/run.js} +0 -0
  40. package/{tgz.d.ts → src/tgz.d.ts} +0 -0
  41. package/{tgz.js → src/tgz.js} +0 -0
  42. package/{version.d.ts → src/version.d.ts} +0 -0
  43. package/{version.js → src/version.js} +1 -1
  44. /package/{yarn.d.ts → src/yarn.d.ts} +0 -0
  45. /package/{yarn.js → src/yarn.js} +0 -0
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "build-strap",
3
- "version": "4.0.0-dev.5",
3
+ "version": "4.0.0-dev.55",
4
4
  "description": "Node scripts for building things",
5
5
  "license": "MIT",
6
6
  "authors": [
@@ -11,8 +11,8 @@
11
11
  "url": "https://github.com/murrayju/build-strap"
12
12
  },
13
13
  "type": "module",
14
- "module": "index.js",
15
- "types": "index.d.ts",
14
+ "main": "./src/index.js",
15
+ "types": "./src/index.d.ts",
16
16
  "engines": {
17
17
  "node": ">=16"
18
18
  },
@@ -28,6 +28,7 @@
28
28
  "lodash-es": "^4.17.21",
29
29
  "moment": "^2.29.1",
30
30
  "node-fetch": "^3.1.0",
31
+ "rimraf": "^3.0.2",
31
32
  "stream-counter": "1",
32
33
  "tar": "^6.1.11",
33
34
  "url-join": "^4.0.1"
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -19,7 +19,6 @@ export interface PackageJson {
19
19
  engines?: Record<string, string>;
20
20
  license?: string;
21
21
  main?: string;
22
- module?: string;
23
22
  name: string;
24
23
  peerDependencies?: Record<string, string>;
25
24
  private?: boolean;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
@@ -38,7 +38,7 @@ export async function getRepoInfo() {
38
38
  }
39
39
  export async function getDevBranch() {
40
40
  const { devBranch } = getCfg();
41
- return devBranch || (await getRepoType()) === 'hg' ? 'default' : 'dev';
41
+ return devBranch || ((await getRepoType()) === 'hg' ? 'default' : 'dev');
42
42
  }
43
43
  export async function getIsRelease(passedBranch = null, releaseOverride = null) {
44
44
  const branch = passedBranch || (await getRepoInfo()).branch;
File without changes
File without changes