Skip to content

Commit e0e6f7e

Browse files
committed
fix: rm index.js from gitignore
1 parent 7ccdcf0 commit e0e6f7e

File tree

4 files changed

+54
-2
lines changed

4 files changed

+54
-2
lines changed

.gitignore

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,6 @@
22
node_modules
33
yarn.lock
44
package-lock.json
5-
index.js
6-
index.mjs
75
dist/
86
firebase-debug.log
97
firestore-debug.log

cypress/plugins/index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
// ***********************************************************
2+
// This example plugins/index.js can be used to load plugins
3+
//
4+
// You can change the location of this file or turn off loading
5+
// the plugins file with the 'pluginsFile' configuration option.
6+
//
7+
// You can read more here:
8+
// https://on.cypress.io/plugins-guide
9+
// ***********************************************************
10+
11+
// This function is called when a project is opened or re-opened (e.g. due to
12+
// the project's config changing)
13+
14+
module.exports = (on, config) => {
15+
// `on` is used to hook into various events Cypress emits
16+
// `config` is the resolved Cypress config
17+
}

cypress/support/index.js

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
// ***********************************************************
2+
// This example support/index.js is processed and
3+
// loaded automatically before your test files.
4+
//
5+
// This is a great place to put global configuration and
6+
// behavior that modifies Cypress.
7+
//
8+
// You can change the location of this file or turn off
9+
// automatically serving support files with the
10+
// 'supportFile' configuration option.
11+
//
12+
// You can read more here:
13+
// https://on.cypress.io/configuration
14+
// ***********************************************************
15+
16+
// Import commands.js using ES2015 syntax:
17+
import './commands'
18+
19+
// Alternatively you can use CommonJS syntax:
20+
// require('./commands')

src/index.js

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
import FirebaseApp from './FirebaseApp.svelte';
2+
import User from './User.svelte';
3+
import Doc from './Doc.svelte';
4+
import Collection from './Collection.svelte';
5+
import { userStore } from './auth';
6+
import { docStore, collectionStore } from './firestore';
7+
8+
9+
export {
10+
FirebaseApp,
11+
User,
12+
Doc,
13+
Collection,
14+
userStore,
15+
docStore,
16+
collectionStore,
17+
}

0 commit comments

Comments
 (0)