Skip to content

Commit

Permalink
added scripts to package.json and updated ts dep in next example
Browse files Browse the repository at this point in the history
  • Loading branch information
andrewlee348 committed Nov 18, 2024
1 parent ad5be71 commit 73142a9
Show file tree
Hide file tree
Showing 6 changed files with 169 additions and 152 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,3 +19,5 @@ dist/
.cache
package-lock.json
coverage

.env
2 changes: 1 addition & 1 deletion examples/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
},
"dependencies": {
"@radix-ui/react-popover": "^1.0.7",
"typescript": "latest"
"typescript": "^5.4.5"
},
"peerDependencies": {
"@0xsequence/design-system": ">= 1.7.8",
Expand Down
2 changes: 1 addition & 1 deletion examples/next/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,6 @@
"eslint": "^8",
"eslint-config-next": "14.2.3",
"postcss": "^8",
"typescript": "^5"
"typescript": "^5.4.5"
}
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
"license": "Apache-2.0",
"sideEffects": false,
"scripts": {
"copy-env": "(cp -n .env.example .env) || echo '.env already exists'",
"generate-env": "node ./scripts/generate-env.js",
"postinstall": "pnpm run copy-env && pnpm run generate-env",
"build": "turbo run build --filter={packages/*}",
"build:clean": "turbo run build:clean",
"dev": "turbo run dev --filter={packages/*}",
Expand Down Expand Up @@ -39,6 +42,7 @@
"@typescript-eslint/parser": "^7.10.0",
"@vanilla-extract/css": "^1.15.2",
"@vanilla-extract/recipes": "^0.5.3",
"dotenv": "^16.4.5",
"eslint": "^8.27.0",
"eslint-config-prettier": "^8.10.0",
"eslint-plugin-import": "^2.29.1",
Expand All @@ -49,7 +53,7 @@
"react-dom": "^18.3.1",
"rimraf": "^5.0.7",
"turbo": "2.0.1",
"typescript": "~5.4.5",
"typescript": "^5.4.5",
"wagmi": "^2.9.5"
},
"resolutions": {},
Expand Down
2 changes: 1 addition & 1 deletion packages/kit/src/env.ts
Original file line number Diff line number Diff line change
@@ -1 +1 @@
export const DEVMODE = false
export const DEVMODE = false
Loading

0 comments on commit 73142a9

Please sign in to comment.