Skip to content

Commit

Permalink
Merge branch 'main' into vue2-gtm
Browse files Browse the repository at this point in the history
  • Loading branch information
Shinigami92 committed Oct 7, 2022
2 parents c37a7f5 + 4536411 commit 79350be
Show file tree
Hide file tree
Showing 10 changed files with 899 additions and 416 deletions.
5 changes: 4 additions & 1 deletion .eslintrc.js → .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ const { readGitignoreFiles } = require('eslint-gitignore');
module.exports = defineConfig({
ignorePatterns: [
...readGitignoreFiles(),
'.eslintrc.js', // Skip self linting
'.eslintrc.cjs', // Skip self linting
],
root: true,
env: {
Expand Down Expand Up @@ -103,10 +103,13 @@ module.exports = defineConfig({
'inheritdoc',
'jsdoc',
'jsdom',
'minify',
'noninteraction',
'nullish',
'overridable',
'readonly',
'rollup',
'vite',
'vitest',
'vue',
],
Expand Down
17 changes: 16 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,21 @@
# Next

[diff](https://github.com/gtm-support/vue-gtm/compare/1.3.0-vue2...vue2-gtm)
[diff](https://github.com/gtm-support/vue-gtm/compare/2.0.0-vue2...vue2-gtm)

# 2.0.0

[diff](https://github.com/gtm-support/vue-gtm/compare/1.3.0-vue2...2.0.0-vue2)

## BREAKING CHANGE

- Minimum required Vue version is now `^2.7.0`
- Minimum required Vue Router version is now `^3.6.0`
- Minimum required EcmaScript is now `ES2018`

## Features

- Now serving ESM and CJS
- Set `lib` from `ES2020` to `ES2018`

# 1.3.0

Expand Down
72 changes: 41 additions & 31 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,28 @@
{
"name": "@gtm-support/vue2-gtm",
"version": "1.3.0",
"version": "2.0.0",
"description": "Simple implementation of Google Tag Manager for Vue",
"main": "dist/index.js",
"scripts": {
"clean": "rimraf coverage dist pnpm-lock.yaml node_modules",
"build": "tsc --noEmit && vite build",
"format": "prettier --write .",
"lint": "eslint .",
"test": "vitest",
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build"
},
"type": "module",
"files": [
"dist"
],
"main": "dist/index.cjs",
"module": "dist/index.js",
"types": "dist/index.d.ts",
"exports": {
".": {
"import": "./dist/index.js",
"require": "./dist/index.cjs"
}
},
"author": {
"name": "Christopher Quadflieg",
"email": "chrissi92@hotmail.de",
Expand All @@ -16,14 +36,6 @@
],
"license": "MIT",
"homepage": "https://github.com/gtm-support/vue-gtm/tree/vue2-gtm",
"scripts": {
"clean": "rm -Rf dist pnpm-lock.yaml node_modules",
"build": "tsc",
"format": "prettier --write .",
"lint": "eslint .",
"test": "vitest",
"prepublishOnly": "pnpm run clean && pnpm install && pnpm run build"
},
"repository": {
"type": "git",
"url": "https://github.com/gtm-support/vue-gtm.git"
Expand All @@ -50,34 +62,32 @@
"vue",
"google"
],
"files": [
"dist",
"src",
"tsconfig.json"
],
"dependencies": {
"@gtm-support/core": "1.3.0"
"@gtm-support/core": "^2.0.0"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "~5.23.0",
"@typescript-eslint/parser": "~5.23.0",
"eslint": "~8.15.0",
"@typescript-eslint/eslint-plugin": "~5.39.0",
"@typescript-eslint/parser": "~5.39.0",
"eslint": "~8.24.0",
"eslint-config-prettier": "~8.5.0",
"eslint-define-config": "~1.4.1",
"eslint-define-config": "~1.7.0",
"eslint-gitignore": "~0.1.0",
"eslint-plugin-jsdoc": "~39.2.9",
"eslint-plugin-prettier": "~4.0.0",
"eslint-plugin-jsdoc": "~39.3.6",
"eslint-plugin-prettier": "~4.2.1",
"eslint-plugin-spellcheck": "~0.0.19",
"jsdom": "~19.0.0",
"prettier": "2.6.2",
"prettier-plugin-organize-imports": "~2.3.4",
"typescript": "~4.6.4",
"vitest": "~0.12.6",
"vue": "^2.6.14",
"vue-router": "^3.5.3"
"jsdom": "~20.0.1",
"prettier": "2.7.1",
"prettier-plugin-organize-imports": "~3.1.1",
"rimraf": "~3.0.2",
"typescript": "~4.8.4",
"vite": "~3.1.6",
"vite-plugin-dts": "~1.6.5",
"vitest": "~0.24.0",
"vue": "^2.7.10",
"vue-router": "^3.6.5"
},
"peerDependencies": {
"vue": "^2.6.14"
"vue": "^2.7.0"
},
"packageManager": "pnpm@7.1.0"
"packageManager": "pnpm@7.13.2"
}
Loading

0 comments on commit 79350be

Please sign in to comment.