@dword-design/base-config-app 4.0.2 → 5.0.1
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.
- package/LICENSE.md +1 -1
- package/README.md +1 -1
- package/dist/get-ecosystem-config.js +2 -3
- package/dist/get-nginx-config.js +1 -1
- package/package.json +11 -10
package/LICENSE.md
CHANGED
package/README.md
CHANGED
|
@@ -102,5 +102,5 @@ Thanks a lot for your support! ❤️
|
|
|
102
102
|
|
|
103
103
|
## License
|
|
104
104
|
|
|
105
|
-
[MIT License](https://opensource.org/
|
|
105
|
+
[MIT License](https://opensource.org/license/mit/) © [Sebastian Landwehr](https://sebastianlandwehr.com)
|
|
106
106
|
<!-- /LICENSE -->
|
|
@@ -3,8 +3,7 @@ import hostedGitInfo from 'hosted-git-info';
|
|
|
3
3
|
import parseGitConfig from 'parse-git-config';
|
|
4
4
|
import parsePackagejsonName from 'parse-packagejson-name';
|
|
5
5
|
export default (packageConfig => {
|
|
6
|
-
|
|
7
|
-
const repositoryUrl = fs.existsSync('.git') ? (_parseGitConfig$sync$ = parseGitConfig.sync()['remote "origin"']) === null || _parseGitConfig$sync$ === void 0 ? void 0 : _parseGitConfig$sync$.url : undefined;
|
|
6
|
+
const repositoryUrl = fs.existsSync('.git') ? parseGitConfig.sync()['remote "origin"']?.url : undefined;
|
|
8
7
|
const gitInfo = hostedGitInfo.fromUrl(repositoryUrl) || {};
|
|
9
8
|
if (repositoryUrl !== undefined && gitInfo.type !== 'github') {
|
|
10
9
|
throw new Error('Only GitHub repositories are supported.');
|
|
@@ -26,7 +25,7 @@ export default (packageConfig => {
|
|
|
26
25
|
...(repositoryUrl && {
|
|
27
26
|
repo: `git@github.com:${gitInfo.user}/${gitInfo.project}.git`
|
|
28
27
|
}),
|
|
29
|
-
'post-deploy': 'source ~/.nvm/nvm.sh &&
|
|
28
|
+
'post-deploy': 'source ~/.nvm/nvm.sh && pnpm install --frozen-lockfile && pnpm checkUnknownFiles && pnpm prepublishOnly && pm2 startOrReload ecosystem.json',
|
|
30
29
|
ref: 'origin/master'
|
|
31
30
|
}
|
|
32
31
|
}
|
package/dist/get-nginx-config.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import endent from
|
|
1
|
+
import { endent } from '@dword-design/functions';
|
|
2
2
|
import parsePackagejsonName from 'parse-packagejson-name';
|
|
3
3
|
export default (packageConfig => {
|
|
4
4
|
const packageName = parsePackagejsonName(packageConfig.name).fullName;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base-config-app",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "5.0.1",
|
|
4
4
|
"repository": "dword-design/base-config-app",
|
|
5
5
|
"funding": "https://github.com/sponsors/dword-design",
|
|
6
6
|
"license": "MIT",
|
|
@@ -22,14 +22,14 @@
|
|
|
22
22
|
"test": "base test"
|
|
23
23
|
},
|
|
24
24
|
"dependencies": {
|
|
25
|
-
"@dword-design/base-config-nuxt": "^
|
|
26
|
-
"@dword-design/functions": "^
|
|
25
|
+
"@dword-design/base-config-nuxt": "^6.0.0",
|
|
26
|
+
"@dword-design/functions": "^6.0.1",
|
|
27
27
|
"@semantic-release/exec": "^6.0.3",
|
|
28
28
|
"ceiling": "^4.0.0",
|
|
29
29
|
"depcheck-package-name": "^3.0.1",
|
|
30
|
-
"execa": "^
|
|
30
|
+
"execa": "^9.3.1",
|
|
31
31
|
"fs-extra": "^11.1.1",
|
|
32
|
-
"hosted-git-info": "^
|
|
32
|
+
"hosted-git-info": "^7.0.1",
|
|
33
33
|
"load-pkg": "^4.0.0",
|
|
34
34
|
"output-files": "^2.0.0",
|
|
35
35
|
"parse-git-config": "^3.0.0",
|
|
@@ -38,16 +38,17 @@
|
|
|
38
38
|
"yaml": "^2.2.2"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
|
-
"@dword-design/base": "^
|
|
42
|
-
"@dword-design/puppeteer": "^
|
|
41
|
+
"@dword-design/base": "^11.0.4",
|
|
42
|
+
"@dword-design/puppeteer": "^7.0.0",
|
|
43
43
|
"@dword-design/tester": "^2.0.9",
|
|
44
|
-
"@dword-design/tester-plugin-puppeteer": "^
|
|
44
|
+
"@dword-design/tester-plugin-puppeteer": "^3.0.0",
|
|
45
45
|
"@dword-design/tester-plugin-tmp-dir": "^2.1.3",
|
|
46
|
-
"nuxt-dev-ready": "^
|
|
46
|
+
"nuxt-dev-ready": "^3.0.0",
|
|
47
47
|
"tree-kill-promise": "^3.0.14"
|
|
48
48
|
},
|
|
49
|
+
"packageManager": "pnpm@9.7.1+sha512.faf344af2d6ca65c4c5c8c2224ea77a81a5e8859cbc4e06b1511ddce2f0151512431dd19e6aff31f2c6a8f5f2aced9bd2273e1fed7dd4de1868984059d2c4247",
|
|
49
50
|
"engines": {
|
|
50
|
-
"node": ">=
|
|
51
|
+
"node": ">=18"
|
|
51
52
|
},
|
|
52
53
|
"publishConfig": {
|
|
53
54
|
"access": "public"
|