@dword-design/base 14.0.0 → 14.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.
@@ -13,7 +13,13 @@ export default function () {
13
13
  // https://www.gitpod.io/docs/configure/workspaces/workspace-lifecycle#workspace-stopped
14
14
  before: endent`
15
15
  echo "corepack enable" >> /home/gitpod/.bashrc
16
+
17
+ # Prevent this prompt:
18
+ # pnpm install --frozen-lockfile
19
+ # ! Corepack is about to download https://registry.npmjs.org/pnpm/-/pnpm-10.7.1.tgz
20
+ # ? Do you want to continue? [Y/n]
16
21
  echo "export COREPACK_ENABLE_DOWNLOAD_PROMPT=0" >> /home/gitpod/.bashrc
22
+
17
23
  gitpod-env-per-project >> /home/gitpod/.bashrc
18
24
  echo "export PUPPETEER_CACHE_DIR=/workspace/${packageName}/node_modules/.cache/puppeteer" >> /home/gitpod/.bashrc
19
25
  echo "export PLAYWRIGHT_BROWSERS_PATH=0" >> /home/gitpod/.bashrc
package/dist/index.d.ts CHANGED
@@ -47,7 +47,7 @@ type Config = {
47
47
  type ConfigObjectInput = Omit<Partial<Config>, 'commands'> & {
48
48
  commands?: Record<string, CommandInObjectInput>;
49
49
  };
50
- type ConfigObjectOrFunctionInput = ConfigObjectInput | ((this: Base) => ConfigObjectInput);
50
+ type ConfigObjectOrFunctionInput = ConfigObjectInput | ((this: Base, Config: any) => ConfigObjectInput);
51
51
  type ConfigInput = ConfigObjectOrFunctionInput | string | null;
52
52
  declare class Base {
53
53
  config: Config;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dword-design/base",
3
- "version": "14.0.0",
3
+ "version": "14.0.2",
4
4
  "description": "Base package for projects.",
5
5
  "repository": "dword-design/base",
6
6
  "funding": "https://github.com/sponsors/dword-design",
@@ -40,8 +40,6 @@
40
40
  "@dword-design/personal-data": "^2.0.3",
41
41
  "@semantic-release/changelog": "^6.0.3",
42
42
  "@semantic-release/git": "^10.0.1",
43
- "@types/hosted-git-info": "^3.0.5",
44
- "@types/parse-git-config": "^3.0.4",
45
43
  "ajv": "^8.17.1",
46
44
  "c8": "^9.1.0",
47
45
  "change-case": "^5.4.4",
@@ -88,6 +86,8 @@
88
86
  "devDependencies": {
89
87
  "@dword-design/dotenv-json-extended": "^3.0.3",
90
88
  "@playwright/test": "^1.54.1",
89
+ "@types/hosted-git-info": "^3.0.5",
90
+ "@types/parse-git-config": "^3.0.4",
91
91
  "p-event": "^6.0.1",
92
92
  "renovate": "^39.264.1",
93
93
  "sharp": "^0.34.3",