This repository has been archived by the owner on Feb 18, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 214
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Use verdaccio to test create-project (#877)
* Use verdaccio to test create-project * Review revisions * Trying to automate publish * Move environment var to create-project script * Set yarn auth token in env * Set fake token against localhost * Publish major version in testing * Remove extra deps, unused script, incorrect test file assertion * Document verdaccio script and test commands
- Loading branch information
1 parent
7b9b391
commit ef553a9
Showing
12 changed files
with
554 additions
and
272 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
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
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
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,94 @@ | ||
const LINTING = 'linting'; | ||
const PROJECT = 'project'; | ||
const TESTING = 'testing'; | ||
const N = 'neutrino'; | ||
const REACT = '@neutrinojs/react'; | ||
const PREACT = '@neutrinojs/preact'; | ||
const VUE = '@neutrinojs/vue'; | ||
const WEB = '@neutrinojs/web'; | ||
const NODE = '@neutrinojs/node'; | ||
const WEB_NODE_LIBRARY = '@neutrinojs/library'; | ||
const REACT_COMPONENTS = '@neutrinojs/react-components'; | ||
const JEST = '@neutrinojs/jest'; | ||
const KARMA = '@neutrinojs/karma'; | ||
const MOCHA = '@neutrinojs/mocha'; | ||
const AIRBNB = '@neutrinojs/airbnb'; | ||
const AIRBNB_BASE = '@neutrinojs/airbnb-base'; | ||
const STANDARDJS = '@neutrinojs/standardjs'; | ||
|
||
const projects = { | ||
[AIRBNB]: { | ||
type: LINTING, | ||
devDependencies: [AIRBNB] | ||
}, | ||
[AIRBNB_BASE]: { | ||
type: LINTING, | ||
devDependencies: [AIRBNB_BASE] | ||
}, | ||
[WEB_NODE_LIBRARY]: { | ||
type: PROJECT, | ||
devDependencies: [WEB_NODE_LIBRARY, N] | ||
}, | ||
[NODE]: { | ||
type: PROJECT, | ||
devDependencies: [NODE, N] | ||
}, | ||
[PREACT]: { | ||
type: PROJECT, | ||
dependencies: ['preact', 'preact-compat'], | ||
devDependencies: [PREACT, N] | ||
}, | ||
[REACT]: { | ||
type: PROJECT, | ||
dependencies: ['prop-types', 'react', 'react-dom', 'react-hot-loader'], | ||
devDependencies: [REACT, N] | ||
}, | ||
[REACT_COMPONENTS]: { | ||
type: PROJECT, | ||
devDependencies: [REACT_COMPONENTS, N, 'prop-types', 'react', 'react-dom'] | ||
}, | ||
[STANDARDJS]: { | ||
type: LINTING, | ||
devDependencies: [STANDARDJS] | ||
}, | ||
[VUE]: { | ||
type: PROJECT, | ||
dependencies: ['vue'], | ||
devDependencies: [VUE, N] | ||
}, | ||
[WEB]: { | ||
type: PROJECT, | ||
devDependencies: [WEB, N] | ||
}, | ||
[JEST]: { | ||
type: TESTING, | ||
devDependencies: [JEST] | ||
}, | ||
[KARMA]: { | ||
type: TESTING, | ||
devDependencies: [KARMA] | ||
}, | ||
[MOCHA]: { | ||
type: TESTING, | ||
devDependencies: [MOCHA] | ||
} | ||
}; | ||
|
||
const packages = { | ||
NEUTRINO: N, | ||
REACT, | ||
PREACT, | ||
VUE, | ||
WEB, | ||
NODE, | ||
WEB_NODE_LIBRARY, | ||
REACT_COMPONENTS, | ||
JEST, | ||
KARMA, | ||
MOCHA, | ||
AIRBNB, | ||
AIRBNB_BASE, | ||
STANDARDJS | ||
}; | ||
|
||
module.exports = { projects, packages }; |
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
Oops, something went wrong.