Skip to content

chore(): angularfire2 shim #1864

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

Merged
merged 4 commits into from
Sep 11, 2018
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
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -12,3 +12,4 @@ angularfire2-*.tgz
.DS_Store
yarn-error.log
*.bak
package-lock.json
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,8 @@
"test:universal": "npm run build && cp -R dist/packages-dist test/universal-test/node_modules/angularfire2 && cd test/universal-test && npm run prerender",
"delayed_karma": "sleep 10 && karma start",
"build": "rm -rf dist && node tools/build.js",
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1"
"changelog": "conventional-changelog -p angular -i CHANGELOG.md -s -r 1",
"build:wrapper": "npm i --prefix wrapper && VERSION=5.0.0 npm run --prefix wrapper build"
},
"keywords": [
"angular",
Expand Down
4 changes: 3 additions & 1 deletion src/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,9 @@
"keywords": [
"angular",
"firebase",
"rxjs"
"rxjs",
"angularfire",
"angularfire2"
],
"repository": {
"type": "git",
Expand Down
23 changes: 23 additions & 0 deletions wrapper/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
{
"name": "angularfire2",
"version": "5.0.0",
"description": "The core module",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"scripts": {
"build": "rm -rf ../dist/wrapper-dist && tsc -p ./tsconfig.json && rsync -a --include '*.json' --include '*.md' --include '*/' --exclude '*' ./src/ ../dist/wrapper-dist/ && sed -i -- 's/ANGULARFIRE2_VERSION/'\"$VERSION\"'/g' ../dist/wrapper-dist/*.json && sed -i -- 's/ANGULARFIRE2_VERSION/'\"$VERSION\"'/g' ../dist/wrapper-dist/**/*.json && rm ../dist/wrapper-dist/*.json-- && rm ../dist/wrapper-dist/**/*.json--"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "^5.0.0"
},
"typings": "index.d.ts",
"devDependencies": {
"typescript": "^3.0.3"
}
}
1 change: 1 addition & 0 deletions wrapper/src/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
This package has moved, we're now at [@angular/fire](https://www.npmjs.com/package/@angular/fire).
1 change: 1 addition & 0 deletions wrapper/src/auth/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@angular/fire/auth';
16 changes: 16 additions & 0 deletions wrapper/src/auth/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "angularfire2/auth",
"version": "ANGULARFIRE2_VERSION",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}
7 changes: 7 additions & 0 deletions wrapper/src/database-deprecated/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
"use strict";
function __export(m) {
for (var p in m) if (!exports.hasOwnProperty(p)) exports[p] = m[p];
}
Object.defineProperty(exports, "__esModule", { value: true });
__export(require("@angular/fire/database-deprecated"));
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoiaW5kZXguanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyJpbmRleC50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7OztBQUFBLHVEQUFrRCJ9
16 changes: 16 additions & 0 deletions wrapper/src/database-deprecated/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "angularfire2/database-deprecated",
"version": "ANGULARFIRE2_VERSION",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}
1 change: 1 addition & 0 deletions wrapper/src/database/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@angular/fire/database';
16 changes: 16 additions & 0 deletions wrapper/src/database/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "angularfire2/database",
"version": "ANGULARFIRE2_VERSION",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}
1 change: 1 addition & 0 deletions wrapper/src/firebase-node/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@angular/fire/firebase-node';
16 changes: 16 additions & 0 deletions wrapper/src/firebase-node/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "angularfire2/firebase-node",
"version": "ANGULARFIRE2_VERSION",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}
1 change: 1 addition & 0 deletions wrapper/src/firestore/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@angular/fire/firestore';
16 changes: 16 additions & 0 deletions wrapper/src/firestore/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "angularfire2/firestore",
"version": "ANGULARFIRE2_VERSION",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}
1 change: 1 addition & 0 deletions wrapper/src/functions/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@angular/fire/functions';
16 changes: 16 additions & 0 deletions wrapper/src/functions/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "angularfire2/functions",
"version": "ANGULARFIRE2_VERSION",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}
1 change: 1 addition & 0 deletions wrapper/src/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@angular/fire';
1 change: 1 addition & 0 deletions wrapper/src/messaging/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@angular/fire/messaging';
16 changes: 16 additions & 0 deletions wrapper/src/messaging/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "angularfire2/messaging",
"version": "ANGULARFIRE2_VERSION",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}
18 changes: 18 additions & 0 deletions wrapper/src/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
{
"name": "angularfire2",
"version": "ANGULARFIRE2_VERSION",
"description": "The core module",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}

1 change: 1 addition & 0 deletions wrapper/src/storage/index.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
export * from '@angular/fire/storage';
16 changes: 16 additions & 0 deletions wrapper/src/storage/package.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"name": "angularfire2/storage",
"version": "ANGULARFIRE2_VERSION",
"main": "index.js",
"keywords": [],
"repository": {
"type": "git",
"url": "git+https://github.com/angular/angularfire2.git"
},
"author": "angular,firebase",
"license": "MIT",
"dependencies": {
"@angular/fire": "ANGULARFIRE2_VERSION"
},
"typings": "index.d.ts"
}
24 changes: 24 additions & 0 deletions wrapper/tsconfig.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
{
"compilerOptions": {
"baseUrl": ".",
"declaration": true,
"experimentalDecorators": true,
"emitDecoratorMetadata": true,
"module": "commonjs",
"moduleResolution": "node",
"strictNullChecks": true,
"noImplicitAny": false,
"noFallthroughCasesInSwitch": true,
"rootDir": "./src",
"inlineSourceMap": true,
"lib": ["es5", "dom", "es2015.promise", "es2015.collection", "es2015.iterable"],
"skipDefaultLibCheck": true,
"skipLibCheck": true,
"target": "es2015",
"outDir": "../dist/wrapper-dist"
},
"exclude": [
"node_modules/**/*",
]
}

11 changes: 11 additions & 0 deletions wrapper/yarn.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# THIS IS AN AUTOGENERATED FILE. DO NOT EDIT THIS FILE DIRECTLY.
# yarn lockfile v1


"@angular/fire@^5.0.0":
version "5.0.0"
resolved "https://registry.yarnpkg.com/@angular/fire/-/fire-5.0.0.tgz#2f07bd7b429d4752badbd53c15a9a3848009e2d5"

typescript@^3.0.3:
version "3.0.3"
resolved "https://registry.yarnpkg.com/typescript/-/typescript-3.0.3.tgz#4853b3e275ecdaa27f78fda46dc273a7eb7fc1c8"