@dword-design/base 9.4.4 → 9.4.6
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.
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import endent from "@dword-design/functions/dist/endent.js";
|
|
2
2
|
import * as personalData from '@dword-design/personal-data';
|
|
3
|
+
import parsePackagejsonName from 'parse-packagejson-name';
|
|
3
4
|
export default function () {
|
|
5
|
+
const packageName = parsePackagejsonName(this.packageConfig.name).fullName;
|
|
4
6
|
return {
|
|
5
7
|
image: {
|
|
6
8
|
file: '.gitpod.Dockerfile'
|
|
@@ -10,7 +12,7 @@ export default function () {
|
|
|
10
12
|
// after restarts, we need to store it in the workspace folder
|
|
11
13
|
// https://www.gitpod.io/docs/configure/workspaces/workspace-lifecycle#workspace-stopped
|
|
12
14
|
before: endent`
|
|
13
|
-
echo "export PUPPETEER_CACHE_DIR=/workspace/${
|
|
15
|
+
echo "export PUPPETEER_CACHE_DIR=/workspace/${packageName}/node_modules/.cache/puppeteer" >> /home/gitpod/.bashrc
|
|
14
16
|
echo "eval $(gitpod-env-per-project)" >> /home/gitpod/.bashrc && source /home/gitpod/.bashrc
|
|
15
17
|
`,
|
|
16
18
|
init: endent`
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dword-design/base",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.6",
|
|
4
4
|
"description": "Base package for projects.",
|
|
5
5
|
"repository": "dword-design/base",
|
|
6
6
|
"funding": "https://github.com/sponsors/dword-design",
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
"depcheck-detector-package-name": "^3.0.0",
|
|
53
53
|
"depcheck-package-name": "^3.0.0",
|
|
54
54
|
"depcheck-parser-babel": "^3.0.1",
|
|
55
|
-
"eslint": "~
|
|
55
|
+
"eslint": "~8.35.0",
|
|
56
56
|
"execa": "^7.0.0",
|
|
57
57
|
"find-up": "^6.3.0",
|
|
58
58
|
"fs-extra": "^11.1.0",
|