Skip to content

Commit

Permalink
fix: boilerplate
Browse files Browse the repository at this point in the history
  • Loading branch information
rharkor committed Sep 12, 2023
1 parent a23db95 commit 7c6dec2
Show file tree
Hide file tree
Showing 6 changed files with 2 additions and 45 deletions.
1 change: 0 additions & 1 deletion .devcontainer/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,5 @@ RUN apt-get update && export DEBIAN_FRONTEND=noninteractive \

# [Optional] Uncomment if you want to install more global node modules
RUN su node -c "npm install -g prisma"
RUN su node -c "npx playwright install && npx playwright install-deps"

RUN /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
7 changes: 0 additions & 7 deletions e2e/example.spec.ts

This file was deleted.

1 change: 1 addition & 0 deletions jest-setup.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
import "@testing-library/jest-dom"
2 changes: 1 addition & 1 deletion jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ const createJestConfig = nextJest({

/** @type {import('jest').Config} */
const config = {
setupFilesAfterEnv: ["@testing-library/jest-dom/extend-expect"],
setupFilesAfterEnv: ["<rootDir>/jest-setup.ts"],
testEnvironment: "jest-environment-jsdom",
modulePathIgnorePatterns: ["<rootDir>/dist/"],
testPathIgnorePatterns: ["<rootDir>/e2e"],
Expand Down
32 changes: 0 additions & 32 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 0 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,9 @@
"prettier:fix": "prettier --write \"**/*.{js,jsx,ts,tsx}\"",
"analyze": "cross-env ANALYZE=true npm run build",
"test": "cross-env FORCE_COLOR=1 jest --passWithNoTests",
"e2e:headless": "playwright test",
"e2e:ui": "playwright test --ui",
"format": "prettier --write \"**/*.{ts,tsx,md}\"",
"postinstall": "npx -y patch-package && prisma generate",
"preinstall": "npx -y only-allow npm",
"coupling-graph": "npx --yes madge --extensions js,jsx,ts,tsx,css,md,mdx ./ --exclude '.next|tailwind.config.js|reset.d.ts|prettier.config.js|postcss.config.js|playwright.config.ts|next.config.js|next-env.d.ts|instrumentation.ts|e2e/|README.md|.storybook/|.eslintrc.js' --image graph.svg",
"seed": "NODE_ENV=development prisma db seed",
"depcheck": "npm run sub-package:scripts && npm run depcheck",
"full-sub-package-setup": "npm run sub-package:scripts:cb",
Expand Down Expand Up @@ -77,7 +74,6 @@
"@babel/core": "^7.22.17",
"@jest/globals": "^29.7.0",
"@opentelemetry/api": "^1.4.1",
"@playwright/test": "^1.36.2",
"@testing-library/jest-dom": "^6.1.3",
"@testing-library/react": "^14.0.0",
"@total-typescript/ts-reset": "^0.5.0",
Expand Down

0 comments on commit 7c6dec2

Please sign in to comment.