@take-out/scripts 0.1.9 → 0.1.10
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/package.json +2 -2
- package/src/build-initial.ts +2 -1
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@take-out/scripts",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.10",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./src/run.ts",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@clack/prompts": "^0.8.2",
|
|
32
|
-
"@take-out/helpers": "0.1.
|
|
32
|
+
"@take-out/helpers": "0.1.10",
|
|
33
33
|
"picocolors": "^1.1.1"
|
|
34
34
|
},
|
|
35
35
|
"peerDependencies": {
|
package/src/build-initial.ts
CHANGED
|
@@ -4,7 +4,8 @@ import { cmd } from './cmd'
|
|
|
4
4
|
|
|
5
5
|
await cmd`bootstrap project workspace and build initial packages`.run(
|
|
6
6
|
async ({ $, fs, path }) => {
|
|
7
|
-
|
|
7
|
+
// use our own file because we know its takeout-like packages if it exists
|
|
8
|
+
const hasPackages = fs.existsSync(`./packages/scripts/src/build-initial.ts`)
|
|
8
9
|
|
|
9
10
|
// only run once
|
|
10
11
|
if (!fs.existsSync(`./node_modules/.bin/tko`)) {
|