Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
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 added .DS_Store
Binary file not shown.
22 changes: 22 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
module.exports = {
env: {
es6: true,
node: true,
'jest/globals': true
},
extends: [
'standard'
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly'
},
parserOptions: {
ecmaVersion: 2018
},
plugins: [
'jest'
],
rules: {
}
}
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: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ assignees: ''

---


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

Expand Down
Binary file removed .github/assets/breakpoints.png
Binary file not shown.
Binary file removed .github/assets/debug-vscode.png
Binary file not shown.
Binary file removed .github/assets/repo-banner.png
Binary file not shown.
17 changes: 0 additions & 17 deletions .github/workflows/lint-pr.yml

This file was deleted.

27 changes: 0 additions & 27 deletions .github/workflows/lint.yml

This file was deleted.

15 changes: 7 additions & 8 deletions .github/workflows/pkg.pr.new.yml
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
name: Publish Any Commit
on:
push:
tags:
- '!**'
branches:
- '**'
tags:
- '!**'

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

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

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

on:
push:
branches:
- main

jobs:
release:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 20.11
cache: 'yarn'
- name: Install dependencies
run: yarn
- name: Build
run: yarn build
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_PUBLISH }}
run: npx semantic-release
27 changes: 0 additions & 27 deletions .github/workflows/test.yml

This file was deleted.

22 changes: 22 additions & 0 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
name: 'Unit Tests Production'

on:
pull_request:
branches:
- 'main'

jobs:
unit-tests:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
with:
node-version: 18
cache: 'yarn'
- name: Install dependencies
run: yarn install --frozen-lockfile
- name: Clear jest cache
run: yarn test:unit --clearCache
- name: Run unit tests
run: yarn test:unit --silent --ci
8 changes: 1 addition & 7 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,4 @@ dist
# CLI generated files
components.*.json
presets.*.json
storyblok-component-types.d.ts

# storyblok folder
.storyblok/

# DS_Store
.DS_Store
storyblok-component-types.d.ts
15 changes: 0 additions & 15 deletions .release-it.json

This file was deleted.

Loading
Loading