-
Notifications
You must be signed in to change notification settings - Fork 901
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Refactor monorepo to use yarn workspaces and lerna
WIP: testing Refactor folder structure to use lerna WIP: more testing feat(util): add deferred class Publish - @firebase/[email protected] - @firebase/[email protected] WIP: asdoifj WIP: build artifact WIP: asdf Cleaning up from .gitignore Add prepublish script Isolate base configs Making top level scripts parallel Adding storage Add messaging Adding database code TODO: Fix all of the broken issues and import the rest of the utils Adding type info add database Adding firebase package Generating ES Module builds Attaching firebase.js to the global scope Adding lint-staged to the build Removing commitizen dependency Updating metafiles Working on devx Add react-native package Move packages/firebase -> packages/core Fix issues with package.json Bump core version testing a thing Add more entries to the .npmignore
- Loading branch information
1 parent
b8c9782
commit 93aef0a
Showing
283 changed files
with
1,344 additions
and
15,963 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Shared editor configurations that track the way prettier formats source. | ||
# | ||
# To use this in vscode: | ||
# | ||
# ext install EditorConfig | ||
|
||
root = true | ||
|
||
# Source files look unixy by default | ||
[*] | ||
end_of_line = lf | ||
insert_final_newline = true | ||
|
||
# Javascript and Typescript look like Google-style | ||
[*.{js,json,ts}] | ||
charset = utf-8 | ||
indent_style = space | ||
indent_size = 2 | ||
|
||
# Not currently supported by vscode, but is supported others, e.g. vim. | ||
max_line_length = 80 | ||
This comment has been minimized.
Sorry, something went wrong. |
Validating CODEOWNERS rules …
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,15 @@ | ||
# Build/Dependencies | ||
node_modules | ||
dist | ||
.awcache | ||
/config/project.json | ||
|
||
# Misc | ||
*.log | ||
|
||
# OS Specific Files | ||
.DS_Store | ||
node_modules/ | ||
/dist | ||
npm-debug.log | ||
/coverage | ||
/.nyc_output | ||
/tests/config | ||
temp/ | ||
/.vscode | ||
/.ts-node | ||
/.idea | ||
/.awcache | ||
|
||
# Editor Configs | ||
.idea | ||
.vscode |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
{ | ||
"*.{js,ts}": [ | ||
"prettier --write --single-quote", | ||
"git add" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,51 @@ | ||
const karma = require('karma'); | ||
const path = require('path'); | ||
const webpackTestConfig = require('./webpack.test'); | ||
|
||
module.exports = { | ||
// disable watcher | ||
autoWatch: false, | ||
|
||
// preprocess matching files before serving them to the browser | ||
// available preprocessors: https://npmjs.org/browse/keyword/karma-preprocessor | ||
preprocessors: { | ||
'test/**/*.ts': ['webpack', 'sourcemap'] | ||
}, | ||
|
||
mime: { | ||
'text/x-typescript': ['ts', 'tsx'] | ||
}, | ||
|
||
// test results reporter to use | ||
// possible values: 'dots', 'progress' | ||
// available reporters: https://npmjs.org/browse/keyword/karma-reporter | ||
reporters: ['spec'], | ||
|
||
// web server port | ||
port: 8080, | ||
|
||
// enable / disable colors in the output (reporters and logs) | ||
colors: true, | ||
|
||
// level of logging | ||
// possible values: config.LOG_DISABLE || config.LOG_ERROR || config.LOG_WARN || config.LOG_INFO || config.LOG_DEBUG | ||
logLevel: karma.constants.LOG_INFO, | ||
|
||
// enable / disable watching file and executing tests whenever any file changes | ||
autoWatch: false, | ||
|
||
// start these browsers | ||
// available browser launchers: https://npmjs.org/browse/keyword/karma-launcher | ||
browsers: ['ChromeHeadless'], | ||
|
||
webpack: webpackTestConfig, | ||
|
||
webpackMiddleware: { | ||
quiet: true, | ||
stats: { | ||
colors: true | ||
} | ||
}, | ||
|
||
singleRun: false | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
const path = require('path'); | ||
const webpack = require('webpack'); | ||
|
||
module.exports = { | ||
devtool: 'eval-source-map', | ||
module: { | ||
rules: [ | ||
{ | ||
test: /\.tsx?$/, | ||
exclude: /node_modules/, | ||
use: 'ts-loader' | ||
}, | ||
{ | ||
test: /\.js$/, | ||
use: ['source-map-loader'], | ||
enforce: 'pre' | ||
} | ||
] | ||
}, | ||
resolve: { | ||
modules: ['node_modules', path.resolve(__dirname, '../../node_modules')], | ||
extensions: ['.js', '.ts'] | ||
} | ||
}; |
Oops, something went wrong.
Nit: A lot of these files could use newlines at the end.