Compare commits
133 Commits
v0.2.0-beta.1
...
master
| Author | SHA1 | Date | |
|---|---|---|---|
| c38617df77 | |||
| 61c387113f | |||
| 7b6e7c3018 | |||
| 015b51a598 | |||
| f4417a2a58 | |||
| 0faf1ac6ba | |||
| 2f53b7f101 | |||
| 753d4c8a6e | |||
| d8182a9580 | |||
| 2630d0b401 | |||
| 151d51f6e8 | |||
| b970d3c454 | |||
| 19512cb6b2 | |||
| a228eaa04d | |||
| a592182e1c | |||
| 7970865f2a | |||
| dc92f7c24b | |||
| 384235bed9 | |||
| 4987a48fec | |||
| 619b76efcf | |||
| da427d5542 | |||
| c9d101b99a | |||
| 21cfccbfac | |||
| f91748e8d7 | |||
| 7e2f480a6c | |||
| 71c5140462 | |||
| aa8be3e99d | |||
| 2940dcff42 | |||
| accd28fc19 | |||
| 660baabe33 | |||
| 315c31389d | |||
| 34336f9ece | |||
| 4e30667a14 | |||
| 8e01a115ba | |||
| c3138c7001 | |||
| 6f8e30598c | |||
| 024c546345 | |||
| ce6fcb3fe6 | |||
| a37735daa5 | |||
| f0591c0aa2 | |||
| 06d70f250e | |||
| bf915d7215 | |||
| 92bc6a5932 | |||
| d304a20ba2 | |||
| 0734e360f6 | |||
| 70e79bfbf5 | |||
| 2c51549ef7 | |||
| a6933cdb66 | |||
| 927726fae6 | |||
| 62f86064dc | |||
| 0610835df7 | |||
| 883a9da071 | |||
| e541af8201 | |||
| 1fa908d859 | |||
| 39aa1b430e | |||
| 29cb45392f | |||
| 441c897442 | |||
| 5baa304add | |||
| c160171ec9 | |||
| e229c69421 | |||
| 8ab911f4dd | |||
| b767ff94ff | |||
| 05d4e1f117 | |||
| 492a9fc70b | |||
| 4faf126fa3 | |||
| ce0a7c3d6d | |||
| db56bc097d | |||
| d61bb4da4f | |||
| 1b7eec07be | |||
| ea3798f1ec | |||
| a78c36250b | |||
| bfcfd90bf5 | |||
| b6e3fd9a55 | |||
| e67951c0c1 | |||
| e9280799c9 | |||
| 3f036a1faa | |||
| 841eb0ef30 | |||
| 4305ee261c | |||
| de5ed10fcf | |||
| 0d327b14ec | |||
| 985c4d5b3f | |||
| bbed27395a | |||
| e3ca73d34f | |||
| fb20387229 | |||
| 068b3cc87e | |||
| 364081a24c | |||
| b629c232b2 | |||
| 1d2afb8f03 | |||
| 9776978f50 | |||
| 08c0686f05 | |||
| a45711f58b | |||
| 419d3880d2 | |||
| ad85560e70 | |||
| 8e4f74dc0d | |||
| 48b88f2989 | |||
| 2c6f91d225 | |||
| 26ba4f1678 | |||
| de80521bfa | |||
| 29414d8e33 | |||
| 1d9238c5d6 | |||
| 1ae2c62237 | |||
| f17372e08d | |||
| 50d5f68848 | |||
| 67400160a4 | |||
| d7e0132e23 | |||
| e9e6625df5 | |||
| ecf949e05a | |||
| eb3f046325 | |||
| d40772caf7 | |||
| a06db8d24b | |||
| 67f82cfb51 | |||
| 01b93675d8 | |||
| 93262362a3 | |||
| 50d550a350 | |||
| d880a87225 | |||
| c9e5f39b7a | |||
| 16565770ea | |||
| 9e927b6aac | |||
| be65185b76 | |||
| 956bd7878c | |||
| 42d0681ff3 | |||
| a7f8fbae9a | |||
| f64c30f3f3 | |||
| 8cd72c6359 | |||
| b1cda614c3 | |||
| 94730ccee8 | |||
| a8107594a8 | |||
| 385679b4a4 | |||
| 563f1ce2eb | |||
| 8f3500295f | |||
| 8be0b8e07f | |||
| 2f6f9b4f13 | |||
| 81c8820b80 |
+32
-34
@@ -10,37 +10,35 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 12.x
|
||||
uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '16.x'
|
||||
always-auth: true
|
||||
registry-url: https://registry.npmjs.org
|
||||
- id: cache_npm
|
||||
name: Cache Node.js modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.npm
|
||||
./node_modules.tar.zstd
|
||||
key: ${{ runner.OS }}-npm-${{ hashFiles('**/package-lock.json') }}
|
||||
key: ${{ runner.OS }}-node16.x-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.OS }}-npm-
|
||||
${{ runner.OS }}-
|
||||
${{ runner.OS }}-node16.x-
|
||||
- name: Install dependencies with NPM
|
||||
if: steps.cache_npm.outputs.cache-hit != 'true'
|
||||
run: npm ci
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
- name: Archive node_modules
|
||||
if: steps.cache_npm.outputs.cache-hit != 'true'
|
||||
run: tar --use-compress-program "zstd -T0 --long=31 -1" -cf node_modules.tar.zstd -P node_modules
|
||||
- name: Persisting node_modules artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
uses: actions/upload-artifact@v3
|
||||
with:
|
||||
name: node_modules.tar.zstd
|
||||
path: node_modules.tar.zstd
|
||||
retention-days: 2
|
||||
|
||||
#
|
||||
# lint job
|
||||
@@ -51,32 +49,32 @@ jobs:
|
||||
|
||||
steps:
|
||||
# Setup
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
with:
|
||||
token: ${{ secrets.MADSCI_BUILD_USER_TOKEN }} # allows commit of any fixes to trigger a new workflow run
|
||||
- name: Use Node.js 12.x
|
||||
uses: actions/setup-node@v2
|
||||
token: ${{ secrets.BUILD_USER_TOKEN || github.token }} # allows commit of any fixes to trigger a new workflow run
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '16.x'
|
||||
always-auth: true
|
||||
registry-url: https://registry.npmjs.org
|
||||
- name: Restore node_modules artifact
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: node_modules.tar.zstd
|
||||
- name: Unarchive node_modules
|
||||
run: tar --use-compress-program "zstd -d --long=31" -xf node_modules.tar.zstd
|
||||
# Lint
|
||||
- name: Run linters
|
||||
uses: wearerequired/lint-action@v1
|
||||
uses: wearerequired/lint-action@v2
|
||||
with:
|
||||
prettier: true
|
||||
eslint: true
|
||||
eslint_args: "--ext '.ts,.js' --ignore-path '.gitignore' --ignore-pattern '.github/*'"
|
||||
continue_on_error: false
|
||||
auto_fix: true
|
||||
git_name: Madbot
|
||||
git_email: 64821814+madsci-bot@users.noreply.github.com
|
||||
auto_fix: ${{ secrets.BUILD_USER_TOKEN && 'true' || 'false' }}
|
||||
git_name: equabot
|
||||
git_email: git@equalogic.com
|
||||
|
||||
#
|
||||
# build job
|
||||
@@ -87,15 +85,15 @@ jobs:
|
||||
|
||||
steps:
|
||||
# Setup
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 12.x
|
||||
uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '16.x'
|
||||
always-auth: true
|
||||
registry-url: https://registry.npmjs.org
|
||||
- name: Restore node_modules artifact
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: node_modules.tar.zstd
|
||||
- name: Unarchive node_modules
|
||||
@@ -123,9 +121,15 @@ jobs:
|
||||
|
||||
steps:
|
||||
# Setup
|
||||
- uses: actions/checkout@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '16.x'
|
||||
always-auth: true
|
||||
registry-url: https://registry.npmjs.org
|
||||
- name: Restore node_modules artifact
|
||||
uses: actions/download-artifact@v2
|
||||
uses: actions/download-artifact@v3
|
||||
with:
|
||||
name: node_modules.tar.zstd
|
||||
- name: Unarchive node_modules
|
||||
@@ -135,9 +139,3 @@ jobs:
|
||||
run: node_modules/.bin/dotenv -e .env.ci -- npm run test:ci
|
||||
env:
|
||||
CI: true
|
||||
- if: always()
|
||||
name: Persisting test-results.html artifact
|
||||
uses: actions/upload-artifact@v2
|
||||
with:
|
||||
name: test-results.html
|
||||
path: test/.results/test-results.html
|
||||
|
||||
@@ -1,18 +0,0 @@
|
||||
name: Cleanup
|
||||
|
||||
on:
|
||||
schedule:
|
||||
- cron: '0 1 * * *' # every day at 1am
|
||||
|
||||
jobs:
|
||||
remove-old-artifacts:
|
||||
runs-on: ubuntu-latest
|
||||
timeout-minutes: 10
|
||||
|
||||
steps:
|
||||
- name: Remove old artifacts
|
||||
uses: c-hive/gha-remove-artifacts@v1
|
||||
with:
|
||||
age: '1 days' # delete artifacts older than this
|
||||
skip-tags: false # don't treat artifacts created by runs on tagged commits any differently
|
||||
skip-recent: 2 # keep the last 2 runs, regardless of age
|
||||
@@ -3,6 +3,7 @@ name: Publish
|
||||
on:
|
||||
release:
|
||||
types: [created]
|
||||
workflow_dispatch:
|
||||
|
||||
jobs:
|
||||
#
|
||||
@@ -12,30 +13,27 @@ jobs:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v2
|
||||
- name: Use Node.js 12.x
|
||||
uses: actions/setup-node@v2
|
||||
- uses: actions/checkout@v3
|
||||
- name: Use Node.js 16.x
|
||||
uses: actions/setup-node@v3
|
||||
with:
|
||||
node-version: '12.x'
|
||||
node-version: '16.x'
|
||||
always-auth: true
|
||||
registry-url: https://registry.npmjs.org
|
||||
# Dependencies
|
||||
- id: cache_npm
|
||||
name: Cache Node.js modules
|
||||
uses: actions/cache@v2
|
||||
uses: actions/cache@v3
|
||||
with:
|
||||
path: |
|
||||
~/.npm
|
||||
./node_modules.tar.zstd
|
||||
key: ${{ runner.OS }}-npm-${{ hashFiles('**/package-lock.json') }}
|
||||
key: ${{ runner.OS }}-node16.x-${{ hashFiles('**/package-lock.json') }}
|
||||
restore-keys: |
|
||||
${{ runner.OS }}-npm-
|
||||
${{ runner.OS }}-
|
||||
${{ runner.OS }}-node16.x-
|
||||
- name: Install dependencies with NPM
|
||||
if: steps.cache_npm.outputs.cache-hit != 'true'
|
||||
run: npm ci
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}}
|
||||
- name: Unarchive node_modules
|
||||
if: steps.cache_npm.outputs.cache-hit == 'true'
|
||||
run: tar --use-compress-program "zstd -d --long=31" -xf node_modules.tar.zstd
|
||||
@@ -56,6 +54,6 @@ jobs:
|
||||
- name: Copy extra files into dist directory
|
||||
run: cp package.json README* dist/
|
||||
- name: Publish release to NPM registry
|
||||
run: npm publish dist
|
||||
run: npm publish dist/
|
||||
env:
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN_PUBLISHING }}
|
||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_PUBLISH_TOKEN }}
|
||||
|
||||
Generated
+12563
-3897
File diff suppressed because it is too large
Load Diff
+26
-36
@@ -2,14 +2,14 @@
|
||||
"name": "vue-apollo-smart-ops",
|
||||
"version": "0.2.0-beta.1",
|
||||
"description": "Create TypeScript-typed operation functions for your Vue Apollo queries and mutations.",
|
||||
"author": "Madscience Ltd",
|
||||
"author": "Equalogic Ltd",
|
||||
"license": "MIT",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://github.com/madscience/vue-apollo-smart-ops.git"
|
||||
"url": "https://github.com/equalogic/vue-apollo-smart-ops.git"
|
||||
},
|
||||
"scripts": {
|
||||
"prebuild": "rimraf dist && npm run barrels:generate",
|
||||
@@ -36,41 +36,39 @@
|
||||
"peerDependencies": {
|
||||
"apollo-client": ">=2.6",
|
||||
"apollo-link": ">=1.2",
|
||||
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0",
|
||||
"graphql": "^0.8.0 || ^0.9.0 || ^0.10.0 || ^0.11.0 || ^0.12.0 || ^0.13.0 || ^14.0.0 || ^15.0.0 || ^16.0.0",
|
||||
"vue": ">=2.6",
|
||||
"vue-apollo": ">=3"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@types/jest": "27.0.2",
|
||||
"@types/lodash.isplainobject": "4.0.6",
|
||||
"@types/lodash.mapvalues": "4.6.6",
|
||||
"@typescript-eslint/eslint-plugin": "5.1.0",
|
||||
"@typescript-eslint/parser": "5.1.0",
|
||||
"@vue/test-utils": "1.2.2",
|
||||
"@types/jest": "27.5.2",
|
||||
"@types/lodash.isplainobject": "4.0.7",
|
||||
"@types/lodash.mapvalues": "4.6.7",
|
||||
"@typescript-eslint/eslint-plugin": "5.30.5",
|
||||
"@typescript-eslint/parser": "5.30.5",
|
||||
"@vue/test-utils": "1.3.0",
|
||||
"apollo-client": "2.6.10",
|
||||
"apollo-link": "1.2.14",
|
||||
"barrelsby": "2.3.0",
|
||||
"dotenv-cli": "4.0.0",
|
||||
"eslint": "8.0.1",
|
||||
"eslint-config-prettier": "8.3.0",
|
||||
"eslint-plugin-import": "2.25.2",
|
||||
"eslint-plugin-jest": "25.2.2",
|
||||
"barrelsby": "2.3.4",
|
||||
"dotenv-cli": "6.0.0",
|
||||
"eslint": "8.19.0",
|
||||
"eslint-config-prettier": "8.5.0",
|
||||
"eslint-plugin-import": "2.26.0",
|
||||
"eslint-plugin-jest": "26.5.3",
|
||||
"eslint-plugin-node": "11.1.0",
|
||||
"eslint-plugin-promise": "5.1.0",
|
||||
"eslint-plugin-vue": "7.19.1",
|
||||
"graphql": "15.6.1",
|
||||
"graphql-tag": "2.12.5",
|
||||
"husky": "7.0.4",
|
||||
"jest": "27.3.1",
|
||||
"lint-staged": "11.2.3",
|
||||
"eslint-plugin-promise": "6.0.0",
|
||||
"eslint-plugin-vue": "9.2.0",
|
||||
"graphql": "15.8.0",
|
||||
"graphql-tag": "2.12.6",
|
||||
"jest": "27.5.1",
|
||||
"mkdirp": "1.0.4",
|
||||
"np": "7.5.0",
|
||||
"prettier": "2.4.1",
|
||||
"np": "7.6.1",
|
||||
"prettier": "2.7.1",
|
||||
"rimraf": "3.0.2",
|
||||
"ts-jest": "27.0.7",
|
||||
"typescript": "4.4.4",
|
||||
"ts-jest": "27.1.5",
|
||||
"typescript": "4.7.4",
|
||||
"vue": "2.6.14",
|
||||
"vue-apollo": "3.0.8",
|
||||
"vue-apollo": "3.1.0",
|
||||
"vue-class-component": "7.2.6",
|
||||
"vue-property-decorator": "9.1.2"
|
||||
},
|
||||
@@ -78,13 +76,5 @@
|
||||
"node": ">=12.9.0"
|
||||
},
|
||||
"main": "index.js",
|
||||
"types": "index.d.ts",
|
||||
"husky": {
|
||||
"hooks": {
|
||||
"pre-commit": "lint-staged"
|
||||
}
|
||||
},
|
||||
"lint-staged": {
|
||||
"*.{ts,js}": "eslint --ext .ts,.js --ignore-path .gitignore --fix --cache"
|
||||
}
|
||||
"types": "index.d.ts"
|
||||
}
|
||||
|
||||
+8
-1
@@ -2,7 +2,7 @@
|
||||
"extends": [
|
||||
"config:js-lib",
|
||||
":automergeMajor",
|
||||
":automergePr",
|
||||
":automergeBranch",
|
||||
":automergeRequireAllStatusChecks",
|
||||
":dependencyDashboard",
|
||||
":semanticCommitsDisabled"
|
||||
@@ -12,6 +12,7 @@
|
||||
"prCreation": "not-pending",
|
||||
"stabilityDays": 3,
|
||||
"rebaseWhen": "conflicted",
|
||||
"lockFileMaintenance": true,
|
||||
"labels": ["dependencies"],
|
||||
"reviewers": ["sgarner"],
|
||||
"packageRules": [
|
||||
@@ -22,6 +23,12 @@
|
||||
{
|
||||
"packagePatterns": ["jest"],
|
||||
"groupName": "jest"
|
||||
},
|
||||
{
|
||||
"matchDatasources": ["nvm", "npm"],
|
||||
"matchPackageNames": ["node", "@types/node"],
|
||||
"groupName": "Node.js",
|
||||
"allowedVersions": "^16"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user