Skip to content

Commit

Permalink
release instructions
Browse files Browse the repository at this point in the history
  • Loading branch information
derekwsgray committed Jan 31, 2025
1 parent bffe3a8 commit 041b1be
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 10 deletions.
2 changes: 0 additions & 2 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,5 +3,3 @@ compressionLevel: mixed
enableGlobalCache: false

nodeLinker: node-modules

npmPublishRegistry: "https://npm.uncharted.software"
10 changes: 2 additions & 8 deletions DEVELOPMENT.md
Original file line number Diff line number Diff line change
Expand Up @@ -66,19 +66,13 @@ From the root of the repo:
yarn bump patch
```

- One <strong>must</strong> have an npm account that belongs to the uncharted organization and be logged into the npm scope
- To verify:
```shell script
yarn npm whoami
```

- Log into the uncharted npm registry for publishing (see `.yarnrc.yml` > `npmPublishRegistry`)
```shell script
yarn npm login --publish
```

- Individually publish facets-core and facets-plugins
```shell script
yarn workspace @uncharted.software/facets-core npm publish
yarn workspace @uncharted.software/facets-plugins npm publish
yarn workspace @uncharted.software/facets-core npm publish --access=public
yarn workspace @uncharted.software/facets-plugins npm publish --access-public
```
6 changes: 6 additions & 0 deletions packages/facets-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,15 @@
"main": "",
"scripts": {
"build": "vite build",
"preview": "vite preview",
"clean": "run-p clean:*",
"clean:code": "rm -rf ./dist",
"clean:pages": "rm -rf ./pages",
"pages": "run-s pages:*",
"pages:build": "yarn build",
"pages:copy": "run-p pages:copy:*",
"pages:copy:code": "copyfiles dist/iife/* pages",
"pages:copy:www": "copyfiles -u 1 public/**/* public/* pages",
"start": "vite",
"lint": "eslint .",
"lint:fix": "yarn lint --fix",
Expand Down

0 comments on commit 041b1be

Please sign in to comment.