Skip to content

Commit

Permalink
Merge pull request #38 from storyblok/SHAPE-5760-implement-adapter-ab…
Browse files Browse the repository at this point in the history
…straction-still-supporting-cookies

fix: introduce adapter for session storage
  • Loading branch information
BibiSebi authored Jul 4, 2024
2 parents a6cbba5 + becc628 commit e1f6489
Show file tree
Hide file tree
Showing 51 changed files with 6,370 additions and 7,118 deletions.
16 changes: 8 additions & 8 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,16 +11,16 @@ jobs:
name: Build
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- uses: actions/setup-node@v3
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
- name: Install
run: yarn install
cache: 'pnpm'
- run: pnpm install
- name: Check types
run: yarn check:types
run: pnpm run check:types
- name: Test
run: yarn test
run: pnpm run test
- name: Build
run: yarn build
run: pnpm run build
14 changes: 7 additions & 7 deletions .github/workflows/npm-publish-library.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,18 +10,18 @@ jobs:
name: Publish library to NPM
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3
- name: Setup node
uses: actions/setup-node@v3
- uses: actions/checkout@v4
- run: corepack enable
- uses: actions/setup-node@v4
with:
node-version: 18
cache: 'yarn'
cache: 'pnpm'
registry-url: 'https://registry.npmjs.org'
- name: Install
run: yarn install
run: pnpm install
- name: Build
run: yarn build
run: pnpm run build
- name: Publish to NPM
run: npm publish --access public --tag latest
run: npm publish --access public --tag beta
env:
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@storyblok/app-extension-auth",
"description": "A typed JavaScript library for handling authentication with Storyblok apps.",
"version": "1.0.4",
"version": "2.0.0-beta.0",
"author": {
"name": "Johannes Lindgren",
"email": "johannes.lindgren@storyblok.com"
Expand All @@ -21,14 +21,14 @@
"scripts": {
"check:types": "tsc --noemit",
"lint": "eslint .",
"build": "yarn check:types && rollup -c",
"build": "pnpm run check:types && rollup -c",
"start": "rollup -c -w",
"test": "jest"
},
"engines": {
"node": ">=14.21.3"
},
"packageManager": "yarn@3.2.4",
"packageManager": "pnpm@9.1.1",
"dependencies": {
"@storyblok/region-helper": "0.1.0",
"jsonwebtoken": "^9.0.0",
Expand Down
Loading

0 comments on commit e1f6489

Please sign in to comment.