chore: rename tools folder to packages-node and revert singleton-manager

This commit is contained in:
Joren Broekema 2020-12-16 10:40:43 +01:00 committed by qa46hx
parent f29bf523c1
commit f5bf040a3c
189 changed files with 538 additions and 69 deletions

8
.gitignore vendored
View file

@ -24,9 +24,9 @@ yarn-error.log
*.d.ts
!packages/**/*/types/**/*
!packages/**/index.d.ts
!tools/**/*/types/**/*
!tools/**/index.d.ts
!tools/**/types.d.ts
!packages-node/**/*/types/**/*
!packages-node/**/index.d.ts
!packages-node/**/types.d.ts
## temp folders
/.tmp/
@ -43,4 +43,4 @@ browserstack.err
debug.log
!tools/singleton-manager/demo/**/node_modules
!packages/singleton-manager/demo/**/node_modules

View file

@ -3,9 +3,9 @@ const path = require('path');
module.exports = {
stories: [
'../{packages,tools}/*/README.md',
'../{packages,tools}/*/docs/*.md',
'../{packages,tools}/*/docs/!(assets)**/*.md',
'../{packages,packages-node}/*/README.md',
'../{packages,packages-node}/*/docs/*.md',
'../{packages,packages-node}/*/docs/!(assets)**/*.md',
'../packages/helpers/*/README.md',
'../docs/README.md',
'../docs/**/*.md',

View file

@ -4,7 +4,7 @@
"license": "MIT",
"workspaces": [
"packages/*",
"tools/*"
"packages-node/*"
],
"scripts": {
"build:docs": "wca analyze \"packages/tabs/**/*.js\"",

View file

@ -184,8 +184,8 @@ customElements.define('my-app', MyApp);
## Full Demo & Api Example
You can run the example locally via `npm run start` or look at its [source code](https://github.com/ing-bank/lion/tree/master/tools/babel-plugin-extend-docs/demo/).
_Note we are configuring babel via the [server.config.js](https://github.com/ing-bank/lion/tree/master/tools/babel-plugin-extend-docs/demo/server.config.js)_
You can run the example locally via `npm run start` or look at its [source code](https://github.com/ing-bank/lion/tree/master/packages-node/babel-plugin-extend-docs/demo/).
_Note we are configuring babel via the [server.config.js](https://github.com/ing-bank/lion/tree/master/packages-node/babel-plugin-extend-docs/demo/server.config.js)_
👉 _babel.config.js_

View file

@ -25,7 +25,7 @@ const extendDocsConfig = {
module.exports = {
nodeResolve: true,
watch: true,
open: 'tools/babel-plugin-extend-docs/demo/',
open: 'packages-node/babel-plugin-extend-docs/demo/',
babel: true,
babelConfig: {
overrides: [

View file

@ -1,5 +1,5 @@
module.exports = {
nodeResolve: true,
watch: true,
open: 'tools/babel-plugin-extend-docs/demo/',
open: 'packages-node/babel-plugin-extend-docs/demo/',
};

View file

@ -8,7 +8,7 @@
"repository": {
"type": "git",
"url": "https://github.com/ing-bank/lion.git",
"directory": "tools/babel-plugin-extend-docs"
"directory": "packages-node/babel-plugin-extend-docs"
},
"main": "index.js",
"files": [

View file

@ -64,7 +64,7 @@ function transformToProjectNames(collections) {
const pathFromServerRootToHere = `/${pathLib.relative(process.cwd(), __dirname)}`;
// Needed for dev purposes (we call it from ./tools/providence-analytics/ instead of ./)
// Needed for dev purposes (we call it from ./packages-node/providence-analytics/ instead of ./)
// Allows es-dev-server to find the right moduleDirs
const fromPackageRoot = process.argv.includes('--serve-from-package-root');
const moduleRoot = fromPackageRoot ? pathLib.resolve(process.cwd(), '../../') : process.cwd();

View file

Before

Width:  |  Height:  |  Size: 7.4 MiB

After

Width:  |  Height:  |  Size: 7.4 MiB

View file

Before

Width:  |  Height:  |  Size: 6.4 MiB

After

Width:  |  Height:  |  Size: 6.4 MiB

View file

Before

Width:  |  Height:  |  Size: 918 KiB

After

Width:  |  Height:  |  Size: 918 KiB

View file

Before

Width:  |  Height:  |  Size: 4 MiB

After

Width:  |  Height:  |  Size: 4 MiB

View file

@ -8,7 +8,7 @@
"repository": {
"type": "git",
"url": "https://github.com/ing-bank/lion.git",
"directory": "tools/providence-analytics"
"directory": "packages-node/providence-analytics"
},
"main": "./src/program/providence.js",
"bin": {

Some files were not shown because too many files have changed in this diff Show more