-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
36 changed files
with
110,115 additions
and
110,134 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,42 +1,42 @@ | ||
version: 2 | ||
registries: | ||
npm-npmjs: | ||
type: npm-registry | ||
url: https://registry.npmjs.org | ||
token: ${{secrets.NPM_BOT_PERSONAL_TOKEN}} | ||
npm-npmjs: | ||
type: npm-registry | ||
url: https://registry.npmjs.org | ||
token: ${{secrets.NPM_BOT_PERSONAL_TOKEN}} | ||
updates: | ||
# General updates - weekly as needed | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
registries: | ||
- npm-npmjs | ||
target-branch: "main" | ||
ignore: | ||
- dependency-name: "@washingtonpost*" | ||
versioning-strategy: "auto" | ||
open-pull-requests-limit: 5 | ||
schedule: | ||
interval: "weekly" | ||
pull-request-branch-name: | ||
separator: "-" | ||
# Inner sourcing - daily, takes priority, bumps package.json | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
registries: | ||
- npm-npmjs | ||
# target-branch - leave blank so dependabot recognizes this as a "unique", | ||
# non-duplicate strategy (it should run against the main branch, dev, anyways) | ||
allow: | ||
- dependency-name: "@washingtonpost*" | ||
versioning-strategy: "increase" | ||
open-pull-requests-limit: 10 | ||
schedule: | ||
interval: "daily" | ||
time: "08:00" | ||
timezone: "US/Eastern" | ||
pull-request-branch-name: | ||
separator: "-" | ||
reviewers: | ||
- "@WPMedia/core" | ||
labels: | ||
- "dependencies" | ||
# General updates - weekly as needed | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
registries: | ||
- npm-npmjs | ||
target-branch: "main" | ||
ignore: | ||
- dependency-name: "@washingtonpost*" | ||
versioning-strategy: "auto" | ||
open-pull-requests-limit: 5 | ||
schedule: | ||
interval: "weekly" | ||
pull-request-branch-name: | ||
separator: "-" | ||
# Inner sourcing - daily, takes priority, bumps package.json | ||
- package-ecosystem: "npm" | ||
directory: "/" | ||
registries: | ||
- npm-npmjs | ||
# target-branch - leave blank so dependabot recognizes this as a "unique", | ||
# non-duplicate strategy (it should run against the main branch, dev, anyways) | ||
allow: | ||
- dependency-name: "@washingtonpost*" | ||
versioning-strategy: "increase" | ||
open-pull-requests-limit: 10 | ||
schedule: | ||
interval: "daily" | ||
time: "08:00" | ||
timezone: "US/Eastern" | ||
pull-request-branch-name: | ||
separator: "-" | ||
reviewers: | ||
- "@WPMedia/core" | ||
labels: | ||
- "dependencies" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
name: Chromatic Production | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
push: | ||
branches: | ||
- main | ||
|
||
jobs: | ||
validate: | ||
name: Validate | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
validate: | ||
name: Validate | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: lts/erbium | ||
cache: "npm" | ||
always-auth: true | ||
registry-url: "https://registry.npmjs.org" | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: lts/erbium | ||
cache: "npm" | ||
always-auth: true | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- run: npm install | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
PARCEL_WORKER_BACKEND: process | ||
- run: npm install | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
PARCEL_WORKER_BACKEND: process | ||
|
||
- uses: actions/upload-artifact@v2.2.4 | ||
with: | ||
name: ui-components | ||
path: | | ||
ui/**/dist | ||
!ui/**/node_modules | ||
- uses: actions/upload-artifact@v2.2.4 | ||
with: | ||
name: ui-components | ||
path: | | ||
ui/**/dist | ||
!ui/**/node_modules | ||
- uses: chromaui/action@v1 | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
PARCEL_WORKER_BACKEND: process | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
exitOnceUploaded: true | ||
autoAcceptChanges: true | ||
- uses: chromaui/action@v1 | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
PARCEL_WORKER_BACKEND: process | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
exitOnceUploaded: true | ||
autoAcceptChanges: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,45 +1,45 @@ | ||
name: Validate | ||
|
||
on: | ||
pull_request: | ||
paths: | ||
- "ui/**/*" | ||
- "package.json" | ||
pull_request: | ||
paths: | ||
- "ui/**/*" | ||
- "package.json" | ||
|
||
jobs: | ||
validate: | ||
name: Validate | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
validate: | ||
name: Validate | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 10 | ||
steps: | ||
- uses: actions/checkout@v2 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: lts/erbium | ||
cache: "npm" | ||
always-auth: true | ||
registry-url: "https://registry.npmjs.org" | ||
- uses: actions/setup-node@v2 | ||
with: | ||
node-version: lts/erbium | ||
cache: "npm" | ||
always-auth: true | ||
registry-url: "https://registry.npmjs.org" | ||
|
||
- run: npm install | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
PARCEL_WORKER_BACKEND: process | ||
- run: npm install | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
PARCEL_WORKER_BACKEND: process | ||
|
||
- uses: actions/upload-artifact@v2.2.4 | ||
with: | ||
name: ui-components | ||
path: | | ||
ui/**/dist | ||
!ui/**/node_modules | ||
- uses: actions/upload-artifact@v2.2.4 | ||
with: | ||
name: ui-components | ||
path: | | ||
ui/**/dist | ||
!ui/**/node_modules | ||
- uses: chromaui/action@v1 | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
PARCEL_WORKER_BACKEND: process | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
exitOnceUploaded: true | ||
- uses: chromaui/action@v1 | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_AUTH_TOKEN}} | ||
PARCEL_WORKER_BACKEND: process | ||
with: | ||
projectToken: ${{ secrets.CHROMATIC_PROJECT_TOKEN }} | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
exitOnceUploaded: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,12 +1,9 @@ | ||
{ | ||
"plugins": [ | ||
"@parcel/babel-plugin-transform-runtime", | ||
["@babel/plugin-transform-typescript", { "isTSX": true }], | ||
[ | ||
"@babel/plugin-proposal-private-property-in-object", | ||
{ "loose": true } | ||
], | ||
["@babel/plugin-proposal-private-methods", { "loose": true }], | ||
["@babel/plugin-proposal-class-properties", { "loose": true }] | ||
] | ||
"plugins": [ | ||
"@parcel/babel-plugin-transform-runtime", | ||
["@babel/plugin-transform-typescript", { "isTSX": true }], | ||
["@babel/plugin-proposal-private-property-in-object", { "loose": true }], | ||
["@babel/plugin-proposal-private-methods", { "loose": true }], | ||
["@babel/plugin-proposal-class-properties", { "loose": true }] | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
module.exports = { | ||
extends: ["@commitlint/config-conventional"], | ||
rules: { | ||
"scope-enum": [1, "always", ["dependencies", "build", "release"]], | ||
}, | ||
extends: ["@commitlint/config-conventional"], | ||
rules: { | ||
"scope-enum": [1, "always", ["dependencies", "build", "release"]], | ||
}, | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,27 +1,21 @@ | ||
{ | ||
"packages": [ | ||
"./ui/*", | ||
"./ssr-testing" | ||
], | ||
"useWorkspaces": true, | ||
"npmClient": "npm", | ||
"command": { | ||
"version": { | ||
"exact": true, | ||
"conventionalCommits": true, | ||
"message": "chore(release): publish" | ||
}, | ||
"publish": { | ||
"conventionalCommits": true, | ||
"message": "chore(release): publish", | ||
"npmClient": "npm", | ||
"ignoreChanges": [ | ||
"**/stories/**", | ||
"**/tests/**" | ||
], | ||
"registry": "https://registry.npmjs.org/", | ||
"allowBranch": "main" | ||
} | ||
}, | ||
"version": "0.1.0" | ||
"packages": ["./ui/*", "./ssr-testing"], | ||
"useWorkspaces": true, | ||
"npmClient": "npm", | ||
"command": { | ||
"version": { | ||
"exact": true, | ||
"conventionalCommits": true, | ||
"message": "chore(release): publish" | ||
}, | ||
"publish": { | ||
"conventionalCommits": true, | ||
"message": "chore(release): publish", | ||
"npmClient": "npm", | ||
"ignoreChanges": ["**/stories/**", "**/tests/**"], | ||
"registry": "https://registry.npmjs.org/", | ||
"allowBranch": "main" | ||
} | ||
}, | ||
"version": "0.1.0" | ||
} |
Oops, something went wrong.