Skip to content

Commit 3857a81

Browse files
committed
v9.3.5
1 parent bb30332 commit 3857a81

19 files changed

Lines changed: 49 additions & 38 deletions

File tree

.github/workflows/release.yml

Lines changed: 24 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -82,31 +82,34 @@ jobs:
8282
- name: Login to NPM
8383
run: npm config set "//registry.npmjs.org/:_authToken=${NPM_ACCESS_TOKEN}"
8484

85-
- name: Verify NPM publish access
85+
- name: Verify NPM token
8686
run: |
87+
npm ping
8788
npm whoami
88-
npm access list packages @deck.gl-community --json > /tmp/npm-access.json
8989
node - <<'NODE'
9090
const fs = require('fs');
91-
const packages = JSON.parse(fs.readFileSync('/tmp/npm-access.json', 'utf8'));
92-
const requiredPackages = [
93-
'@deck.gl-community/basemap-layers',
94-
'@deck.gl-community/bing-maps',
95-
'@deck.gl-community/editable-layers',
96-
'@deck.gl-community/experimental',
97-
'@deck.gl-community/geo-layers',
98-
'@deck.gl-community/graph-layers',
99-
'@deck.gl-community/infovis-layers',
100-
'@deck.gl-community/layers',
101-
'@deck.gl-community/leaflet',
102-
'@deck.gl-community/react',
103-
'@deck.gl-community/three',
104-
'@deck.gl-community/timeline-layers',
105-
'@deck.gl-community/widgets'
106-
];
107-
const missing = requiredPackages.filter((name) => !Object.hasOwn(packages, name));
108-
if (missing.length) {
109-
throw new Error(`NPM token cannot see required @deck.gl-community packages: ${missing.join(', ')}`);
91+
const path = require('path');
92+
93+
const packageDirs = ['modules', 'dev'].flatMap((root) =>
94+
fs.existsSync(root)
95+
? fs
96+
.readdirSync(root, {withFileTypes: true})
97+
.filter((entry) => entry.isDirectory())
98+
.map((entry) => path.join(root, entry.name))
99+
: []
100+
);
101+
102+
const packages = packageDirs
103+
.map((directory) => path.join(directory, 'package.json'))
104+
.filter((filename) => fs.existsSync(filename))
105+
.map((filename) => JSON.parse(fs.readFileSync(filename, 'utf8')))
106+
.filter((pkg) => pkg.name?.startsWith('@deck.gl-community/') && !pkg.private)
107+
.map((pkg) => pkg.name)
108+
.sort();
109+
110+
console.log(`NPM token is valid. Publishing ${packages.length} public packages:`);
111+
for (const name of packages) {
112+
console.log(`- ${name}`);
110113
}
111114
NODE
112115

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# deck.gl-community CHANGELOG
22

3+
## v9.3.5
4+
5+
- ci: one more attempt
6+
7+
## v9.3.4
8+
9+
- ci: loosen npm access check
10+
311
## v9.3.3
412

513
- ci: validate npm access before release publish

dev/timeline-layers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deck.gl-community/timeline-layers",
3-
"version": "9.3.3",
3+
"version": "9.3.5",
44
"description": "Layers for compact timeline visualizations in deck.gl",
55
"license": "MIT",
66
"publishConfig": {

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{
2-
"version": "9.3.3",
2+
"version": "9.3.5",
33
"npmClient": "yarn",
44
"packages": [
55
"modules/*",

modules/arrow-layers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deck.gl-community/arrow-layers",
3-
"version": "9.3.3",
3+
"version": "9.3.5",
44
"description": "A suite of Apache Arrow enabled layers for deck.gl",
55
"license": "MIT",
66
"private": true,

modules/basemap-layers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deck.gl-community/basemap-layers",
3-
"version": "9.3.3",
3+
"version": "9.3.5",
44
"description": "Basemap layer and map-style helpers for deck.gl.",
55
"license": "MIT",
66
"keywords": [

modules/bing-maps/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@deck.gl-community/bing-maps",
33
"description": "deck.gl integration with Bing Maps",
44
"license": "MIT",
5-
"version": "9.3.3",
5+
"version": "9.3.5",
66
"publishConfig": {
77
"access": "public"
88
},

modules/editable-layers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"name": "@deck.gl-community/editable-layers",
33
"description": "A suite of 3D-enabled data editing overlays, suitable for deck.gl",
44
"license": "MIT",
5-
"version": "9.3.3",
5+
"version": "9.3.5",
66
"publishConfig": {
77
"access": "public"
88
},

modules/experimental/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deck.gl-community/experimental",
3-
"version": "9.3.3",
3+
"version": "9.3.5",
44
"description": "Experimental layers for deck.gl",
55
"license": "MIT",
66
"publishConfig": {

modules/geo-layers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@deck.gl-community/geo-layers",
3-
"version": "9.3.3",
3+
"version": "9.3.5",
44
"description": "Add-0n geospatial layers for deck.gl",
55
"license": "MIT",
66
"publishConfig": {

0 commit comments

Comments
 (0)