Skip to content
Snippets Groups Projects
Commit 153b6ae8 authored by Reiter, Christoph's avatar Reiter, Christoph :snake:
Browse files

Try setting a publishConfig to public

lerna complains about this

And remove the custom publish commands
parent 24539211
No related branches found
No related tags found
No related merge requests found
Pipeline #14706 passed
Showing
with 64 additions and 28 deletions
...@@ -23,7 +23,7 @@ publish: ...@@ -23,7 +23,7 @@ publish:
- publish - publish
- master - master
script: script:
- echo "//registry.npmjs.org/:_authToken=${NPM_TOKEN}" > ~/.npmrc - echo '//registry.npmjs.org/:_authToken=${NPM_TOKEN}' > ~/.npmrc
- yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache" - yarn config set cache-folder "$CI_PROJECT_DIR/_yarn_cache"
- yarn install - yarn install
- yarn run build - yarn run build
......
...@@ -12,10 +12,6 @@ ...@@ -12,10 +12,6 @@
"build": "lerna run build", "build": "lerna run build",
"publish": "lerna publish from-package --yes" "publish": "lerna publish from-package --yes"
}, },
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"author": "", "author": "",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"devDependencies": { "devDependencies": {
......
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
"version": "0.1.4", "version": "0.1.4",
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
...@@ -45,7 +49,6 @@ ...@@ -45,7 +49,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun",
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true",
"lint": "eslint ." "lint": "eslint ."
} }
} }
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
"version": "0.1.0", "version": "0.1.0",
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
...@@ -47,7 +51,6 @@ ...@@ -47,7 +51,6 @@
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "yarn run build-test && karma start --singleRun", "test": "yarn run build-test && karma start --singleRun",
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true",
"lint": "eslint ." "lint": "eslint ."
} }
} }
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"private": true, "private": true,
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
...@@ -45,7 +49,6 @@ ...@@ -45,7 +49,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun"
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
...@@ -29,8 +29,7 @@ ...@@ -29,8 +29,7 @@
"build-test": "rollup -c --environment BUILD:test", "build-test": "rollup -c --environment BUILD:test",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun",
"watch": "rollup -c --watch", "watch": "rollup -c --watch",
"lint": "eslint .", "lint": "eslint ."
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
}, },
"dependencies": { "dependencies": {
"@open-wc/scoped-elements": "^1.3.2", "@open-wc/scoped-elements": "^1.3.2",
......
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"private": true, "private": true,
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
...@@ -51,7 +55,6 @@ ...@@ -51,7 +55,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun"
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
"version": "0.1.5", "version": "0.1.5",
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.0.2", "@rollup/plugin-json": "^4.0.2",
...@@ -46,7 +50,6 @@ ...@@ -46,7 +50,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun"
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
...@@ -2,5 +2,9 @@ ...@@ -2,5 +2,9 @@
"name": "@dbp-toolkit/font-source-sans-pro", "name": "@dbp-toolkit/font-source-sans-pro",
"version": "0.1.0", "version": "0.1.0",
"author": "", "author": "",
"license": "OFL-1.1" "license": "OFL-1.1",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
}
} }
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"private": true, "private": true,
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
...@@ -44,7 +48,6 @@ ...@@ -44,7 +48,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun"
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
...@@ -4,6 +4,10 @@ ...@@ -4,6 +4,10 @@
"version": "0.1.1", "version": "0.1.1",
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
...@@ -39,7 +43,6 @@ ...@@ -39,7 +43,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun"
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"private": true, "private": true,
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
......
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"private": true, "private": true,
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.0.0", "@rollup/plugin-json": "^4.0.0",
...@@ -41,7 +45,6 @@ ...@@ -41,7 +45,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun"
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"private": true, "private": true,
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
...@@ -44,7 +48,6 @@ ...@@ -44,7 +48,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun"
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"private": true, "private": true,
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.1.0", "@rollup/plugin-json": "^4.1.0",
...@@ -45,7 +49,6 @@ ...@@ -45,7 +49,6 @@
"watch": "npm run watch-local", "watch": "npm run watch-local",
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun"
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
...@@ -5,6 +5,10 @@ ...@@ -5,6 +5,10 @@
"main": "src/index.js", "main": "src/index.js",
"license": "LGPL-2.1-or-later", "license": "LGPL-2.1-or-later",
"private": true, "private": true,
"publishConfig": {
"registry": "https://registry.npmjs.org",
"access": "public"
},
"devDependencies": { "devDependencies": {
"@rollup/plugin-commonjs": "^16.0.0", "@rollup/plugin-commonjs": "^16.0.0",
"@rollup/plugin-json": "^4.0.0", "@rollup/plugin-json": "^4.0.0",
...@@ -47,7 +51,6 @@ ...@@ -47,7 +51,6 @@
"watch-local": "rollup -c --watch", "watch-local": "rollup -c --watch",
"watch-dev": "rollup -c --watch --environment BUILD:development", "watch-dev": "rollup -c --watch --environment BUILD:development",
"test": "npm run build-test && karma start --singleRun", "test": "npm run build-test && karma start --singleRun",
"lint": "eslint .", "lint": "eslint ."
"publish": "can-npm-publish --verbose 2>&1 && npm run build && npm publish --access public 2>&1 || true"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment