Skip to content

Commit

Permalink
fix: don't locally increment version (pmndrs#256)
Browse files Browse the repository at this point in the history
  • Loading branch information
CodyJasonBennett authored May 26, 2023
1 parent 35f014c commit 5c0d28f
Show file tree
Hide file tree
Showing 4 changed files with 17 additions and 7 deletions.
3 changes: 2 additions & 1 deletion .codesandbox/ci.json
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
{
"node": "18"
"node": "18",
"packages": ["dist"]
}
9 changes: 4 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
{
"name": "three-stdlib",
"version": "2.23.1",
"version": "0.0.0-semantic-released",
"private": true,
"description": "stand-alone library of threejs examples",
"keywords": [
"three",
Expand All @@ -18,16 +19,14 @@
"homepage": "https://github.com/pmndrs/three-stdlib",
"repository": "https://github.com/pmndrs/three-stdlib",
"license": "MIT",
"files": [
"dist/*"
],
"types": "./dist/index.d.ts",
"main": "./dist/index.cjs",
"module": "./dist/index.js",
"sideEffects": false,
"devDependencies": {
"@types/three": "^0.128.0",
"copyfiles": "^2.4.1",
"json": "^11.0.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.2",
"three": "^0.128.0",
Expand All @@ -51,7 +50,7 @@
"three": ">=0.128.0"
},
"scripts": {
"build": "rimraf dist && vite build && tsc --emitDeclarationOnly && copyfiles -u 1 \"src/**/*.d.ts\" dist",
"build": "rimraf dist && vite build && tsc --emitDeclarationOnly && copyfiles -u 1 \"src/**/*.d.ts\" dist && copyfiles package.json dist && json -I -f dist/package.json -e \"this.private=undefined; this.types=\\\"./index.d.ts\\\"; this.main=\\\"./index.cjs\\\"; this.module=\\\"./index.js\\\";\"",
"lint": "tsc --noEmit"
}
}
7 changes: 6 additions & 1 deletion release.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,12 @@ module.exports = {
plugins: [
'@semantic-release/commit-analyzer',
'@semantic-release/release-notes-generator',
'@semantic-release/npm',
[
'@semantic-release/npm',
{
pkgRoot: './dist',
},
],
'@semantic-release/github',
[
'@semantic-release/git',
Expand Down
5 changes: 5 additions & 0 deletions yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -343,6 +343,11 @@ isarray@~1.0.0:
resolved "https://registry.yarnpkg.com/isarray/-/isarray-1.0.0.tgz#bb935d48582cba168c06834957a54a3e07124f11"
integrity sha1-u5NdSFgsuhaMBoNJV6VKPgcSTxE=

json@^11.0.0:
version "11.0.0"
resolved "https://registry.yarnpkg.com/json/-/json-11.0.0.tgz#2e84493134e2f42c131165aa22a124df38b3a3ee"
integrity sha512-N/ITv3Yw9Za8cGxuQqSqrq6RHnlaHWZkAFavcfpH/R52522c26EbihMxnY7A1chxfXJ4d+cEFIsyTgfi9GihrA==

ktx-parse@^0.4.5:
version "0.4.5"
resolved "https://registry.yarnpkg.com/ktx-parse/-/ktx-parse-0.4.5.tgz#79905e22281a9d3e602b2ff522df1ee7d1813aa6"
Expand Down

0 comments on commit 5c0d28f

Please sign in to comment.