Skip to content
This repository was archived by the owner on Jan 19, 2026. It is now read-only.
Merged

v4 #181

Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
334 commits
Select commit Hold shift + click to select a range
08c5248
chore: fix lint
alvarosabu Nov 5, 2024
ecbc003
chore: fix lint
alvarosabu Nov 5, 2024
a9074a1
feat: separate-files option
alvarosabu Nov 7, 2024
c3b09d9
feat!: `.storyblok` directory encapsulation as default path
alvarosabu Nov 13, 2024
19df3ff
feat!: generated files naming syntax convention
alvarosabu Nov 13, 2024
6ee6107
Merge pull request #134 from storyblok/feature/storyblok-directory-de…
alvarosabu Nov 15, 2024
42b09f2
feat: remove strict write permission for generated files
alvarosabu Nov 27, 2024
65dc86c
feat: remove unnecesary check on save files since recursive mkdir is …
alvarosabu Nov 27, 2024
36557eb
feat: change argument syntax for suffix
alvarosabu Nov 27, 2024
c66270c
feat: remove again strict permissions for filesystem
alvarosabu Nov 29, 2024
16c91fc
Merge pull request #135 from storyblok/feature/generated-file-naming-…
alvarosabu Dec 2, 2024
15ff9f9
Merge branch 'next' into feature/pull-components-cmd
alvarosabu Dec 2, 2024
6cabaab
feat: suffix command and new file organization for pull-components
alvarosabu Dec 3, 2024
8b11e89
feat: add pull as as subcommand
alvarosabu Dec 4, 2024
775968d
feat: components presets
alvarosabu Dec 12, 2024
5081d23
feat: pass space data as an object to the save components to files ac…
alvarosabu Dec 12, 2024
43f889a
feat: move interfaces to constants
alvarosabu Dec 17, 2024
d3ed9ed
feat: replace netrc with json
alvarosabu Dec 18, 2024
6b28089
feat: simplify file saving logic by removing nested structure and mak…
alvarosabu Jan 8, 2025
2722b29
feat: update resolved path for saving components to include space dir…
alvarosabu Jan 8, 2025
4573f25
fix: clean linter
alvarosabu Jan 8, 2025
c1cf584
feat: updated tests to remove netrc
alvarosabu Jan 9, 2025
eb4cdca
refactor: replace ofetch with customFetch and improve error handling
alvarosabu Jan 10, 2025
17f4c54
chore: update lock
alvarosabu Jan 10, 2025
a770c11
feat: simplified fetch wrapper and enhance type safety
alvarosabu Jan 13, 2025
3d2f936
chore: delete unused path
alvarosabu Jan 14, 2025
445f8ab
feat: refactor credential management to handle non-existent files and…
alvarosabu Jan 14, 2025
e2f670e
chore: remove leftover console.log
alvarosabu Jan 14, 2025
bcbb136
Merge pull request #147 from storyblok/bugfix/replace-ofetch-native-f…
alvarosabu Jan 14, 2025
27f97da
Merge branch 'next' into bugfix/replace-netrc-with-json
alvarosabu Jan 14, 2025
561fd1d
chore: remove leftovers of netrc
alvarosabu Jan 14, 2025
ac810ae
Merge pull request #146 from storyblok/bugfix/replace-netrc-with-json
alvarosabu Jan 14, 2025
5dcf13a
feat: re-structured language command with sub commands
alvarosabu Jan 16, 2025
20bca5a
Merge branch 'feature/refactor-language-command-updated-dx' into feat…
alvarosabu Jan 16, 2025
8472a25
feat: update saveComponentsToFiles function and related tests
alvarosabu Jan 16, 2025
42c1c35
chore: remove block command implementation and clean up imports
alvarosabu Jan 16, 2025
4862d0d
feat: add alias for languages command
alvarosabu Jan 16, 2025
e48e870
Merge pull request #148 from storyblok/feature/refactor-language-comm…
alvarosabu Jan 16, 2025
38d4251
feat: add fetchComponent function and update components command to su…
alvarosabu Jan 20, 2025
941dd77
Merge branch 'feature/pull-components-cmd' into feature/push-componen…
alvarosabu Jan 21, 2025
9e0ec04
refactor: remove unused ComponentsSaveOptions interface and clean up …
alvarosabu Jan 21, 2025
9830937
feat: adapt readComponentsFiles with filters to new directory structure
alvarosabu Jan 21, 2025
5fe5149
feat: classy minimal spinner
alvarosabu Jan 21, 2025
332ad98
Update src/commands/components/index.ts
alvarosabu Jan 21, 2025
2d4da46
chore: remove delay from actions
alvarosabu Jan 21, 2025
b59e089
chore: remove import for linter
alvarosabu Jan 21, 2025
5ddd298
Merge pull request #149 from storyblok/feature/loading-spinner
edodusi Jan 21, 2025
32af62d
chore: wip push
alvarosabu Jan 22, 2025
8de5ee0
Update src/commands/components/index.ts
alvarosabu Jan 22, 2025
5ac8c15
Merge branch 'next' into feature/pull-components-cmd
alvarosabu Jan 22, 2025
300f50d
chore(tests): updated success messages in components command to use "…
alvarosabu Jan 22, 2025
eaaeedb
fix: update COMPONENTS color in constants and enhance components comm…
alvarosabu Jan 22, 2025
531656d
Merge pull request #139 from storyblok/feature/pull-components-cmd
alvarosabu Jan 22, 2025
31e2b25
Merge branch 'next' into feature/push-components-cmd
alvarosabu Jan 22, 2025
4d8fea1
feat: sequential async operations with spinner output
alvarosabu Jan 23, 2025
6979b6b
feat: spinner async list for pushing components
alvarosabu Jan 27, 2025
aa462f8
feat: add warning for empty component list during push
alvarosabu Jan 27, 2025
14fde8c
feat: add support for component internal tags
alvarosabu Jan 27, 2025
d649e76
feat: enhance component push with upsert and tag synchronization
alvarosabu Jan 27, 2025
1cffa4c
refactor: simplify component command state handling
alvarosabu Jan 27, 2025
ff66423
feat: add retry mechanism to custom fetch utility
alvarosabu Jan 28, 2025
030d5d3
refactor: improve code readability with explicit conditionals and for…
alvarosabu Jan 28, 2025
a3ff665
feat: enhance component push with comprehensive resource synchronization
alvarosabu Jan 29, 2025
45f3d1b
refactor: restructure components module with modular architecture
alvarosabu Jan 30, 2025
fc28d9a
refactor: update error handling and test cases for API interactions
alvarosabu Jan 30, 2025
335f859
refactor: standardize code style with semicolons and minor formatting
alvarosabu Jan 30, 2025
3228eca
test: standardize user actions test file formatting
alvarosabu Jan 30, 2025
bfa5f79
Merge pull request #151 from storyblok/feature/new-deps-update
alvarosabu Jan 30, 2025
a155afc
Merge branch 'next' into feature/push-components-cmd
alvarosabu Jan 30, 2025
7be6b35
refactor: fix all failing test from latest merge next
alvarosabu Jan 30, 2025
1816888
refactor: standardize code formatting and semicolon usage in test files
alvarosabu Jan 30, 2025
0a2fe72
refactor: modularize component push operations and simplify code stru…
alvarosabu Jan 30, 2025
1d356df
test: add comprehensive test suite for component push actions
alvarosabu Jan 30, 2025
c3e8592
test: add unit tests for component push tag handling operations
alvarosabu Feb 3, 2025
11ef66c
feat: implement hierarchical component group handling in push command
alvarosabu Feb 3, 2025
bd7f05a
feat: implement component processing with group and tag mapping in pu…
alvarosabu Feb 4, 2025
f04e262
feat: enhance component push filtering with pattern and component-spe…
alvarosabu Feb 4, 2025
1f793bb
refactor: clean up imports and simplify type references in push opera…
alvarosabu Feb 4, 2025
dbcbbea
feat: enhance component pull/push command with improved path handling…
alvarosabu Feb 10, 2025
4356db8
refactor: remove unused `parse` import from path module in push actions
alvarosabu Feb 10, 2025
09f55b2
refactor: update languages command file structure and testing
alvarosabu Feb 10, 2025
26b14f9
test: fix filesystem path resolution test cases
alvarosabu Feb 10, 2025
b79677a
test: update component pull actions test cases with improved path han…
alvarosabu Feb 10, 2025
24fff77
test: update readComponentsFiles test cases with improved error handl…
alvarosabu Feb 10, 2025
ba59f51
test: update component push operations test with refined component pr…
alvarosabu Feb 10, 2025
a1f7ca8
test: refine component push operations test cases with updated whitel…
alvarosabu Feb 10, 2025
f243ea9
feat: add migrations command with generate functionality
alvarosabu Feb 14, 2025
32bc90f
test: re-enable and update component pull command test cases
alvarosabu Feb 14, 2025
3970add
refactor: simplified `handleComponents` whitelist params and added in…
alvarosabu Feb 14, 2025
24c8054
test: add test cases for component push with group and component whit…
alvarosabu Feb 14, 2025
66f9865
test: add support for component name and filter flags in push command
alvarosabu Feb 17, 2025
115f9dc
Merge branch 'feature/push-components-cmd' into feature/migrations-ge…
alvarosabu Feb 17, 2025
f25d5ae
test: clean up unnecessary logging and spy in push command test
alvarosabu Feb 17, 2025
debf88b
refactor: remove debug logging and optimize import order in push and …
alvarosabu Feb 17, 2025
0c0308a
refactor: remove debug logging in push command
alvarosabu Feb 17, 2025
fa44256
test: remove debug logging from push command test
alvarosabu Feb 17, 2025
88dcfb9
test: enhance migrations generate command test coverage
alvarosabu Feb 17, 2025
5d73c09
docs: add comprehensive README for migrations generate command
alvarosabu Feb 17, 2025
1d70c54
feat: add optional suffix for migration file generation
alvarosabu Feb 17, 2025
b46e474
test: update migration generation tests to support optional suffix pa…
alvarosabu Feb 17, 2025
012335c
refactor: improve error handling and file reading in components push …
alvarosabu Feb 18, 2025
2147194
refactor: remove unused CommandError import in push command
alvarosabu Feb 18, 2025
f1bfa41
feat: add validation for component name in push operation
alvarosabu Feb 19, 2025
fd29ca9
fix: filter internal tags to include only component tags
alvarosabu Feb 19, 2025
044f70a
chore: remove duplicate comment line in component preset actions
alvarosabu Feb 24, 2025
68cfcfe
Merge pull request #152 from storyblok/feature/push-components-cmd
alvarosabu Feb 24, 2025
c0a9508
Merge branch 'next' into feature/migrations-generate-cmd
alvarosabu Feb 25, 2025
ad1ac96
refactor: removed field option
alvarosabu Feb 25, 2025
4c2243d
feat: fetch stories action method
alvarosabu Feb 25, 2025
0e9a6b4
refactor: extract glob pattern to regex utility function
alvarosabu Mar 3, 2025
17f9372
feat: add migrations run command with comprehensive story migration s…
alvarosabu Mar 3, 2025
24a4bb0
refactor: improve migration run command with component filtering and …
alvarosabu Mar 3, 2025
bbdd243
refactor: improve code formatting and documentation
alvarosabu Mar 3, 2025
552eb39
fix: storyblok stories actions test suite
alvarosabu Mar 3, 2025
1cc4c46
test: add comprehensive test suite for migration file reading actions
alvarosabu Mar 3, 2025
d221484
test: add comprehensive test suite for migration function loading
alvarosabu Mar 3, 2025
66948de
test: add comprehensive test suite for migrations run command
alvarosabu Mar 4, 2025
5e4b56b
test: enhance migrations run command test coverage
alvarosabu Mar 4, 2025
1935341
feat: add query filter support for migrations run command
alvarosabu Mar 5, 2025
2cea40f
docs: update migration generate command documentation
alvarosabu Mar 5, 2025
960e961
test: update test cases for stories and migrations run command
alvarosabu Mar 6, 2025
5765fc6
feat: add starts-with filter support for migrations run command
alvarosabu Mar 6, 2025
5d1d18f
refactor: remove unused `storyModified` variable in migrations run op…
alvarosabu Mar 6, 2025
0753465
feat: add publish option for migrations run command
alvarosabu Mar 6, 2025
162f0b6
docs: add comprehensive testing checklist for migrations run command
alvarosabu Mar 6, 2025
9d01c14
refactor: clean up imports and improve updateStory function documenta…
alvarosabu Mar 6, 2025
eeeb3ea
fix: improved error handling and spinner failed state
alvarosabu Mar 10, 2025
afe04aa
Merge pull request #153 from storyblok/feature/migrations-generate-cmd
alvarosabu Mar 11, 2025
172a876
Merge branch 'next' into feature/migrations-run-cmd
alvarosabu Mar 13, 2025
cc43c7e
Merge pull request #155 from storyblok/feature/migrations-run-cmd
alvarosabu Mar 13, 2025
f787d9d
feat: enhance migration run processing with rollback support
alvarosabu Mar 18, 2025
4b21c08
feat: implement rollback functionality for migrations
alvarosabu Mar 18, 2025
1579e99
chore: add unit tests for rollback functionality and refactor actions
alvarosabu Mar 19, 2025
6af274e
docs: add README for rollback command testing checklist
alvarosabu Mar 19, 2025
aa0d797
fix: correct JSON structure in VSCode launch configuration
alvarosabu Mar 19, 2025
35bc5ad
fix: improve rollback file reading and story content handling
alvarosabu Mar 27, 2025
ed05986
Merge pull request #159 from storyblok/feature/migrations-rollback-cmd
alvarosabu Mar 27, 2025
d845c17
feat: add utility functions for string formatting and object manipula…
alvarosabu Apr 1, 2025
f189cae
fix: component presets filename should be pluralized
angelikatyborska Apr 1, 2025
c7b3e64
Merge pull request #162 from storyblok/next-component-preset-filename
alvarosabu Apr 1, 2025
4c7dcac
feat: base types generation cmd
alvarosabu Apr 7, 2025
4cf1e3b
feat: strict mode to disable compiler.additionalProperties loose typing
alvarosabu Apr 7, 2025
1b5f03f
feat: generate shared storyblok property types d.ts
alvarosabu Apr 7, 2025
2648fa3
feat: generate d.ts with storyblok special field types
alvarosabu Apr 8, 2025
08d27be
feat: blok fields type generation
alvarosabu Apr 8, 2025
0d5b1c3
feat: enhance type generation with space data integration
alvarosabu Apr 8, 2025
2c7444b
feat: added type prefix flag
alvarosabu Apr 8, 2025
1e85c1a
chore: add debug configuration for generating types from separate files
alvarosabu Apr 8, 2025
a88d059
refactor: simplify generate command options
alvarosabu Apr 9, 2025
d64f1c2
fix: add suffix support for component reading and pushing
alvarosabu Apr 9, 2025
6777881
fix: update suffix parameter in readConsolidatedFiles function
alvarosabu Apr 9, 2025
05b07c3
Merge pull request #171 from storyblok/bugfix/164-cannot-push-compone…
alvarosabu Apr 9, 2025
014591a
Merge branch 'next' into feature/types-generate-cmd
alvarosabu Apr 10, 2025
5e99e28
feat: enhance type generation command with suffix support
alvarosabu Apr 10, 2025
291576d
feat: implement custom fields parser for type generation
alvarosabu Apr 10, 2025
4ac34e1
feat: add compiler options support for type generation
alvarosabu Apr 10, 2025
b0ba4d1
test: add comprehensive tests for type generation actions
alvarosabu Apr 14, 2025
e26edbd
test: add unit tests for type generation command
alvarosabu Apr 14, 2025
d0aab03
fix: remove unused import in type generation test
alvarosabu Apr 14, 2025
d80dfa0
Merge pull request #169 from storyblok/feature/types-generate-cmd
alvarosabu Apr 14, 2025
18aeee8
fix: added spinnesr fail on try catch error handler
alvarosabu Apr 30, 2025
d1a8adf
Merge pull request #177 from storyblok/bugfix/166-4-pull-commands-han…
alvarosabu Apr 30, 2025
df4aaef
feat: add GitHub Actions workflow for publishing commits
alvarosabu Apr 30, 2025
5902268
Merge pull request #179 from storyblok/chore/ci-pkg-pr-new
alvarosabu Apr 30, 2025
d193e81
Merge branch 'main' into next
alvarosabu Apr 30, 2025
7581d40
docs: update README and add Type Generation Command documentation
alvarosabu May 5, 2025
2218ac8
docs: clean up README formatting and improve readability
alvarosabu May 5, 2025
e3719c3
docs: Update src/commands/types/generate/README.md
alvarosabu May 5, 2025
d387349
docs: Update src/commands/types/generate/README.md
alvarosabu May 5, 2025
4928072
docs: fix formatting in Type Generation Command section of README.md
alvarosabu May 5, 2025
be46695
chore: remove outdated README files for components and migrations
alvarosabu May 5, 2025
ee3c59d
Merge pull request #183 from storyblok/chore/readme-based-on-new-temp…
alvarosabu May 5, 2025
87051f0
Merge pull request #184 from storyblok/chore/remove-internal-readmes
alvarosabu May 5, 2025
7487ed4
fix(login): improved spinner error handling
alvarosabu May 5, 2025
7e9dba8
chore: update package dependencies and versions
alvarosabu May 5, 2025
2144577
feat(login, logout): enhance user feedback and add logout command sty…
alvarosabu May 5, 2025
9e60843
chore: change import order
alvarosabu May 5, 2025
6e38067
fix(languages): improve spinner handling and feedback during language…
alvarosabu May 5, 2025
69bd271
fix(languages): update success message logging to include additional …
alvarosabu May 5, 2025
1564c5a
fix(user): enhance spinner handling and logging feedback
alvarosabu May 5, 2025
9b0677c
fix(types): enhance success message logging and spinner handling
alvarosabu May 6, 2025
dfb1902
fix(logging): enhance console output readability with line breaks
alvarosabu May 6, 2025
d19189a
Merge pull request #186 from storyblok/bugfix/fix-hanging-spinners-on…
alvarosabu May 6, 2025
598e071
docs: v4 beta internal docs
alvarosabu May 6, 2025
c0323cd
docs(logout): add README for logout command
alvarosabu May 6, 2025
437bd59
docs(languages): add README for languages command
alvarosabu May 6, 2025
283169d
docs(user): add README for user command
alvarosabu May 6, 2025
8f01508
docs(README): update command reference and add global options section
alvarosabu May 6, 2025
24df207
docs: clean up README files by removing trailing whitespace
alvarosabu May 6, 2025
8e37554
docs(components): add README files for components commands and update…
alvarosabu May 6, 2025
d5e1d06
docs(components): remove trailing whitespace from README files
alvarosabu May 6, 2025
72600e4
docs(migrations): add README files for migrations commands
alvarosabu May 8, 2025
f0b64ea
docs: apply suggestions from code review
alvarosabu May 8, 2025
3479d26
docs: update README files for improved clarity and structure
alvarosabu May 8, 2025
198108b
docs: remove unnecessary blank line in README
alvarosabu May 8, 2025
cafdb9d
docs: remove redundant login requirement note from multiple README files
alvarosabu May 8, 2025
6402357
feat(constants): update color palette for improved UI consistency
alvarosabu May 9, 2025
9fc704d
Merge pull request #189 from storyblok/feature/update-branding-colors
alvarosabu May 9, 2025
55a2dd9
Merge pull request #187 from storyblok/chore/internal-docs-for-beta
alvarosabu May 12, 2025
c3ed348
fix: update main entry point in package.json
alvarosabu May 12, 2025
0631dfc
chore: remove pathe from externals
alvarosabu May 12, 2025
c3faa77
fix: update lock
alvarosabu May 12, 2025
bc8197c
fix: streamline index.ts by removing chalk and enhancing konsola usage
alvarosabu May 12, 2025
7ed5b47
chore: capitalize help descriptions
alvarosabu May 12, 2025
fe67f79
Merge pull request #190 from storyblok/bugfix/console-tweaks
alvarosabu May 12, 2025
505b9f7
chore: add release-it configuration and update package scripts
alvarosabu May 12, 2025
8d31f14
chore: update dependencies and devDependencies in package.json and pn…
alvarosabu May 12, 2025
98b9ab8
chore: release v4.0.0-beta.0
alvarosabu May 12, 2025
6c914ad
docs: sync command important info
alvarosabu May 13, 2025
fc936d2
docs: update README for clarity and accuracy
alvarosabu May 13, 2025
493f200
Merge pull request #191 from storyblok/chore/sync-extra-info
alvarosabu May 13, 2025
13003c9
docs: refine sync command description for clarity
alvarosabu May 13, 2025
07e0854
fix: adjust konsola breaks
alvarosabu May 14, 2025
6c6b870
Merge pull request #192 from storyblok/bugfix/reduce-gap-title-command
alvarosabu May 14, 2025
178a34d
chore: release v4.0.0-beta.1
alvarosabu May 14, 2025
2bc94d1
chore: updated the package json detection and removed the stub env vars
imranolas May 15, 2025
ae9d985
chore: update dev script in package.json to remove stub build
alvarosabu May 19, 2025
8e83b95
Merge pull request #194 from storyblok/chore/package-root
alvarosabu May 19, 2025
028ffc1
fix: prevent infinite loop on push component
angelikatyborska May 19, 2025
945c73c
chore: update .gitignore to include .DS_Store and remove it from the …
alvarosabu May 19, 2025
5661a1d
Merge pull request #196 from storyblok/chore/remove-ds-store
alvarosabu May 19, 2025
7e10dcf
chore: add comment explaining unusual conditional
angelikatyborska May 19, 2025
7c570e6
Merge pull request #195 from angelikatyborska/next-old-root-groups
alvarosabu May 19, 2025
7812ae5
chore: correct comment indentation for clarity in handleComponentGrou…
alvarosabu May 21, 2025
99e259f
fix: fetchComponent when shared name prefix or suffix (#198)
angelikatyborska May 21, 2025
d6dd0f8
fix: 203-v4-languages-infinite-fetching-for-space-with-no-languages-i…
alvarosabu May 23, 2025
e6b1251
fix(login): improve region handling when login (#205)
alvarosabu May 26, 2025
431fb27
chore: release v4.0.0-beta.2
alvarosabu May 26, 2025
caa1985
fix(generate): update path resolution and improve type extraction for…
alvarosabu May 27, 2025
8317c30
fix(creds): get first credential to operate (#206)
alvarosabu May 27, 2025
7069e8e
fix(type): generate single and multi options fields types correctly …
alvarosabu May 28, 2025
e2a5e53
chore: release v4.0.0-beta.3
alvarosabu May 28, 2025
b2eb3fe
fix(push): enhance error messages and add space option to readCompone…
alvarosabu May 30, 2025
1fe6f10
chore(deps): add @storyblok/js dependency version 4.0.0
alvarosabu Jun 3, 2025
6c8c617
fix(type): import ISbStoryData from storyblok-js package (#218)
alvarosabu Jun 3, 2025
141d8bd
fix(error): refactor error handling to improve verbose logging (#219)
alvarosabu Jun 4, 2025
5b93c9c
fix(components): enhance circular dependency handling in resource fet…
alvarosabu Jun 5, 2025
13dbb55
fix: add pagination control to custom-fetch and fetchStories method (…
alvarosabu Jun 6, 2025
8e7772e
chore: release v4.0.0-beta.4
alvarosabu Jun 10, 2025
7280570
fix: 193 rate limit issue with pullpush components (#224)
alvarosabu Jun 11, 2025
c9ad2e5
fix: make sure import for ISbStoryData is done in `storyblok-componen…
alvarosabu Jun 11, 2025
0930dcc
fix: typecheck (#227)
alvarosabu Jun 12, 2025
beeffd9
feat: add signup command (#223)
imranolas Jun 13, 2025
b2de185
chore: release v4.0.0-beta.5
alvarosabu Jun 13, 2025
f360f6b
docs: update Discord links in README.md to point to the new community…
alvarosabu Jun 16, 2025
ed72ec0
docs: add signup command to README.md with link to Storyblok signup page
alvarosabu Jun 17, 2025
369ffc0
fix: 211 kahn, tarjan algorithm for topological sort (#230)
imranolas Jun 17, 2025
5587c7b
chore: release v4.0.0-rc.0
alvarosabu Jun 18, 2025
580e9c7
Merge branch 'main' into next
alvarosabu Jun 19, 2025
0dc9ed6
chore: release v4.0.0
alvarosabu Jun 19, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file removed .DS_Store
Binary file not shown.
22 changes: 0 additions & 22 deletions .eslintrc.js

This file was deleted.

10 changes: 5 additions & 5 deletions .github/.dependabot.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@

version: 2
updates:
- package-ecosystem: "npm"
directory: "/"
- package-ecosystem: npm
directory: /
schedule:
interval: "monthly"
interval: monthly
allow:
- dependency-name: "@storyblok/region-helper"
- dependency-name: '@storyblok/region-helper'
reviewers:
- "storyblok/plugins-team"
- storyblok/plugins-team
1 change: 0 additions & 1 deletion .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ assignees: ''

---


**Current behavior:**
<!-- Describe how the bug manifests. -->

Expand Down
Binary file added .github/assets/breakpoints.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/debug-vscode.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added .github/assets/repo-banner.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
17 changes: 17 additions & 0 deletions .github/workflows/lint-pr.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: Lint PR

on:
pull_request_target:
types:
- opened
- edited
- synchronize

jobs:
main:
name: Validate PR title
runs-on: ubuntu-latest
steps:
- uses: amannn/action-semantic-pull-request@v5
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
27 changes: 27 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run linters
on: [push]

env:
PNPM_CACHE_FOLDER: .pnpm-store

jobs:
lint:
name: Lint
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run Lint
run: pnpm run lint
15 changes: 8 additions & 7 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Publish Any Commit
on:
push:
branches:
- '**'
tags:
- '!**'
branches:
- '**'

env:
PNPM_CACHE_FOLDER: .pnpm-store
HUSKY: 0 # Bypass husky commit hook for CI

permissions: {}
Expand All @@ -25,13 +26,13 @@ jobs:
- name: Checkout code
uses: actions/checkout@v4

- run: corepack enable
- run: npm i -g --force corepack && corepack enable
- uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: yarn
cache: pnpm
- name: Install dependencies
run: yarn install
run: pnpm install
- name: Build
run: yarn build
- run: npx pkg-pr-new publish --compact
run: pnpm build
- run: pnpx pkg-pr-new publish --compact --pnpm
25 changes: 0 additions & 25 deletions .github/workflows/release.yml

This file was deleted.

27 changes: 27 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Run Tests
on: [push]

env:
PNPM_CACHE_FOLDER: .pnpm-store

jobs:
test:
name: Test
runs-on: ubuntu-22.04
strategy:
matrix:
node-version: [20]
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Setup pnpm
uses: pnpm/action-setup@v4
- name: Use Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4
with:
node-version: ${{ matrix.node-version }}
cache: pnpm
- name: Install dependencies
run: pnpm install
- name: Run Test
run: pnpm run test
22 changes: 0 additions & 22 deletions .github/workflows/unit-tests.yml

This file was deleted.

8 changes: 7 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,10 @@ dist
# CLI generated files
components.*.json
presets.*.json
storyblok-component-types.d.ts
storyblok-component-types.d.ts

# storyblok folder
.storyblok/

# DS_Store
.DS_Store
15 changes: 15 additions & 0 deletions .release-it.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
{
"git": {
"commitMessage": "chore: release v${version}"
},
"github": {
"release": true,
"releaseName": "v${version}"
},
"hooks": {
"before:init": ["pnpm run lint", "pnpm test:ci"],
"after:bump": "pnpm run build",
"after:git:release": "echo After git push, before github release",
"after:release": "echo Successfully released ${name} v${version} to ${repo.repository}."
}
}
Loading