This repository has been archived by the owner on Aug 29, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #9 from thiagodesouza/master
feat(v4): update project structure
- Loading branch information
Showing
163 changed files
with
21,559 additions
and
2,486 deletions.
There are no files selected for viewing
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,14 @@ | ||
# dependencies | ||
node_modules | ||
temp | ||
|
||
# production | ||
build | ||
dist | ||
|
||
# misc | ||
.DS_Store | ||
.env | ||
.env.local | ||
.env.development.local | ||
.env.test.local | ||
.env.production.local | ||
.npmrc | ||
|
||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
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,18 +1,37 @@ | ||
language: node_js | ||
|
||
node_js: | ||
- node | ||
|
||
cache: | ||
yarn: true | ||
directories: | ||
- node_modules | ||
install: | ||
- yarn | ||
|
||
script: | ||
- yarn format | ||
- bash scripts/travis-create-assets.sh | ||
- yarn lerna:format | ||
- yarn build | ||
|
||
deploy: | ||
provider: npm | ||
email: $EMAIL | ||
api_key: $NPM_API_KEY | ||
on: | ||
tags: true | ||
repo: neutronjs/neutron-cli | ||
- provider: pages | ||
skip_cleanup: true | ||
github_token: $GITHUB_TOKEN | ||
local_dir: website/build | ||
on: | ||
branch: master | ||
|
||
- provider: releases | ||
api_key: $GITHUB_TOKEN | ||
skip_cleanup: true | ||
overwrite: true | ||
file: "temp/packages/*" | ||
on: | ||
tags: true | ||
repo: neutronjs/neutron | ||
|
||
- provider: script | ||
script: bash scripts/travis-deploy-npm.sh | ||
on: | ||
tags: true | ||
repo: neutronjs/neutron |
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 |
---|---|---|
|
@@ -56,7 +56,7 @@ Thanks for your interest on our project. Take a moment to read our guidelines: | |
We have a few channels for contact: | ||
|
||
- Email: [[email protected]](mailto:[email protected]) | ||
- [GitHub Issues](https://github.com/neutronjs/neutron-website/issues) | ||
- [GitHub Issues](https://github.com/neutronjs/neutron/issues) | ||
|
||
<hr/> | ||
|
||
|
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 @@ | ||
{ | ||
"npmClient": "yarn", | ||
"packages": [ | ||
"packages/neutron-cli", | ||
"packages/neutron-start-react-native-template", | ||
"packages/neutron-start-react-template", | ||
"website" | ||
], | ||
"useWorkspaces": true, | ||
"version": "4.0.0-next.0", | ||
"changelog": { | ||
"repo": "neutronjs/neutron", | ||
"labels": { | ||
"neutron: breaking": ":boom: Breaking Change", | ||
"neutron: enhancement": ":rocket: Enhancement", | ||
"neutron: bug": ":bug: Bug Fix", | ||
"neutron: documentation": ":memo: Documentation", | ||
"neutron: internal": ":house: Internal" | ||
} | ||
} | ||
} |
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,65 +1,41 @@ | ||
{ | ||
"name": "@neutronjs/cli", | ||
"description": "This CLI was developed to help developers create new projects quickly and easily", | ||
"private": true, | ||
"version": "3.0.1", | ||
"license": "MIT", | ||
"main": "build/cli.js", | ||
"bin": { | ||
"neutron": "bin/neutron" | ||
}, | ||
"workspaces": [ | ||
"packages/neutron-cli", | ||
"packages/neutron-start-react-native-template", | ||
"packages/neutron-start-react-template", | ||
"website" | ||
], | ||
"scripts": { | ||
"format": "prettier --write **/*.{js,jsx,json} && eslint **/*.{js,jsx} --fix" | ||
}, | ||
"author": { | ||
"name": "Thiago de Souza", | ||
"email": "[email protected]", | ||
"url": "https://github.com/thiagodesouza" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/neutronjs/neutron.git" | ||
"build": "yarn workspace @neutronjs/website build", | ||
"start": "yarn workspace @neutronjs/website start", | ||
"postinstall": "yarn lerna:bootstrap", | ||
"lerna:bootstrap": "lerna bootstrap", | ||
"lerna:changelog": "lerna-changelog", | ||
"lerna:clean": "lerna clean --yes", | ||
"lerna:format": "lerna run format", | ||
"lerna:version": "lerna version", | ||
"neutron:link": "yarn workspace @neutronjs/cli link", | ||
"neutron:unlink": "yarn workspace @neutronjs/cli unlink", | ||
"neutron:upgrade": "yarn upgrade-interactive --latest" | ||
}, | ||
"keywords": [ | ||
"neutron", | ||
"expo", | ||
"react", | ||
"react-native", | ||
"node", | ||
"javascript", | ||
"gluegun" | ||
], | ||
"files": [ | ||
"src", | ||
"LICENSE", | ||
"README.md", | ||
"bin" | ||
], | ||
"lint-staged": { | ||
"./**/*.js": [ | ||
"yarn format", | ||
"git add ." | ||
"commitlint": { | ||
"extends": [ | ||
"@commitlint/config-conventional" | ||
] | ||
}, | ||
"husky": { | ||
"hooks": { | ||
"pre-commit": "lint-staged", | ||
"pre-commit": "lerna run --concurrency 1 --stream precommit", | ||
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS" | ||
} | ||
}, | ||
"dependencies": { | ||
"exec-sh": "^0.3.4", | ||
"gluegun": "^4.1.2", | ||
"hyperquest": "^2.1.3", | ||
"tar-pack": "^3.4.1" | ||
}, | ||
"devDependencies": { | ||
"@commitlint/cli": "^8.3.4", | ||
"@commitlint/cli": "^8.3.5", | ||
"@commitlint/config-conventional": "^8.3.4", | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"husky": "^3.1.0", | ||
"lint-staged": "^9.5.0", | ||
"prettier": "^1.19.1" | ||
"husky": "^4.0.10", | ||
"lerna": "^3.20.2", | ||
"lerna-changelog": "^1.0.0" | ||
} | ||
} |
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,9 @@ | ||
root = true | ||
|
||
[*] | ||
indent_style = space | ||
indent_size = 2 | ||
charset = utf-8 | ||
trim_trailing_whitespace = true | ||
insert_final_newline = true | ||
end_of_line = lf |
File renamed without changes.
File renamed without changes.
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,12 @@ | ||
# dependencies | ||
node_modules | ||
|
||
# production | ||
build | ||
dist | ||
|
||
# misc | ||
.DS_Store | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* |
File renamed without changes.
File renamed without changes.
File renamed without changes
File renamed without changes.
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,57 @@ | ||
{ | ||
"name": "@neutronjs/cli", | ||
"description": "This CLI was developed to help developers create new projects quickly and easily", | ||
"version": "4.0.0-next.0", | ||
"license": "MIT", | ||
"main": "build/cli.js", | ||
"bin": { | ||
"neutron": "bin/neutron" | ||
}, | ||
"scripts": { | ||
"format": "prettier --write **/*.{js,jsx,json} && eslint **/*.{js,jsx} --fix", | ||
"precommit": "lint-staged" | ||
}, | ||
"author": { | ||
"name": "Thiago de Souza", | ||
"email": "[email protected]", | ||
"url": "https://github.com/thiagodesouza" | ||
}, | ||
"repository": { | ||
"type": "git", | ||
"url": "https://github.com/neutronjs/neutron.git" | ||
}, | ||
"keywords": [ | ||
"neutron", | ||
"expo", | ||
"react", | ||
"react-native", | ||
"node", | ||
"javascript", | ||
"gluegun" | ||
], | ||
"files": [ | ||
"src", | ||
"LICENSE", | ||
"README.md", | ||
"bin" | ||
], | ||
"lint-staged": { | ||
"**/*.{js,jsx}": [ | ||
"yarn format", | ||
"git add ." | ||
] | ||
}, | ||
"dependencies": { | ||
"exec-sh": "^0.3.4", | ||
"gluegun": "^4.1.2", | ||
"hyperquest": "^2.1.3", | ||
"tar-pack": "^3.4.1" | ||
}, | ||
"devDependencies": { | ||
"eslint": "^6.8.0", | ||
"eslint-config-airbnb-base": "^14.0.0", | ||
"eslint-plugin-import": "^2.19.1", | ||
"lint-staged": "^9.5.0", | ||
"prettier": "^1.19.1" | ||
} | ||
} |
File renamed without changes.
File renamed without changes.
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
File renamed without changes.
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
File renamed without changes.
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
Oops, something went wrong.