-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
move to ts, refactor, dont delete user overrides (#5)
Co-authored-by: Arun George <[email protected]>
- Loading branch information
1 parent
c6d374b
commit ca4a498
Showing
9 changed files
with
359 additions
and
50 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,11 +11,24 @@ jobs: | |
run: | ||
working-directory: ./cli | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: actions/setup-node@v1 | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: 2 | ||
|
||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: 16 | ||
registry-url: https://registry.npmjs.org/ | ||
|
||
- uses: pnpm/[email protected] | ||
name: Install pnpm | ||
id: pnpm-install | ||
with: | ||
version: 7 | ||
run_install: true | ||
|
||
- run: pnpm build | ||
|
||
- run: npm publish --access public | ||
env: | ||
NODE_AUTH_TOKEN: ${{secrets.NPM_TOKEN}} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -2,4 +2,6 @@ node_modules/ | |
.pnpm-debug.log | ||
|
||
test/ | ||
docs/ | ||
docs/ | ||
|
||
index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
# CoSpace | ||
|
||
## 0.5.0 | ||
|
||
- Converted to TypeScript | ||
- `override` command will not delete manual user defined overrides | ||
|
||
## 0.4.5 | ||
|
||
### Fix | ||
|
||
- Create `pnpm.overrides` if it doesn't exist; happens if user deletes it from their CoSpace or if they didn't use the template | ||
|
||
## 0.4.4 | ||
|
||
### Fix | ||
|
||
- Remove pnpm options from template that were never applied | ||
|
||
## 0.4.3 | ||
|
||
### Enhancement | ||
|
||
- `override` command now provides a diff of `pnpm.overrides` | ||
|
||
## 0.4.2 | ||
|
||
- miscellaneous updates | ||
|
||
## 0.4.1 | ||
|
||
- Change dep on lage from `latest` to `^1.5.1`; reacting to change made in [microsoft/lage@a83120f](https://github.com/microsoft/lage/commit/a83120f54edad9526205765c7006d240772ef798) | ||
|
||
## 0.4.0 | ||
|
||
### Breaking Change | ||
|
||
- Change package name from `create-cospace` to `cospace` | ||
|
||
## 0.3.0 | ||
|
||
### Enhancement | ||
|
||
- Added `purge` command to delete all `node_modules` in the `cospace` | ||
|
||
## 0.2.1 | ||
|
||
### Fix | ||
|
||
- Pass dir arg to `init` command | ||
|
||
## 0.2.0 | ||
|
||
### Enhancement | ||
|
||
- Add `override` command to automatically update the `pnpm.overrides` section of the CoSpace's package.json, to ignore semver and always use the local package version, `"workspace:*"`, from the workspace. | ||
|
||
## 0.1.0 | ||
|
||
- Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,12 @@ | ||
/** @type {import("lage").ConfigOptions } */ | ||
module.exports = { | ||
pipeline: { | ||
build: ["^build"], | ||
test: ["build"], | ||
lint: [], | ||
clean: [], | ||
clean: { | ||
cache: false, | ||
}, | ||
}, | ||
cache: true, | ||
}; |
Empty file.
Oops, something went wrong.