Skip to content
This repository has been archived by the owner on Jun 13, 2022. It is now read-only.

Commit

Permalink
chore: migrate to a monorepo
Browse files Browse the repository at this point in the history
  • Loading branch information
juliomrqz committed Oct 12, 2018
1 parent 49bc2dc commit 8dc2059
Show file tree
Hide file tree
Showing 265 changed files with 19,557 additions and 19,191 deletions.
9 changes: 0 additions & 9 deletions .babelrc

This file was deleted.

7 changes: 3 additions & 4 deletions .github/config.yml
@@ -1,4 +1,3 @@

updateDocsWhiteList:
- BUG
- Chore
Expand All @@ -11,18 +10,18 @@ requestInfoReplyComment: >
requestInfoLabelToAdd: request-more-info

newPRWelcomeComment: >
Thanks so much for opening your first pull request! Please check out our contributing guidelines.
Thanks so much for opening your first pull request! Please check out our contributing guidelines.
firstPRMergeComment: >
Congrats on merging your first pull request here! :tada:
newIssueWelcomeComment: >
Thanks for opening this issue, a maintainer will get back to you shortly! Be sure to follow the issue template! 🤓
sentimentBotToxicityThreshold: .7

sentimentBotReplyComment: >
Please be sure to review the code of conduct and be respectful of other users. cc/ @juliomrqz @patriciajumper
Please be sure to review the code of conduct and be respectful of other users. cc/ @juliomrqz @giovagnoli @patriciajumper
lockThreads:
toxicityThreshold: .7
numComments: 2
setTimeInHours: 72
replyComment: >
This thread is being locked due to exceeding the toxicity minimums. cc/ @juliomrqz @patriciajumper
This thread is being locked due to exceeding the toxicity minimums. cc/ @juliomrqz @giovagnoli @patriciajumper
10 changes: 0 additions & 10 deletions .gitignore
Expand Up @@ -259,13 +259,3 @@ $RECYCLE.BIN/


# End of https://www.gitignore.io/api/node,linux,macos,windows,sublimetext,visualstudiocode,intellij+all

# Statusfy
client/.tmp
client/locales/*.js
demo/.statusfy
demo/.tmp
demo/content/**/*.md
dist
sw.*
test/.tmp
14 changes: 7 additions & 7 deletions .travis.yml
Expand Up @@ -9,15 +9,15 @@ cache:
- "demo/node_modules"

install:
- npm install
- yarn install
- yarn run lerna bootstrap

script:
# Test Statusfy
- npm run lint && npm run lint:css
- npm run test
- yarn run lint
- yarn run test

# Test demo
- cd demo
- npm install
- npm run build
- npm run generate
- cd packages/demo
- yarn run build
- yarn run generate
21 changes: 12 additions & 9 deletions README.md
Expand Up @@ -19,21 +19,24 @@
:warning: This project is in alpha state, under active development.

## Build Setup
## Install

``` bash
# install dependencies
$ npm install
$ yarn add vuepress -D
```

# serve with hot reload at localhost:3000
$ npm run dev
## Development

# build for production and launch server
$ npm run build
$ npm start
:warning: You must at least use `node >= 8.10`.

# generate static project
$ npm run generate
``` bash
# install dependencies
yarn
# serves Statusfy's own demo
yarn demo:dev
# make sure your code change pass the test
yarn test
```

## Demo
Expand Down
9 changes: 9 additions & 0 deletions babel.config.js
@@ -0,0 +1,9 @@
module.exports = {
'env': {
'test': {
'presets': [
['@babel/preset-env', { 'targets': { 'node': 'current' }}]
]
}
}
}
85 changes: 0 additions & 85 deletions demo/package-lock.json

This file was deleted.

27 changes: 0 additions & 27 deletions demo/package.json

This file was deleted.

8 changes: 6 additions & 2 deletions test/jest.config.js → jest.config.js
Expand Up @@ -4,15 +4,19 @@
const path = require('path')

module.exports = {
rootDir: path.resolve(__dirname, '..'),
rootDir: path.resolve(__dirname),
verbose: true,
roots: [
'packages/',
],
testURL: 'http://localhost/',
moduleFileExtensions: [
'js',
'vue'
],
moduleNameMapper: {
'^@/(.*)$': '<rootDir>/lib/$1'
'^@/markdown/(.*)$': '<rootDir>/packages/@statusfy/markdown/$1',
'^@/core/(.*)$': '<rootDir>/packages/@statusfy/core/$1'
},
transform: {
'^.+\\.js$': '<rootDir>/node_modules/babel-jest',
Expand Down
6 changes: 6 additions & 0 deletions lerna.json
@@ -0,0 +1,6 @@
{
"lerna": "3.4.3",
"npmClient": "yarn",
"useWorkspaces": true,
"version": "0.0.1-alpha.1"
}
36 changes: 0 additions & 36 deletions netlify.toml

This file was deleted.

0 comments on commit 8dc2059

Please sign in to comment.