Skip to content

Commit

Permalink
fix: 💚 fix release script
Browse files Browse the repository at this point in the history
fix: release script

maybe fixed?

remove TS-node config

this time it should be fixed
  • Loading branch information
createdbymahmood committed Feb 3, 2024
1 parent a330562 commit befb372
Show file tree
Hide file tree
Showing 4 changed files with 197 additions and 183 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:
cache: "yarn"

- name: Install Dependencies
run: yarn install --frozen-lockfile --check-files
run: yarn install

- name: Release
run: yarn run release:ci
12 changes: 9 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@
"build": "next build",
"start": "next start",
"lint": "next lint",
"release:ci": "release-it --ci"
"release:ci": "release-it --ci",
"release": "release-it"
},
"dependencies": {
"next": "14.1.0",
Expand All @@ -22,7 +23,12 @@
"auto-changelog": "2.4.0",
"eslint": "8.38.0",
"eslint-config-next": "14.1.0",
"release-it": "17.0.3",
"typescript": "5.3.3"
"release-it": "17.0.1",
"typescript": "5.0.2"
},
"resolutions": {
"string-width": "^4",
"strip-ansi": "^4",
"wrap-ansi": "^7"
}
}
49 changes: 25 additions & 24 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,26 +1,27 @@
{
"compilerOptions": {
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
"compilerOptions": {
"target": "ES5",
"lib": ["dom", "dom.iterable", "esnext"],
"allowJs": true,
"skipLibCheck": true,
"strict": true,
"noEmit": true,
"esModuleInterop": true,
"module": "esnext",
"moduleResolution": "bundler",
"resolveJsonModule": true,
"isolatedModules": true,
"jsx": "preserve",
"incremental": true,
"plugins": [
{
"name": "next"
}
],
"paths": {
"@/*": ["./src/*"]
}
},
"include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"],
"exclude": ["node_modules"]
}
Loading

0 comments on commit befb372

Please sign in to comment.