Skip to content

Commit

Permalink
Add a local pg and perl links.
Browse files Browse the repository at this point in the history
  • Loading branch information
drgrice1 committed Nov 17, 2024
1 parent a9cdb28 commit f896b77
Show file tree
Hide file tree
Showing 3 changed files with 104 additions and 37 deletions.
126 changes: 93 additions & 33 deletions package-lock.json

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

6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
"@codemirror/lang-html": "^6.4.9",
"@codemirror/lang-xml": "^6.1.0",
"@codemirror/theme-one-dark": "^6.1.2",
"@openwebwork/codemirror-lang-pg": "^0.0.1-beta.12",
"@openwebwork/codemirror-lang-pg": "file:../codemirror-lang-pg-link",
"@replit/codemirror-emacs": "^6.1.0",
"@replit/codemirror-vim": "^6.2.1",
"cm6-theme-basic-dark": "^0.2.0",
Expand All @@ -39,8 +39,8 @@
"cm6-theme-solarized-dark": "^0.2.0",
"cm6-theme-solarized-light": "^0.2.0",
"codemirror": "^6.0.1",
"codemirror-lang-mt": "^0.0.2-beta.1",
"codemirror-lang-perl": "^0.1.5-beta.3",
"codemirror-lang-mt": "file:../codemirror-lang-mt-link",
"codemirror-lang-perl": "file:../codemirror-lang-perl-link",
"thememirror": "^2.0.1"
},
"devDependencies": {
Expand Down
9 changes: 8 additions & 1 deletion webpack.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,14 @@ export default (_env, argv) => {
modules: ['node_modules'],
extensions: ['.ts', '.js'],
mainFields: ['browser', 'module', 'main'],
alias: { src: path.resolve(import.meta.dirname, 'src') }
alias: { src: path.resolve(import.meta.dirname, 'src') },
symlinks: false
},
snapshot: {
managedPaths: [
// eslint-disable-next-line @stylistic/max-len
/^(.+?[\\/]node_modules[\\/](?!(@openwebwork[\\/]codemirror-lang-pg)|(codemirror-lang-(perl|mt)))(@.+?[\\/])?.+?)[\\/]/
]
},
module: {
rules: [
Expand Down

0 comments on commit f896b77

Please sign in to comment.