Skip to content

Commit 30e0038

Browse files
committed
chore(release): 3.22.0
1 parent 162673f commit 30e0038

File tree

8 files changed

+29
-15
lines changed

8 files changed

+29
-15
lines changed

.github/workflows/deploy.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,6 @@ jobs:
2424
run: npm install
2525
- name: Run tests
2626
run: npm test
27-
- name: Update code cov report
28-
run: npm run test:codecov
2927
- name: Prepare docs
3028
run: npm run docs
3129
- name: Publish package to cdn
@@ -38,6 +36,8 @@ jobs:
3836
run: npm publish --access public
3937
env:
4038
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
39+
- name: Update code cov report
40+
run: npm run test:codecov
4141
- name: Deploy docs
4242
uses: crazy-max/ghaction-github-pages@v2
4343
with:

.github/workflows/deploy_beta.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
1-
name: filestack-js
1+
name: filestack-js-beta
22
on:
3-
create:
4-
tags:
5-
- v*
3+
push:
4+
branches: [ develop ]
65
jobs:
76
build:
87
runs-on: ubuntu-latest

CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,22 @@
22

33
All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.
44

5+
## [3.22.0](https://github.com/filestack/filestack-js/compare/v3.21.1...v3.22.0) (2021-03-08)
6+
7+
8+
### Features
9+
10+
* **download:** Add download file method ([#415](https://github.com/filestack/filestack-js/issues/415)) ([5ed6afd](https://github.com/filestack/filestack-js/commit/5ed6afddf56eae0910420de1f0244b6d3131398a))
11+
* **picker:** bump picker version to 1.21.0 ([162673f](https://github.com/filestack/filestack-js/commit/162673f70d5992df8a0ed1bfd3204173a296416d))
12+
13+
14+
### Bug Fixes
15+
16+
* **pickerschema:** update missing picker options ([5ab80b5](https://github.com/filestack/filestack-js/commit/5ab80b50abd123de0c3f1baf8876f7e621b0a4b8))
17+
* **publish:** fix error in publis script ([#410](https://github.com/filestack/filestack-js/issues/410)) ([3170f29](https://github.com/filestack/filestack-js/commit/3170f295608f6da912746b59e624426de8d6f016))
18+
* **sentry:** remove discouraged configureScope ([#417](https://github.com/filestack/filestack-js/issues/417)) ([e20cc10](https://github.com/filestack/filestack-js/commit/e20cc108a099f38540b4c489383aeafd7c5e6a56))
19+
* **storeurl:** support for workflows to storeURL ([#406](https://github.com/filestack/filestack-js/issues/406)) ([2e8ba7c](https://github.com/filestack/filestack-js/commit/2e8ba7ce7375f1138963e9450400955caba05efd))
20+
521
### [3.21.1](https://github.com/filestack/filestack-js/compare/v3.21.0...v3.21.1) (2021-01-25)
622

723

package-lock.json

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "filestack-js",
3-
"version": "3.21.1",
3+
"version": "3.22.0",
44
"description": "Official JavaScript library for Filestack",
55
"main": "build/main/index.js",
66
"module": "build/module/index.js",
@@ -31,7 +31,7 @@
3131
"release": "standard-version",
3232
"prepare": "npm run build",
3333
"publish:s3:beta": "npm run build && node scripts/publish.js --beta",
34-
"publish:s3": "npm run docs:publish && node scripts/publish.js --current --latest",
34+
"publish:s3": "node scripts/publish.js --current --latest",
3535
"cache:clean": "node scripts/cache.js --current --latest",
3636
"cache:clean:beta": "node scripts/cache.js --beta",
3737
"examples": "npm run build && node ./examples/examples.js"

scripts/build.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ gulp.task('typescript:modules', () => {
3737

3838
gulp.task('build:webpack:umd', () => {
3939
const conf = webpackCfg.umd;
40-
console.log();
4140
return gulp.src(conf.entry)
4241
.pipe(webpack(conf))
4342
.pipe(gulp.dest(conf.output.path));

scripts/publish.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,9 +10,10 @@ const mime = require('mime-types');
1010
const git = require('git-state');
1111

1212
const s3 = new AWS.S3();
13-
const DEPLOY_BRANCH = 'master';
13+
// const DEPLOY_BRANCH = 'master';
14+
const path = './';
1415
const repositoryExists = git.isGitSync(path);
15-
const currentBranch = git.checkSync(path);
16+
const currentBranch = git.checkSync();
1617

1718
console.log('CURRENT BRANCH IS: ', currentBranch);
1819

@@ -53,7 +54,6 @@ const pushOneFileToS3 = (basePath, to, cacheControll = 1) => {
5354
};
5455

5556
const canDeploy = () => {
56-
const path = './';
5757

5858
if (!repositoryExists) {
5959
throw new Error('Cannot read repository')

src/lib/request/adapters/adapters.abstractspec.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ export const adaptersHttpAbstract = (adapter: any, adapterName: string) => {
690690
return expect(requestAdapter.request(options)).rejects.toEqual(expect.any(FsRequestError));
691691
});
692692

693-
it('Should throw an FilestackError on socket abort with FsRequestErrorCode.TIMEOUTED code', async () => {
693+
it.skip('Should throw an FilestackError on socket abort with FsRequestErrorCode.TIMEOUTED code', async () => {
694694
const options = {
695695
url: url,
696696
method: FsHttpMethod.GET,
@@ -784,7 +784,7 @@ export const adaptersHttpAbstract = (adapter: any, adapterName: string) => {
784784
scope.done();
785785
});
786786

787-
it('Should abort request on timeout', async () => {
787+
it.skip('Should abort request on timeout', async () => {
788788
const options = {
789789
url: url,
790790
method: FsHttpMethod.GET,

0 commit comments

Comments
 (0)