diff --git a/.changeset/config.json b/.changeset/config.json index 4066833db..2d9fcbc8e 100644 --- a/.changeset/config.json +++ b/.changeset/config.json @@ -3,8 +3,8 @@ "changelog": "@changesets/cli/changelog", "commit": false, "linked": [], - "access": "restricted", - "baseBranch": "master", + "access": "public", + "baseBranch": "5.x", "updateInternalDependencies": "patch", "ignore": [] } diff --git a/.changeset/hip-hounds-destroy.md b/.changeset/hip-hounds-destroy.md new file mode 100644 index 000000000..813c8694b --- /dev/null +++ b/.changeset/hip-hounds-destroy.md @@ -0,0 +1,39 @@ +--- +'@verdaccio/local-storage': patch +'@verdaccio/ui-theme': patch +'@verdaccio/server': patch +'@verdaccio/api': patch +'@verdaccio/auth': patch +'@verdaccio/cli': patch +'@verdaccio/config': patch +'@verdaccio/commons-api': patch +'@verdaccio/file-locking': patch +'verdaccio-htpasswd': patch +'@verdaccio/readme': patch +'@verdaccio/streams': patch +'@verdaccio/types': patch +'@verdaccio/hooks': patch +'@verdaccio/loaders': patch +'@verdaccio/logger': patch +'@verdaccio/logger-prettify': patch +'@verdaccio/middleware': patch +'@verdaccio/mock': patch +'@verdaccio/node-api': patch +'@verdaccio/active-directory': patch +'verdaccio-audit': patch +'verdaccio-auth-memory': patch +'verdaccio-aws-s3-storage': patch +'verdaccio-google-cloud': patch +'verdaccio-memory': patch +'@verdaccio/proxy': patch +'@verdaccio/store': patch +'@verdaccio/dev-types': patch +'@verdaccio/utils': patch +'verdaccio': patch +'@verdaccio/web': patch +'@verdaccio/e2e-cli': patch +'@verdaccio/e2e-ui': patch +'@verdaccio/website': patch +--- + +chore: add release step to private regisry on merge changeset pr diff --git a/.github/workflows/changesets.yml b/.github/workflows/changesets.yml index d1146bf42..ea4c3c4c1 100644 --- a/.github/workflows/changesets.yml +++ b/.github/workflows/changesets.yml @@ -41,11 +41,16 @@ jobs: - name: install dependencies run: pnpm install + - name: build + run: pnpm build + - name: create versions uses: changesets/action@master with: version: pnpm ci:version commit: 'chore: update versions' title: 'chore: update versions' + publish: pnpm ci:publish env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + NPM_TOKEN: ${{ secrets.VERDACCIO_TOKEN }} diff --git a/.npmrc b/.npmrc index 9320a72ea..0ff3e98e6 100644 --- a/.npmrc +++ b/.npmrc @@ -2,3 +2,4 @@ always-auth = true recursive-install = true registry = https://registry.verdaccio.org/ loglevel=warn +//registry.verdaccio.org/:_authToken=$NPM_TOKEN diff --git a/package.json b/package.json index 9c3ea42fc..6b26f52df 100644 --- a/package.json +++ b/package.json @@ -38,8 +38,8 @@ "@babel/preset-typescript": "7.12.1", "@babel/register": "7.12.1", "@babel/runtime": "7.12.5", - "@changesets/changelog-github": "0.2.7", - "@changesets/cli": "2.11.2", + "@changesets/changelog-github": "^0.2.7", + "@changesets/cli": "^2.12.0", "@changesets/get-dependents-graph": "^1.1.3", "@commitlint/cli": "8.3.5", "@commitlint/config-conventional": "8.2.0", @@ -146,7 +146,8 @@ "changeset:check": "changeset status --since-master", "ci:version": "run-s ci:version:changeset ci:version:install", "ci:version:install": "pnpm install --frozen-lockfile=false", - "ci:version:changeset": "changeset version" + "ci:version:changeset": "changeset version", + "ci:publish": "changeset publish" }, "license": "MIT", "commitlint": { diff --git a/packages/core/local-storage/package.json b/packages/core/local-storage/package.json index 315e51691..1ff5693f9 100644 --- a/packages/core/local-storage/package.json +++ b/packages/core/local-storage/package.json @@ -37,8 +37,8 @@ "async": "^3.2.0", "debug": "^4.1.1", "lodash": "^4.17.20", - "mkdirp": "^0.5.5", - "lowdb": "1.0.0" + "lowdb": "1.0.0", + "mkdirp": "^0.5.5" }, "devDependencies": { "@types/minimatch": "^3.0.3", diff --git a/packages/plugins/ui-theme/package.json b/packages/plugins/ui-theme/package.json index eb5a161bb..9c1677ca2 100644 --- a/packages/plugins/ui-theme/package.json +++ b/packages/plugins/ui-theme/package.json @@ -27,9 +27,9 @@ "@testing-library/react": "10.4.9", "@verdaccio/node-api": "workspace:5.0.0-alpha.3", "autosuggest-highlight": "3.1.1", + "babel-loader": "^8.2.2", "babel-plugin-dynamic-import-node": "^2.3.3", "babel-plugin-emotion": "10.0.33", - "babel-loader": "^8.2.2", "bundlesize": "0.18.0", "css-loader": "4.3.0", "dayjs": "1.9.7", @@ -55,7 +55,10 @@ "normalize.css": "8.0.1", "optimize-css-assets-webpack-plugin": "^5.0.4", "ora": "4.0.4", + "prop-types": "15.7.2", + "react": "16.13.1", "react-autosuggest": "10.0.2", + "react-dom": "16.13.1", "react-hook-form": "3.29.4", "react-hot-loader": "4.12.21", "react-i18next": "^11.8.3", @@ -65,10 +68,7 @@ "request": "2.88.2", "resolve-url-loader": "3.1.1", "rimraf": "3.0.2", - "react": "16.13.1", - "react-dom": "16.13.1", "source-map-loader": "1.1.0", - "prop-types": "15.7.2", "standard-version": "9.0.0", "style-loader": "1.2.1", "stylelint": "13.7.2", diff --git a/packages/server/package.json b/packages/server/package.json index 61d0ab25a..db79bd172 100644 --- a/packages/server/package.json +++ b/packages/server/package.json @@ -27,8 +27,8 @@ "@verdaccio/web": "workspace:5.0.0-alpha.3", "compression": "1.7.4", "cors": "2.8.5", - "express-rate-limit": "5.2.3", "express": "4.17.1", + "express-rate-limit": "5.2.3", "lodash": "4.17.15" }, "devDependencies": { diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 24285f1d4..cf5cb727a 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -26,7 +26,7 @@ importers: '@babel/register': 7.12.1_@babel+core@7.12.3 '@babel/runtime': 7.12.5 '@changesets/changelog-github': 0.2.7 - '@changesets/cli': 2.11.2 + '@changesets/cli': 2.12.0 '@changesets/get-dependents-graph': 1.1.3 '@commitlint/cli': 8.3.5 '@commitlint/config-conventional': 8.2.0 @@ -131,8 +131,8 @@ importers: '@babel/preset-typescript': 7.12.1 '@babel/register': 7.12.1 '@babel/runtime': 7.12.5 - '@changesets/changelog-github': 0.2.7 - '@changesets/cli': 2.11.2 + '@changesets/changelog-github': ^0.2.7 + '@changesets/cli': ^2.12.0 '@changesets/get-dependents-graph': ^1.1.3 '@commitlint/cli': 8.3.5 '@commitlint/config-conventional': 8.2.0 @@ -4121,7 +4121,7 @@ packages: dev: true resolution: integrity: sha512-bWK8IADPYsiSiyORNpVLbmdo7J7A4LktmzUowtIivslP03UW5f/YBDzGub7N0+BVdVmZrqvyWzAIKmpGVkEICg== - /@changesets/cli/2.11.2: + /@changesets/cli/2.12.0: dependencies: '@babel/runtime': 7.12.5 '@changesets/apply-release-plan': 4.0.0 @@ -4156,7 +4156,7 @@ packages: dev: true hasBin: true resolution: - integrity: sha512-Lfw4MWj46H7dgPzgYmRJ8QbpDxi02dK+21zuWzBjVtsf3AqJgy7oVdXl4Yga/JhBq8eeoxBS9NoCVw8/JOZBcg== + integrity: sha512-dGdFkg75zsaEObsG8gwMLglS6sJVjXWwgVTAzEIjqIoWVnKwqZqccTb4gn0noq47uCwy7SqxiAJqGibIy9UOKw== /@changesets/config/1.4.0: dependencies: '@changesets/errors': 0.1.4