Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

publish ES2015/ESM artifacts for storage, package #2313

Merged
merged 70 commits into from
May 18, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
70 commits
Select commit Hold shift + click to select a range
bc8610a
feat(@aws-amplify/storage): publish ES2015/ESM artifacts
aldo-roman Dec 12, 2018
d73d5e1
feat(@aws-amplify/core): publish ES2015/ESM artifacts
aldo-roman Dec 12, 2018
68e0870
feat(@aws-amplify/api): publish ES2015/ESM artifacts
aldo-roman Dec 13, 2018
22da40e
feat(@aws-amplify/cache): publish ES2015/ESM artifacts
aldo-roman Dec 13, 2018
6cf2c22
feat(@aws-amplify/auth): publish ES2015/ESM artifacts
aldo-roman Dec 13, 2018
3a60350
feat(aws-amplify-react): publish ES2015/ESM artifacts): publish ES201…
aldo-roman Dec 19, 2018
6298193
feat(@aws-amplify/xr): publish ES2015/ESM artifacts
aldo-roman Dec 19, 2018
28a34a5
fix(@aws-amplify/storage): expose tree-shaking for Webpack
aldo-roman Dec 19, 2018
d1e5616
fix(@aws-amplify/core): expose tree-shaking for Webpack
aldo-roman Dec 19, 2018
32061ac
fix(@aws-amplify/cache): expose tree-shaking for Webpack
aldo-roman Dec 19, 2018
7ad2d4e
fix(@aws-amplify/auth): expose tree-shaking for Webpack
aldo-roman Dec 19, 2018
768a5f2
fix(@aws-amplify/api): expose tree-shaking for Webpack
aldo-roman Dec 19, 2018
7323c9d
fix(@aws-amplify/ui): expose tree-shaking for Webpack
aldo-roman Dec 19, 2018
da51e2d
chore: remove unnecessary dependency
aldo-roman Dec 19, 2018
20a8bf8
fix(aws-amplify-angular): declare @aws-amplify/core as rollup external
aldo-roman Dec 19, 2018
92bcff5
fix(@aws-amplify/xr): fix usage of default -> named import
aldo-roman Dec 19, 2018
0cac41f
fix tslint complaints
lafiosca Feb 12, 2019
f1c8c3a
feat(@aws-amplify/pushnotification) provide config option for not aut…
lafiosca Feb 12, 2019
9ef6f32
Merge branch 'master' into issue1781-ios-push-perms
lafiosca Apr 26, 2019
8f456d1
changes to PR requested by @powerful23
lafiosca Apr 26, 2019
3a69956
merge from upstream
powerful23 May 2, 2019
bdd162c
fix(core, auth, aws-amplify-react): fix tests
aldo-roman May 3, 2019
1a4d04a
fix(Vue-SignUp): check fields are non-empty prior to submitting them
borisdayma May 3, 2019
6f4fe3a
creating scripts folder
powerful23 May 5, 2019
9254312
fix(@aws-amplify/auth): react-native - guard for window
May 6, 2019
3f1d9b1
remove unused config files and add scripts
powerful23 May 6, 2019
6045758
Merge branch 'rollup' of https://github.com/aldo-roman/amplify-js int…
powerful23 May 6, 2019
d01062c
fix(@aws-amplify/core): bind console error to console
powerful23 May 8, 2019
f69a569
update licenses
powerful23 May 9, 2019
2267a77
Merge pull request #3230 from jessedoyle/gh-3057
powerful23 May 9, 2019
45975f7
chore(release): Publish [ci skip]
May 9, 2019
cb4121f
Merge branch 'master' into fix/vue-sign-up
powerful23 May 9, 2019
a2e4f3b
Merge pull request #3223 from borisdayma/fix/vue-sign-up
powerful23 May 9, 2019
a696c67
chore(release): Publish [ci skip]
May 9, 2019
f747af0
add data test attributes to UI components
sammartinez May 10, 2019
f9ace19
Merge branch 'master' into issue1781-ios-push-perms
powerful23 May 10, 2019
45f3894
Merge pull request #2697 from lafiosca/issue1781-ios-push-perms
powerful23 May 10, 2019
7290c6a
chore(release): Publish [ci skip]
May 10, 2019
8b46eb8
fix(@aws-amplify/storage): private by default (#3222)
LosD May 10, 2019
6c297f3
chore(release): Publish [ci skip]
May 10, 2019
fa76f89
Merge branch 'master' into cypress-test-attributes
sammartinez May 10, 2019
97ff79c
feat(aws-amplify-react-native): withOAuth Loading
Apr 8, 2019
995deaa
Merge branch 'master' into fix-issue-3239
powerful23 May 13, 2019
6b302d4
Merge pull request #3244 from powerful23/fix-issue-3239
powerful23 May 13, 2019
cc39385
Merge branch 'master' into cypress-test-attributes
sammartinez May 13, 2019
4e50c3d
chore(release): Publish [ci skip]
May 13, 2019
da07d16
Merge branch 'master' into cypress-test-attributes
sammartinez May 13, 2019
053079b
Merge branch 'master' into gh-3021
jordanranz May 13, 2019
af03407
Merge pull request #3024 from jessedoyle/gh-3021
jordanranz May 13, 2019
d9552c5
Merge branch 'master' into cypress-test-attributes
jordanranz May 13, 2019
39b1306
chore(release): Publish [ci skip]
May 13, 2019
811e635
Merge branch 'master' into cypress-test-attributes
sammartinez May 13, 2019
49eae14
fix: add a todo to the greeting object in order to adjust the Angular…
sammartinez May 13, 2019
68a5ad2
Merge pull request #3253 from sammartinez/cypress-test-attributes
sammartinez May 13, 2019
ac1b4a7
chore(release): Publish [ci skip]
May 13, 2019
42d56f9
Added german localisation
Domino987 May 14, 2019
bb25405
Merge pull request #3275 from Domino987/patch-1
sammartinez May 14, 2019
f82986b
chore(release): Publish [ci skip]
May 14, 2019
905cd72
Appsync multi auth (#3122)
elorzafe May 14, 2019
0e88718
chore(release): Publish [ci skip]
May 14, 2019
9316d2f
Updating changelog for bug fix info [ci skip]
elorzafe May 14, 2019
1e98e5a
Preparing release
elorzafe May 14, 2019
c736165
chore(release): Publish [ci skip]
May 14, 2019
a6c3bf8
fix unit tests by editing jest configuartion
powerful23 May 15, 2019
6f69df6
add analytics
powerful23 May 16, 2019
6c5cba6
merge from master
powerful23 May 16, 2019
ee81794
minor change
powerful23 May 16, 2019
725277a
fix unit tests
powerful23 May 16, 2019
e2802f9
minor change
powerful23 May 16, 2019
32bebd4
add interactons
powerful23 May 17, 2019
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
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,8 @@ packages/*/node_modules/**
packages/**/lib/
packages/**/dist/
packages/**/es/
packages/**/esm/
packages/**/cjs/
.DS_Store
.vscode
.idea
Expand Down
14 changes: 9 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,25 +42,29 @@
"codecov": "^1.0.1",
"compression-webpack-plugin": "^1.1.3",
"cypress": "^3.2.0",
"jest": "^22.4.3",
"jest": "^24.x.x",
"json-loader": "^0.5.7",
"lerna": "2.11.0",
"pre-commit": "^1.2.2",
"rimraf": "^2.6.2",
"rollup": "^0.67.4",
"rollup-plugin-commonjs": "^9.2.0",
"rollup-plugin-json": "^3.1.0",
"rollup-plugin-node-resolve": "^4.0.0",
"rollup-plugin-sourcemaps": "^0.4.2",
"rollup-plugin-typescript": "^1.0.0",
"source-map-loader": "^0.2.1",
"ts-jest": "^22.0.0",
"ts-jest": "^24.x.x",
"tslint": "^5.7.0",
"tslint-config-airbnb": "^5.8.0",
"typedoc": "^0.11.0",
"typescript": "^2.9.2",
"typescript-formatter": "^6.0.0",
"tslib": "^1.9.3",
"uglifyjs-webpack-plugin": "^0.4.6",
"webpack": "^3.5.5"
},
"jest": {
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"resetMocks": true,
"verbose": true
}
Expand Down
1 change: 1 addition & 0 deletions packages/amplify-ui/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
"name": "@aws-amplify/ui",
"version": "1.0.19",
"main": "dist/aws-amplify-ui.js",
"sideEffects": false,
"publishConfig": {
"access": "public"
},
Expand Down
16 changes: 16 additions & 0 deletions packages/analytics/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,22 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="1.2.16"></a>
## [1.2.16](https://github.com/aws/aws-amplify/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2019-05-14)




**Note:** Version bump only for package @aws-amplify/analytics

<a name="1.2.16-unstable.0"></a>
## [1.2.16-unstable.0](https://github.com/aws/aws-amplify/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2019-05-13)




**Note:** Version bump only for package @aws-amplify/analytics

<a name="1.2.15"></a>
## [1.2.15](https://github.com/aws/aws-amplify/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2019-05-06)

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,19 +22,6 @@ jest.mock('aws-sdk/clients/pinpoint', () => {
return Pinpoint;
});

jest.mock('aws-sdk/clients/mobileanalytics', () => {
const MobileAnalytics = () => {
var mobileanalytics = null;
return mobileanalytics;
}

MobileAnalytics.prototype.putEvents = (params, callback) => {
callback(null, 'data');
}

return MobileAnalytics;
});

jest.mock('uuid', () => {
const mockfn = () => {return 'sessionId'};
return { v1: mockfn };
Expand All @@ -44,9 +31,10 @@ import { AWS, JS, Credentials, ClientDevice } from '@aws-amplify/core';
import AnalyticsProvider from "../../src/Providers/AWSPinpointProvider";
import { ConsoleLogger as Logger } from '@aws-amplify/core';
import Cache from '@aws-amplify/core';
import * as MobileAnalytics from 'aws-sdk/clients/mobileanalytics';
import * as Pinpoint from 'aws-sdk/clients/pinpoint';

console.log(Pinpoint);

const endpointConfigure = {
address: 'configured', // The unique identifier for the recipient. For example, an address could be a device token, email address, or mobile phone number.
attributes: {
Expand Down Expand Up @@ -366,7 +354,7 @@ describe("AnalyticsProvider test", () => {
});

describe('startsession test', () => {
test('happy case', async () => {
test.only('happy case', async () => {
const analytics = new AnalyticsProvider();
analytics.configure(
options
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jest.mock('aws-sdk/clients/kinesis', () => {
return Kinesis;
});

import { Pinpoint, AWS, MobileAnalytics, JS, Credentials } from '@aws-amplify/core';
import { AWS, JS, Credentials } from '@aws-amplify/core';
import KinesisProvider from "../../src/Providers/AWSKinesisProvider";

jest.useFakeTimers();
Expand Down
7 changes: 7 additions & 0 deletions packages/analytics/build.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
'use strict'

const type = process.argv[2];

const build = require('../../scripts/build');

build(process.argv[2]);
54 changes: 25 additions & 29 deletions packages/analytics/package.json
Original file line number Diff line number Diff line change
@@ -1,17 +1,19 @@
{
"name": "@aws-amplify/analytics",
"version": "1.2.15",
"version": "1.2.16",
"description": "Analytics category of aws-amplify",
"main": "./lib/index.js",
"module": "./lib/index.js",
"typings": "./lib/index.d.ts",
"main": "./dist/index.js",
"module": "./esm/index.js",
"typings": "./esm/index.d.ts",
"publishConfig": {
"access": "public"
},
"scripts": {
"test": "tslint 'src/**/*.ts' && jest --coverage",
"build-with-test": "npm run clean && npm test && tsc && webpack",
"build": "npm run clean && tsc && webpack",
"build:cjs": "node ./build es5 && node ./build rollup",
"build:esm": "node ./build es6",
"build": "npm run clean && npm run build:cjs && npm run build:esm",
"clean": "rimraf lib lib-esm dist",
"format": "tsfmt --useTsfmt tsfmt.json -r src/**/*.ts",
"lint": "tslint 'src/**/*.ts'"
Expand All @@ -30,36 +32,30 @@
},
"homepage": "https://github.com/aws/aws-amplify#readme",
"devDependencies": {
"@types/jest": "^20.0.8",
"@types/node": "^8.10.15",
"awesome-typescript-loader": "^3.2.2",
"babel-loader": "^7.1.2",
"babel-preset-es2015": "^6.24.1",
"babel-preset-react": "^6.24.1",
"babel-preset-stage-2": "^6.24.1",
"compression-webpack-plugin": "^1.1.3",
"find": "^0.2.7",
"jest": "^22.4.3",
"json-loader": "^0.5.7",
"prepend-file": "^1.3.1",
"prettier": "^1.7.4",
"rimraf": "^2.6.2",
"source-map-loader": "^0.2.1",
"ts-jest": "^22.0.0",
"tslint": "^5.7.0",
"tslint-config-airbnb": "^5.8.0",
"typescript-formatter": "^6.0.0",
"uglifyjs-webpack-plugin": "^0.4.6",
"webpack": "^3.5.5"
},
"dependencies": {
"@aws-amplify/cache": "^1.0.26",
"@aws-amplify/core": "^1.0.26",
"@aws-amplify/cache": "^1.0.27",
"@aws-amplify/core": "^1.0.27",
"uuid": "^3.2.1"
},
"jest": {
"globals": {
"ts-jest": {
"diagnostics": false,
"tsConfig": {
"lib": [
"es5",
"es2015",
"dom",
"esnext.asynciterable",
"es2017.object"
],
"allowJs": true
}
}
},
"transform": {
"^.+\\.(js|jsx|ts|tsx)$": "<rootDir>../../node_modules/ts-jest/preprocessor.js"
"^.+\\.(js|jsx|ts|tsx)$": "ts-jest"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(tsx?|jsx?)$",
"moduleFileExtensions": [
Expand Down
1 change: 0 additions & 1 deletion packages/analytics/src/Providers/AWSPinpointProvider.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ import {
JS,
Hub
} from '@aws-amplify/core';
import * as MobileAnalytics from 'aws-sdk/clients/mobileanalytics';
import * as Pinpoint from 'aws-sdk/clients/pinpoint';

import Cache from '@aws-amplify/cache';
Expand Down
29 changes: 0 additions & 29 deletions packages/analytics/tsconfig.json

This file was deleted.

32 changes: 32 additions & 0 deletions packages/api/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,38 @@
All notable changes to this project will be documented in this file.
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.

<a name="1.0.35"></a>
## [1.0.35](https://github.com/aws/aws-amplify/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2019-05-14)




**Note:** Version bump only for package @aws-amplify/api

<a name="1.0.35-unstable.2"></a>
## [1.0.35-unstable.2](https://github.com/aws/aws-amplify/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2019-05-14)




**Note:** Version bump only for package @aws-amplify/api

<a name="1.0.35-unstable.1"></a>
## [1.0.35-unstable.1](https://github.com/aws/aws-amplify/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2019-05-13)




**Note:** Version bump only for package @aws-amplify/api

<a name="1.0.35-unstable.0"></a>
## [1.0.35-unstable.0](https://github.com/aws/aws-amplify/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2019-05-09)




**Note:** Version bump only for package @aws-amplify/api

<a name="1.0.34"></a>
## [1.0.34](https://github.com/aws/aws-amplify/compare/@aws-amplify/[email protected]...@aws-amplify/[email protected]) (2019-05-06)

Expand Down
Loading