Skip to content
This repository was archived by the owner on Jun 29, 2021. It is now read-only.

Commit 0b37b59

Browse files
committed
📦 Move layouts to npm
Updates to npm version of components Changes publish config to npm Updates version Changes drone to use npm credentials Deletes .npmrc
1 parent 6d6bdcb commit 0b37b59

File tree

4 files changed

+9
-11
lines changed

4 files changed

+9
-11
lines changed

.drone.yml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,8 @@ steps:
77
- name: npm_auth
88
image: robertstettner/drone-npm-auth
99
settings:
10-
registry: npm.pkg.github.com
1110
token:
12-
from_secret: github_token
11+
from_secret: npm_token
1312

1413
- name: build
1514
image: node:latest
@@ -20,7 +19,7 @@ steps:
2019
- name: publish
2120
image: node:latest
2221
commands:
23-
- yarn publish
22+
- npm publish --access public
2423
when:
2524
ref:
2625
- refs/tags/v*

.npmrc

Lines changed: 0 additions & 1 deletion
This file was deleted.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
{
22
"name": "@commitd/layout",
3-
"version": "0.0.3",
3+
"version": "0.0.4",
44
"description": "Committed layout library",
55
"author": "Committed",
66
"license": "MIT",
77
"main": "dist/index.js",
88
"module": "dist/layout.esm.js",
99
"typings": "dist/index.d.ts",
1010
"publishConfig": {
11-
"registry": "https://npm.pkg.github.com/"
11+
"registry": "https://registry.npmjs.org/"
1212
},
1313
"files": [
1414
"dist"
@@ -21,7 +21,6 @@
2121
"lint": "tsdx lint src test example/index.tsx"
2222
},
2323
"peerDependencies": {
24-
"@commitd/components": ">=0.0.19",
2524
"@material-ui/icons": "^4.2.1",
2625
"react": ">=16",
2726
"react-dom": "^15.0.0 || ^16.0.0"
@@ -36,7 +35,7 @@
3635
"singleQuote": true
3736
},
3837
"devDependencies": {
39-
"@commitd/components": "^0.0.19",
38+
"@commitd/components": "^0.0.23",
4039
"@material-ui/core": "^4.4.2",
4140
"@material-ui/icons": "^4.2.1",
4241
"@types/jest": "^24.0.18",

yarn.lock

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -686,9 +686,10 @@
686686
exec-sh "^0.3.2"
687687
minimist "^1.2.0"
688688

689-
"@commitd/components@^0.0.19":
690-
version "0.0.19"
691-
resolved "https://npm.pkg.github.com/download/@commitd/components/0.0.19/fa533286405acfc778be47ecc3edae1a9f5efb50e6f405ef9aebe5f139f05f2e#"
689+
"@commitd/components@^0.0.23":
690+
version "0.0.23"
691+
resolved "https://registry.yarnpkg.com/@commitd/components/-/components-0.0.23.tgz#89f785d59b77207a8e82f5bc4c9a492545ba3140"
692+
integrity sha512-ZffCcWQyFpPPKGkkro4W22lCtaPD6Z9SE5/Vk77qQdNy3isExAHfoAwRBqzdd1aBy3JifFAK1Z5sgQ2r8DgjwA==
692693
dependencies:
693694
clsx "^1.0.4"
694695

0 commit comments

Comments
 (0)