@take-out/scripts 0.1.1 → 0.1.3

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@take-out/scripts",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
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.1",
32
+ "@take-out/helpers": "0.1.3",
33
33
  "picocolors": "^1.1.1"
34
34
  },
35
35
  "peerDependencies": {
@@ -5,12 +5,6 @@ import fs from 'node:fs'
5
5
  import { cmd } from './cmd'
6
6
 
7
7
  await cmd`sync auto-generated env vars to local .env file`.run(async ({ path }) => {
8
- // skip in CI environments
9
- if (process.env.CI === 'true') {
10
- console.info('Skipping bootstrap in CI environment')
11
- process.exit(0)
12
- }
13
-
14
8
  const ENV_PATH = path.join(process.cwd(), '.env')
15
9
  const ENV_BACKUP_PATH = path.join(process.cwd(), '.env.backup')
16
10
  const ENV_TEMP_PATH = path.join(process.cwd(), '.env.tmp')
package/src/up.ts CHANGED
@@ -429,7 +429,7 @@ await cmd`upgrade packages by name or pattern`
429
429
  // special handling for zero - update ZERO_VERSION in .env
430
430
  if (packagePatterns.includes('@rocicorp/zero')) {
431
431
  console.info('\n🔄 Updating local env for Zero...')
432
- await $`bun tko run update-local-env`
432
+ await $`bun tko run generate-env`
433
433
  }
434
434
 
435
435
  console.info('\n🎉 Dependency update complete!')