@akinon/next 1.16.2 → 1.17.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @akinon/next
2
2
 
3
+ ## 1.17.0
4
+
5
+ ## 1.16.3
6
+
7
+ ### Patch Changes
8
+
9
+ - ZERO-2415: Update pzPlugins to use scoped package names
10
+
3
11
  ## 1.16.2
4
12
 
5
13
  ### Patch Changes
@@ -34,10 +34,10 @@ try {
34
34
  fs.readFileSync(akinonNextPackagePath, 'utf8')
35
35
  );
36
36
 
37
- const projectZeroPwaPackagePath = path.join(BASE_DIR, 'package.json');
37
+ const projectZeroNextPackagePath = path.join(BASE_DIR, 'package.json');
38
38
 
39
- const projectZeroPwaPackage = JSON.parse(
40
- fs.readFileSync(projectZeroPwaPackagePath, 'utf8')
39
+ const projectZeroNextPackage = JSON.parse(
40
+ fs.readFileSync(projectZeroNextPackagePath, 'utf8')
41
41
  );
42
42
 
43
43
  const { peerDependencies } = akinonNextPackage;
@@ -50,12 +50,12 @@ try {
50
50
  const requiredVersion = peerDependencies[dependency];
51
51
 
52
52
  const installedVersion =
53
- projectZeroPwaPackage.dependencies[dependency] ||
54
- projectZeroPwaPackage.devDependencies[dependency];
53
+ projectZeroNextPackage.dependencies[dependency] ||
54
+ projectZeroNextPackage.devDependencies[dependency];
55
55
 
56
56
  if (!installedVersion) {
57
57
  errorMessages.push(
58
- `Dependency ${dependency} is missing in projectzeropwa.`
58
+ `Dependency ${dependency} is missing in projectzeronext.`
59
59
  );
60
60
  hasErrors = true;
61
61
  } else {
@@ -90,7 +90,7 @@ try {
90
90
  }
91
91
 
92
92
  console.log(
93
- 'All dependencies are installed and compatible in projectzeropwa.'
93
+ 'All dependencies are installed and compatible in projectzeronext.'
94
94
  );
95
95
  } catch (error) {
96
96
  console.error('\x1b[31mError:', error.message + '\x1b[0m');
@@ -10,7 +10,7 @@ function findBaseDir() {
10
10
  if (insideNodeModules) {
11
11
  return path.resolve(__dirname, '../../../../');
12
12
  } else {
13
- return path.resolve(__dirname, '../../../apps/projectzeropwa');
13
+ return path.resolve(__dirname, '../../../apps/projectzeronext');
14
14
  }
15
15
  }
16
16
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@akinon/next",
3
3
  "description": "Core package for Project Zero Next",
4
- "version": "1.16.2",
4
+ "version": "1.17.0",
5
5
  "private": false,
6
6
  "license": "MIT",
7
7
  "bin": {
@@ -31,7 +31,7 @@
31
31
  "@typescript-eslint/eslint-plugin": "6.7.4",
32
32
  "@typescript-eslint/parser": "6.7.4",
33
33
  "eslint": "^8.14.0",
34
- "@akinon/eslint-plugin-projectzero": "1.16.2",
34
+ "@akinon/eslint-plugin-projectzero": "1.17.0",
35
35
  "eslint-config-prettier": "8.5.0"
36
36
  }
37
37
  }
package/with-pz-config.js CHANGED
@@ -54,7 +54,7 @@ const defaultConfig = {
54
54
  config.resolve.fallback = {
55
55
  ...config.resolve.fallback,
56
56
  ...pzPlugins.reduce((acc, plugin) => {
57
- acc[plugin] = false;
57
+ acc[`@akinon/${plugin}`] = false;
58
58
  return acc;
59
59
  }, {})
60
60
  };