Skip to content

Commit

Permalink
updated the config file to support other frameworks
Browse files Browse the repository at this point in the history
  • Loading branch information
aman19K committed Jul 2, 2024
1 parent a595f04 commit 9e80dbb
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 8 deletions.
4 changes: 2 additions & 2 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion packages/contentstack-launch/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ $ npm install -g @contentstack/cli-launch
$ csdx COMMAND
running command...
$ csdx (--version|-v)
@contentstack/cli-launch/1.0.18 darwin-arm64 node-v22.2.0
@contentstack/cli-launch/1.0.19 darwin-arm64 node-v18.20.2
$ csdx --help [COMMAND]
USAGE
$ csdx COMMAND
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack-launch/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@contentstack/cli-launch",
"version": "1.0.18",
"version": "1.0.19",
"description": "Launch related operations",
"author": "Contentstack CLI",
"bin": {
Expand Down
12 changes: 10 additions & 2 deletions packages/contentstack-launch/src/config/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,21 @@ const config = {
},
outputDirectories: {
OTHER: './',
NEXTJS: './.next',
GATSBY: './public',
NEXTJS: './.next',
CRA: './build',
CSR: './',
ANGULAR: './dist',
VUEJS: './dist',
},
listOfFrameWorks: [
{ name: 'Other', value: 'OTHER' },
{ name: 'Gatsby', value: 'GATSBY' },
{ name: 'NextJs', value: 'NEXTJS' },
{ name: 'Other', value: 'OTHER' },
{ name: 'CRA (Create React App)', value: 'CRA' },
{ name: 'CSR (Client-Side Rendered)', value: 'CSR' },
{ name: 'Angular', value: 'ANGULAR' },
{ name: 'VueJs', value: 'VUEJS' },
],
providerMapper: {
GITPROVIDER: 'GitHub',
Expand Down
2 changes: 1 addition & 1 deletion packages/contentstack/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"@contentstack/cli-cm-seed": "~1.7.6",
"@contentstack/cli-command": "~1.2.18",
"@contentstack/cli-config": "~1.6.4",
"@contentstack/cli-launch": "~1.0.18",
"@contentstack/cli-launch": "~1.0.19",
"@contentstack/cli-migration": "~1.5.6",
"@contentstack/cli-utilities": "~1.6.3",
"@contentstack/management": "~1.15.3",
Expand Down
2 changes: 1 addition & 1 deletion pnpm-lock.yaml

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

0 comments on commit 9e80dbb

Please sign in to comment.