Skip to content

chore(deps): bumps projen from 0.3.87 to 0.10.1 #71

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

Open
wants to merge 6 commits into
base: main
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
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@
},
"ignorePatterns": [
"*.js",
"!.projenrc.js",
"*.d.ts",
"node_modules/",
"*.generated.ts",
Expand Down Expand Up @@ -214,5 +215,16 @@
]
}
]
}
},
"overrides": [
{
"files": [
".projenrc.js"
],
"rules": {
"@typescript-eslint/no-require-imports": "off",
"import/no-extraneous-dependencies": "off"
}
}
]
}
1 change: 1 addition & 0 deletions .github/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Fixes #
11 changes: 8 additions & 3 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,19 @@ jobs:
env:
CI: "true"
steps:
- uses: actions/checkout@v2
- run: npx [email protected]
- name: Checkout
uses: actions/checkout@v2
- name: Install dependencies
run: yarn install --check-files --frozen-lockfile
- name: Synthesize project files
run: npx projen
- name: Anti-tamper check
run: git diff --exit-code
- name: Set git identity
run: |-
git config user.name "Auto-bump"
git config user.email "[email protected]"
- run: yarn build
- name: Build
run: npx projen build
- name: Anti-tamper check
run: git diff --exit-code
57 changes: 57 additions & 0 deletions .github/workflows/rebuild-bot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
name: rebuild-bot
on:
issue_comment:
types:
- created
workflow_dispatch: {}
jobs:
build:
runs-on: ubuntu-latest
env:
CI: "true"
if: ${{ github.event.issue.pull_request && contains(github.event.comment.body,
'@projen rebuild') }}
steps:
- name: Post comment to issue
uses: peter-evans/create-or-update-comment@v1
with:
issue-number: ${{ github.event.issue.number }}
body: "_projen_: Rebuild started"
- name: Get pull request branch
id: query_pull_request
env:
PULL_REQUEST_URL: ${{ github.event.issue.pull_request.url }}
run: |-
rm -f /tmp/pr.json
curl --silent $PULL_REQUEST_URL > /tmp/pr.json
BRANCH_STR=$(cat /tmp/pr.json | jq ".head.ref")
REPO_NAME=$(cat /tmp/pr.json | jq ".head.repo.full_name")
echo "::set-output name=branch::$(node -p $BRANCH_STR)"
echo "::set-output name=repo::$(node -p $REPO_NAME)"
- name: Checkout
uses: actions/checkout@v2
with:
ref: ${{ steps.query_pull_request.outputs.branch }}
repository: ${{ steps.query_pull_request.outputs.repo }}
- name: Install dependencies
run: yarn install --check-files --frozen-lockfile
- name: Synthesize project files
run: npx projen
- name: Set git identity
run: |-
git config user.name "Auto-bump"
git config user.email "[email protected]"
- name: Build
run: npx projen build
- name: Commit changes
run: 'git commit -am "chore: update generated files"'
- name: Push changes
run: git push --follow-tags origin $BRANCH
env:
BRANCH: ${{ steps.query_pull_request.outputs.branch }}
- name: Post comment to issue
uses: peter-evans/create-or-update-comment@v1
with:
issue-number: ${{ github.event.issue.number }}
body: "_projen_: Rebuild complete. Updates pushed to pull request branch."
21 changes: 16 additions & 5 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,19 +11,30 @@ jobs:
env:
CI: "true"
steps:
- uses: actions/checkout@v2
- run: npx [email protected]
- name: Checkout
uses: actions/checkout@v2
with:
fetch-depth: 0
- name: Install dependencies
run: yarn install --check-files --frozen-lockfile
- name: Synthesize project files
run: npx projen
- name: Anti-tamper check
run: git diff --exit-code
- name: Set git identity
run: |-
git config user.name "Auto-bump"
git config user.email "[email protected]"
- run: yarn bump
- run: yarn build
- name: Bump to next version
run: npx projen bump
- name: Build
run: npx projen build
- name: Anti-tamper check
run: git diff --exit-code
- run: git push --follow-tags origin $GITHUB_REF
- name: Push changes
run: git push --follow-tags origin $BRANCH
env:
BRANCH: ${{ github.ref }}
- name: Upload artifact
uses: actions/[email protected]
with:
Expand Down
13 changes: 10 additions & 3 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
node_modules/
# Logs
logs
*.log
Expand All @@ -23,7 +24,6 @@ coverage
# Compiled binary addons (https://nodejs.org/api/addons.html)
build/Release
# Dependency directories
node_modules/
jspm_packages/
# TypeScript cache
*.tsbuildinfo
Expand All @@ -36,21 +36,28 @@ jspm_packages/
# parcel-bundler cache (https://parceljs.org/)
.cache
out/
# jest-junit artifacts
/test-reports/
junit.xml
/coverage
/lib
/dist
/coverage
!/.projen/tasks.json
!/.projen/deps.json
!/package.json
!/.npmignore
!/LICENSE
!/.projenrc.js
!version.json
!/.versionrc.json
!/test
!/.github/workflows/build.yml
!/.github/workflows/release.yml
!/.mergify.yml
!/.github/dependabot.yml
!/.github/pull_request_template.md
!/.github/workflows/rebuild-bot.yml
!/tsconfig.json
!/src
!/tsconfig.jest.json
!/test
!/.eslintrc.json
7 changes: 3 additions & 4 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,17 +1,16 @@
# ~~ Generated by projen. To modify, edit .projenrc.js and run "npx projen".
/.projenrc.js
/.versionrc.json
/coverage
/test
/.mergify.yml
/tsconfig.json
/src
dist
/tsconfig.json
/.github
/.vscode
/.projenrc.js
/.idea
/tsconfig.jest.json
/coverage
/test
/.eslintrc.json
!/lib
!/lib/**/*.js
Expand Down
84 changes: 84 additions & 0 deletions .projen/deps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,84 @@
{
"dependencies": [
{
"name": "@types/jest",
"type": "build"
},
{
"name": "@types/mozilla-readability",
"type": "build"
},
{
"name": "@types/node",
"version": "^10.17.0",
"type": "build"
},
{
"name": "@typescript-eslint/eslint-plugin",
"version": "^4.3.0",
"type": "build"
},
{
"name": "@typescript-eslint/parser",
"version": "^4.3.0",
"type": "build"
},
{
"name": "eslint",
"type": "build"
},
{
"name": "eslint-import-resolver-node",
"type": "build"
},
{
"name": "eslint-import-resolver-typescript",
"type": "build"
},
{
"name": "eslint-plugin-import",
"type": "build"
},
{
"name": "jest",
"type": "build"
},
{
"name": "jest-junit",
"version": "^12",
"type": "build"
},
{
"name": "json-schema",
"type": "build"
},
{
"name": "projen",
"version": "^0.10.1",
"type": "build"
},
{
"name": "standard-version",
"version": "^9.0.0",
"type": "build"
},
{
"name": "ts-jest",
"type": "build"
},
{
"name": "typescript",
"version": "^3.9.5",
"type": "build"
},
{
"name": "@mozilla/readability",
"type": "runtime"
},
{
"name": "playwright",
"type": "runtime"
}
],
"//": "~~ Generated by projen. To modify, edit .projenrc.js and run \"npx projen\"."
}
Loading