th: berry flavored yarn

lolsob-rspec
kouhai dev 2023-03-15 20:48:03 -07:00
parent 86480e9b49
commit 07492326d1
5 changed files with 923 additions and 12 deletions

View File

@ -1,22 +1,37 @@
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions
# Order-independent
*.sw*
*~
.DS_Store
.bundle
.env
.env.*
.git
.gitattributes
.gitignore
.github
public/system
public/assets
public/packs
node_modules
.gitignore
build
chart
coverage
data
elasticsearch
log
neo4j
vendor/bundle
.DS_Store
*.swp
*~
node_modules
postgres
postgres14
public/assets
public/packs
public/packs-test
public/system
redis
elasticsearch
chart
data
sorbet
tmp
vendor/bundle

9
.gitignore vendored
View File

@ -69,3 +69,12 @@ yarn-debug.log
# Ignore Docker option files
docker-compose.override.yml
# Yarn Berry
.pnp.*
.yarn/*
!.yarn/patches
!.yarn/plugins
!.yarn/releases
!.yarn/sdks
!.yarn/versions

873
.yarn/releases/yarn-3.4.1.cjs vendored Executable file

File diff suppressed because one or more lines are too long

5
.yarnrc.yml Normal file
View File

@ -0,0 +1,5 @@
enableGlobalCache: true
nodeLinker: node-modules
yarnPath: .yarn/releases/yarn-3.4.1.cjs

View File

@ -4,3 +4,12 @@
require File.expand_path('../config/application', __FILE__)
Rails.application.load_tasks
# please don't do this
if Rake::Task.task_defined?('assets:precompile') && ENV.include?('RAKE_NO_YARN_INSTALL_HACK')
task = Rake::Task['assets:precompile']
puts task.prerequisites
task.prerequisites.delete('webpacker:yarn_install')
task.prerequisites.delete('yarn:install')
puts task.prerequisites
end