Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
6764 commits
Select commit Hold shift + click to select a range
5bc2501
fixed test cases and added import support
shafeeqd959 Dec 4, 2025
0e6e1af
fixed test cases and added import support
shafeeqd959 Dec 4, 2025
1ea0cb3
Merge pull request #2258 from contentstack/export-import/composable-s…
shafeeqd959 Dec 4, 2025
d492353
merged changes
shafeeqd959 Dec 4, 2025
fd7aed0
bumped versions
shafeeqd959 Dec 4, 2025
86517a6
Merge pull request #2242 from contentstack/feat/DX-3646
naman-contentstack Dec 4, 2025
52ee8df
Merge branch development into fix/DX-3458-error-msg-improve
reeshika-h Dec 4, 2025
d0be816
fixed the base path
shafeeqd959 Dec 4, 2025
224f9c1
fixed the base path
shafeeqd959 Dec 4, 2025
8640e66
feat: add session file in session based logger
Dec 4, 2025
e77630c
updated import test cases
Dec 4, 2025
98bbbcb
chore: update package-lock.json and pnpm-lock.yaml to reflect depende…
reeshika-h Dec 5, 2025
b53c930
Merge pull request #2257 from contentstack/fix/DX-3458-error-msg-improve
reeshika-h Dec 5, 2025
a519108
version bump
harshithad0703 Dec 5, 2025
fa5eeea
Merge branch 'main' into fix/version-bump-1.53.0
harshithad0703 Dec 5, 2025
c4bf223
Merge pull request #2263 from contentstack/fix/version-bump-1.53.0
harshithad0703 Dec 5, 2025
fd3bb3b
merged latest changes
shafeeqd959 Dec 5, 2025
a4c4c58
Merge pull request #2259 from contentstack/feat/composable-studio-sup…
harshithad0703 Dec 5, 2025
9369207
resolve version bump
harshithad0703 Dec 5, 2025
7646b99
Merge pull request #2266 from contentstack/fix/version-bumps
harshithad0703 Dec 5, 2025
67ae88e
Merge pull request #2262 from contentstack/development
harshithad0703 Dec 5, 2025
e2e4c38
Merge branch 'development' into feat/DX-3763
Dec 8, 2025
effd5c1
Fixed entry update in bulk publish
sunil-lakshman Dec 8, 2025
5ce053f
Fixed issue for groups and blocks
sunil-lakshman Dec 8, 2025
d83d05c
resolved comments
Dec 8, 2025
1c6f935
fix test cases
Dec 8, 2025
445dcda
Fixed duplicate logs
sunil-lakshman Dec 9, 2025
2f1c98e
Merge pull request #2269 from contentstack/fix/dx-3802
sunil-lakshman Dec 9, 2025
c357c30
updated UI text composable studio to studio
shafeeqd959 Dec 9, 2025
44066ec
resolve version bump
harshithad0703 Dec 9, 2025
edf3c5e
Merge branch 'staging' into fix/version_bump
harshithad0703 Dec 9, 2025
4f55e1a
Merge pull request #2273 from contentstack/fix/version_bump
harshithad0703 Dec 9, 2025
7326835
Merge pull request #2274 from contentstack/development
harshithad0703 Dec 9, 2025
499eec9
Merge pull request #2267 from contentstack/staging
harshithad0703 Dec 9, 2025
9f18611
updated messages
shafeeqd959 Dec 11, 2025
7e1e284
Merge branch 'development' of github.com:contentstack/cli into fix/co…
shafeeqd959 Dec 11, 2025
9565821
Merge pull request #2272 from contentstack/fix/composable-studio
shafeeqd959 Dec 11, 2025
5927b9b
bumped version
shafeeqd959 Dec 11, 2025
9a3665c
Merge branch 'development' of github.com:contentstack/cli into fix/co…
shafeeqd959 Dec 11, 2025
474f6e6
Merge pull request #2277 from contentstack/fix/composable-studio
harshithad0703 Dec 11, 2025
829f82a
Merge branch 'staging' into fix/back-merge1
harshithad0703 Dec 11, 2025
77a6de1
Merge branch 'main' into fix/back-merge1
harshithad0703 Dec 11, 2025
33f9460
Merge pull request #2279 from contentstack/fix/back-merge1
harshithad0703 Dec 11, 2025
7045404
Merge pull request #2276 from contentstack/development
harshithad0703 Dec 11, 2025
f9201e5
Merge pull request #2280 from contentstack/staging
harshithad0703 Dec 15, 2025
f4384c7
fix: resolve stack-clone auth failure for non-NA regions
harshithad0703 Dec 15, 2025
79fbea5
Merge branch 'main' into fix/dx-3808-clone-session-timeout
harshithad0703 Dec 15, 2025
18f0434
Merge pull request #2282 from contentstack/main
harshithad0703 Dec 15, 2025
b029d8b
Merge branch 'development' into feat/DX-3763
Dec 16, 2025
a7ef76e
Merge pull request #2261 from contentstack/feat/DX-3763
naman-contentstack Dec 16, 2025
27fe5c9
skip composition type and compositions if studio project failed to im…
shafeeqd959 Dec 17, 2025
4a82242
merged dev changes
shafeeqd959 Dec 17, 2025
794f592
bumped version
shafeeqd959 Dec 17, 2025
3612204
added composable studio validation in audit
shafeeqd959 Dec 17, 2025
e8206e8
updated test cases
shafeeqd959 Dec 18, 2025
5b7a477
Merge branch 'development' into enh/proxy-setup
sunil-lakshman Dec 18, 2025
d31be74
added missing import in clone
Dec 19, 2025
cbb6933
Merge branch 'development' into feat/DX-3763
naman-contentstack Dec 19, 2025
1131224
Merge pull request #2287 from contentstack/feat/DX-3763
AniketDev7 Dec 19, 2025
df76f18
chore: license update
cs-raj Jan 2, 2026
f27dd87
Merge branch 'development' of github.com:contentstack/cli into feat/D…
shafeeqd959 Jan 5, 2026
6abd710
fixed test cases
shafeeqd959 Jan 5, 2026
f515521
updated license update
shafeeqd959 Jan 5, 2026
629ad53
added types
shafeeqd959 Jan 5, 2026
88ea5b9
updated license
shafeeqd959 Jan 5, 2026
2e72c59
Proxy support added
sunil-lakshman Jan 7, 2026
8efab65
Merge branch 'development' into enh/proxy-setup
sunil-lakshman Jan 7, 2026
d410959
updated license year
sunil-lakshman Jan 7, 2026
596e8c8
Merge branch 'development' into fix/dx-3808-clone-session-timeout
harshithad0703 Jan 7, 2026
018d632
Merge pull request #2291 from contentstack/fix/licenseupdate
cs-raj Jan 7, 2026
a23dff9
Update version for contentstack-clone to 1.18.2
harshithad0703 Jan 8, 2026
7c1b550
update package lock
harshithad0703 Jan 8, 2026
b404419
Merge branch 'development' into fix/dx-3808-clone-session-timeout
harshithad0703 Jan 8, 2026
634a4d7
update changeLog
harshithad0703 Jan 8, 2026
66cb611
Merge pull request #2281 from contentstack/fix/dx-3808-clone-session-…
harshithad0703 Jan 8, 2026
3180067
Fixed merge conflits
sunil-lakshman Jan 8, 2026
9350cd7
bump version of contentstack-clone to 1.18.1 in package.json and upda…
harshithad0703 Jan 9, 2026
2f94631
Merge pull request #2300 from contentstack/fix/version-bump-clone
harshithad0703 Jan 9, 2026
77868bb
version bump to 1.54.0
harshithad0703 Jan 9, 2026
84b053c
Merge pull request #2302 from contentstack/fix/version-bump
aman19K Jan 9, 2026
8cef645
Merge pull request #2298 from contentstack/development
harshithad0703 Jan 9, 2026
54afe4a
Merge branch 'development' into enh/proxy-setup
sunil-lakshman Jan 12, 2026
9895660
Merge pull request #2303 from contentstack/staging
harshithad0703 Jan 12, 2026
d228f93
Merge pull request #2305 from contentstack/main
harshithad0703 Jan 12, 2026
de37d68
Merge branch 'development' into enh/proxy-setup
netrajpatel Jan 13, 2026
93b883b
Fixed PR comments
sunil-lakshman Jan 13, 2026
bc3e926
merged latest changes from dev
shafeeqd959 Jan 13, 2026
02c57a7
Feat: Converted Clone to TS module
cs-raj Jan 13, 2026
28d7a1a
merged all changes
shafeeqd959 Jan 13, 2026
d8ecc7b
Fixed PR comments
sunil-lakshman Jan 13, 2026
6092a71
Feat: Converted Clone to TS module
cs-raj Jan 13, 2026
a8f5933
updated gitignore rule and added mock contents
shafeeqd959 Jan 13, 2026
4e3d5fe
Merge pull request #2284 from contentstack/feat/DX-3809
shafeeqd959 Jan 13, 2026
50d6ea4
Merge branch 'development' of github.com:contentstack/cli into feat/D…
shafeeqd959 Jan 13, 2026
acd956c
handled errors
shafeeqd959 Jan 13, 2026
05cf994
Fixed merge conflits
sunil-lakshman Jan 13, 2026
6b49054
version bumps
Jan 13, 2026
27a5d7f
Merge pull request #2285 from contentstack/feat/DX-3810
shafeeqd959 Jan 13, 2026
12e21a0
Merge branch 'development' into feat/DX-3864
Jan 14, 2026
238ffbc
Merge pull request #2307 from contentstack/feat/DX-3864
naman-contentstack Jan 14, 2026
8fa593e
Fixed the test cases
cs-raj Jan 14, 2026
310d8fb
Added tests for clone command
cs-raj Jan 14, 2026
18990e0
Added Tests for clone-handler
cs-raj Jan 14, 2026
de80756
Added Coverage
cs-raj Jan 14, 2026
a42f257
Merge branch 'development' into feat/DX-3870-2
cs-raj Jan 14, 2026
f9a012a
Lock File update
cs-raj Jan 14, 2026
5b83f18
Fixed PR comments
sunil-lakshman Jan 16, 2026
23e0b24
version bump
harshithad0703 Jan 16, 2026
6ceaa0e
update pnpm lock
harshithad0703 Jan 16, 2026
18c2c8a
Merge pull request #2313 from contentstack/fix/version-bump
harshithad0703 Jan 16, 2026
63ea71d
Renamed lib to core in clone command
cs-raj Jan 17, 2026
4f45e2b
chore: update @contentstack/cli-auth to version 1.7.0
harshithad0703 Jan 19, 2026
2ec8f4c
chore: update @contentstack/cli-auth to version 1.7.0 in package.json…
harshithad0703 Jan 19, 2026
d99b62c
Merge pull request #2315 from contentstack/fix/version-bump
harshithad0703 Jan 19, 2026
fd5513f
Merge pull request #2310 from contentstack/development
harshithad0703 Jan 19, 2026
b343029
Merge pull request #2316 from contentstack/staging
harshithad0703 Jan 19, 2026
b476ae1
Merge pull request #2322 from contentstack/main
harshithad0703 Jan 19, 2026
d66c0cb
Feat: Converted The Migration Command to Typescript
cs-raj Jan 20, 2026
c9eec54
Fix: Moved the OTP asking to catch block
cs-raj Jan 21, 2026
4d4d642
Fix: Upgraded tar
cs-raj Jan 21, 2026
9894a73
Fixed merge conflits
sunil-lakshman Jan 21, 2026
36536c8
Updated tar package version
sunil-lakshman Jan 21, 2026
b3eb2aa
Cli version bump
cs-raj Jan 21, 2026
f4c0523
Seed and Bootstrap Plugin Version bump
cs-raj Jan 21, 2026
7627e75
Merge pull request #2326 from contentstack/fix/DX-3920
cs-raj Jan 21, 2026
fb1f3df
Merge pull request #2328 from contentstack/main
cs-raj Jan 21, 2026
11bda42
Merge branch 'staging' into development
cs-raj Jan 21, 2026
0086eac
Merge pull request #2330 from contentstack/stage-to-dev
cs-raj Jan 21, 2026
66cfc1c
Updated Import version
cs-raj Jan 21, 2026
adc3c75
Reverted export version
cs-raj Jan 21, 2026
2465ac0
Merge pull request #2332 from contentstack/fix/import
cs-raj Jan 21, 2026
88fdfa4
Fixed merge conflits
sunil-lakshman Jan 21, 2026
812c6b7
Fix: Removed Unused code
cs-raj Jan 22, 2026
3875fd6
Merge branch 'main' into staging
cs-raj Jan 22, 2026
a05b0bf
Merge pull request #2334 from contentstack/main-to-stage
cs-raj Jan 22, 2026
845b378
Merge branch 'staging' into development
cs-raj Jan 22, 2026
dd96e55
Merge pull request #2336 from contentstack/stage-to-dev2
cs-raj Jan 22, 2026
df28cf5
Fixed merge conflits
sunil-lakshman Jan 22, 2026
bb7cd87
Merge pull request #2252 from contentstack/enh/proxy-setup
sunil-lakshman Jan 22, 2026
14e27b7
Fix the Cleanup
cs-raj Jan 22, 2026
369c4f7
Fix the clone cleanup
cs-raj Jan 22, 2026
aa10e90
Fixed the Client initialisation issue
cs-raj Jan 22, 2026
dbf8371
Rewrite of export-to-csv plugin in typescript
netrajpatel Jan 22, 2026
cef973b
Merge branch 'development' into fix/DX-3932
cs-raj Jan 23, 2026
b7e0aae
Lock File Update
cs-raj Jan 23, 2026
8027061
Sinon Version bump
cs-raj Jan 23, 2026
6e2ab97
Version Bump
cs-raj Jan 23, 2026
34b6ed5
fixed type issue
netrajpatel Jan 23, 2026
141f18b
Merge pull request #2340 from contentstack/fix/snyk
cs-raj Jan 23, 2026
1e514a5
Removed duplicate import of contentstack/management sdk
netrajpatel Jan 23, 2026
0f39cdb
Merge branch 'development' into chore/DX-3900-new
netrajpatel Jan 23, 2026
4c2fd38
Merge branch 'development' into feat/DX-3870-2
cs-raj Jan 23, 2026
e8bc0aa
Fix snyk issue
netrajpatel Jan 23, 2026
f0b6ec1
Version bump clone command
cs-raj Jan 23, 2026
78368ac
Added Clone Unit test to github workflow
cs-raj Jan 23, 2026
1b56914
Resolved undefined snyk issue
netrajpatel Jan 23, 2026
343511c
Fixed PR comments
cs-raj Jan 23, 2026
c783205
Merge pull request #2308 from contentstack/feat/DX-3870-2
cs-raj Jan 23, 2026
9101c8c
Merge branch 'development' into chore/DX-3900-new
netrajpatel Jan 23, 2026
6f7c43f
Merge pull request #2339 from contentstack/development
harshithad0703 Jan 23, 2026
fb1b4ab
Resolved review comments
netrajpatel Jan 23, 2026
21d7578
Fixed unit tests
netrajpatel Jan 23, 2026
bf7d9bf
Resolved failing tests
netrajpatel Jan 23, 2026
93cea07
Merge pull request #2338 from contentstack/chore/DX-3900-new
netrajpatel Jan 23, 2026
6541afa
Merge branch 'staging' into fix/back-merge2
harshithad0703 Jan 27, 2026
d341627
Merge pull request #2347 from contentstack/fix/back-merge2
harshithad0703 Jan 27, 2026
66eaf17
Merge pull request #2345 from contentstack/development
harshithad0703 Jan 27, 2026
f749cfb
Merge pull request #2342 from contentstack/staging
harshithad0703 Jan 27, 2026
676d73c
Added unit tests
cs-raj Jan 27, 2026
1a10b8d
Lock File Updated
cs-raj Jan 28, 2026
90d9c57
Merge branch 'development' into fix/DX-3932
cs-raj Jan 28, 2026
219af16
Version bump
cs-raj Jan 28, 2026
78c9623
Merge pull request #2350 from contentstack/main
harshithad0703 Jan 28, 2026
463d3ac
Merge branch 'development' into fix/DX-3932
cs-raj Jan 28, 2026
f48c552
Merge branch 'development' into feat/DX-3899
cs-raj Jan 28, 2026
22d8f93
Workflow Updated
cs-raj Jan 28, 2026
c616b96
Merge pull request #2354 from contentstack/fix/workflow
cs-raj Jan 28, 2026
8e0a57c
Release workflow Update
cs-raj Jan 29, 2026
fefeb9e
Merge branch 'main' into enh/dx-3902-Refactor-Endpoints-Integrations
harshithad0703 Jan 29, 2026
d134fc6
Merge pull request #2356 from contentstack/main
harshithad0703 Jan 29, 2026
130042f
Merge branch 'development' into enh/dx-3902-Refactor-Endpoints-Integr…
harshithad0703 Jan 29, 2026
e0dc68f
Replace hardcoded region objects with dynamic generation using getCon…
harshithad0703 Jan 29, 2026
90a6f65
Fix: Added Unit Tests for Migration
cs-raj Jan 29, 2026
2d79cb7
Merge branch 'development' into fix/DX-3932
cs-raj Jan 29, 2026
5432c69
Fix: Lock File update
cs-raj Jan 29, 2026
56eca36
Merge pull request #2335 from contentstack/fix/DX-3932
cs-raj Jan 29, 2026
088d4fe
Enhance type safety in region-handler
harshithad0703 Jan 30, 2026
c366a10
Merge branch 'development' into enh/dx-3902-Refactor-Endpoints-Integr…
harshithad0703 Jan 30, 2026
e1a7667
Version bump
cs-raj Jan 30, 2026
a60dc52
chore: version bumps
Jan 30, 2026
4e341b7
Merge branch 'development' into feat/DX-3821
Jan 30, 2026
243767d
Merge pull request #2348 from contentstack/feat/DX-3821
naman-contentstack Jan 30, 2026
c4a8146
Merge branch 'development' into feat/DX-3899
cs-raj Jan 30, 2026
5d647d7
Lock File Update
cs-raj Jan 30, 2026
7fdc045
Merge pull request #2349 from contentstack/feat/DX-3899
cs-raj Jan 30, 2026
305328b
version bump
harshithad0703 Jan 30, 2026
f2ba22f
Merge pull request #2366 from contentstack/fix/version-bump02-02
harshithad0703 Jan 30, 2026
92f6ac5
Merge pull request #2363 from contentstack/development
harshithad0703 Jan 30, 2026
d8805c3
Merge pull request #2368 from contentstack/staging
harshithad0703 Feb 2, 2026
be5c460
Fixed kickstart apps breaking issue in bootstrap command
sunil-lakshman Feb 2, 2026
60c69da
Merge pull request #2370 from contentstack/main
harshithad0703 Feb 2, 2026
e86ed7b
Merge branch development into enh/dx-3902-Refactor-Endpoints-Integrat…
harshithad0703 Feb 2, 2026
0527848
version bump
harshithad0703 Feb 2, 2026
abf77df
utils version bump
harshithad0703 Feb 2, 2026
ff8521e
update pnpm-lock
harshithad0703 Feb 2, 2026
8edb05e
update changelog
harshithad0703 Feb 2, 2026
346183f
Fixed region issue
sunil-lakshman Feb 3, 2026
9f906e1
Merge branch 'development' into fix/kickstart-apps
sunil-lakshman Feb 3, 2026
5d116e6
Support kickstart apps in dev environment
sunil-lakshman Feb 3, 2026
ee968a7
Fixed security issues
sunil-lakshman Feb 3, 2026
2eef116
Region support added
sunil-lakshman Feb 3, 2026
dc73d20
Merge pull request #2369 from contentstack/fix/kickstart-apps
sunil-lakshman Feb 4, 2026
c41dce3
Merge branch 'development' into enh/dx-3902-Refactor-Endpoints-Integr…
harshithad0703 Feb 4, 2026
1e9185d
version bump
harshithad0703 Feb 4, 2026
9543b3e
Updated package and pnpm lock files
sunil-lakshman Feb 4, 2026
32f0dff
Merge pull request #2357 from contentstack/enh/dx-3902-Refactor-Endpo…
harshithad0703 Feb 5, 2026
5b30b3d
Merge pull request #2376 from contentstack/development
harshithad0703 Feb 6, 2026
9840f0d
Merge pull request #2379 from contentstack/staging
harshithad0703 Feb 9, 2026
8ccb830
Merge pull request #2382 from contentstack/main
harshithad0703 Feb 9, 2026
d57a421
Fix: Dependency Updated
cs-raj Feb 12, 2026
d5c66a8
Merge pull request #2388 from contentstack/fix/sre
cs-raj Feb 12, 2026
f8ac07c
fix: Removed Management SDK from seed, core and import
cs-raj Feb 13, 2026
b821239
Merge pull request #2392 from contentstack/development
cs-raj Feb 13, 2026
875fbd5
Added management sdk in contentstack core
cs-raj Feb 13, 2026
8f1899f
Merge pull request #2389 from contentstack/fix/sdk-removal
cs-raj Feb 13, 2026
4b31909
Merge branch 'staging' into development
cs-raj Feb 13, 2026
cde525c
Merge pull request #2395 from contentstack/dev-to-stage
cs-raj Feb 13, 2026
a4a2070
Merge pull request #2394 from contentstack/development
cs-raj Feb 13, 2026
4e0a8f1
Merge pull request #2393 from contentstack/staging
naman-contentstack Feb 16, 2026
6d460d3
Merge pull request #2400 from contentstack/main
naman-contentstack Feb 16, 2026
fc1c949
Merge pull request #2401 from contentstack/staging
naman-contentstack Feb 16, 2026
ea6721f
fix: Updated CLI Utilites to v1.17.4
cs-raj Feb 17, 2026
2ce1804
Merge pull request #2409 from contentstack/fix/release-utilities
cs-raj Feb 17, 2026
3a68cf6
Merge branch 'main' into staging
cs-raj Feb 18, 2026
1626484
Merge pull request #2413 from contentstack/back-merge/main-to-stage
cs-raj Feb 18, 2026
284cce7
Merge branch 'staging' into development
cs-raj Feb 18, 2026
ca5f3b4
Merge pull request #2414 from contentstack/back-merge/stage-to-dev
cs-raj Feb 18, 2026
3935cb3
feat(audit): validate referenced entry content types in entries audit
cs-raj Feb 23, 2026
ad98bea
Remove Redundant code block
cs-raj Feb 24, 2026
c9b1a38
Merge pull request #2423 from contentstack/feat/DX-3800
cs-raj Feb 24, 2026
a2b3040
fix: Skipping lytics audience creation
cs-raj Feb 24, 2026
a0dbaf5
fix(personalize): filter lytics audiences in experience variants duri…
cs-raj Feb 24, 2026
6e88515
Merge pull request #2427 from contentstack/fix/DX-3445
cs-raj Feb 25, 2026
1ec096d
added workflows and scripts
shafeeqd959 Feb 26, 2026
8ae7a27
updated release workflow
shafeeqd959 Feb 26, 2026
3aab1af
merged git workflow changes
shafeeqd959 Mar 2, 2026
1227ad1
disabled the beta release
shafeeqd959 Mar 2, 2026
eeed14c
Merge pull request #2 from contentstack/v1-dev
shafeeqd959 Mar 2, 2026
9e7984e
Delete CODEOWNERS
aravindbuilt Mar 2, 2026
a33fce9
Update policy-scan.yml
aravindbuilt Mar 2, 2026
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
22 changes: 22 additions & 0 deletions .github/config/release.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
{
"releaseAll": true,
"plugins": {
"utilities": false,
"command": false,
"config": false,
"auth": false,
"export": false,
"import": false,
"clone": false,
"export-to-csv": false,
"migrate-rte": false,
"migration": false,
"seed": false,
"bootstrap": false,
"bulk-publish": false,
"dev-dependencies": false,
"launch": false,
"branches": false,
"core": false
}
}
68 changes: 68 additions & 0 deletions .github/workflows/codeql-analysis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
# For most projects, this workflow file will not need changing; you simply need
# to commit it to your repository.
#
# You may wish to alter this file to override the set of languages analyzed,
# or to provide custom queries or build logic.
#
# ******** NOTE ********
# We have attempted to detect the languages in your repository. Please check
# the `language` matrix defined below to confirm you have the correct set of
# supported CodeQL languages.
#
name: "CodeQL"

on:
pull_request:
# The branches below must be a subset of the branches above
branches: '*'

jobs:
analyze:
name: Analyze
runs-on: ubuntu-latest
permissions:
actions: read
contents: read
security-events: write

strategy:
fail-fast: false
matrix:
language: [ 'javascript' ]
# CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]
# Learn more about CodeQL language support at https://aka.ms/codeql-docs/language-support

steps:
- name: Checkout repository
uses: actions/checkout@v3.5.3

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
uses: github/codeql-action/init@v2
with:
languages: ${{ matrix.language }}
# If you wish to specify custom queries, you can do so here or in a config file.
# By default, queries listed here will override any specified in a config file.
# Prefix the list here with "+" to use these queries and those in the config file.

# Details on CodeQL's query packs refer to : https://docs.github.com/en/code-security/code-scanning/automatically-scanning-your-code-for-vulnerabilities-and-errors/configuring-code-scanning#using-queries-in-ql-packs
# queries: security-extended,security-and-quality


# Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
# If this step fails, then you should remove it and run the build manually (see below)
- name: Autobuild
uses: github/codeql-action/autobuild@v2

# ℹ️ Command-line programs to run using the OS shell.
# 📚 See https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#jobsjob_idstepsrun

# If the Autobuild fails above, remove it and uncomment the following three lines.
# modify them (or add more) to build your code if your project, please refer to the EXAMPLE below for guidance.

# - run: |
# echo "Run, Build Application using script"
# ./location_of_script_within_repo/buildscript.sh

- name: Perform CodeQL Analysis
uses: github/codeql-action/analyze@v2
2 changes: 1 addition & 1 deletion .github/workflows/policy-scan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,4 +43,4 @@ jobs:
if [ "$license_file_found" = false ]; then
echo "No license file found. Please add a license file to the repository."
exit 1
fi
fi
253 changes: 253 additions & 0 deletions .github/workflows/release-v1-beta-plugins.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,253 @@
name: Release CLI Plugins (v1 Beta)

on:
push:
branches: [disable-v1-beta]

jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- uses: pnpm/action-setup@v4
with:
version: 10.28.0
- uses: actions/setup-node@v4
with:
node-version: '22.x'

- name: Enable Corepack
run: corepack enable

- name: Install pnpm
run: corepack prepare pnpm@10.28.0 --activate

- name: Install root dependencies
run: pnpm install

- name: Reading Configuration
id: release_config
uses: rgarcia-phi/json-to-variables@v1.1.0
with:
filename: .github/config/release.json
prefix: release

# Variants
- name: Installing dependencies of variants
id: variants-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_utilities == 'true'}}
working-directory: ./packages/contentstack-variants
run: npm install
- name: Compiling variants
if: ${{ steps.variants-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-variants
run: npm run prepack
- name: Publishing variants (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.variants-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-variants/package.json
access: public
tag: beta

# Export
- name: Installing dependencies of export
id: export-installation
if: ${{ env.release_releaseAll == 'true' || env.release_plugins_export == 'true'}}
working-directory: ./packages/contentstack-export
run: npm install
- name: Compiling export
if: ${{ steps.export-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-export
run: npm run prepack
- name: Publishing export (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.export-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-export/package.json
tag: beta

# Audit
- name: Installing dependencies of audit
id: audit-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_audit == 'true'}}
working-directory: ./packages/contentstack-audit
run: npm install
- name: Compiling audit
if: ${{ steps.audit-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-audit
run: npm run prepack
- name: Publishing audit (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.audit-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-audit/package.json
access: public
tag: beta

# Import
- name: Installing dependencies of import
id: import-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_import == 'true'}}
working-directory: ./packages/contentstack-import
run: npm install
- name: Compiling import
if: ${{ steps.import-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-import
run: npm run prepack
- name: Publishing import (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.import-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-import/package.json
tag: beta

# Clone
- name: Installing dependencies of clone
id: clone-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_clone == 'true'}}
working-directory: ./packages/contentstack-clone
run: npm install
- name: Publishing clone (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.clone-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-clone/package.json
tag: beta

# Import Setup
- name: Installing dependencies of import-setup
id: import-setup-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_import_setup == 'true'}}
working-directory: ./packages/contentstack-import-setup
run: npm install
- name: Compiling import-setup
if: ${{ steps.import-setup-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-import-setup
run: npm run prepack
- name: Publishing import-setup (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.import-setup-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-import-setup/package.json
access: public
tag: beta

# Export to CSV
- name: Installing dependencies of export to csv
id: export-to-csv-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_export-to-csv == 'true'}}
working-directory: ./packages/contentstack-export-to-csv
run: npm install
- name: Publishing export to csv (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.export-to-csv-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-export-to-csv/package.json
tag: beta

# Migration
- name: Installing dependencies of migration
id: migration-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_migration == 'true'}}
working-directory: ./packages/contentstack-migration
run: npm install
- name: Publishing migration (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.migration-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-migration/package.json
tag: beta

# Seed
- name: Installing dependencies of seed
id: seed-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_seed == 'true'}}
working-directory: ./packages/contentstack-seed
run: npm install
- name: Compiling seed
if: ${{ steps.seed-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-seed
run: npm run prepack
- name: Publishing seed (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.seed-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-seed/package.json
tag: beta

# Bootstrap
- name: Installing dependencies of bootstrap
id: bootstrap-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_bootstrap == 'true'}}
working-directory: ./packages/contentstack-bootstrap
run: npm install
- name: Compiling bootstrap
if: ${{ steps.bootstrap-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-bootstrap
run: npm run prepack
- name: Publishing bootstrap (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.bootstrap-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-bootstrap/package.json
tag: beta

# Bulk Publish
- name: Installing dependencies of bulk publish
id: bulk-publish-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_bulk-publish == 'true'}}
working-directory: ./packages/contentstack-bulk-publish
run: npm install
- name: Publishing bulk publish (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.bulk-publish-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-bulk-publish/package.json
tag: beta

# Branches
- name: Installing dependencies of branches
id: branches-installation
if: ${{env.release_releaseAll == 'true' || env.release_plugins_branches == 'true'}}
working-directory: ./packages/contentstack-branches
run: npm install
- name: Compiling branches
if: ${{ steps.branches-installation.conclusion == 'success' }}
working-directory: ./packages/contentstack-branches
run: npm run prepack
- name: Publishing branches (Beta)
uses: JS-DevTools/npm-publish@v3
if: ${{ steps.branches-installation.conclusion == 'success' }}
with:
token: ${{ secrets.NPM_TOKEN }}
package: ./packages/contentstack-branches/package.json
access: public
tag: beta

- name: Create Beta Release
if: ${{ steps.publish-core.conclusion == 'success' }}
id: create_release
env:
GITHUB_TOKEN: ${{ secrets.PKG_TOKEN }}
VERSION: ${{ steps.publish-core.outputs.version }}
run: |
# Get the previous beta release for comparison
PREVIOUS_BETA=$(gh release list --limit 10 | grep 'beta' | head -1 | cut -f1)

if [ -n "$PREVIOUS_BETA" ]; then
gh release create v"$VERSION" --title "Beta Release $VERSION" --notes-from-tag "$PREVIOUS_BETA" --prerelease
else
gh release create v"$VERSION" --title "Beta Release $VERSION" --generate-notes --prerelease
fi
Loading
Loading