From aaa26a32501c857d854e9d9daca2a88a9e086392 Mon Sep 17 00:00:00 2001 From: patak-js Date: Thu, 2 Dec 2021 22:08:55 +0100 Subject: [PATCH] release: v2.7.0-beta.10 --- .../ssr-deps/node-addon/build/Makefile | 324 ++++++++++++++++ .../Release/.deps/Release/cpp_addon.node.d | 1 + .../.deps/Release/obj.target/cpp_addon.node.d | 1 + .../Release/obj.target/cpp_addon/main.o.d | 23 ++ .../node-addon/build/Release/cpp_addon.node | Bin 0 -> 13288 bytes .../build/Release/obj.target/cpp_addon.node | Bin 0 -> 13288 bytes .../build/Release/obj.target/cpp_addon/main.o | Bin 0 -> 4368 bytes .../node-addon/build/binding.Makefile | 6 + .../ssr-deps/node-addon/build/config.gypi | 351 ++++++++++++++++++ .../node-addon/build/cpp_addon.target.mk | 159 ++++++++ packages/vite/CHANGELOG.md | 14 + packages/vite/package.json | 2 +- 12 files changed, 880 insertions(+), 1 deletion(-) create mode 100644 packages/playground/ssr-deps/node-addon/build/Makefile create mode 100644 packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/cpp_addon.node.d create mode 100644 packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/obj.target/cpp_addon.node.d create mode 100644 packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/obj.target/cpp_addon/main.o.d create mode 100755 packages/playground/ssr-deps/node-addon/build/Release/cpp_addon.node create mode 100755 packages/playground/ssr-deps/node-addon/build/Release/obj.target/cpp_addon.node create mode 100644 packages/playground/ssr-deps/node-addon/build/Release/obj.target/cpp_addon/main.o create mode 100644 packages/playground/ssr-deps/node-addon/build/binding.Makefile create mode 100644 packages/playground/ssr-deps/node-addon/build/config.gypi create mode 100644 packages/playground/ssr-deps/node-addon/build/cpp_addon.target.mk diff --git a/packages/playground/ssr-deps/node-addon/build/Makefile b/packages/playground/ssr-deps/node-addon/build/Makefile new file mode 100644 index 00000000000000..83ce3f09d28c03 --- /dev/null +++ b/packages/playground/ssr-deps/node-addon/build/Makefile @@ -0,0 +1,324 @@ +# We borrow heavily from the kernel build setup, though we are simpler since +# we don't have Kconfig tweaking settings on us. + +# The implicit make rules have it looking for RCS files, among other things. +# We instead explicitly write all the rules we care about. +# It's even quicker (saves ~200ms) to pass -r on the command line. +MAKEFLAGS=-r + +# The source directory tree. +srcdir := .. +abs_srcdir := $(abspath $(srcdir)) + +# The name of the builddir. +builddir_name ?= . + +# The V=1 flag on command line makes us verbosely print command lines. +ifdef V + quiet= +else + quiet=quiet_ +endif + +# Specify BUILDTYPE=Release on the command line for a release build. +BUILDTYPE ?= Release + +# Directory all our build output goes into. +# Note that this must be two directories beneath src/ for unit tests to pass, +# as they reach into the src/ directory for data with relative paths. +builddir ?= $(builddir_name)/$(BUILDTYPE) +abs_builddir := $(abspath $(builddir)) +depsdir := $(builddir)/.deps + +# Object output directory. +obj := $(builddir)/obj +abs_obj := $(abspath $(obj)) + +# We build up a list of every single one of the targets so we can slurp in the +# generated dependency rule Makefiles in one pass. +all_deps := + + + +CC.target ?= $(CC) +CFLAGS.target ?= $(CPPFLAGS) $(CFLAGS) +CXX.target ?= $(CXX) +CXXFLAGS.target ?= $(CPPFLAGS) $(CXXFLAGS) +LINK.target ?= $(LINK) +LDFLAGS.target ?= $(LDFLAGS) +AR.target ?= $(AR) + +# C++ apps need to be linked with g++. +LINK ?= $(CXX.target) + +# TODO(evan): move all cross-compilation logic to gyp-time so we don't need +# to replicate this environment fallback in make as well. +CC.host ?= gcc +CFLAGS.host ?= $(CPPFLAGS_host) $(CFLAGS_host) +CXX.host ?= g++ +CXXFLAGS.host ?= $(CPPFLAGS_host) $(CXXFLAGS_host) +LINK.host ?= $(CXX.host) +LDFLAGS.host ?= $(LDFLAGS_host) +AR.host ?= ar + +# Define a dir function that can handle spaces. +# http://www.gnu.org/software/make/manual/make.html#Syntax-of-Functions +# "leading spaces cannot appear in the text of the first argument as written. +# These characters can be put into the argument value by variable substitution." +empty := +space := $(empty) $(empty) + +# http://stackoverflow.com/questions/1189781/using-make-dir-or-notdir-on-a-path-with-spaces +replace_spaces = $(subst $(space),?,$1) +unreplace_spaces = $(subst ?,$(space),$1) +dirx = $(call unreplace_spaces,$(dir $(call replace_spaces,$1))) + +# Flags to make gcc output dependency info. Note that you need to be +# careful here to use the flags that ccache and distcc can understand. +# We write to a dep file on the side first and then rename at the end +# so we can't end up with a broken dep file. +depfile = $(depsdir)/$(call replace_spaces,$@).d +DEPFLAGS = -MMD -MF $(depfile).raw + +# We have to fixup the deps output in a few ways. +# (1) the file output should mention the proper .o file. +# ccache or distcc lose the path to the target, so we convert a rule of +# the form: +# foobar.o: DEP1 DEP2 +# into +# path/to/foobar.o: DEP1 DEP2 +# (2) we want missing files not to cause us to fail to build. +# We want to rewrite +# foobar.o: DEP1 DEP2 \ +# DEP3 +# to +# DEP1: +# DEP2: +# DEP3: +# so if the files are missing, they're just considered phony rules. +# We have to do some pretty insane escaping to get those backslashes +# and dollar signs past make, the shell, and sed at the same time. +# Doesn't work with spaces, but that's fine: .d files have spaces in +# their names replaced with other characters. +define fixup_dep +# The depfile may not exist if the input file didn't have any #includes. +touch $(depfile).raw +# Fixup path as in (1). +sed -e "s|^$(notdir $@)|$@|" $(depfile).raw >> $(depfile) +# Add extra rules as in (2). +# We remove slashes and replace spaces with new lines; +# remove blank lines; +# delete the first line and append a colon to the remaining lines. +sed -e 's|\\||' -e 'y| |\n|' $(depfile).raw |\ + grep -v '^$$' |\ + sed -e 1d -e 's|$$|:|' \ + >> $(depfile) +rm $(depfile).raw +endef + +# Command definitions: +# - cmd_foo is the actual command to run; +# - quiet_cmd_foo is the brief-output summary of the command. + +quiet_cmd_cc = CC($(TOOLSET)) $@ +cmd_cc = $(CC.$(TOOLSET)) -o $@ $< $(GYP_CFLAGS) $(DEPFLAGS) $(CFLAGS.$(TOOLSET)) -c + +quiet_cmd_cxx = CXX($(TOOLSET)) $@ +cmd_cxx = $(CXX.$(TOOLSET)) -o $@ $< $(GYP_CXXFLAGS) $(DEPFLAGS) $(CXXFLAGS.$(TOOLSET)) -c + +quiet_cmd_touch = TOUCH $@ +cmd_touch = touch $@ + +quiet_cmd_copy = COPY $@ +# send stderr to /dev/null to ignore messages when linking directories. +cmd_copy = ln -f "$<" "$@" 2>/dev/null || (rm -rf "$@" && cp -af "$<" "$@") + +quiet_cmd_alink = AR($(TOOLSET)) $@ +cmd_alink = rm -f $@ && $(AR.$(TOOLSET)) crs $@ $(filter %.o,$^) + +quiet_cmd_alink_thin = AR($(TOOLSET)) $@ +cmd_alink_thin = rm -f $@ && $(AR.$(TOOLSET)) crsT $@ $(filter %.o,$^) + +# Due to circular dependencies between libraries :(, we wrap the +# special "figure out circular dependencies" flags around the entire +# input list during linking. +quiet_cmd_link = LINK($(TOOLSET)) $@ +cmd_link = $(LINK.$(TOOLSET)) -o $@ $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,--start-group $(LD_INPUTS) $(LIBS) -Wl,--end-group + +# We support two kinds of shared objects (.so): +# 1) shared_library, which is just bundling together many dependent libraries +# into a link line. +# 2) loadable_module, which is generating a module intended for dlopen(). +# +# They differ only slightly: +# In the former case, we want to package all dependent code into the .so. +# In the latter case, we want to package just the API exposed by the +# outermost module. +# This means shared_library uses --whole-archive, while loadable_module doesn't. +# (Note that --whole-archive is incompatible with the --start-group used in +# normal linking.) + +# Other shared-object link notes: +# - Set SONAME to the library filename so our binaries don't reference +# the local, absolute paths used on the link command-line. +quiet_cmd_solink = SOLINK($(TOOLSET)) $@ +cmd_solink = $(LINK.$(TOOLSET)) -o $@ -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -Wl,--whole-archive $(LD_INPUTS) -Wl,--no-whole-archive $(LIBS) + +quiet_cmd_solink_module = SOLINK_MODULE($(TOOLSET)) $@ +cmd_solink_module = $(LINK.$(TOOLSET)) -o $@ -shared $(GYP_LDFLAGS) $(LDFLAGS.$(TOOLSET)) -Wl,-soname=$(@F) -Wl,--start-group $(filter-out FORCE_DO_CMD, $^) -Wl,--end-group $(LIBS) + + +# Define an escape_quotes function to escape single quotes. +# This allows us to handle quotes properly as long as we always use +# use single quotes and escape_quotes. +escape_quotes = $(subst ','\'',$(1)) +# This comment is here just to include a ' to unconfuse syntax highlighting. +# Define an escape_vars function to escape '$' variable syntax. +# This allows us to read/write command lines with shell variables (e.g. +# $LD_LIBRARY_PATH), without triggering make substitution. +escape_vars = $(subst $$,$$$$,$(1)) +# Helper that expands to a shell command to echo a string exactly as it is in +# make. This uses printf instead of echo because printf's behaviour with respect +# to escape sequences is more portable than echo's across different shells +# (e.g., dash, bash). +exact_echo = printf '%s\n' '$(call escape_quotes,$(1))' + +# Helper to compare the command we're about to run against the command +# we logged the last time we ran the command. Produces an empty +# string (false) when the commands match. +# Tricky point: Make has no string-equality test function. +# The kernel uses the following, but it seems like it would have false +# positives, where one string reordered its arguments. +# arg_check = $(strip $(filter-out $(cmd_$(1)), $(cmd_$@)) \ +# $(filter-out $(cmd_$@), $(cmd_$(1)))) +# We instead substitute each for the empty string into the other, and +# say they're equal if both substitutions produce the empty string. +# .d files contain ? instead of spaces, take that into account. +command_changed = $(or $(subst $(cmd_$(1)),,$(cmd_$(call replace_spaces,$@))),\ + $(subst $(cmd_$(call replace_spaces,$@)),,$(cmd_$(1)))) + +# Helper that is non-empty when a prerequisite changes. +# Normally make does this implicitly, but we force rules to always run +# so we can check their command lines. +# $? -- new prerequisites +# $| -- order-only dependencies +prereq_changed = $(filter-out FORCE_DO_CMD,$(filter-out $|,$?)) + +# Helper that executes all postbuilds until one fails. +define do_postbuilds + @E=0;\ + for p in $(POSTBUILDS); do\ + eval $$p;\ + E=$$?;\ + if [ $$E -ne 0 ]; then\ + break;\ + fi;\ + done;\ + if [ $$E -ne 0 ]; then\ + rm -rf "$@";\ + exit $$E;\ + fi +endef + +# do_cmd: run a command via the above cmd_foo names, if necessary. +# Should always run for a given target to handle command-line changes. +# Second argument, if non-zero, makes it do asm/C/C++ dependency munging. +# Third argument, if non-zero, makes it do POSTBUILDS processing. +# Note: We intentionally do NOT call dirx for depfile, since it contains ? for +# spaces already and dirx strips the ? characters. +define do_cmd +$(if $(or $(command_changed),$(prereq_changed)), + @$(call exact_echo, $($(quiet)cmd_$(1))) + @mkdir -p "$(call dirx,$@)" "$(dir $(depfile))" + $(if $(findstring flock,$(word 1,$(cmd_$1))), + @$(cmd_$(1)) + @echo " $(quiet_cmd_$(1)): Finished", + @$(cmd_$(1)) + ) + @$(call exact_echo,$(call escape_vars,cmd_$(call replace_spaces,$@) := $(cmd_$(1)))) > $(depfile) + @$(if $(2),$(fixup_dep)) + $(if $(and $(3), $(POSTBUILDS)), + $(call do_postbuilds) + ) +) +endef + +# Declare the "all" target first so it is the default, +# even though we don't have the deps yet. +.PHONY: all +all: + +# make looks for ways to re-generate included makefiles, but in our case, we +# don't have a direct way. Explicitly telling make that it has nothing to do +# for them makes it go faster. +%.d: ; + +# Use FORCE_DO_CMD to force a target to run. Should be coupled with +# do_cmd. +.PHONY: FORCE_DO_CMD +FORCE_DO_CMD: + +TOOLSET := target +# Suffix rules, putting all outputs into $(obj). +$(obj).$(TOOLSET)/%.o: $(srcdir)/%.c FORCE_DO_CMD + @$(call do_cmd,cc,1) +$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cc FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(srcdir)/%.cxx FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(srcdir)/%.s FORCE_DO_CMD + @$(call do_cmd,cc,1) +$(obj).$(TOOLSET)/%.o: $(srcdir)/%.S FORCE_DO_CMD + @$(call do_cmd,cc,1) + +# Try building from generated source, too. +$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.c FORCE_DO_CMD + @$(call do_cmd,cc,1) +$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cc FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.cxx FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.s FORCE_DO_CMD + @$(call do_cmd,cc,1) +$(obj).$(TOOLSET)/%.o: $(obj).$(TOOLSET)/%.S FORCE_DO_CMD + @$(call do_cmd,cc,1) + +$(obj).$(TOOLSET)/%.o: $(obj)/%.c FORCE_DO_CMD + @$(call do_cmd,cc,1) +$(obj).$(TOOLSET)/%.o: $(obj)/%.cc FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(obj)/%.cpp FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(obj)/%.cxx FORCE_DO_CMD + @$(call do_cmd,cxx,1) +$(obj).$(TOOLSET)/%.o: $(obj)/%.s FORCE_DO_CMD + @$(call do_cmd,cc,1) +$(obj).$(TOOLSET)/%.o: $(obj)/%.S FORCE_DO_CMD + @$(call do_cmd,cc,1) + + +ifeq ($(strip $(foreach prefix,$(NO_LOAD),\ + $(findstring $(join ^,$(prefix)),\ + $(join ^,cpp_addon.target.mk)))),) + include cpp_addon.target.mk +endif + +quiet_cmd_regen_makefile = ACTION Regenerating $@ +cmd_regen_makefile = cd $(srcdir); /usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/gyp/gyp_main.py -fmake --ignore-environment "-Dlibrary=shared_library" "-Dvisibility=default" "-Dnode_root_dir=/home/matias/.cache/node-gyp/16.9.1" "-Dnode_gyp_dir=/usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp" "-Dnode_lib_file=/home/matias/.cache/node-gyp/16.9.1/<(target_arch)/node.lib" "-Dmodule_root_dir=/home/matias/vite/packages/playground/ssr-deps/node-addon" "-Dnode_engine=v8" "--depth=." "-Goutput_dir=." "--generator-output=build" -I/home/matias/vite/packages/playground/ssr-deps/node-addon/build/config.gypi -I/usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/addon.gypi -I/home/matias/.cache/node-gyp/16.9.1/include/node/common.gypi "--toplevel-dir=." binding.gyp +Makefile: $(srcdir)/../../../../../.cache/node-gyp/16.9.1/include/node/common.gypi $(srcdir)/../../../../../../../usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/addon.gypi $(srcdir)/binding.gyp $(srcdir)/build/config.gypi + $(call do_cmd,regen_makefile) + +# "all" is a concatenation of the "all" targets from all the included +# sub-makefiles. This is just here to clarify. +all: + +# Add in dependency-tracking rules. $(all_deps) is the list of every single +# target in our tree. Only consider the ones with .d (dependency) info: +d_files := $(wildcard $(foreach f,$(all_deps),$(depsdir)/$(f).d)) +ifneq ($(d_files),) + include $(d_files) +endif diff --git a/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/cpp_addon.node.d b/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/cpp_addon.node.d new file mode 100644 index 00000000000000..4be797e6cbdf6e --- /dev/null +++ b/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/cpp_addon.node.d @@ -0,0 +1 @@ +cmd_Release/cpp_addon.node := ln -f "Release/obj.target/cpp_addon.node" "Release/cpp_addon.node" 2>/dev/null || (rm -rf "Release/cpp_addon.node" && cp -af "Release/obj.target/cpp_addon.node" "Release/cpp_addon.node") diff --git a/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/obj.target/cpp_addon.node.d b/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/obj.target/cpp_addon.node.d new file mode 100644 index 00000000000000..9f4d87550d1f0a --- /dev/null +++ b/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/obj.target/cpp_addon.node.d @@ -0,0 +1 @@ +cmd_Release/obj.target/cpp_addon.node := g++ -o Release/obj.target/cpp_addon.node -shared -pthread -rdynamic -m64 -Wl,-soname=cpp_addon.node -Wl,--start-group Release/obj.target/cpp_addon/main.o -Wl,--end-group diff --git a/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/obj.target/cpp_addon/main.o.d b/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/obj.target/cpp_addon/main.o.d new file mode 100644 index 00000000000000..2955b089117c85 --- /dev/null +++ b/packages/playground/ssr-deps/node-addon/build/Release/.deps/Release/obj.target/cpp_addon/main.o.d @@ -0,0 +1,23 @@ +cmd_Release/obj.target/cpp_addon/main.o := g++ -o Release/obj.target/cpp_addon/main.o ../main.cpp '-DNODE_GYP_MODULE_NAME=cpp_addon' '-DUSING_UV_SHARED=1' '-DUSING_V8_SHARED=1' '-DV8_DEPRECATION_WARNINGS=1' '-DV8_DEPRECATION_WARNINGS' '-DV8_IMMINENT_DEPRECATION_WARNINGS' '-D_GLIBCXX_USE_CXX11_ABI=1' '-D_LARGEFILE_SOURCE' '-D_FILE_OFFSET_BITS=64' '-D__STDC_FORMAT_MACROS' '-DOPENSSL_NO_PINSHARED' '-DOPENSSL_THREADS' '-DBUILDING_NODE_EXTENSION' -I/home/matias/.cache/node-gyp/16.9.1/include/node -I/home/matias/.cache/node-gyp/16.9.1/src -I/home/matias/.cache/node-gyp/16.9.1/deps/openssl/config -I/home/matias/.cache/node-gyp/16.9.1/deps/openssl/openssl/include -I/home/matias/.cache/node-gyp/16.9.1/deps/uv/include -I/home/matias/.cache/node-gyp/16.9.1/deps/zlib -I/home/matias/.cache/node-gyp/16.9.1/deps/v8/include -fPIC -pthread -Wall -Wextra -Wno-unused-parameter -m64 -O3 -fno-omit-frame-pointer -fno-rtti -fno-exceptions -std=gnu++14 -MMD -MF ./Release/.deps/Release/obj.target/cpp_addon/main.o.d.raw -c +Release/obj.target/cpp_addon/main.o: ../main.cpp \ + /home/matias/.cache/node-gyp/16.9.1/include/node/node.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/v8.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/cppgc/common.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/v8config.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/v8-internal.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/v8-version.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/v8config.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/v8-platform.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/node_version.h \ + /home/matias/.cache/node-gyp/16.9.1/include/node/v8.h +../main.cpp: +/home/matias/.cache/node-gyp/16.9.1/include/node/node.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/v8.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/cppgc/common.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/v8config.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/v8-internal.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/v8-version.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/v8config.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/v8-platform.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/node_version.h: +/home/matias/.cache/node-gyp/16.9.1/include/node/v8.h: diff --git a/packages/playground/ssr-deps/node-addon/build/Release/cpp_addon.node b/packages/playground/ssr-deps/node-addon/build/Release/cpp_addon.node new file mode 100755 index 0000000000000000000000000000000000000000..67c3f500cb518bfb96782ef1aeab0acc72d09ef3 GIT binary patch literal 13288 zcmeHOeQX@X6`%7tiAn6(I3Y0!kOhSjC@en5Un!*c?3}X>7suqBkN{z`zFXTz?rx8} zy!*EDS5Iew5p2KN>Pg{Xe(hFl)Chfy0n#2+Jb?i-W4QFQPT7)?t8QI z_V)JfT0m;0N;lE@&HK%JZ{EC}o!yyzc_RkV9%!^6qKru#z&@74Z}D=@0+o2hrZpCRUQp6Q7WL|`u-facka&gY zyci16I!lbz0>$5)Xm``iLXIfPVi|hNj9@*vnzJRe-GUiW(z^}x(9aKAnuOq9(O;#w zG>Lc+6~p0UTM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o=eAeEsI#UkE$*;b81S4EbA`wsT7U5VAm1$w>u>TJi#|*jPBdbF&VuIx<@C>f O+>(0FDGYVD{=Wc8x$V*b literal 0 HcmV?d00001 diff --git a/packages/playground/ssr-deps/node-addon/build/Release/obj.target/cpp_addon.node b/packages/playground/ssr-deps/node-addon/build/Release/obj.target/cpp_addon.node new file mode 100755 index 0000000000000000000000000000000000000000..67c3f500cb518bfb96782ef1aeab0acc72d09ef3 GIT binary patch literal 13288 zcmeHOeQX@X6`%7tiAn6(I3Y0!kOhSjC@en5Un!*c?3}X>7suqBkN{z`zFXTz?rx8} zy!*EDS5Iew5p2KN>Pg{Xe(hFl)Chfy0n#2+Jb?i-W4QFQPT7)?t8QI z_V)JfT0m;0N;lE@&HK%JZ{EC}o!yyzc_RkV9%!^6qKru#z&@74Z}D=@0+o2hrZpCRUQp6Q7WL|`u-facka&gY zyci16I!lbz0>$5)Xm``iLXIfPVi|hNj9@*vnzJRe-GUiW(z^}x(9aKAnuOq9(O;#w zG>Lc+6~p0UTMIV4@Y^}KkG=B1HDk4V)=zzP=VNDk*M0lz=B_6)*afyX!;j+s=&a;n zwY}4bT>`%r`1J;U{m%J!Q{VmJn_qlj@ztR>&fI(8vgc;rTmAMg-xW~+Ay>H!c*%t! z+X@}g*qqI;!8pp{YbwaE1IN)vcbTXl|6~RGAkHMW5#Wa_*hyBf^JUN}=l@?S$p5B- z{53GHa&~+b>~w=234ZRf7l5nWAn^U%{yMfGNky&i1J}&zS!;s@*TeX+9OUxrSvALB(P>^*TZ(ujOXOgOp#f^lTHno(gs!WY0q9#*E zfiQJoc()qSQ~FpmZR)Av-F-15p$}^#G2Ln_-=c;mG&G>aqW6Q~9llmYkHw7JjZ`eM z_twF-qup(-{h37Aj2ekPEfyQm!bb)YqsG8sNbT6K#WH#z5CA=t>>nN&(om|Pk4d_F}>L}Gds6zlwv~7K)A~ zG&7UJ$VLJ1Z39ozW-1dlja08bt{sgUDb)70hoTWZFggmc;DH>%uDA7(n{-`#C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;iVaUrG?R*Lc4ECGYx5~<2Y_BiH^39Cam12AiS$oQ+=0 zfG9H`y=)yTH&4B6eaUxqwCCkn6i&<5x20P4-cm8jAoBQ~rw~v2Msx+>9_aT;;ZKiH zybfqNI~{aHUf5Z1UH4iTxTnl~*Z{c1 zZ599N1e~6A&XzkW;3$KCeTC!B9VPvpGd1(W`czc$luUSJtB8?ZtE^D#ItHtEtS$HAv?fKO|sDx z>6+|)*ZnkkEp zQ!Qbbx;&Q1$Rn9(EOJ9M!Z zGEeH0p(>9Vz+w&>lli?TrwpFDBi>NhSe|*D_oiN`NKlEpT#{PJPvuGeE`wT0w)5?e^HTvI|q9{(x?3b(H>eGJ9rcPm~(>n;!2VMHKFC$9hB{Rem z{ftYW_HRUE6j)(^`XzfaE`2)pAxh^VB<~*omxMme6WR|Fy_OUOrTItn387DJy7Ted zUHb0+pLXff{*vggT>2C@g1-k9+>+A#qC7^*(|5;<^oc$Xy12C=eS05;8$Bo_XK@9d z@Si~g&OOqneJ%YzhE69|^ z*?&oo=eAeEsI#UkE$*;b81S4EbA`wsT7U5VAm1$w>u>TJi#|*jPBdbF&VuIx<@C>f O+>(0FDGYVD{=Wc8x$V*b literal 0 HcmV?d00001 diff --git a/packages/playground/ssr-deps/node-addon/build/Release/obj.target/cpp_addon/main.o b/packages/playground/ssr-deps/node-addon/build/Release/obj.target/cpp_addon/main.o new file mode 100644 index 0000000000000000000000000000000000000000..088f7174574579a7049a29fc9c0372a4205fa7b7 GIT binary patch literal 4368 zcmbtWU2GIp6u#|3sr*(Dh#E|YFUCZYdd{7DwztDWwQ)Ai94$qx=8p zbAPnzwKaNeru8?R)h{e~TlHF-UW@7e$TofMTI;EatDD;6ESLtkHqs_dO>JsFkA~pi zznwUq7*C8PM$_}9%bAqF1l~JydTrINPIT>Si|PV*llJfG{#D(-9ys-X7S8zs&ocE} zXg4%HaqX`vOc~J9)yhMPk6=nSF@{M1e3Ktn8<>|0{>m{x7=! zJ-A8xOB^`A;Aya&fM3%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wE{?G`Xl{cnbc(TQU|7X_$_E@_W zIm0*(4W)>alFUUFoVs;5bw8I$T`n?Po z-Xr1s{}%Cy4-_smral8`RQy)_msD2T2%ZF z5nmU4jE^M=$FBf}@u^Ora*5-E41)KyETSy+eS8BZ36pteg}scS9_D^1urR$WfJ-3< zw0?pwf)bT~J|chIXR@dI<9foexo_GK(c?L!J;Zsk$H$bYh}T6N=v|@7aQ^5wMBy$j Oi}in8cNi#P`+otuZNl#W literal 0 HcmV?d00001 diff --git a/packages/playground/ssr-deps/node-addon/build/binding.Makefile b/packages/playground/ssr-deps/node-addon/build/binding.Makefile new file mode 100644 index 00000000000000..9521a57df40291 --- /dev/null +++ b/packages/playground/ssr-deps/node-addon/build/binding.Makefile @@ -0,0 +1,6 @@ +# This file is generated by gyp; do not edit. + +export builddir_name ?= ./build/. +.PHONY: all +all: + $(MAKE) cpp_addon diff --git a/packages/playground/ssr-deps/node-addon/build/config.gypi b/packages/playground/ssr-deps/node-addon/build/config.gypi new file mode 100644 index 00000000000000..815e24a35e5c83 --- /dev/null +++ b/packages/playground/ssr-deps/node-addon/build/config.gypi @@ -0,0 +1,351 @@ +# Do not edit. File was generated by node-gyp's "configure" step +{ + "target_defaults": { + "cflags": [], + "default_configuration": "Release", + "defines": [], + "include_dirs": [], + "libraries": [] + }, + "variables": { + "asan": 0, + "coverage": "false", + "dcheck_always_on": 0, + "debug_nghttp2": "false", + "debug_node": "false", + "enable_lto": "false", + "enable_pgo_generate": "false", + "enable_pgo_use": "false", + "error_on_warn": "false", + "force_dynamic_crt": 0, + "gas_version": "2.30", + "host_arch": "x64", + "icu_data_in": "../../deps/icu-tmp/icudt69l.dat", + "icu_endianness": "l", + "icu_gyp_path": "tools/icu/icu-generic.gyp", + "icu_path": "deps/icu-small", + "icu_small": "false", + "icu_ver_major": "69", + "is_debug": 0, + "llvm_version": "0.0", + "napi_build_version": "8", + "node_byteorder": "little", + "node_debug_lib": "false", + "node_enable_d8": "false", + "node_install_npm": "true", + "node_library_files": [ + "lib/diagnostics_channel.js", + "lib/path.js", + "lib/punycode.js", + "lib/tty.js", + "lib/_stream_wrap.js", + "lib/querystring.js", + "lib/_tls_common.js", + "lib/_tls_wrap.js", + "lib/assert.js", + "lib/async_hooks.js", + "lib/child_process.js", + "lib/cluster.js", + "lib/dns.js", + "lib/util.js", + "lib/vm.js", + "lib/worker_threads.js", + "lib/url.js", + "lib/buffer.js", + "lib/wasi.js", + "lib/process.js", + "lib/console.js", + "lib/constants.js", + "lib/events.js", + "lib/fs.js", + "lib/_stream_duplex.js", + "lib/module.js", + "lib/domain.js", + "lib/zlib.js", + "lib/_http_client.js", + "lib/_http_server.js", + "lib/_stream_writable.js", + "lib/http.js", + "lib/https.js", + "lib/inspector.js", + "lib/trace_events.js", + "lib/_http_incoming.js", + "lib/http2.js", + "lib/os.js", + "lib/string_decoder.js", + "lib/_stream_passthrough.js", + "lib/_stream_readable.js", + "lib/_stream_transform.js", + "lib/crypto.js", + "lib/timers.js", + "lib/repl.js", + "lib/_http_agent.js", + "lib/_http_common.js", + "lib/_http_outgoing.js", + "lib/net.js", + "lib/perf_hooks.js", + "lib/readline.js", + "lib/v8.js", + "lib/sys.js", + "lib/tls.js", + "lib/stream.js", + "lib/dgram.js", + "lib/dns/promises.js", + "lib/stream/consumers.js", + "lib/stream/promises.js", + "lib/stream/web.js", + "lib/assert/strict.js", + "lib/internal/async_hooks.js", + "lib/internal/heap_utils.js", + "lib/internal/blob.js", + "lib/internal/freeze_intrinsics.js", + "lib/internal/inspector_async_hook.js", + "lib/internal/linkedlist.js", + "lib/internal/js_stream_socket.js", + "lib/internal/url.js", + "lib/internal/socketaddress.js", + "lib/internal/util.js", + "lib/internal/options.js", + "lib/internal/repl.js", + "lib/internal/child_process.js", + "lib/internal/errors.js", + "lib/internal/event_target.js", + "lib/internal/v8_prof_polyfill.js", + "lib/internal/v8_prof_processor.js", + "lib/internal/validators.js", + "lib/internal/buffer.js", + "lib/internal/encoding.js", + "lib/internal/watchdog.js", + "lib/internal/trace_events_async_hooks.js", + "lib/internal/constants.js", + "lib/internal/abort_controller.js", + "lib/internal/blocklist.js", + "lib/internal/querystring.js", + "lib/internal/net.js", + "lib/internal/cli_table.js", + "lib/internal/fixed_queue.js", + "lib/internal/priority_queue.js", + "lib/internal/tty.js", + "lib/internal/assert.js", + "lib/internal/timers.js", + "lib/internal/socket_list.js", + "lib/internal/error_serdes.js", + "lib/internal/freelist.js", + "lib/internal/dgram.js", + "lib/internal/histogram.js", + "lib/internal/http.js", + "lib/internal/idna.js", + "lib/internal/worker.js", + "lib/internal/dtrace.js", + "lib/internal/stream_base_commons.js", + "lib/internal/bootstrap/environment.js", + "lib/internal/bootstrap/loaders.js", + "lib/internal/bootstrap/pre_execution.js", + "lib/internal/bootstrap/node.js", + "lib/internal/bootstrap/switches/does_not_own_process_state.js", + "lib/internal/bootstrap/switches/is_not_main_thread.js", + "lib/internal/bootstrap/switches/does_own_process_state.js", + "lib/internal/bootstrap/switches/is_main_thread.js", + "lib/internal/debugger/inspect_repl.js", + "lib/internal/debugger/inspect.js", + "lib/internal/debugger/inspect_client.js", + "lib/internal/cluster/shared_handle.js", + "lib/internal/cluster/child.js", + "lib/internal/cluster/primary.js", + "lib/internal/cluster/round_robin_handle.js", + "lib/internal/cluster/utils.js", + "lib/internal/cluster/worker.js", + "lib/internal/crypto/aes.js", + "lib/internal/crypto/certificate.js", + "lib/internal/crypto/cipher.js", + "lib/internal/crypto/diffiehellman.js", + "lib/internal/crypto/hash.js", + "lib/internal/crypto/hashnames.js", + "lib/internal/crypto/hkdf.js", + "lib/internal/crypto/keys.js", + "lib/internal/crypto/mac.js", + "lib/internal/crypto/pbkdf2.js", + "lib/internal/crypto/random.js", + "lib/internal/crypto/scrypt.js", + "lib/internal/crypto/sig.js", + "lib/internal/crypto/util.js", + "lib/internal/crypto/webcrypto.js", + "lib/internal/crypto/x509.js", + "lib/internal/crypto/dsa.js", + "lib/internal/crypto/ec.js", + "lib/internal/crypto/keygen.js", + "lib/internal/crypto/rsa.js", + "lib/internal/dns/promises.js", + "lib/internal/dns/utils.js", + "lib/internal/fs/dir.js", + "lib/internal/fs/read_file_context.js", + "lib/internal/fs/streams.js", + "lib/internal/fs/sync_write_stream.js", + "lib/internal/fs/utils.js", + "lib/internal/fs/watchers.js", + "lib/internal/fs/promises.js", + "lib/internal/fs/rimraf.js", + "lib/internal/fs/cp/cp-sync.js", + "lib/internal/fs/cp/cp.js", + "lib/internal/http2/compat.js", + "lib/internal/http2/util.js", + "lib/internal/http2/core.js", + "lib/internal/modules/package_json_reader.js", + "lib/internal/modules/run_main.js", + "lib/internal/modules/cjs/loader.js", + "lib/internal/modules/cjs/helpers.js", + "lib/internal/modules/esm/loader.js", + "lib/internal/modules/esm/transform_source.js", + "lib/internal/modules/esm/module_job.js", + "lib/internal/modules/esm/module_map.js", + "lib/internal/modules/esm/resolve.js", + "lib/internal/modules/esm/translators.js", + "lib/internal/modules/esm/get_format.js", + "lib/internal/modules/esm/create_dynamic_module.js", + "lib/internal/modules/esm/get_source.js", + "lib/internal/legacy/processbinding.js", + "lib/internal/process/policy.js", + "lib/internal/process/worker_thread_only.js", + "lib/internal/process/esm_loader.js", + "lib/internal/process/execution.js", + "lib/internal/process/per_thread.js", + "lib/internal/process/promises.js", + "lib/internal/process/report.js", + "lib/internal/process/signal.js", + "lib/internal/process/task_queues.js", + "lib/internal/process/warning.js", + "lib/internal/repl/history.js", + "lib/internal/repl/utils.js", + "lib/internal/repl/await.js", + "lib/internal/streams/legacy.js", + "lib/internal/streams/passthrough.js", + "lib/internal/streams/buffer_list.js", + "lib/internal/streams/from.js", + "lib/internal/streams/lazy_transform.js", + "lib/internal/streams/state.js", + "lib/internal/streams/transform.js", + "lib/internal/streams/add-abort-signal.js", + "lib/internal/streams/compose.js", + "lib/internal/streams/destroy.js", + "lib/internal/streams/duplex.js", + "lib/internal/streams/duplexify.js", + "lib/internal/streams/end-of-stream.js", + "lib/internal/streams/pipeline.js", + "lib/internal/streams/readable.js", + "lib/internal/streams/utils.js", + "lib/internal/streams/writable.js", + "lib/internal/test/binding.js", + "lib/internal/test/transfer.js", + "lib/internal/util/comparisons.js", + "lib/internal/util/debuglog.js", + "lib/internal/util/inspect.js", + "lib/internal/util/inspector.js", + "lib/internal/util/iterable_weak_map.js", + "lib/internal/util/types.js", + "lib/internal/main/check_syntax.js", + "lib/internal/main/eval_stdin.js", + "lib/internal/main/prof_process.js", + "lib/internal/main/run_main_module.js", + "lib/internal/main/print_help.js", + "lib/internal/main/repl.js", + "lib/internal/main/inspect.js", + "lib/internal/main/worker_thread.js", + "lib/internal/main/eval_string.js", + "lib/internal/tls/parse-cert-string.js", + "lib/internal/tls/secure-context.js", + "lib/internal/tls/secure-pair.js", + "lib/internal/vm/module.js", + "lib/internal/child_process/serialization.js", + "lib/internal/per_context/domexception.js", + "lib/internal/per_context/messageport.js", + "lib/internal/per_context/primordials.js", + "lib/internal/worker/io.js", + "lib/internal/worker/js_transferable.js", + "lib/internal/assert/calltracker.js", + "lib/internal/assert/assertion_error.js", + "lib/internal/perf/event_loop_delay.js", + "lib/internal/perf/event_loop_utilization.js", + "lib/internal/perf/nodetiming.js", + "lib/internal/perf/observe.js", + "lib/internal/perf/performance.js", + "lib/internal/perf/performance_entry.js", + "lib/internal/perf/timerify.js", + "lib/internal/perf/usertiming.js", + "lib/internal/perf/utils.js", + "lib/internal/webstreams/encoding.js", + "lib/internal/webstreams/queuingstrategies.js", + "lib/internal/webstreams/readablestream.js", + "lib/internal/webstreams/transfer.js", + "lib/internal/webstreams/transformstream.js", + "lib/internal/webstreams/util.js", + "lib/internal/webstreams/writablestream.js", + "lib/internal/source_map/source_map.js", + "lib/internal/source_map/source_map_cache.js", + "lib/internal/source_map/prepare_stack_trace.js", + "lib/internal/console/global.js", + "lib/internal/console/constructor.js", + "lib/internal/readline/utils.js", + "lib/internal/readline/callbacks.js", + "lib/internal/readline/emitKeypressEvents.js", + "lib/internal/policy/manifest.js", + "lib/internal/policy/sri.js", + "lib/fs/promises.js", + "lib/util/types.js", + "lib/path/posix.js", + "lib/path/win32.js", + "lib/timers/promises.js" + ], + "node_module_version": 93, + "node_no_browser_globals": "false", + "node_prefix": "/", + "node_release_urlbase": "https://nodejs.org/download/release/", + "node_section_ordering_info": "", + "node_shared": "false", + "node_shared_brotli": "false", + "node_shared_cares": "false", + "node_shared_http_parser": "false", + "node_shared_libuv": "false", + "node_shared_nghttp2": "false", + "node_shared_nghttp3": "false", + "node_shared_ngtcp2": "false", + "node_shared_openssl": "false", + "node_shared_zlib": "false", + "node_tag": "", + "node_target_type": "executable", + "node_use_bundled_v8": "true", + "node_use_dtrace": "false", + "node_use_etw": "false", + "node_use_node_code_cache": "true", + "node_use_node_snapshot": "true", + "node_use_openssl": "true", + "node_use_v8_platform": "true", + "node_with_ltcg": "false", + "node_without_node_options": "false", + "openssl_fips": "", + "openssl_is_fips": "false", + "openssl_quic": "true", + "ossfuzz": "false", + "shlib_suffix": "so.93", + "target_arch": "x64", + "v8_enable_31bit_smis_on_64bit_arch": 0, + "v8_enable_gdbjit": 0, + "v8_enable_i18n_support": 1, + "v8_enable_inspector": 1, + "v8_enable_lite_mode": 0, + "v8_enable_object_print": 1, + "v8_enable_pointer_compression": 0, + "v8_enable_webassembly": 1, + "v8_no_strict_aliasing": 1, + "v8_optimized_debug": 1, + "v8_promise_internal_field_count": 1, + "v8_random_seed": 0, + "v8_trace_maps": 0, + "v8_use_siphash": 1, + "want_separate_host_toolset": 0, + "nodedir": "/home/matias/.cache/node-gyp/16.9.1", + "standalone_static_library": 1, + "user_agent": "pnpm/6.21.0 npm/? node/v16.9.1 linux x64", + "registry": "https://registry.npmjs.org/", + "node_gyp": "/usr/local/lib/node_modules/pnpm/dist/node_modules/node-gyp/bin/node-gyp.js" + } +} diff --git a/packages/playground/ssr-deps/node-addon/build/cpp_addon.target.mk b/packages/playground/ssr-deps/node-addon/build/cpp_addon.target.mk new file mode 100644 index 00000000000000..4a2de286352df8 --- /dev/null +++ b/packages/playground/ssr-deps/node-addon/build/cpp_addon.target.mk @@ -0,0 +1,159 @@ +# This file is generated by gyp; do not edit. + +TOOLSET := target +TARGET := cpp_addon +DEFS_Debug := \ + '-DNODE_GYP_MODULE_NAME=cpp_addon' \ + '-DUSING_UV_SHARED=1' \ + '-DUSING_V8_SHARED=1' \ + '-DV8_DEPRECATION_WARNINGS=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-DV8_IMMINENT_DEPRECATION_WARNINGS' \ + '-D_GLIBCXX_USE_CXX11_ABI=1' \ + '-D_LARGEFILE_SOURCE' \ + '-D_FILE_OFFSET_BITS=64' \ + '-D__STDC_FORMAT_MACROS' \ + '-DOPENSSL_NO_PINSHARED' \ + '-DOPENSSL_THREADS' \ + '-DBUILDING_NODE_EXTENSION' \ + '-DDEBUG' \ + '-D_DEBUG' \ + '-DV8_ENABLE_CHECKS' + +# Flags passed to all source files. +CFLAGS_Debug := \ + -fPIC \ + -pthread \ + -Wall \ + -Wextra \ + -Wno-unused-parameter \ + -m64 \ + -g \ + -O0 + +# Flags passed to only C files. +CFLAGS_C_Debug := + +# Flags passed to only C++ files. +CFLAGS_CC_Debug := \ + -fno-rtti \ + -fno-exceptions \ + -std=gnu++14 + +INCS_Debug := \ + -I/home/matias/.cache/node-gyp/16.9.1/include/node \ + -I/home/matias/.cache/node-gyp/16.9.1/src \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/openssl/config \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/openssl/openssl/include \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/uv/include \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/zlib \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/v8/include + +DEFS_Release := \ + '-DNODE_GYP_MODULE_NAME=cpp_addon' \ + '-DUSING_UV_SHARED=1' \ + '-DUSING_V8_SHARED=1' \ + '-DV8_DEPRECATION_WARNINGS=1' \ + '-DV8_DEPRECATION_WARNINGS' \ + '-DV8_IMMINENT_DEPRECATION_WARNINGS' \ + '-D_GLIBCXX_USE_CXX11_ABI=1' \ + '-D_LARGEFILE_SOURCE' \ + '-D_FILE_OFFSET_BITS=64' \ + '-D__STDC_FORMAT_MACROS' \ + '-DOPENSSL_NO_PINSHARED' \ + '-DOPENSSL_THREADS' \ + '-DBUILDING_NODE_EXTENSION' + +# Flags passed to all source files. +CFLAGS_Release := \ + -fPIC \ + -pthread \ + -Wall \ + -Wextra \ + -Wno-unused-parameter \ + -m64 \ + -O3 \ + -fno-omit-frame-pointer + +# Flags passed to only C files. +CFLAGS_C_Release := + +# Flags passed to only C++ files. +CFLAGS_CC_Release := \ + -fno-rtti \ + -fno-exceptions \ + -std=gnu++14 + +INCS_Release := \ + -I/home/matias/.cache/node-gyp/16.9.1/include/node \ + -I/home/matias/.cache/node-gyp/16.9.1/src \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/openssl/config \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/openssl/openssl/include \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/uv/include \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/zlib \ + -I/home/matias/.cache/node-gyp/16.9.1/deps/v8/include + +OBJS := \ + $(obj).target/$(TARGET)/main.o + +# Add to the list of files we specially track dependencies for. +all_deps += $(OBJS) + +# CFLAGS et al overrides must be target-local. +# See "Target-specific Variable Values" in the GNU Make manual. +$(OBJS): TOOLSET := $(TOOLSET) +$(OBJS): GYP_CFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_C_$(BUILDTYPE)) +$(OBJS): GYP_CXXFLAGS := $(DEFS_$(BUILDTYPE)) $(INCS_$(BUILDTYPE)) $(CFLAGS_$(BUILDTYPE)) $(CFLAGS_CC_$(BUILDTYPE)) + +# Suffix rules, putting all outputs into $(obj). + +$(obj).$(TOOLSET)/$(TARGET)/%.o: $(srcdir)/%.cpp FORCE_DO_CMD + @$(call do_cmd,cxx,1) + +# Try building from generated source, too. + +$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj).$(TOOLSET)/%.cpp FORCE_DO_CMD + @$(call do_cmd,cxx,1) + +$(obj).$(TOOLSET)/$(TARGET)/%.o: $(obj)/%.cpp FORCE_DO_CMD + @$(call do_cmd,cxx,1) + +# End of this set of suffix rules +### Rules for final target. +LDFLAGS_Debug := \ + -pthread \ + -rdynamic \ + -m64 + +LDFLAGS_Release := \ + -pthread \ + -rdynamic \ + -m64 + +LIBS := + +$(obj).target/cpp_addon.node: GYP_LDFLAGS := $(LDFLAGS_$(BUILDTYPE)) +$(obj).target/cpp_addon.node: LIBS := $(LIBS) +$(obj).target/cpp_addon.node: TOOLSET := $(TOOLSET) +$(obj).target/cpp_addon.node: $(OBJS) FORCE_DO_CMD + $(call do_cmd,solink_module) + +all_deps += $(obj).target/cpp_addon.node +# Add target alias +.PHONY: cpp_addon +cpp_addon: $(builddir)/cpp_addon.node + +# Copy this to the executable output path. +$(builddir)/cpp_addon.node: TOOLSET := $(TOOLSET) +$(builddir)/cpp_addon.node: $(obj).target/cpp_addon.node FORCE_DO_CMD + $(call do_cmd,copy) + +all_deps += $(builddir)/cpp_addon.node +# Short alias for building this executable. +.PHONY: cpp_addon.node +cpp_addon.node: $(obj).target/cpp_addon.node $(builddir)/cpp_addon.node + +# Add executable to "all" target. +.PHONY: all +all: $(builddir)/cpp_addon.node + diff --git a/packages/vite/CHANGELOG.md b/packages/vite/CHANGELOG.md index d52439248ce9bc..acaad87b075002 100644 --- a/packages/vite/CHANGELOG.md +++ b/packages/vite/CHANGELOG.md @@ -1,3 +1,17 @@ +# [2.7.0-beta.10](https://github.com/vitejs/vite/compare/v2.7.0-beta.9...v2.7.0-beta.10) (2021-12-02) + + +### Bug Fixes + +* invalidate inlined proxy scripts on change ([#5891](https://github.com/vitejs/vite/issues/5891)) ([5b8c58b](https://github.com/vitejs/vite/commit/5b8c58bf9d2fe141cea9bde9492ccbedf9b76213)) +* read the correct package.json in ssrExternal ([#5927](https://github.com/vitejs/vite/issues/5927)) ([7edabb4](https://github.com/vitejs/vite/commit/7edabb46de3ce63e078e0cda7cd3ed9e5cdd0f2a)), closes [#5890](https://github.com/vitejs/vite/issues/5890) +* **resolve:** dont overwrite `isRequire` from `baseOptions` ([#5872](https://github.com/vitejs/vite/issues/5872)) ([2b91e5a](https://github.com/vitejs/vite/commit/2b91e5aadaee0947eb9864367ae85762573a8dc4)) +* **scan:** handle local scripts with lang=ts ([#5850](https://github.com/vitejs/vite/issues/5850)) ([7ed8702](https://github.com/vitejs/vite/commit/7ed870273206b5e9dcedda6f0149b7b3324dea45)) +* SSR import in dev can't resolve default import (fix [#5706](https://github.com/vitejs/vite/issues/5706)) ([#5923](https://github.com/vitejs/vite/issues/5923)) ([21d79d7](https://github.com/vitejs/vite/commit/21d79d753af145f2c7ebb7dd5b0b1a4a298f96c5)) +* **ssr:** skip dedupe require if noExternal true ([#5928](https://github.com/vitejs/vite/issues/5928)) ([f6aa7fe](https://github.com/vitejs/vite/commit/f6aa7fe401737ef584ccf34b6042a32b8e5e8c5d)) + + + # [2.7.0-beta.9](https://github.com/vitejs/vite/compare/v2.7.0-beta.8...v2.7.0-beta.9) (2021-11-27) diff --git a/packages/vite/package.json b/packages/vite/package.json index efb6ed33c4986f..25a678fba08b84 100644 --- a/packages/vite/package.json +++ b/packages/vite/package.json @@ -1,6 +1,6 @@ { "name": "vite", - "version": "2.7.0-beta.9", + "version": "2.7.0-beta.10", "license": "MIT", "author": "Evan You", "description": "Native-ESM powered web dev build tool",