Skip to content

Commit

Permalink
chore: move plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
guiseek committed Aug 2, 2022
1 parent ad74013 commit 53ce3c5
Show file tree
Hide file tree
Showing 45 changed files with 26,756 additions and 12,086 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/pull-request.yml
Expand Up @@ -24,3 +24,9 @@ jobs:

- name: Unit Tests
run: 'npm run test -- --base=origin/main --plain'

- name: Build, Release on GitHub & Publish to NPM
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
run: 'npm run release -- --base=origin/main --plain'
13 changes: 13 additions & 0 deletions .releaserc.json
@@ -1,8 +1,21 @@
{
"repositoryUrl": "https://github.com/guiseek/nx-plugin.git",
"branches": [
"+([0-9])?(.{+([0-9]),x}).x",
"main",
{ "name": "beta", "prerelease": true },
{ "name": "alpha", "prerelease": true }
],
"plugins": [
"@semantic-release/commit-analyzer",
"@semantic-release/release-notes-generator",
"@semantic-release/npm",
[
"@semantic-release/exec",
{
"publishCmd": "nx run affected --target=release --args=\"--version=${nextRelease.version}\""
}
],
"@semantic-release/github"
]
}
4 changes: 2 additions & 2 deletions e2e/angular-e2e/project.json
Expand Up @@ -6,11 +6,11 @@
"e2e": {
"executor": "@nrwl/nx-plugin:e2e",
"options": {
"target": "angular:build",
"target": "plugin-angular:build",
"jestConfig": "e2e/angular-e2e/jest.config.ts"
}
}
},
"tags": [],
"implicitDependencies": ["angular"]
"implicitDependencies": ["plugin-angular"]
}
4 changes: 2 additions & 2 deletions e2e/release-e2e/project.json
Expand Up @@ -6,11 +6,11 @@
"e2e": {
"executor": "@nrwl/nx-plugin:e2e",
"options": {
"target": "release:build",
"target": "plugin-release:build",
"jestConfig": "e2e/release-e2e/jest.config.ts"
}
}
},
"tags": [],
"implicitDependencies": ["release"]
"implicitDependencies": ["plugin-release"]
}
2 changes: 1 addition & 1 deletion e2e/release-e2e/tests/release.spec.ts
Expand Up @@ -14,7 +14,7 @@ describe('release e2e', () => {
// on a unique project in the workspace, such that they
// are not dependant on one another.
beforeAll(() => {
ensureNxProject('@nx-plugin/release', 'dist/packages/release');
ensureNxProject('@nx-plugin/release', 'dist/packages/plugin/release');
});

afterAll(() => {
Expand Down

0 comments on commit 53ce3c5

Please sign in to comment.