aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoraddshore <addshorewiki@gmail.com>2020-06-30 15:26:11 +0100
committerAddshore <addshorewiki@gmail.com>2020-07-07 15:31:17 +0000
commit58604f7441e7107c836d809311e721752eecd513 (patch)
treea50985404432e927316ddc72d9a4b0676a2011e3
parent5ccc9d483a17b5259879d866e0b9c99a613438b2 (diff)
downloadmediawikicore-58604f7441e7107c836d809311e721752eecd513.tar.gz
mediawikicore-58604f7441e7107c836d809311e721752eecd513.zip
vscode live share settings
By default while using vscode live share it is hard to work on skins and extensions of mediawiki using the core repo as a project base, as extensions and skins are included in .gitignore files. Configuration of the sharing behaviour is possible and documented at https://docs.microsoft.com/en-us/visualstudio/liveshare/reference/security The files added in this commit mean that by default: - .gitignore files are treated in the default way for the system meaning they are hidden, but accessible. - core node_modules and vendor and shared and in the tree - extensions and skins are shared and in the tree Change-Id: I5e44483bcf09aa2fb6d568de1e0689a76ab7338a
-rw-r--r--.vsls.json12
-rw-r--r--extensions/.gitignore1
-rw-r--r--extensions/.vsls.json10
-rw-r--r--skins/.gitignore1
-rw-r--r--skins/.vsls.json10
5 files changed, 34 insertions, 0 deletions
diff --git a/.vsls.json b/.vsls.json
new file mode 100644
index 000000000000..dc5f9fdbb91d
--- /dev/null
+++ b/.vsls.json
@@ -0,0 +1,12 @@
+{
+ "$schema": "http://json.schemastore.org/vsls",
+ "gitignore":"hide",
+ "excludeFiles":[
+ "!node_modules",
+ "!vendor"
+ ],
+ "hideFiles":[
+ "!node_modules",
+ "!vendor"
+ ]
+}
diff --git a/extensions/.gitignore b/extensions/.gitignore
index f8476208f659..85811e454361 100644
--- a/extensions/.gitignore
+++ b/extensions/.gitignore
@@ -1,3 +1,4 @@
*
!README
!.gitignore
+!/.vsls.json
diff --git a/extensions/.vsls.json b/extensions/.vsls.json
new file mode 100644
index 000000000000..1a9d1ab1ea79
--- /dev/null
+++ b/extensions/.vsls.json
@@ -0,0 +1,10 @@
+{
+ "$schema": "http://json.schemastore.org/vsls",
+ "gitignore":"hide",
+ "excludeFiles":[
+ "!*"
+ ],
+ "hideFiles":[
+ "!*"
+ ]
+}
diff --git a/skins/.gitignore b/skins/.gitignore
index cd5800c31c43..8d09425ed72b 100644
--- a/skins/.gitignore
+++ b/skins/.gitignore
@@ -1,3 +1,4 @@
/*
!/.gitignore
+!/.vsls.json
!/README
diff --git a/skins/.vsls.json b/skins/.vsls.json
new file mode 100644
index 000000000000..1a9d1ab1ea79
--- /dev/null
+++ b/skins/.vsls.json
@@ -0,0 +1,10 @@
+{
+ "$schema": "http://json.schemastore.org/vsls",
+ "gitignore":"hide",
+ "excludeFiles":[
+ "!*"
+ ],
+ "hideFiles":[
+ "!*"
+ ]
+}