Skip to content

Commit 8496e08

Browse files
committed
Migrate to yarn v4
1 parent 8c510eb commit 8496e08

File tree

5 files changed

+3290
-2460
lines changed

5 files changed

+3290
-2460
lines changed

.gitignore

+7
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,13 @@ node_modules
5252
#*.rbc
5353
.rvmrc
5454
.ruby-version
55+
.pnp.*
56+
.yarn/*
57+
!.yarn/patches
58+
!.yarn/plugins
59+
!.yarn/releases
60+
!.yarn/sdks
61+
!.yarn/versions
5562

5663
Gemfile.lock
5764
gemfiles/*.lock

.yarnrc.yml

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
nodeLinker: node-modules

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
"repository": "git@github.com:railsware/js-routes.git",
66
"author": "Bogdan Gusiev <agresso@gmail.com>, Alexey Vasiliev <https://leopard.in.ua> ",
77
"license": "MIT",
8-
"private": false,
98
"devDependencies": {
109
"typescript": "^4.1.2"
1110
},
@@ -34,5 +33,6 @@
3433
"./lib/routes.ts": [
3534
"yarn lint:fix"
3635
]
37-
}
36+
},
37+
"packageManager": "yarn@4.5.3"
3838
}

spec/js_routes/module_types/dts_spec.rb

+1-1
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
command = "yarn tsc --strict --noEmit -p spec/tsconfig.json"
4949
stdout, stderr, status = Open3.capture3(command)
5050
expect(stderr).to eq("")
51-
expect(stdout).to include("Done in ")
51+
expect(stdout).to eq("")
5252
expect(status).to eq(0)
5353
end
5454
end

0 commit comments

Comments
 (0)