pict 1.0.163 → 1.0.166
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.vscode/settings.json +6 -0
- package/Dockerfile_LUXURYCode +2 -25
- package/dist/pict.compatible.js +418 -162
- package/dist/pict.compatible.min.js +2 -2
- package/dist/pict.compatible.min.js.map +1 -1
- package/dist/pict.js +401 -145
- package/dist/pict.min.js +2 -2
- package/dist/pict.min.js.map +1 -1
- package/package.json +9 -10
- package/source/Pict.js +473 -35
- package/test/Pict_template_complex_tests.js +167 -0
- package/test/data/Data-Archive-org-Frankenberry.json +1 -0
package/.vscode/settings.json
CHANGED
package/Dockerfile_LUXURYCode
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Use the codercom/code-server image
|
|
2
2
|
FROM codercom/code-server:latest
|
|
3
|
-
|
|
3
|
+
LABEL org.opencontainers.image.authors="steven@velozo.com"
|
|
4
4
|
|
|
5
5
|
VOLUME /home/coder/.config
|
|
6
6
|
VOLUME /home/coder/.vscode
|
|
@@ -27,10 +27,6 @@ RUN code-server --install-extension eamodio.gitlens
|
|
|
27
27
|
|
|
28
28
|
# Other extensions (uncomment them to have them automagic, or run this from a terminal to install in the container):
|
|
29
29
|
|
|
30
|
-
# SQL Tools
|
|
31
|
-
RUN code-server --install-extension mtxr.sqltools
|
|
32
|
-
RUN code-server --install-extension mtxr.sqltools-driver-mysql
|
|
33
|
-
|
|
34
30
|
# Microsoft's AI code completion
|
|
35
31
|
# RUN code-server --install-extension VisualStudioExptTeam.vscodeintellicode
|
|
36
32
|
|
|
@@ -51,21 +47,7 @@ RUN code-server --install-extension mtxr.sqltools-driver-mysql
|
|
|
51
47
|
# RUN code-server --install-extension bierner.color-info
|
|
52
48
|
|
|
53
49
|
# An easy on the eyes color theme
|
|
54
|
-
RUN code-server --install-extension daylerees.rainglow
|
|
55
|
-
|
|
56
|
-
RUN echo "...configuring mariadb (mysql) server...."
|
|
57
|
-
RUN sudo apt install default-mysql-server default-mysql-client -y
|
|
58
|
-
RUN sudo sed -i "s|bind-address|#bind-address|g" /etc/mysql/mariadb.conf.d/50-server.cnf
|
|
59
|
-
ADD ./retold-harness/model/sql_create/MySQL-Security.sql /home/coder/MySQL-Configure-Security.sql
|
|
60
|
-
ADD ./retold-harness/docker_scripts/MySQL-Laden-Entry.sh /usr/bin/MySQL-Laden-Entry.sh
|
|
61
|
-
RUN ( sudo mysqld_safe --skip-grant-tables --skip-networking & ) && sleep 5 && mysql -u root < /home/coder/MySQL-Configure-Security.sql
|
|
62
|
-
|
|
63
|
-
# Import the initial database
|
|
64
|
-
COPY ./retold-harness/model/sql_create/BookStore-CreateDatabase.mysql.sql /home/coder/MySQL-Create-Databases.sql
|
|
65
|
-
COPY ./retold-harness/model/sql_create/BookStore-DeleteAndRepopulateTables.sql /home/coder/MySQL-Repopulate-Databases.sql
|
|
66
|
-
RUN sudo service mariadb restart && sleep 5 && mysql -u root -p"123456789" -e "CREATE DATABASE bookstore;"
|
|
67
|
-
RUN sudo service mariadb restart && sleep 5 && mysql -u root -p"123456789" bookstore < /home/coder/MySQL-Create-Databases.sql
|
|
68
|
-
RUN sudo service mariadb restart && sleep 5 && mysql -u root -p"123456789" bookstore < /home/coder/MySQL-Repopulate-Databases.sql
|
|
50
|
+
# RUN code-server --install-extension daylerees.rainglow
|
|
69
51
|
|
|
70
52
|
RUN echo "...mapping library specific volumes..."
|
|
71
53
|
|
|
@@ -85,8 +67,3 @@ RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm install 14
|
|
|
85
67
|
RUN . ~/.nvm/nvm.sh && source ~/.bashrc && nvm alias default 14
|
|
86
68
|
|
|
87
69
|
WORKDIR /home/coder/pict
|
|
88
|
-
|
|
89
|
-
# RUN . ~/.nvm/nvm.sh && source ~/.bashrc && npm install
|
|
90
|
-
# RUN . /home/coder/pict/retold-harness/Bookstore-Import-Books.sh
|
|
91
|
-
|
|
92
|
-
ENTRYPOINT ["/usr/bin/MySQL-Laden-Entry.sh"]
|