Skip to content

Commit

Permalink
feat(rush): update npm release process
Browse files Browse the repository at this point in the history
  • Loading branch information
danwbyrne committed May 19, 2020
1 parent 42b8a57 commit e53b27c
Show file tree
Hide file tree
Showing 164 changed files with 1,711 additions and 197 deletions.
4 changes: 2 additions & 2 deletions .circleci/config.yml
Expand Up @@ -66,7 +66,7 @@ aliases:
root: ~/neo-one
paths:
- common/temp/node_modules
- packages/*/lib
- packages/*/dist
- packages/*/node_modules

- &test10
Expand Down Expand Up @@ -107,7 +107,7 @@ aliases:
root: ~/neo-one
paths:
- common/temp/node_modules
- packages/*/lib
- packages/*/dist
- packages/*/node_modules

- &test12
Expand Down
6 changes: 5 additions & 1 deletion .gitignore
Expand Up @@ -5,13 +5,17 @@
/dist/
/build/
/tmp
/packages/*/lib
/packages/*/dist
.rpt2_cache
/reports
.nyc_output
.awcache
.cache-loader

# Release Files
/packages/*/LICENSE
/packages/*/README.md

# Playground
/packages/neo-one-playground

Expand Down
17 changes: 11 additions & 6 deletions .huskyrc.js
Expand Up @@ -2,11 +2,16 @@ const path = require('path');

const basePath = path.resolve(__dirname, '.git');

const hooks =
process.env.NEO_ONE_PUBLISH === 'true'
? {}
: {
'pre-commit': `rush check && rush lint:staged -p 16 && rush build && GIT_DIR=${basePath} rush change -v`,
'post-merge': 'rush install',
'post-rewrite': 'rush install',
'post-checkout': 'rush install',
};

module.exports = {
hooks: {
'pre-commit': `rush check && rush lint:staged -p 16 && rush build && GIT_DIR=${basePath} rush change -v`,
'post-merge': 'rush install',
'post-rewrite': 'rush install',
'post-checkout': 'rush install',
},
hooks,
};
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/cli-common-node"
}
],
"packageName": "@neo-one/cli-common-node",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/cli-common"
}
],
"packageName": "@neo-one/cli-common",
"email": "danwbyrne@gmail.com"
}
11 changes: 11 additions & 0 deletions common/changes/@neo-one/cli/rush-export_2020-05-18-21-51.json
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/cli"
}
],
"packageName": "@neo-one/cli",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/client-common"
}
],
"packageName": "@neo-one/client-common",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/client-core"
}
],
"packageName": "@neo-one/client-core",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/client-full-common"
}
],
"packageName": "@neo-one/client-full-common",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/client-full-core"
}
],
"packageName": "@neo-one/client-full-core",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/client-full"
}
],
"packageName": "@neo-one/client-full",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/client-switch"
}
],
"packageName": "@neo-one/client-switch",
"email": "danwbyrne@gmail.com"
}
11 changes: 11 additions & 0 deletions common/changes/@neo-one/client/rush-export_2020-05-18-21-51.json
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/client"
}
],
"packageName": "@neo-one/client",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/developer-tools"
}
],
"packageName": "@neo-one/developer-tools",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/http-context"
}
],
"packageName": "@neo-one/http-context",
"email": "danwbyrne@gmail.com"
}
11 changes: 11 additions & 0 deletions common/changes/@neo-one/http/rush-export_2020-05-18-21-51.json
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/http"
}
],
"packageName": "@neo-one/http",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/logger-config"
}
],
"packageName": "@neo-one/logger-config",
"email": "danwbyrne@gmail.com"
}
11 changes: 11 additions & 0 deletions common/changes/@neo-one/logger/rush-export_2020-05-18-21-51.json
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/logger"
}
],
"packageName": "@neo-one/logger",
"email": "danwbyrne@gmail.com"
}
11 changes: 11 additions & 0 deletions common/changes/@neo-one/node-bin/rush-export_2020-05-18-21-51.json
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-bin"
}
],
"packageName": "@neo-one/node-bin",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-blockchain"
}
],
"packageName": "@neo-one/node-blockchain",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-consensus"
}
],
"packageName": "@neo-one/node-consensus",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-core"
}
],
"packageName": "@neo-one/node-core",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-http-rpc"
}
],
"packageName": "@neo-one/node-http-rpc",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-neo-settings"
}
],
"packageName": "@neo-one/node-neo-settings",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-network"
}
],
"packageName": "@neo-one/node-network",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-offline"
}
],
"packageName": "@neo-one/node-offline",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-protocol"
}
],
"packageName": "@neo-one/node-protocol",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-rpc-handler"
}
],
"packageName": "@neo-one/node-rpc-handler",
"email": "danwbyrne@gmail.com"
}
@@ -0,0 +1,11 @@
{
"changes": [
{
"comment": "update package release process to take better advantage of rush tooling",
"type": "minor",
"packageName": "@neo-one/node-storage-cache"
}
],
"packageName": "@neo-one/node-storage-cache",
"email": "danwbyrne@gmail.com"
}

0 comments on commit e53b27c

Please sign in to comment.