Namespaced and file-specified deps

pull/21378/head
Phil Renaud 5 months ago
parent a251f8ad80
commit 74792f6851

@ -11,7 +11,7 @@
"scripts": { "scripts": {
"doc:toc": "doctoc README.md", "doc:toc": "doctoc README.md",
"compliance": "npm-run-all compliance:*", "compliance": "npm-run-all compliance:*",
"compliance:licenses": "license-checker --summary --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages 'consul-ui@2.2.0;consul-acls@0.1.0;consul-lock-sessions@0.1.0;consul-partitions@0.1.0;consul-nspaces@0.1.0;consul-peerings@0.1.0'" "compliance:licenses": "license-checker --summary --onlyAllow 'Python-2.0;Apache*;Apache License, Version 2.0;Apache-2.0;Apache 2.0;Artistic-2.0;BSD;BSD-3-Clause;CC-BY-3.0;CC-BY-4.0;CC0-1.0;ISC;MIT;MPL-2.0;Public Domain;Unicode-TOU;Unlicense;WTFPL' --excludePackages '@hashicorp/consul-ui@2.2.0;@hashicorp/consul-acls@0.1.0;@hashicorp/consul-lock-sessions@0.1.0;@hashicorp/consul-partitions@0.1.0;@hashicorp/consul-nspaces@0.1.0;@hashicorp/consul-peerings@0.1.0'"
}, },
"devDependencies": { "devDependencies": {

@ -1,5 +1,5 @@
{ {
"name": "consul-acls", "name": "@hashicorp/consul-acls",
"version": "0.1.0", "version": "0.1.0",
"private": true "private": true
} }

@ -1,5 +1,5 @@
{ {
"name": "consul-lock-sessions", "name": "@hashicorp/consul-lock-sessions",
"version": "0.1.0", "version": "0.1.0",
"private": true "private": true
} }

@ -1,5 +1,5 @@
{ {
"name": "consul-nspaces", "name": "@hashicorp/consul-nspaces",
"version": "0.1.0", "version": "0.1.0",
"private": true "private": true
} }

@ -1,5 +1,5 @@
{ {
"name": "consul-partitions", "name": "@hashicorp/consul-partitions",
"version": "0.1.0", "version": "0.1.0",
"private": true "private": true
} }

@ -1,5 +1,5 @@
{ {
"name": "consul-peerings", "name": "@hashicorp/consul-peerings",
"version": "0.1.0", "version": "0.1.0",
"private": true "private": true
} }

@ -108,31 +108,41 @@ module.exports = {
urlPrefix: 'docs/providers', urlPrefix: 'docs/providers',
}, },
{ {
root: `${path.dirname(require.resolve('consul-acls/package.json'))}/app/components`, root: `${path.dirname(
require.resolve('@hashicorp/consul-acls/package.json')
)}/app/components`,
pattern: '**/README.mdx', pattern: '**/README.mdx',
urlSchema: 'auto', urlSchema: 'auto',
urlPrefix: 'docs/consul-acls', urlPrefix: 'docs/consul-acls',
}, },
{ {
root: `${path.dirname(require.resolve('consul-lock-sessions/package.json'))}/app/components`, root: `${path.dirname(
require.resolve('@hashicorp/consul-lock-sessions/package.json')
)}/app/components`,
pattern: '**/README.mdx', pattern: '**/README.mdx',
urlSchema: 'auto', urlSchema: 'auto',
urlPrefix: 'docs/consul-lock-sessions', urlPrefix: 'docs/consul-lock-sessions',
}, },
{ {
root: `${path.dirname(require.resolve('consul-peerings/package.json'))}/app/components`, root: `${path.dirname(
require.resolve('@hashicorp/consul-peerings/package.json')
)}/app/components`,
pattern: '**/README.mdx', pattern: '**/README.mdx',
urlSchema: 'auto', urlSchema: 'auto',
urlPrefix: 'docs/consul-peerings', urlPrefix: 'docs/consul-peerings',
}, },
{ {
root: `${path.dirname(require.resolve('consul-partitions/package.json'))}/app/components`, root: `${path.dirname(
require.resolve('@hashicorp/consul-partitions/package.json')
)}/app/components`,
pattern: '**/README.mdx', pattern: '**/README.mdx',
urlSchema: 'auto', urlSchema: 'auto',
urlPrefix: 'docs/consul-partitions', urlPrefix: 'docs/consul-partitions',
}, },
{ {
root: `${path.dirname(require.resolve('consul-nspaces/package.json'))}/app/components`, root: `${path.dirname(
require.resolve('@hashicorp/consul-nspaces/package.json')
)}/app/components`,
pattern: '**/README.mdx', pattern: '**/README.mdx',
urlSchema: 'auto', urlSchema: 'auto',
urlPrefix: 'docs/consul-nspaces', urlPrefix: 'docs/consul-nspaces',

@ -33,12 +33,12 @@ module.exports = function (defaults, $ = process.env) {
let excludeFiles = []; let excludeFiles = [];
const apps = [ const apps = [
'consul-ui', '@hashicorp/consul-ui',
'consul-acls', '@hashicorp/consul-acls',
'consul-lock-sessions', '@hashicorp/consul-lock-sessions',
'consul-peerings', '@hashicorp/consul-peerings',
'consul-partitions', '@hashicorp/consul-partitions',
'consul-nspaces', '@hashicorp/consul-nspaces',
].map((item) => { ].map((item) => {
return { return {
name: item, name: item,

@ -1,5 +1,5 @@
{ {
"name": "consul-ui", "name": "@hashicorp/consul-ui",
"version": "2.2.0", "version": "2.2.0",
"private": true, "private": true,
"description": "The web UI for Consul, by HashiCorp.", "description": "The web UI for Consul, by HashiCorp.",
@ -90,11 +90,11 @@
"broccoli-merge-trees": "^4.2.0", "broccoli-merge-trees": "^4.2.0",
"chalk": "^4.1.0", "chalk": "^4.1.0",
"clipboard": "^2.0.11", "clipboard": "^2.0.11",
"consul-acls": "*", "@hashicorp/consul-acls": "file:../consul-acls",
"consul-lock-sessions": "*", "@hashicorp/consul-lock-sessions": "file:../consul-lock-sessions",
"consul-nspaces": "*", "@hashicorp/consul-nspaces": "file:../consul-nspaces",
"consul-partitions": "*", "@hashicorp/consul-partitions": "file:../consul-partitions",
"consul-peerings": "*", "@hashicorp/consul-peerings": "file:../consul-peerings",
"css": "^3.0.0", "css": "^3.0.0",
"css.escape": "^1.5.1", "css.escape": "^1.5.1",
"d3-array": "^2.8.0", "d3-array": "^2.8.0",

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save