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 1d4eaf5
Show file tree
Hide file tree
Showing 4 changed files with 387 additions and 20 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/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"
}
}
4 changes: 4 additions & 0 deletions 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.ts",
"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 Down
Loading

0 comments on commit 1d4eaf5

Please sign in to comment.