Skip to content

Commit

Permalink
prepare 3.0.8 (#39)
Browse files Browse the repository at this point in the history
* update dependencies & npmignore, prepare 3.0.8

* add git and guthub settings

* switch to exports in package.json
  • Loading branch information
aeschli authored Oct 5, 2023
1 parent e845ecf commit 53e4ca6
Show file tree
Hide file tree
Showing 6 changed files with 422 additions and 251 deletions.
6 changes: 5 additions & 1 deletion .npmignore
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,12 @@ src/
lib/esm/test/
lib/umd/test/
.vscode
.github
spec
tsconfig.json
.mocharc.json
.travis.yml
webpack.config.js
.lsifrc.json
webpack.config.js
pipeline.yml
*.tgz
11 changes: 9 additions & 2 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,11 @@
// Place your settings in this file to overwrite default and user settings.
{
"editor.formatOnSave": true
}
"editor.formatOnSave": true,
"git.branchProtection": [
"main"
],
"git.branchProtectionPrompt": "alwaysCommitToNewBranch",
"git.branchRandomName.enable": true,
"githubPullRequests.assignCreated": "${user}",
"githubPullRequests.defaultMergeMethod": "squash"
}
23 changes: 14 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,16 @@
{
"name": "vscode-uri",
"author": "Microsoft",
"version": "3.0.7",
"version": "3.0.8",
"description": "The URI implementation that is used by VS Code and its extensions",
"main": "./lib/umd/index.js",
"typings": "./lib/umd/index",
"module": "./lib/esm/index.js",
"exports": {
"import": "./lib/esm/index.mjs",
"require": "./lib/umd/index.js",
"types": "./lib/umd/index.d.ts",
"browser": "./lib/esm/index.mjs"
},
"sideEffects": false,
"scripts": {
"clean": "rimraf lib",
Expand All @@ -25,14 +30,14 @@
},
"homepage": "https://github.com/microsoft/vscode-uri#readme",
"devDependencies": {
"@types/mocha": "^9.1.1",
"@types/mocha": "^10.0.2",
"@types/node": "16.x",
"mocha": "^10.0.0",
"mocha": "^10.2.0",
"path-browserify": "^1.0.1",
"rimraf": "^3.0.2",
"ts-loader": "^9.3.1",
"typescript": "^4.8.3",
"webpack": "^5.74.0",
"webpack-cli": "^4.10.0"
"rimraf": "^5.0.5",
"ts-loader": "^9.4.4",
"typescript": "^5.2.2",
"webpack": "^5.88.2",
"webpack-cli": "^5.1.4"
}
}
5 changes: 3 additions & 2 deletions src/tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
{
"compilerOptions": {
"target": "es5",
"target": "ES2022",
"module": "Node16",
"declaration": true,
"forceConsistentCasingInFileNames": true,
"noImplicitAny": true,
"lib": [
"es2015"
"ES2022"
],
"outDir": "../lib/umd"
}
Expand Down
10 changes: 5 additions & 5 deletions webpack.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ module.exports = [
library: 'LIB',
libraryTarget: 'var',
path: path.resolve(__dirname, 'lib', 'esm'),
filename: 'index.js'
filename: 'index.mjs'
},
module: {
rules: [{
Expand All @@ -70,13 +70,13 @@ module.exports = [
options: {
compilerOptions: {
sourceMap: true,
target: 'es5',
target: 'ES2022',
forceConsistentCasingInFileNames: true,
noImplicitAny: true,
module: 'es6',
module: 'ES2022',
declaration: false,
lib: [
'es2015'
'ES2022'
]
}
}
Expand All @@ -101,4 +101,4 @@ module.exports = [
}
]
}
]
]
Loading

0 comments on commit 53e4ca6

Please sign in to comment.