Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Resonance
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
mirrored_repos
MachineLearning
distantmagic
Resonance
Commits
cc92a210
Commit
cc92a210
authored
9 months ago
by
Mateusz Charytoniuk
Browse files
Options
Downloads
Patches
Plain Diff
chore: update yarnpkg
parent
51b67618
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.gitignore
+3
-1
3 additions, 1 deletion
.gitignore
Makefile
+31
-29
31 additions, 29 deletions
Makefile
yarn.lock
+6912
-4982
6912 additions, 4982 deletions
yarn.lock
with
6946 additions
and
5012 deletions
.gitignore
+
3
−
1
View file @
cc92a210
*~
/*.cache
/.pnp.*
/.yarn
/config.ini
/esbuild-meta-docs.json
/node_modules
/sqlite-vss
/vendor
/vendor
\ No newline at end of file
This diff is collapsed.
Click to expand it.
Makefile
+
31
−
29
View file @
cc92a210
...
...
@@ -37,6 +37,10 @@ TS_SOURCES := \
# Real targets
# -----------------------------------------------------------------------------
.pnp.cjs
:
yarn.lock
yarnpkg
install
--immutable
;
touch
.pnp.cjs
;
config.ini
:
config.ini.example
cp
config.ini.example config.ini
;
...
...
@@ -56,10 +60,6 @@ docs/build: config.ini esbuild vendor $(MD_SOURCES) $(PHP_SOURCES)
${
PHP_BIN
}
./bin/resonance.php static-pages:build
;
cp
resources/images/
*
docs/build
;
node_modules
:
yarn.lock
yarnpkg
install
--check-files
--frozen-lockfile
--non-interactive
;
touch
node_modules
;
tools/php-cs-fixer/vendor/bin/php-cs-fixer
:
$(
MAKE
)
-C
tools/php-cs-fixer vendor
...
...
@@ -87,15 +87,17 @@ clean:
rm
-rf
./.php-cs-fixer.cache
rm
-rf
./.phpunit.cache
rm
-rf
./.phpunit.result.cache
rm
-rf
./.pnp.cjs
rm
-rf
./.pnp.loader.mjs
rm
-rf
./.yarn
rm
-rf
./coverage
rm
-rf
./esbuild-meta-docs.json
rm
-rf
./docs/build
rm
-rf
./
node_modules
rm
-rf
./
esbuild-meta-docs.json
rm
-rf
./vendor
.PHONY
:
esbuild
esbuild
:
$(CSS_SOURCES)
node_module
s
./node_modules/.bin/
esbuild
\
esbuild
:
$(CSS_SOURCES)
.pnp.cj
s
yarnpkg run
esbuild
\
--bundle
\
--asset-names
=
"./[name]_[hash]"
\
--entry-names
=
"./[name]_[hash]"
\
...
...
@@ -119,16 +121,16 @@ esbuild: $(CSS_SOURCES) node_modules
;
.PHONY
:
eslint
eslint
:
node_module
s
./node_modules/.bin/
eslint resources/ts
eslint
:
.pnp.cj
s
yarnpkg run
eslint resources/ts
.PHONY
:
eslint.fix
eslint.fix
:
node_module
s
./node_modules/.bin/
eslint
--fix
resources/ts
eslint.fix
:
.pnp.cj
s
yarnpkg run
eslint
--fix
resources/ts
.PHONY
:
eslint.watch
eslint.watch
:
node_module
s
./node_modules/.bin/
nodemon
\
eslint.watch
:
.pnp.cj
s
yarnpkg run
nodemon
\
--ext
ts,tsx,frag,vert
\
--watch
./resources/ts
\
--exec
'
$(
MAKE
)
eslint || exit 1'
...
...
@@ -137,8 +139,8 @@ eslint.watch: node_modules
fmt
:
php-cs-fixer prettier
.PHONY
:
jest
jest
:
node_module
s
./node_modules/.bin/
jest
jest
:
.pnp.cj
s
yarnpkg run
jest
.PHONY
:
php-cs-fixer
php-cs-fixer
:
tools/php-cs-fixer/vendor/bin/php-cs-fixer
...
...
@@ -149,8 +151,8 @@ phpunit: config.ini vendor
./vendor/bin/phpunit
.PHONY
:
prettier
prettier
:
node_module
s
./node_modules/.bin/
prettier
\
prettier
:
.pnp.cj
s
yarnpkg run
prettier
\
--write
\
"resources/{css,ts}/**/*.{js,css,ts,tsx}"
...
...
@@ -162,7 +164,7 @@ psalm: tools/psalm/vendor/bin/psalm vendor
--root
=
$(
CURDIR
)
.PHONY
:
psalm.taint
psalm.taint
:
node_module
s vendor
psalm.taint
:
.pnp.cj
s vendor
./tools/psalm/vendor/bin/psalm
\
--no-cache
\
--show-info
=
true
\
...
...
@@ -170,8 +172,8 @@ psalm.taint: node_modules vendor
--taint-analysis
.PHONY
:
psalm.watch
psalm.watch
:
node_module
s vendor
./node_modules/.bin/
nodemon
\
psalm.watch
:
.pnp.cj
s vendor
yarnpkg run
nodemon
\
--ext
ini,php
\
--signal
SIGTERM
\
--watch
./app
\
...
...
@@ -185,8 +187,8 @@ psalm.watch: node_modules vendor
ssg
:
docs/build
.PHONY
:
ssg.watch
ssg.watch
:
node_module
s
./node_modules/.bin/
nodemon
\
ssg.watch
:
.pnp.cj
s
yarnpkg run
nodemon
\
--ext
css,ini,md,php,ts
\
--signal
SIGTERM
\
--watch
./app
\
...
...
@@ -196,13 +198,13 @@ ssg.watch: node_modules
--exec
'
$(
MAKE
)
ssg || exit 1'
.PHONY
:
ssg.serve
ssg.serve
:
ssg node_modules
./node_modules/.bin/
esbuild
--serve
=
8080
--servedir
=
docs/build
ssg.serve
:
.pnp.cjs ssg
yarnpkg run
esbuild
--serve
=
8080
--servedir
=
docs/build
.PHONY
:
tsc
tsc
:
node_module
s
./node_modules/.bin/
tsc
--noEmit
tsc
:
.pnp.cj
s
yarnpkg run
tsc
--noEmit
.PHONY
:
tsc.watch
tsc.watch
:
node_module
s
./node_modules/.bin/
tsc
--noEmit
--watch
tsc.watch
:
.pnp.cj
s
yarnpkg run
tsc
--noEmit
--watch
This diff is collapsed.
Click to expand it.
yarn.lock
+
6912
−
4982
View file @
cc92a210
Source diff could not be displayed: it is too large. Options to address this:
view the blob
.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment