Skip to content

Commit

Permalink
feat: migrated build files from ts->js
Browse files Browse the repository at this point in the history
  • Loading branch information
Siddharth9890 committed Mar 11, 2024
1 parent 62b10ea commit 1113285
Show file tree
Hide file tree
Showing 11 changed files with 1,399 additions and 3,828 deletions.
2 changes: 1 addition & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ release.config.js
.husky/*
scripts/*
gatewaySdk/
src/testMutationsAndQuery.ts
src/testMutationsAndQuery.ts
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,14 @@ jobs:
node-version: 18.x
- name: Install pnpm
run: npm install -g pnpm@7.33.5
- name: Install uglifyjs
run: npm install -g uglifyjs
- name: Install dependencies
run: pnpm install
- name: Install semantic-release extra plugins
run: pnpm install -D @semantic-release/changelog @semantic-release/git
- name: Lint
run: pnpm lint
- name: Install ts-node-dev
run: npm install -g ts-node && npm i -D tsconfig-paths
- name: Build Graphql queries
run: pnpm generate:sdk
- name: Format code
Expand Down
6 changes: 4 additions & 2 deletions .github/workflows/test.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,20 @@ jobs:
uses: actions/checkout@v3
- name: Install pnpm
run: npm install -g pnpm@7.33.5
- name: Install uglifyjs
run: npm install -g uglifyjs
- name: Install Project Dependencies
run: pnpm install
- name: Run Eslint
run: pnpm lint
- name: Install ts-node-dev
run: npm install -g ts-node && npm i -D tsconfig-paths
- name: Build Graphql queries
run: pnpm generate:sdk
- name: Format code
run: pnpm format
- name: Test project
run: pnpm test
- name: Build
run: pnpm build
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v3
env:
Expand Down
1 change: 1 addition & 0 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
.pnpm-store/*
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"format": "prettier --write .",
"prepare": "husky install",
"build": "rm -rf dist && tsc && scripts/compress.sh && node scripts/compress.js",
"generate:sdk": "ts-node scripts/generateSdk/index.ts"
"generate:sdk": "node scripts/generateSDK/generate.js"
},
"engines": {
"node": ">=18.0.0"
Expand Down Expand Up @@ -67,7 +67,8 @@
"minimatch": "^9.0.3",
"prettier": "^3.1.1",
"ts-jest": "^29.1.1",
"typescript": "^5.3.3"
"typescript": "^5.3.3",
"uglifyjs": "^2.4.11"
},
"repository": {
"type": "git",
Expand Down
Loading

0 comments on commit 1113285

Please sign in to comment.