th: berry flavored yarn

pull/59/head
kouhai dev 2023-03-15 20:48:03 -07:00
parent a2faa867a5
commit 236f063dd3
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 .bundle
.env .env
.env.* .env.*
.git .git
.gitattributes .gitattributes
.gitignore
.github .github
public/system .gitignore
public/assets build
public/packs chart
node_modules coverage
data
elasticsearch
log
neo4j neo4j
vendor/bundle node_modules
.DS_Store
*.swp
*~
postgres postgres
postgres14 postgres14
public/assets
public/packs
public/packs-test
public/system
redis redis
elasticsearch sorbet
chart tmp
data vendor/bundle

9
.gitignore vendored
View File

@ -69,3 +69,12 @@ yarn-debug.log
# Ignore Docker option files # Ignore Docker option files
docker-compose.override.yml 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__) require File.expand_path('../config/application', __FILE__)
Rails.application.load_tasks 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