Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Monorepo with web-standard-functions and web-standard-functions-test created #112

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
10 changes: 5 additions & 5 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,11 +15,11 @@ jobs:
keys:
- v4-dependencies-{{ checksum "package.json" }}

- run: npm install
- run: yarn

- run:
name: Run validate
command: npm run validate
command: yarn validate

- save_cache:
paths:
Expand All @@ -41,7 +41,7 @@ jobs:
command: echo "//registry.npmjs.org/:_authToken=$NPM_TOKEN" > ~/repo/.npmrc
- run:
name: Publish package
command: npm publish --access=public
command: cd packages/web-standard-functions && yarn publish --access=public

build:
<<: *defaults
Expand All @@ -53,14 +53,14 @@ jobs:
keys:
- v4-dependencies-{{ checksum "package.json" }}

- run: npm install
- run: yarn

- save_cache:
paths:
- node_modules
key: v4-dependencies-{{ checksum "package.json" }}

- run: npm run validate
- run: yarn validate

- store_artifacts:
path: dist
Expand Down
16 changes: 16 additions & 0 deletions lerna.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
{
"lerna": "2.4.0",
"packages": ["packages/*"],
"version": "independent",
"npmClient": "yarn",
"useWorkspaces": true,
"command": {
"run": {
"stream": true
},
"publish": {
"skipGit": false,
"registry": "https://registry.npmjs.org/"
}
}
}
Loading