Skip to content

Commit

Permalink
refactor: mustache dynamic update from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
abose committed Nov 10, 2023
1 parent e9642c6 commit ac46c4d
Show file tree
Hide file tree
Showing 187 changed files with 24 additions and 2,395 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,7 @@ src/phoenix/virtualfs.js.map
/src/thirdparty/CodeMirror
/src/thirdparty/acorn
/src/thirdparty/tern
/src/thirdparty/mustache
/src/thirdparty/jszip.js
/src/thirdparty/fileSaver
/src/thirdparty/jshint.js
Expand Down
3 changes: 3 additions & 0 deletions gulpfile.js/thirdparty-lib-copy.js
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,9 @@ let copyThirdPartyLibs = series(
// tinycolor.js
copyFiles.bind(copyFiles, ['node_modules/tinycolor2/tinycolor.js'], 'src/thirdparty'),
copyLicence.bind(copyLicence, 'node_modules/tinycolor2/LICENSE', 'tinycolor2'),
// mustache.js
copyFiles.bind(copyFiles, ['node_modules/mustache/mustache.js'], 'src/thirdparty/mustache'),
copyLicence.bind(copyLicence, 'node_modules/mustache/LICENSE', 'mustache'),
// hilightjs
copyFiles.bind(copyFiles, ['node_modules/@highlightjs/cdn-assets/highlight.min.js'],
'src/thirdparty/highlight.js'),
Expand Down
14 changes: 14 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@
"bootstrap": "^5.1.3",
"browser-mime": "^1.0.1",
"codemirror": "^5.65.7",
"cross-env": "^7.0.3",
"devicon": "^2.15.1",
"file-saver": "^2.0.5",
"jshint": "^2.13.5",
Expand All @@ -98,11 +99,11 @@
"lodash": "^4.17.21",
"marked": "^4.0.18",
"mime-db": "^1.52.0",
"mustache": "^4.2.0",
"prettier": "^2.7.1",
"requirejs": "^2.3.6",
"tern": "^0.24.3",
"tinycolor2": "^1.4.2",
"underscore": "^1.13.4",
"cross-env": "^7.0.3"
"underscore": "^1.13.4"
}
}
}
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
The MIT License

Copyright (c) 2009 Chris Wanstrath (Ruby)
Copyright (c) 2010 Jan Lehnardt (JavaScript)
Copyright (c) 2010-2014 Jan Lehnardt (JavaScript)
Copyright (c) 2010-2015 The mustache.js community

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

Expand Down
10 changes: 0 additions & 10 deletions src/thirdparty/mustache/.gitignore

This file was deleted.

3 changes: 0 additions & 3 deletions src/thirdparty/mustache/.gitmodules

This file was deleted.

5 changes: 0 additions & 5 deletions src/thirdparty/mustache/.jshintrc

This file was deleted.

4 changes: 0 additions & 4 deletions src/thirdparty/mustache/.travis.yml

This file was deleted.

43 changes: 0 additions & 43 deletions src/thirdparty/mustache/CHANGES

This file was deleted.

Loading

0 comments on commit ac46c4d

Please sign in to comment.