aronrepo 1.0.1-beta.6 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -16,7 +16,7 @@ jobs:
16
16
  node-version: [18.12.1]
17
17
  steps:
18
18
  - name: Aron Actions
19
- uses: 1aron/aronrepo@latest
19
+ uses: 1aron/aronrepo@1.0.0
20
20
  with:
21
21
  action: 'check-pull-request-title'
22
22
  env:
package/package.json CHANGED
@@ -1 +1 @@
1
- {"name":"aronrepo","license":"MIT","scripts":{"build":"esbuild src/bin/index.ts --bundle --outfile=dist/bin/index --format=cjs --minify --sourcemap --platform=node --external:esbuild --external:@master/literal --external:@techor/log --external:commitlint-config-aron --external:conventional-changelog-aron --external:eslint-config-aron --external:fs-extra --external:semantic-release-config-aron --external:commander --external:fast-glob","dev":"conc 'npm:build -- --watch'","type-check":"tsc --noEmit","test":"jest","lint":"eslint src","postinstall":"node scripts/postinstall.js"},"description":"A monorepo ecosystem integrating first-class packages and build systems 📦","author":{"name":"Aron","email":"aron@master.co","url":"http://aron.tw"},"homepage":"https://aron.tw","bugs":{"url":"https://github.com/1aron/aronrepo/issues"},"repository":{"type":"git","url":"https://github.com/1aron/aronrepo.git","directory":"packages/aronrepo"},"bin":{"aron":"./dist/bin/index"},"files":["dist","scripts",".github"],"peerDependencies":{"@types/node":"","esbuild":"","turbo":"","typescript":""},"dependencies":{"@techor/log":"","commitlint-config-aron":"^1.0.1-beta.6","conventional-changelog-aron":"^1.0.1-beta.6","eslint-config-aron":"^1.0.1-beta.6","aron-jest":"^1.0.1-beta.6","semantic-release-config-aron":"^1.0.1-beta.6","@master/literal":"^1.0.11","commander":"^9.4.1","execa":"^6.1.0","fast-glob":"^3.2.12","fs-extra":"^10.1.0","normalize-path":"^3.0.0","p-all":"^4.0.0","pretty-bytes":"^6.0.0","shelljs":"^0.8.5","shx":"^0.3.4"},"devDependencies":{"dedent":"^0.7.0","pkg-types":"^1.0.1"},"version":"1.0.1-beta.6"}
1
+ {"name":"aronrepo","license":"MIT","scripts":{"build":"esbuild src/bin/index.ts --bundle --outfile=dist/bin/index --format=cjs --minify --sourcemap --platform=node --external:esbuild --external:@master/literal --external:@techor/log --external:commitlint-config-aron --external:conventional-changelog-aron --external:eslint-config-aron --external:fs-extra --external:semantic-release-config-aron --external:commander --external:fast-glob","dev":"conc 'npm:build -- --watch'","type-check":"tsc --noEmit","test":"jest","lint":"eslint src"},"description":"A monorepo ecosystem integrating first-class packages and build systems 📦","author":{"name":"Aron","email":"aron@master.co","url":"http://aron.tw"},"homepage":"https://aron.tw","bugs":{"url":"https://github.com/1aron/aronrepo/issues"},"repository":{"type":"git","url":"https://github.com/1aron/aronrepo.git","directory":"packages/aronrepo"},"bin":{"aron":"./dist/bin/index"},"files":["dist","scripts",".github"],"peerDependencies":{"@types/node":"","esbuild":"","turbo":"","typescript":""},"dependencies":{"@techor/log":"","commitlint-config-aron":"^1.0.2","conventional-changelog-aron":"^1.0.2","eslint-config-aron":"^1.0.2","aron-jest":"^1.0.2","semantic-release-config-aron":"^1.0.2","@master/literal":"^1.0.11","commander":"^9.4.1","execa":"^6.1.0","fast-glob":"^3.2.12","fs-extra":"^10.1.0","normalize-path":"^3.0.0","p-all":"^4.0.0","pretty-bytes":"^6.0.0","shelljs":"^0.8.5","shx":"^0.3.4"},"devDependencies":{"dedent":"^0.7.0","pkg-types":"^1.0.1"},"version":"1.0.2"}
@@ -1,19 +0,0 @@
1
- if (process.env.INIT_CWD === process.cwd()) {
2
- process.exit()
3
- }
4
-
5
- const path = require('path')
6
- const shell = require('shelljs')
7
- const fs = require('fs')
8
- const projectPath = path.resolve(process.cwd(), '../..')
9
-
10
- try {
11
- shell.ls(path.join(process.cwd(), '.github')).forEach(dirName => {
12
- shell.mkdir('-p', path.join(projectPath, '.github', dirName))
13
- shell.ls(path.join(process.cwd(), '.github', dirName, '*.{md,yml}')).forEach(filePath => {
14
- shell.ln('-sf', filePath, path.join(projectPath, '.github', dirName, path.basename(filePath)))
15
- })
16
- })
17
- } catch (_) {
18
- /* empty */
19
- }