Skip to content

Commit

Permalink
Merge pull request #115 from contentstack/fix/DX-586
Browse files Browse the repository at this point in the history
DX - 586 - Changed bin files as required for oclif v3
  • Loading branch information
cs-raj authored May 27, 2024
2 parents 7c0709d + 7fb31a0 commit 58a5095
Show file tree
Hide file tree
Showing 4 changed files with 118 additions and 8 deletions.
5 changes: 5 additions & 0 deletions bin/dev.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
#!/usr/bin/env node
(async () => {
const { execute } = require("@contentstack/cli-utilities");
await execute({ type: "cjs", development: true, dir: __dirname });
})();
6 changes: 6 additions & 0 deletions bin/run.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env node

(async () => {
const {execute} = require('@contentstack/cli-utilities')
await execute({ type: 'cjs', dir: __dirname })
})()
111 changes: 105 additions & 6 deletions package-lock.json

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

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"bugs": "https://github.com/Contentstack-Solutions/contentstack-cli-tsgen/issues",
"dependencies": {
"@contentstack/cli-command": "^1.2.17",
"@contentstack/cli-utilities": "^1.5.10",
"@contentstack/cli-utilities": "^1.6.1",
"@gql2ts/from-schema": "^2.0.0-4",
"async": "^3.2.5",
"graphql": "^14.7.0",
Expand All @@ -30,7 +30,7 @@
"globby": "^10.0.2",
"jest": "^26.5.3",
"mocha": "^10.2.0",
"oclif": "^3.7.0",
"oclif": "^3.10.0",
"ts-jest": "^26.4.1",
"ts-node": "^10.9.1",
"typescript": "^4.8.4"
Expand Down

0 comments on commit 58a5095

Please sign in to comment.