Skip to content

Your always-on AI coworkers that move between text, calls, and Slack.

TypeScript

fix: make npm run dev and check-format work on Windows (#35)

Omkar Chebale0a8a55b8701e
diff --git a/.gitattributes b/.gitattributes
new file mode 100644
index 0000000..6313b56
--- /dev/null
+++ b/.gitattributes
@@ -0,0 +1 @@
+* text=auto eol=lf
diff --git a/package-lock.json b/package-lock.json
index 895d8ce..e72f5e2 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -45,6 +45,7 @@
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.1",
"concurrently": "^10.0.5",
+ "cross-env": "^10.1.0",
"eslint": "^10.11.0",
"eslint-plugin-react-hooks": "^7.1.1",
"prettier": "^3.9.9",
@@ -2227,6 +2228,13 @@
"node": ">=18.0.0"
}
},
+ "node_modules/@epic-web/invariant": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/@epic-web/invariant/-/invariant-1.0.0.tgz",
+ "integrity": "sha512-lrTPqgvfFQtR/eY/qkIzp98OGdNJu0m5ji3q/nJI8v3SXkRKEnWiOxMmbvcSoAIzv/cGiuvRy57k4suKQSAdwA==",
+ "dev": true,
+ "license": "MIT"
+ },
"node_modules/@esbuild/aix-ppc64": {
"version": "0.28.2",
"resolved": "https://registry.npmjs.org/@esbuild/aix-ppc64/-/aix-ppc64-0.28.2.tgz",
@@ -7199,6 +7207,24 @@
"layout-base": "^1.0.0"
}
},
+ "node_modules/cross-env": {
+ "version": "10.1.0",
+ "resolved": "https://registry.npmjs.org/cross-env/-/cross-env-10.1.0.tgz",
+ "integrity": "sha512-GsYosgnACZTADcmEyJctkJIoqAhHjttw7RsFrVoJNXbsWWqaq6Ym+7kZjq6mS45O0jij6vtiReppKQEtqWy6Dw==",
+ "dev": true,
+ "license": "MIT",
+ "dependencies": {
+ "@epic-web/invariant": "^1.0.0",
+ "cross-spawn": "^7.0.6"
+ },
+ "bin": {
+ "cross-env": "dist/bin/cross-env.js",
+ "cross-env-shell": "dist/bin/cross-env-shell.js"
+ },
+ "engines": {
+ "node": ">=20"
+ }
+ },
"node_modules/cross-inspect": {
"version": "1.0.1",
"resolved": "https://registry.npmjs.org/cross-inspect/-/cross-inspect-1.0.1.tgz",
diff --git a/package.json b/package.json
index 3020c50..9012335 100644
--- a/package.json
+++ b/package.json
@@ -8,7 +8,7 @@
"test": "tests"
},
"scripts": {
- "dev": "concurrently -k \"NODE_ENV=development node --env-file-if-exists=.env --import tsx --watch src/server/index.ts\" \"vite\"",
+ "dev": "concurrently -k \"cross-env NODE_ENV=development node --env-file-if-exists=.env --import tsx --watch src/server/index.ts\" \"vite\"",
"build": "vite build && tsc -p tsconfig.server.json",
"start": "node --env-file-if-exists=.env dist/server/server/index.js",
"browser": "node --env-file-if-exists=.env --import tsx src/browser/index.ts",
@@ -60,6 +60,7 @@
"@types/react-dom": "^19.3.0",
"@vitejs/plugin-react": "^6.1.1",
"concurrently": "^10.0.5",
+ "cross-env": "^10.1.0",
"eslint": "^10.11.0",
"eslint-plugin-react-hooks": "^7.1.1",
"prettier": "^3.9.9",