-
Notifications
You must be signed in to change notification settings - Fork 62
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4297 from GordonSmith/V3_DDLSHIM
feat: Upgrade ddl-shim to v3
- Loading branch information
Showing
17 changed files
with
659 additions
and
185 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,47 @@ | ||
{ | ||
"version": "0.2.0", | ||
"configurations": [ | ||
{ | ||
"name": "test-browser", | ||
"type": "msedge", | ||
"request": "launch", | ||
"url": "http://localhost:8888", | ||
"webRoot": "${workspaceFolder}", | ||
"outFiles": [ | ||
"${workspaceFolder}/**/*.js", | ||
"!**/node_modules/**" | ||
], | ||
}, | ||
{ | ||
"name": "test-node", | ||
"type": "node", | ||
"request": "launch", | ||
"runtimeArgs": [ | ||
"run-script", | ||
"test-node" | ||
], | ||
"runtimeExecutable": "npm", | ||
"skipFiles": [ | ||
"<node_internals>/**" | ||
], | ||
"outFiles": [ | ||
"${workspaceFolder}/**/*.js", | ||
"!**/node_modules/**" | ||
], | ||
}, | ||
{ | ||
"name": "index.html", | ||
"request": "launch", | ||
"type": "msedge", | ||
"url": "file:///${workspaceFolder}/index.html", | ||
"runtimeArgs": [ | ||
"--disable-web-security" | ||
], | ||
"webRoot": "${workspaceFolder}", | ||
"outFiles": [ | ||
"${workspaceFolder}/**/*.js", | ||
"!**/node_modules/**" | ||
] | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
{ | ||
"version": "2.0.0", | ||
"tasks": [ | ||
{ | ||
"label": "gen-types-watch", | ||
"type": "npm", | ||
"script": "gen-types-watch", | ||
"problemMatcher": [ | ||
"$tsc-watch" | ||
], | ||
"presentation": { | ||
"group": "group-build" | ||
} | ||
}, | ||
{ | ||
"label": "bundle-watch", | ||
"type": "npm", | ||
"script": "bundle-watch", | ||
"problemMatcher": [], | ||
"presentation": { | ||
"group": "group-build" | ||
} | ||
}, | ||
{ | ||
"label": "build", | ||
"dependsOn": [ | ||
"gen-types-watch", | ||
"bundle-watch", | ||
], | ||
"group": { | ||
"kind": "build", | ||
"isDefault": true | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { neutralTpl } from "@hpcc-js/esbuild-plugins"; | ||
import pkg from "./package.json" with { type: "json" }; | ||
|
||
// config --- | ||
await Promise.all([ | ||
neutralTpl("src/index.ts", "dist/index", { | ||
keepNames: true, | ||
external: [ | ||
...Object.keys(pkg.dependencies), | ||
] | ||
}) | ||
]); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,25 @@ | ||
{ | ||
"extends": "../tsconfig.settings.json", | ||
"compilerOptions": { | ||
"rootDir": "./src", | ||
"outDir": "./lib-umd", | ||
"declarationDir": "./types", | ||
"types": [ | ||
"node" | ||
"rootDir": "src", | ||
"module": "NodeNext", | ||
"target": "ESNext", | ||
"resolveJsonModule": true, | ||
"emitDeclarationOnly": true, | ||
"declaration": true, | ||
"declarationDir": "types", | ||
"strict": false, | ||
"noImplicitAny": false, | ||
"noImplicitThis": false, | ||
"strictNullChecks": false, | ||
"skipLibCheck": true, | ||
"allowImportingTsExtensions": true, | ||
"lib": [ | ||
"DOM", | ||
"ESNext", | ||
"ES2020" | ||
] | ||
}, | ||
"include": [ | ||
"./src/**/*" | ||
"./src/index.ts" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
import { defineWorkspace } from 'vitest/config'; | ||
import baseWorkspace from '../../vitest.workspace.ts'; | ||
|
||
export default defineWorkspace([ | ||
...baseWorkspace | ||
]) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters