Skip to content

Commit

Permalink
fix(global): remove @johnlindquist/globals and include each package d…
Browse files Browse the repository at this point in the history
…irectly to better support $
  • Loading branch information
johnlindquist committed Dec 4, 2024
1 parent 8a986f7 commit 37243ee
Show file tree
Hide file tree
Showing 42 changed files with 1,444 additions and 286 deletions.
2 changes: 1 addition & 1 deletion build/build-ci.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
import "@johnlindquist/globals"
import { exit } from "node:process"
import shelljs from "shelljs"
import { execaCommand as exec } from "execa"

let { cd, cp } = shelljs

Expand Down
5 changes: 3 additions & 2 deletions build/build-kit.ts
Original file line number Diff line number Diff line change
@@ -1,10 +1,11 @@
import "@johnlindquist/globals"
import shelljs from "shelljs"
import path from "node:path"
import { homedir, platform } from "node:os"
import { existsSync } from "node:fs"
import { rimraf } from "rimraf"
import { chmod as fsChmod } from "node:fs/promises"
import { chmod as fsChmod, writeFile } from "node:fs/promises"
import { execaCommand as exec } from "execa"
import { ensureDir } from "fs-extra"

global.log = console.log
global.warn = console.warn
Expand Down
2 changes: 1 addition & 1 deletion build/rebuild-kit.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
import { exec, writeFile, ensureDir } from "@johnlindquist/globals"
import { exec, writeFile, ensureDir } from "../src/globals/index.ts"
import shelljs from "shelljs"
import { homedir } from "node:os"
import path from "node:path"
Expand Down
14 changes: 11 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
}
},
"dependencies": {
"@johnlindquist/globals": "1.16.6",
"@johnlindquist/kit-internal": "^1.13.5",
"@johnlindquist/open": "^10.1.1",
"@octokit/auth-oauth-device": "7.1.1",
Expand All @@ -83,35 +82,44 @@
"@octokit/plugin-rest-endpoint-methods": "13.2.6",
"@octokit/plugin-retry": "7.1.2",
"@octokit/plugin-throttling": "9.3.2",
"@types/chalk": "2.2.4",
"@types/fs-extra": "11.0.4",
"@types/shelljs": "0.8.15",
"@typescript/lib-dom": "npm:@johnlindquist/no-dom@^1.0.2",
"acorn": "^8.14.0",
"acorn-typescript": "^1.4.13",
"advanced-calculator": "1.1.1",
"axios": "1.7.9",
"body-parser": "^1.20.3",
"bottleneck": "^2.19.5",
"chalk": "2.2.0",
"chalk-template": "0.4.0",
"chrome-trace-event": "^1.0.4",
"color-name": "2.0.0",
"dotenv": "^16.4.5",
"download": "8.0.0",
"esbuild": "0.24.0",
"execa": "9.5.1",
"filesize": "10.1.6",
"fs-extra": "^11.2.0",
"globby": "^14.0.2",
"handlebars": "4.7.8",
"highlight.js": "^11.10.0",
"isomorphic-git": "1.27.2",
"jsonfile": "6.1.0",
"keyv": "^5.2.1",
"keyv-file": "^5.0.3",
"marked": "4.3.0",
"p-retry": "6.2.1",
"quick-score": "^0.2.0",
"replace-in-file": "8.2.0",
"rimraf": "6.0.1",
"safe-stable-stringify": "^2.5.0",
"shelljs": "0.8.5",
"slugify": "1.6.6",
"suggestion": "2.1.2",
"tmp-promise": "3.0.3",
"untildify": "5.0.0",
"zx": "^8.2.4"
"untildify": "5.0.0"
},
"devDependencies": {
"@biomejs/biome": "1.9.4",
Expand Down
Loading

0 comments on commit 37243ee

Please sign in to comment.