Skip to content

Commit

Permalink
feat: moved cli inside packages
Browse files Browse the repository at this point in the history
  • Loading branch information
mauroerta committed Jul 29, 2021
1 parent c32c006 commit b8b3b7d
Show file tree
Hide file tree
Showing 39 changed files with 3,793 additions and 58 deletions.
11 changes: 0 additions & 11 deletions apps/cli/.editorconfig

This file was deleted.

5 changes: 0 additions & 5 deletions apps/cli/test/mocha.opts

This file was deleted.

3 changes: 0 additions & 3 deletions apps/cli/test/utils/.morfeorc.ts

This file was deleted.

7 changes: 0 additions & 7 deletions apps/cli/test/utils/.morfeorcWithThemes.js

This file was deleted.

3 changes: 0 additions & 3 deletions apps/cli/test/utils/.morfeorcjson.json

This file was deleted.

6 changes: 2 additions & 4 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -15,10 +15,8 @@ const projects = packages.map(package => {
const packageJson = JSON.parse(
fs.readFileSync(`./packages/${package}/package.json`),
);
if (fs.existsSync(`./packages/${package}/jest.config`)) {
packageConfig = JSON.parse(
fs.readFileSync(`./packages/${package}/jest.config`),
);
if (fs.existsSync(`./packages/${package}/jest.config.js`)) {
packageConfig = require(`./packages/${package}/jest.config.js`);
}

return {
Expand Down
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,6 @@
"init:svelte-sandbox": "node scripts/bootstrap-app.mjs apps/svelte-sandbox",
"init:native-sandbox": "node scripts/bootstrap-app.mjs apps/native-sandbox",
"init:benchmarks": "node scripts/bootstrap-app.mjs apps/benchmarks",
"init:cli": "node scripts/bootstrap-app.mjs apps/cli",
"start:docs": "npm start --prefix docs",
"start:web-sandbox": "npm start --prefix apps/web-sandbox",
"start:svelte-sandbox": "npm run dev --prefix apps/svelte-sandbox",
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
25 changes: 25 additions & 0 deletions packages/cli/LICENSE
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@

The MIT License (MIT)

Copyright (c) 2021 Mauro Erta.

Permission is hereby granted, free of charge, to any person
obtaining a copy of this software and associated documentation
files (the "Software"), to deal in the Software without
restriction, including without limitation the rights to use,
copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the
Software is furnished to do so, subject to the following
conditions:

The above copyright notice and this permission notice shall be
included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES
OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY,
WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
OTHER DEALINGS IN THE SOFTWARE.
File renamed without changes.
File renamed without changes.
File renamed without changes.
4 changes: 4 additions & 0 deletions packages/cli/jest.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
module.exports = {
testEnvironment: 'node',
testTimeout: 30000,
};
Loading

0 comments on commit b8b3b7d

Please sign in to comment.