@toptal/davinci-bootstrap 7.0.1-alpha-FF-128-upgrade-webpack-dev-server-ae21ba19.12 → 7.1.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +11 -1
  2. package/package.json +9 -10
package/CHANGELOG.md CHANGED
@@ -1,5 +1,15 @@
1
1
  # Change Log
2
2
 
3
+ ## 7.1.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#2681](https://github.com/toptal/davinci/pull/2681) [`9d2eb38`](https://github.com/toptal/davinci/commit/9d2eb382eb19adaa4d5ac81a9491af52dd592fff) Thanks [@denieler](https://github.com/denieler)!
8
+ Align generated projects with the versions davinci actually supports
9
+ `davinci-bootstrap new` resolves most dependencies with `pnpm info <pkg> dist-tags` and writes `^<latest>` into the generated project, so a new app picks up whatever the registry serves that day. Two of those floats had drifted past what davinci supports, breaking `pnpm build`, `tsc`, and GraphQL Codegen in freshly bootstrapped apps:
10
+ - pin `graphql` to `^16.8.1`, matching the peerDependency that `@toptal/davinci-graphql-codegen` declares. graphql 17 (2026-06-15) omits empty `directives` arrays from AST nodes, and the pinned GraphQL Codegen stack calls `node.directives.find(...)` unguarded in `getNodeComment`, so `davinci-graphql-codegen generate-schema` crashed with `Cannot read properties of undefined (reading 'find')`.
11
+ - raise the hardcoded `typescript` version from `^4.9.5` to `^5.5.0`. `@toptal/davinci-engine` and `@toptal/davinci-syntax` both declare a `typescript: ^5.5.0` peerDependency after the TypeScript 5.5 upgrade, which generated projects did not satisfy. TypeScript 4.9 also cannot parse the `const` type parameters that current `@types/node` ships (a TS 5.0 feature), so `davinci-engine build` failed with `TS1139: Type parameter declaration expected.`
12
+
3
13
  ## 7.0.0
4
14
 
5
15
  ### Major Changes
@@ -12,7 +22,7 @@
12
22
  - convert Yarn `resolutions` to `pnpm.overrides` in root `package.json`
13
23
  - update lerna `npmClient` from `yarn` to `pnpm`
14
24
  - replace `yarn` with `pnpm` in root scripts (postinstall, test, test:unit:update)
15
- **HOW to update:**
25
+ **HOW to update:**
16
26
  - install pnpm (`corepack enable` or `npm install -g pnpm@10.6.1`)
17
27
  - replace `yarn install` with `pnpm install` in local workflows
18
28
  - replace `yarn <script>` with `pnpm <script>` when running commands
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@toptal/davinci-bootstrap",
3
- "version": "7.0.1-alpha-FF-128-upgrade-webpack-dev-server-ae21ba19.12+ae21ba19",
3
+ "version": "7.1.0",
4
4
  "keywords": [
5
5
  "cli",
6
6
  "create-app",
@@ -23,17 +23,14 @@
23
23
  "docs",
24
24
  "CHANGELOG.md"
25
25
  ],
26
- "scripts": {
27
- "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' pnpm jest"
28
- },
29
26
  "dependencies": {
30
- "@toptal/davinci-cli-shared": "^3.0.1-alpha-FF-128-upgrade-webpack-dev-server-ae21ba19.12+ae21ba19",
31
- "@toptal/davinci-skeleton": "^15.0.1-alpha-FF-128-upgrade-webpack-dev-server-ae21ba19.12+ae21ba19",
32
- "@toptal/davinci-workspace-root": "^2.0.1-alpha-FF-128-upgrade-webpack-dev-server-ae21ba19.12+ae21ba19",
33
27
  "execa": "^5.1.1",
34
28
  "fs-extra": "^11.1.1",
35
29
  "lodash.kebabcase": "^4.1.1",
36
- "ora": "^5.4.1"
30
+ "ora": "^5.4.1",
31
+ "@toptal/davinci-cli-shared": "^3.0.0",
32
+ "@toptal/davinci-skeleton": "^15.0.0",
33
+ "@toptal/davinci-workspace-root": "^2.0.0"
37
34
  },
38
35
  "devDependencies": {
39
36
  "@jest/globals": "^29.7.0"
@@ -41,5 +38,7 @@
41
38
  "publishConfig": {
42
39
  "access": "public"
43
40
  },
44
- "gitHead": "ae21ba1973f3a5ab12c49f4cbe97eaf3830ff15a"
45
- }
41
+ "scripts": {
42
+ "test": "NODE_OPTIONS='--experimental-vm-modules --no-warnings' pnpm jest"
43
+ }
44
+ }